[G1 Android Development] acidwashg1:
I have been using 3.9.7 for the last few days without any major lag problems. Using compcache. Works flawlessly, use task manager app widget to kill all unnecessary apps. Only problem is audio...

I seem to be having the same issues as those above. When I'm playing music through HTC breakout box to my car, receiving a call will kill all audio output of the phone. I've tried switching to speakerphone, to a connected bluetooth headset, back to the handset, through the headset...but nothing short of a reboot will bring the audio back. The problem is easy to replicate, anytime I'm playing music through the headset and I receive a call, all audio dies.

Here is the log from my experience a few days back while this audio crash happened to me:

08-06 15:35:34.192 E/ToneGenerator( 1452): --- Stop timed out
08-06 15:35:34.198 E/AudioTrack( 1452): Error obtaining an audio buffer, giving up.
08-06 15:35:34.198 I/AudioHardwareMSM72XX( 1370): Routing audio to Speakerphone
08-06 15:35:34.948 V/HeadsetObserver( 1390): Headset UEVENT: {SWITCH_STATE=2, SWITCH_NAME=h2w, ACTION=change, SEQNUM=1008, DEVPATH=/devices/virtual/switch/h2w, SUBSYSTEM=switch}
08-06 15:35:34.958 D/AudioFlinger( 1370): setRouting 0 8 -17, tid 1444, calling tid 1390
08-06 15:35:34.958 I/AudioHardwareMSM72XX( 1370): Routing audio to Wired Headset
08-06 15:35:34.978 D/AudioFlinger( 1370): setRouting 1 10 -17, tid 1444, calling tid 1390
08-06 15:35:34.988 D/AudioFlinger( 1370): setRouting 2 8 -1, tid 1444, calling tid 1390
08-06 15:35:34.988 E/AudioFlinger( 1370): mA2dpDisableCount is already zero
08-06 15:35:35.728 I/ActivityManager( 1390): Starting activity: Intent { action=android.intent.action.MAIN categories={android.intent.category.HOME} flags=0x10200000 comp={com.android.launcher/com.android.launcher.Launcher} }
08-06 15:35:35.748 D/dalvikvm( 1463): threadid=37 wakeup: interrupted
08-06 15:35:38.228 I/ActivityManager( 1390): Starting activity: Intent { action=android.intent.action.MAIN categories={android.intent.category.LAUNCHER} flags=0x10200000 comp={com.android.music/com.android.music.MusicBrowserActivity} }
08-06 15:35:38.498 I/ActivityManager( 1390): Start proc com.android.music for activity com.android.music/.MusicBrowserActivity: pid=15426 uid=10017 gids={3003}
08-06 15:35:39.058 D/dalvikvm(15426): GC freed 952 objects / 83720 bytes in 99ms
08-06 15:35:39.088 I/ActivityManager( 1390): Process com.arron.taskManager (pid 15331) has died.
08-06 15:35:41.268 W/WindowManager( 1390): No window to dispatch pointer action 0
08-06 15:35:41.838 D/dalvikvm( 1390): GC freed 13859 objects / 596808 bytes in 533ms
08-06 15:35:42.058 W/WindowManager( 1390): No window to dispatch pointer action 1
08-06 15:35:42.378 I/ActivityManager( 1390): Displayed activity com.android.music/.MusicBrowserActivity: 4068 ms
08-06 15:35:43.378 I/ActivityManager( 1390): Starting activity: Intent { action=android.intent.action.PICK data= type=vnd.android.cursor.dir/track comp={com.android.music/com.android.music.TrackBrowserActivity} }
08-06 15:35:44.368 I/ActivityManager( 1390): Displayed activity com.android.music/.TrackBrowserActivity: 990 ms
08-06 15:35:46.248 I/ActivityManager( 1390): Starting activity: Intent { action=com.android.music.PLAYBACK_VIEWER flags=0x4000000 comp={com.android.music/com.android.music.MediaPlaybackActivity} }
08-06 15:35:47.218 I/ActivityManager( 1390): Displayed activity com.android.music/.MediaPlaybackActivity: 970 ms
08-06 15:35:47.818 D/dalvikvm(15426): GC freed 3632 objects / 298760 bytes in 205ms
08-06 15:35:48.198 I/ActivityManager( 1390): Process com.android.settings (pid 15380) has died.
08-06 15:35:48.689 W/AudioTrack( 1370): obtainBuffer timed out (is the CPU pegged?) 0x32798 user=000012c0, server=00000000
08-06 15:35:51.692 W/AudioTrack( 1370): obtainBuffer timed out (is the CPU pegged?) 0x32798 user=000012c0, server=00000000
08-06 15:35:52.908 D/dalvikvm(15405): GC freed 1332 objects / 113016 bytes in 232ms
08-06 15:35:52.948 D/VolumePanel( 1390): onVolumeChanged(streamType: 3, flags: 17)
08-06 15:35:52.958 D/VolumePanel( 1390): onShowVolumeChanged(streamType: 3, flags: 17), index: 15
08-06 15:35:53.018 I/NotificationService( 1390): enqueueToast pkg=android callback=android.widget.Toast$TN@437a67c0 duration=0
08-06 15:35:53.038 D/VolumePanel( 1390): onVolumeChanged(streamType: 3, flags: 0)
08-06 15:35:54.690 W/AudioTrack( 1370): obtainBuffer timed out (is the CPU pegged?) 0x32798 user=000012c0, server=00000000
08-06 15:35:55.868 W/InputManagerService( 1390): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@4362d880
08-06 15:35:57.691 W/AudioTrack( 1370): obtainBuffer timed out (is the CPU pegged?) 0x32798 user=000012c0, server=00000000
08-06 15:35:58.498 W/InputManagerService( 1390): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@43608648
08-06 15:36:00.695 W/AudioTrack( 1370): obtainBuffer timed out (is the CPU pegged?) 0x32798 user=000012c0, server=00000000
08-06 15:36:01.848 W/InputManagerService( 1390): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@435af650
08-06 15:36:03.688 W/AudioTrack( 1370): obtainBuffer timed out (is the CPU pegged?) 0x32798 user=000012c0, server=00000000
08-06 15:36:06.697 W/AudioTrack( 1370): obtainBuffer timed out (is the CPU pegged?) 0x32798 user=000012c0, server=00000000
08-06 15:36:09.698 W/AudioTrack( 1370): obtainBuffer timed out (is the CPU pegged?) 0x32798 user=000012c0, server=00000000
08-06 15:36:12.558 D/dalvikvm( 1452): GC freed 12781 objects / 656024 bytes in 455ms
08-06 15:36:12.698 W/AudioTrack( 1370): obtainBuffer timed out (is the CPU pegged?) 0x32798 user=000012c0, server=00000000
08-06 15:36:15.698 W/AudioTrack( 1370): obtainBuffer timed out (is the CPU pegged?) 0x32798 user=000012c0, server=00000000
08-06 15:36:17.478 I/ActivityManager( 1390): Starting activity: Intent { comp={com.arron.taskManager/com.arron.taskManager.EndTaskActivity} }
08-06 15:36:17.478 W/ActivityManager( 1390): startActivity called from non-Activity context; forcing Intent.FLAG_ACTIVITY_NEW_TASK for: Intent { flags=0x800000 comp={com.arron.taskManager/com.arron.taskManager.EndTaskActivity} }
08-06 15:36:17.668 I/ActivityManager( 1390): Start proc com.arron.taskManager for activity com.arron.taskManager/.EndTaskActivity: pid=15441 uid=10050 gids={}
08-06 15:36:18.698 W/AudioTrack( 1370): obtainBuffer timed out (is the CPU pegged?) 0x32798 user=000012c0, server=00000000
08-06 15:36:19.258 D/dalvikvm(15441): GC freed 865 objects / 75096 bytes in 127ms
08-06 15:36:19.508 D/ActivityManager( 1390): Uninstalling process com.htc.android.htcime
08-06 15:36:19.508 D/ActivityManager( 1390): Force removing process ProcessRecord{4397e8f0 15373:com.htc.android.htcime/10036} (com.htc.android.htcime/10036)
08-06 15:36:19.508 W/ActivityManager( 1390): Scheduling restart of crashed service com.htc.android.htcime/.HTCIMEService in 5000ms
08-06 15:36:19.508 I/Process ( 1390): Sending signal. PID: 15373 SIG: 9
08-06 15:36:19.548 D/ActivityManager( 1390): Received spurious death notification for thread android.os.BinderProxy@435e6370
08-06 15:36:19.548 D/ActivityManager( 1390): Uninstalling process edu.mit.locale
08-06 15:36:19.548 D/ActivityManager( 1390): Force removing process ProcessRecord{438f0338 15405:com.twofortyfouram.locale/10108} (com.twofortyfouram.locale/10108)
08-06 15:36:19.558 I/Process ( 1390): Sending signal. PID: 15405 SIG: 9
08-06 15:36:19.568 D/ActivityManager( 1390): Received spurious death notification for thread android.os.BinderProxy@4382a590
08-06 15:36:19.568 D/ActivityManager( 1390): Uninstalling process com.android.music
08-06 15:36:19.568 D/ActivityManager( 1390): Force removing process ProcessRecord{4384aa58 15426:com.android.music/10017} (com.android.music/10017)
08-06 15:36:19.568 W/ActivityManager( 1390): Scheduling restart of crashed service com.android.music/.MediaPlaybackService in 5000ms
08-06 15:36:19.568 I/Process ( 1390): Sending signal. PID: 15426 SIG: 9
08-06 15:36:19.628 D/ActivityManager( 1390): Received spurious death notification for thread android.os.BinderProxy@4391ecf8
08-06 15:36:19.638 D/ActivityManager( 1390): Uninstalling process com.arron.taskManager
08-06 15:36:19.638 D/ActivityManager( 1390): Force removing process ProcessRecord{43850de8 15441:com.arron.taskManager/10050} (com.arron.taskManager/10050)
08-06 15:36:19.638 I/Process ( 1390): Sending signal. PID: 15441 SIG: 9
08-06 15:36:19.788 D/ActivityManager( 1390): Received spurious death notification for thread android.os.BinderProxy@4390ad58
08-06 15:36:19.838 W/ResourceType( 1390): No package identifier when getting value for resource number 0x7f060001
08-06 15:36:19.848 W/ResourceType( 1390): No package identifier when getting value for resource number 0x7f060001

can send full log if needed