[LG Optimus 2x] leuk_he:
appollo music player chashes.

Wehn trying to stream audio over bluetooth to my car stereo apollo chashes regularly in the apollo gui.

I digged up some logs.

05-14 18:24:30.733 E/AudioPolicyManagerBase( 116): ************************* Check And Set Volume Start ***************************
05-14 18:24:30.733 E/NvAudioALSAPolicyManager( 116): [NVALSA] Device->[default] : Setting Device int to [0x1]
05-14 18:24:30.733 E/NvAudioALSAPolicyManager( 116): [NVALSA] Current Device[0x0] -> Device Selected[0x1]
05-14 18:24:30.733 D/NvAudioALSAPolicyManager( 116): [NVALSA] linearToLog[100]=[1.000000]
05-14 18:24:30.733 E/NvAudioALSAPolicyManager( 116): [NVALSA] ComputeVolume() -> Stream[11], Index[1], Output[3], Device[0x00000000], PureVol[1.000000]->Vol[1.000000]
05-14 18:24:30.733 E/AudioPolicyManagerBase( 116): ********************************************************************************
05-14 18:24:30.813 D/dalvikvm( 6138): GC_FOR_ALLOC freed 2073K, 56% free 4904K/11079K, paused 20ms, total 22ms
05-14 18:24:34.193 D/dalvikvm( 302): GC_FOR_ALLOC freed 990K, 30% free 9439K/13383K, paused 55ms, total 55ms
05-14 18:24:36.793 W/dalvikvm( 6138): threadid=20: thread exiting with uncaught exception (group=0x40ea1300)
05-14 18:24:36.853 E/AndroidRuntime( 6138): FATAL EXCEPTION: AsyncTask #26
05-14 18:24:36.853 E/AndroidRuntime( 6138): java.lang.RuntimeException: An error occured while executing doInBackground()
05-14 18:24:36.853 E/AndroidRuntime( 6138):	at android.os.AsyncTask$3.done(AsyncTask.java:299)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	at java.util.concurrent.FutureTask.run(FutureTask.java:137)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	at java.lang.Thread.run(Thread.java:856)
05-14 18:24:36.853 E/AndroidRuntime( 6138): Caused by: com.andrew.apollo.lastfm.api.CallException: java.net.ConnectException: failed to connect to ws.audioscrobbler.com/195.24.233.55 (port 80): connect failed: ECONNREFUSED (Connection refused)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	at com.andrew.apollo.lastfm.api.Caller.call(Caller.java:148)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	at com.andrew.apollo.lastfm.api.Caller.call(Caller.java:101)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	at com.andrew.apollo.lastfm.api.Artist.getImages(Artist.java:87)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	at com.andrew.apollo.tasks.LastfmGetArtistImagesOriginal.doInBackground(LastfmGetArtistImagesOriginal.java:58)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	at com.andrew.apollo.tasks.LastfmGetArtistImagesOriginal.doInBackground(LastfmGetArtistImagesOriginal.java:28)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	at android.os.AsyncTask$2.call(AsyncTask.java:287)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	... 4 more
05-14 18:24:36.853 E/AndroidRuntime( 6138): Caused by: java.net.ConnectException: failed to connect to ws.audioscrobbler.com/195.24.233.55 (port 80): connect failed: ECONNREFUSED (Connection refused)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	at libcore.io.IoBridge.connect(IoBridge.java:114)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:459)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	at java.net.Socket.connect(Socket.java:842)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	at libcore.net.http.HttpConnection.<init>(HttpConnection.java:76)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	at libcore.net.http.HttpConnection.<init>(HttpConnection.java:50)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	at libcore.net.http.HttpConnection$Address.connect(HttpConnection.java:341)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	at libcore.net.http.HttpConnectionPool.get(HttpConnectionPool.java:87)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	at libcore.net.http.HttpConnection.connect(HttpConnection.java:128)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	at libcore.net.http.HttpEngine.openSocketConnection(HttpEngine.java:315)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	at libcore.net.http.HttpEngine.connect(HttpEngine.java:310)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	at libcore.net.http.HttpEngine.sendSocketRequest(HttpEngine.java:289)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	at libcore.net.http.HttpEngine.sendRequest(HttpEngine.java:239)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	at libcore.net.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:80)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	at libcore.net.http.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:188)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	at com.andrew.apollo.lastfm.api.Caller.openPostConnection(Caller.java:186)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	at com.andrew.apollo.lastfm.api.Caller.call(Caller.java:139)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	... 10 more
05-14 18:24:36.853 E/AndroidRuntime( 6138): Caused by: libcore.io.ErrnoException: connect failed: ECONNREFUSED (Connection refused)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	at libcore.io.Posix.connect(Native Method)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:85)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	at libcore.io.IoBridge.connectErrno(IoBridge.java:127)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	at libcore.io.IoBridge.connect(IoBridge.java:112)
05-14 18:24:36.853 E/AndroidRuntime( 6138):	... 26 more
05-14 18:24:36.873 W/ActivityManager( 302): Force finishing activity com.andrew.apollo/.activities.TracksBrowser
05-14 18:24:37.033 D/dalvikvm( 6138): GC_CONCURRENT freed 1060K, 47% free 5933K/11079K, paused 3ms+4ms, total 41ms
05-14 18:24:37.043 D/dalvikvm( 6138): WAIT_FOR_CONCURRENT_GC blocked 21ms
05-14 18:24:40.383 W/dalvikvm( 6138): threadid=19: thread exiting with uncaught exception (group=0x40ea1300)
05-14 18:24:40.383 I/Process ( 6138): Sending signal. PID: 6138 SIG: 9
05-14 18:24:40.413 E/AudioPolicyManagerBase( 116): setEffectEnabled(false) effect already disabled
05-14 18:24:40.413 E/AudioPolicyManagerBase( 116): unregisterEffect() effect CyanogenMod's Dynamic Range Compression, ID 9, memory 1 total memory 3
05-14 18:24:40.413 E/AudioPolicyManagerBase( 116): setEffectEnabled(false) effect already disabled
05-14 18:24:40.413 E/AudioPolicyManagerBase( 116): unregisterEffect() effect CyanogenMod's Equalizer, ID 10, memory 1 total memory 2
05-14 18:24:40.413 E/AudioPolicyManagerBase( 116): setEffectEnabled(false) effect already disabled
05-14 18:24:40.413 E/AudioPolicyManagerBase( 116): unregisterEffect() effect CyanogenMod's Bass Boost, ID 11, memory 1 total memory 1
05-14 18:24:40.413 E/AudioPolicyManagerBase( 116): setEffectEnabled(false) effect already disabled
05-14 18:24:40.413 E/AudioPolicyManagerBase( 116): unregisterEffect() effect CyanogenMod's Headset Virtualization, ID 12, memory 1 total memory 0
05-14 18:24:40.413 W/AudioService( 302): RemoteControlClient died
05-14 18:24:40.413 E/AudioPolicyManagerBase( 116): stopOutput() output 5, stream 3, session 7
05-14 18:24:40.413 E/AudioPolicyManagerBase( 116): changeRefCount() stream 3, count 0
05-14 18:24:40.413 E/AudioPolicyManagerBase( 116): getNewDevice() selected device 0
05-14 18:24:40.413 E/AudioPolicyManagerBase( 116): setOutputDevice() output 5 device 0 delayMs 0
05-14 18:24:40.413 E/AudioPolicyManagerBase( 116): setOutputDevice() setting same device 0 or null device for output 5 prevDevice=80
05-14 18:24:40.413 E/AudioPolicyManagerBase( 116): getNewDevice() selected device 0
05-14 18:24:40.413 E/AudioPolicyManagerBase( 116): setOutputDevice() output 3 device 0 delayMs 0
05-14 18:24:40.413 V/NvAudioALSAStreamOut( 116): setParameters() routing=0
05-14 18:24:40.413 V/NvAudioALSAStreamOut( 116): Switch audio to device :0x0
05-14 18:24:40.413 E/AudioPolicyManagerBase( 116): applyStreamVolumes() for output 3 and device 0
05-14 18:24:40.413 E/AudioPolicyManagerBase( 116):
05-14 18:24:40.413 E/AudioPolicyManagerBase( 116): ************************* Check And Set Volume Start ***************************
05-14 18:24:40.413 E/NvAudioALSAPolicyManager( 116): [NVALSA] Device->[default] : Setting Device int to [0x1]
05-14 18:24:40.413 E/NvAudioALSAPolicyManager( 116): [NVALSA] Current Device[0x0] -> Device Selected[0x1]
05-14 18:24:40.413 D/NvAudioALSAPolicyManager( 116): [NVALSA] linearToLog[80]=[0.316228]
05-14 18:24:40.413 E/NvAudioALSAPolicyManager( 116): [NVALSA] ComputeVolume() -> Stream[0], Index[4], Output[3], Device[0x00000000], PureVol[0.316228]->Vol[0.316228]
05-14 18:24:40.413 E/AudioPolicyManagerBase( 116): ********************************************************************************
......
some NVALSA log removed
....
05-14 18:24:40.413 D/NvAudioALSAPolicyManager( 116): [NVALSA] linearToLog[100]=[1.000000]
05-14 18:24:40.413 E/NvAudioALSAPolicyManager( 116): [NVALSA] ComputeVolume() -> Stream[11], Index[1], Output[3], Device[0x00000000], PureVol[1.000000]->Vol[1.000000]
05-14 18:24:40.413 E/AudioPolicyManagerBase( 116): ********************************************************************************
05-14 18:24:40.413 V/NvAudioALSAPolicyManager( 116): releaseOutput() 5
05-14 18:24:40.413 V/NvAudioALSADevice( 116): [NVALSA] setParameters[Capabilities=0]
05-14 18:24:40.413 W/AudioFlinger( 116): session id 7 not found for pid 116
05-14 18:24:40.413 I/AudioService( 302): AudioFocus abandonAudioFocus(): removing entry for android.media.AudioManager@412390b0com.andrew.apollo.service.ApolloService$3@41237c78
05-14 18:24:40.413 W/AudioService( 302): Dead client in setNewRcClientGenerationOnClients_syncRcsCurrc()android.os.DeadObjectException
05-14 18:24:40.413 I/WindowState( 302): WIN DEATH: Window{417674e8 com.andrew.apollo/com.andrew.apollo.activities.MusicLibrary paused=false}
05-14 18:24:40.413 I/ActivityManager( 302): Process com.andrew.apollo:main (pid 6138) has died.
05-14 18:24:40.413 W/ActivityManager( 302): Scheduling restart of crashed service com.andrew.apollo/.service.ApolloService in 5000ms
05-14 18:24:40.413 W/ActivityManager( 302): Force removing ActivityRecord{412b1600 com.andrew.apollo/.activities.MusicLibrary}: app died, no saved state
05-14 18:24:40.473 W/InputMethodManagerService( 302): Got RemoteException sending setActive(false) notification to pid 6138 uid 10000
05-14 18:24:43.453 D/A2DP ( 116): a2dp_stop
05-14 18:24:43.453 D/A2DP ( 116): bluetooth_stop
05-14 18:24:43.493 D/BluetoothA2dpService( 302): A2DP: onSinkPropertyChanged newState is: 2 mPlayingA2dpDevice: 00:0E:9F:BC:F6:09
05-14 18:24:43.493 D/A2DP ( 116): Received BT_RESPONSE - BT_STOP_STREAM
05-14 18:24:43.493 D/BluetoothA2dpService( 302): A2DP Playing state : device: 00:0E:9F:BC:F6:09 State:10->11

Looking quickly on it it tries to retreive some artist data online... which fails (no suprise since in my car data reception can be poor at some locations.

-Is bluetooth involved here?

-Is there a newer version of appollo that fixes this, or has a setting to prevent going online?

full logs still saved somewhere.....