[Galaxy S II Android Development] dorimanx:
SystemUI bug

Dear Bajee

i am using rootbox long time, and in many last builds there is a bug with systemui.

1)in some conditions it's stuck in some loop that i dont see, and use CPU, so cpu on idle jump from 200 to 600/800 with no reason!

once i was been able to kill systemui service, then it's restarted and BUG 1 is gone, stable idle of 200 to 300mhz

2) Now with new 6 builds i cant restart the systemui any more.

once i kill it's PID, it's will never start again.

only REBOOT will load it, and also after many tries...(i see in logs that it's killed and started again, and again, and again....)

this what i see in logs, when systemUI cant start!

I/ActivityManager( 2727): Start proc com.android.systemui for restart com.android.systemui: pid=24731 uid=10040 gids={50040, 1028, 1015, 3002, 3001, 1006}
W/WallpaperService( 2727): Wallpaper service gone: ComponentInfo{com.android.systemui/com.android.systemui.ImageWallpaper}
W/WallpaperService( 2727): SystemUI wallpaper disconnected, assuming it's being restarted, not clearing wallpaper.
D/SystemUIService(24731): loading: class com.android.systemui.statusbar.phone.PhoneStatusBar
D/SystemUIService(24731): running: com.android.systemui.statusbar.phone.PhoneStatusBar@4158daf8
E/JavaBinder(24731): at dalvik.system.NativeStart.run(Native Method)
W/Settings(24731): Setting location_providers_allowed has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning Secure URI.
D/PARANOID(24731): mSettingsContainer=com.android.systemui.statusbar.phone.QuickSettingsContainerView{4187a4b0 V.E..... ......I. 0,0-0,0 #7f08002a app:id/quick_settings_container}
W/BroadcastQueue( 2727): Receiver during timeout: BroadcastFilter{41b6aa20 u0 ReceiverList{41b7c948 23512 com.android.systemui/10040/u0 remote:41bd3550}}
D/SettingsProvider( 2727): row count exceeds max cache entries for table system
W/ActivityManager( 2727): Timeout executing service: ServiceRecord{41d9ca98 u0 com.android.systemui/.SystemUIService}
E/ ( 2727): poll() failed (Interrupted system call)
E/ActivityManager( 2727): ANR in com.android.systemui
E/ActivityManager( 2727): Reason: Executing service com.android.systemui/.SystemUIService
E/ActivityManager( 2727): 26% 24731/com.android.systemui: 21% user + 4.5% kernel / faults: 9496 minor 133 major
E/ActivityManager( 2727): 16% 2727/system_server: 11% user + 4.9% kernel / faults: 1120 minor 25 major
E/ActivityManager( 2727): 37% 24731/com.android.systemui: 31% user + 5.5% kernel / faults: 589 minor 14 major
E/ActivityManager( 2727): 29% 24731/ndroid.systemui: 24% user + 5.5% kernel
E/ActivityManager( 2727): 11% 2727/system_server: 7.5% user + 3.7% kernel / faults: 11 minor 2 major
W/ActivityManager( 2727): Killing ProcessRecord{41d5ced8 24731:com.android.systemui/u0a10040}: background ANR
W/WallpaperService( 2727): Wallpaper service gone: ComponentInfo{com.android.systemui/com.android.systemui.ImageWallpaper}
I/ActivityManager( 2727): Process com.android.systemui (pid 24731) has died.
W/WallpaperService( 2727): SystemUI wallpaper disconnected, assuming it's being restarted, not clearing wallpaper.
W/ActivityManager( 2727): Scheduling restart of crashed service com.android.systemui/.ImageWallpaper in 0ms
W/ActivityManager( 2727): Scheduling restart of crashed service com.android.systemui/.SystemUIService in 0ms

This goes in loops.

I have heavy loaded ROM, 400+ apps, so maybe for clean install, that cant be reproduced. only when real stress test.

I have this BUG with my kernel, and with CM-KERNEL. so it's not the point...

Other ROMS, has no such problem, UI is the first to load on boot, and no FC and can be restarted 10 times, and it's back as was.

I have my sec rom with same apps and same config, just different ROM.

Please check what is broken for so long with systemui. or it's friends.

Thanks.