[Spirit FM] xhejtman:
Hi, it seems that sound completely messes up when I play FM and have incoming sms. In logcat, I can see:

W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
D/fm_srvc (20319): poll_tmr_hndlr in: 1
D/fm_hrdw (20319): hrdw_so_evt_get api_hndl: 2 evt_get_ctr: 1000 event: -1
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
D/fm_srvc (20319): dhrdw_misc_set_get type: 1 str: logcat var: 16
D/fm_hrdw (20319): hrdw_so_misc_set_get killall: logcat (16)
D/fm_hrdw (20319): sh_run: 'kill 20201'
D/fm_hrdw (20319): sh_run ret: 256 errno: 2
D/fm_hrdw (20319): sh_run: 'kill 20451'
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
W/AudioTrack(16618): obtainBuffer timed out (is the CPU pegged?) 0x40036e70 name=0x2user=000012c0, server=00000000
I/PowerManagerService( 1744): Waking up from sleep...

[..cut GC and other GFX messages ..]

D/fm_apln (20319): onResume
D/fm_apln (20319): int_prefs_get pref: band_region def: 0 int_str: 1 int_parsed: 1
D/fm_apln (20319): presets_load
D/fm_apln (20319): presets_load creating preset list_name: 1 num_presets: 0 list_idx: 0
D/fm_plst (20319): fm_plst constructor name: 1
D/fm_apln (20319): presets_load mlist_idx: 0
D/WindowManager( 1744): frame: Rect(0, 0 - 480, 800) shown frame: RectF(0.0, 0.0, 480.0, 800.0)
D/fm_apln (20319): onResume low_pwr_mode_set (false)
D/WindowManager( 1744): attr: WM.LayoutParams{(0,0)(fillxfill) sim=#120 ty=1 fl=#1810100 pfl=0x8 wanim=0x10302e9} lp.flags=0x1810100
V/WindowManager( 1744): finishPostLayoutPolicyLw: mHideKeyguard=false
D/fm_srvc (20319): low_pwr_mode_set new: false old: false m_pwr_state: true hrdw_hndl: 2
D/fm_srvc (20319): dhrdw_pwr_set fd: 2 pwr: 17
D/fm_hrdw (20319): hrdw_so_pwr_set api_hndl: 2 pwr: 17 curr_pwr: 1
D/fm_hrdw (20319): gen_pwr_set: 17
D/fm_hrdw (20319): gen_pwr_set enable low power mode -> RDS on
D/WindowManager( 1744): frame: Rect(0, 0 - 480, 800) shown frame: RectF(0.0, 0.0, 480.0, 800.0)
D/WindowManager( 1744): attr: WM.LayoutParams{(0,0)(fillxfill) sim=#120 ty=1 fl=#1810100 pfl=0x8 wanim=0x10302e9} lp.flags=0x1810100
V/WindowManager( 1744): Skipping AppWindowToken{424c0c30 token=Token{41f02c38 ActivityRecord{41d5a680 u0 com.android.mms/.quickmessage.QuickMessagePopup}}} -- hidden on top
V/WindowManager( 1744): Done at AppWindowToken{4210eae0 token=Token{424ac058 ActivityRecord{4242b440 u0 com.mikersmicros.fm_li/.fm_apln}}} -- full screen, return -1
V/WindowManager( 1744): finishPostLayoutPolicyLw: mHideKeyguard=false
D/fm_hrdw (20319): hrdw_so_pwr_set curr_pwr: 1
D/fm_srvc (20319): dhrdw_freq_get fd: 2
D/fm_hrdw (20319): hrdw_so_freq_get api_hndl: 2
D/fm_hrdw (20319): bc_freq_get: 88300
D/fm_hrdw (20319): hrdw_so_freq_get freq: 88300
D/fm_apln (20319): onResume m_freq: 88300
D/fm_apln (20319): int_prefs_get pref: ui_station_id def: 0 int_str: 0 int_parsed: 0
D/fm_apln (20319): sttn_id_tv_set m_station_id: 0 sttn_id: PI: 0
D/fm_apln (20319): on_pi_chngd
D/fm_apln (20319): cb_on_pt_chngd
D/fm_apln (20319): on_stro_sig_chngd: 0 UI: 0 m_hndlr: Handler (android.os.Handler) {4196a948}
D/fm_apln (20319): ui_pwr_update freq: 88300
D/fm_apln (20319): sttn_id_tv_set m_station_id: 0 sttn_id: PI: 0
V/WindowManager( 1744): Skipping AppWindowToken{424c0c30 token=Token{41f02c38 ActivityRecord{41d5a680 u0 com.android.mms/.quickmessage.QuickMessagePopup}}} -- hidden on top
V/WindowManager( 1744): Done at AppWindowToken{4210eae0 token=Token{424ac058 ActivityRecord{4242b440 u0 com.mikersmicros.fm_li/.fm_apln}}} -- full screen, return -1
D/WindowManager( 1744): frame: Rect(0, 0 - 480, 800) shown frame: RectF(0.0, 0.0, 480.0, 800.0)
D/WindowManager( 1744): attr: WM.LayoutParams{(0,0)(fillxfill) sim=#120 ty=1 fl=#1810100 pfl=0x8 wanim=0x10302e9} lp.flags=0x1810100
V/WindowManager( 1744): finishPostLayoutPolicyLw: mHideKeyguard=false
D/fm_apln (20319): int_prefs_get pref: audio_output_device def: 0 int_str: 0 int_parsed: 0
D/fm_apln (20319): aod_setup aod: 0
D/fm_apln (20319): aod_setup m_out: 3
D/fm_apln (20319): sttn_id_tv_set m_station_id: 0 sttn_id: PI: 0
D/fm_apln (20319): presets_setup
D/dalvikvm(20319): GC_CONCURRENT freed 612K, 25% free 4258K/5676K, paused 7ms+2ms, total 34ms
D/dalvikvm(20319): WAIT_FOR_CONCURRENT_GC blocked 10ms
D/fm_apln (20319): presets_get: 0 num_plists: 1 list_idx: 0
W/IInputConnectionWrapper(20555): showStatusIcon on inactive InputConnection
D/fm_apln (20319): run_on_pi_chngd run
D/fm_apln (20319): run_on_stro_sig_chngd -> Mono
D/Mms (20555): [2394] markAsRead: update read/seen for thread uri: content://mms-sms/conversations/27
D/dalvikvm(16263): GC_FOR_ALLOC freed 1609K, 42% free 4425K/7580K, paused 16ms, total 17ms
D/dalvikvm(16263): GC_FOR_ALLOC freed 3K, 37% free 4850K/7580K, paused 13ms, total 14ms
D/dalvikvm(16263): GC_FOR_ALLOC freed <1K, 31% free 5277K/7580K, paused 16ms, total 16ms
D/fm_srvc (20319): audio_mute_handle mute: false allow_focus_change: false
D/fm_srvc (20319): dhrdw_mute_set fd: 2 mute: 1
D/fm_hrdw (20319): hrdw_so_mute_set api_hndl: 2 mute: 1
D/fm_hrdw (20319): bc_mute_set: 1
D/fm_srvc (20319): dhrdw_mute_set fd: 2 mute: 0
D/fm_hrdw (20319): hrdw_so_mute_set api_hndl: 2 mute: 0
D/fm_hrdw (20319): bc_mute_set: 0
D/fm_apln (20319): poll_tmr_hndlr new mute: false
D/fm_apln (20319): on_mute_chngd: false
I/PowerManagerService( 1744): Going to sleep by user request...
D/SurfaceFlinger( 1417): Screen released, type=0 flinger=0x41eb7318
D/WindowManager( 1744): frame: Rect(0, 0 - 480, 800) shown frame: RectF(0.0, 0.0, 480.0, 800.0)
D/WindowManager( 1744): attr: WM.LayoutParams{(0,0)(fillxfill) sim=#120 ty=1 fl=#1810100 pfl=0x8 wanim=0x10302e9} lp.flags=0x1810100
V/WindowManager( 1744): finishPostLayoutPolicyLw: mHideKeyguard=false
V/WindowManager( 1744): Screen status=false, current orientation=-1, SensorEnabled=false
D/fm_apln (20319): onPause
D/fm_apln (20319): onPause low_pwr_mode_set (true)
D/fm_srvc (20319): low_pwr_mode_set new: true old: false m_pwr_state: true hrdw_hndl: 2
D/fm_srvc (20319): low_pwr_mode_set rds bypass

it seems, that FM is frozen until I resume device and accept incoming sms. Any ideas or was it helpful?

---------- Post added at 11:55 PM ---------- Previous post was at 11:47 PM ----------

I might figure it out. It does not depend on reboot but rather on headset plug-in. I.e., I plug headset in, I need to pres speaker/headset. I keep headset plugged-in, another start and it keeps working. I re-plug headset and start FM - no sound, I need to toggle speaker/headset again. So it seems to be jack-sense related.