[android-developers] Re: Android reset in dalvik layer(system_server or zygote process crash)

2012-03-27 Thread xhy
Hi all,

Please help me, thanks !!!

2012/3/23 xhy xhyg...@gmail.com:
 Hi all,

 The  system reset  many times recently which  in the dalvic layer. I
 get that the watchdog of framework layer  kills
 ActivityManagerService or  WindowsManagerService from log info. Some
 cases are caused by 3party apps, some are the overloading  in system.
 I try to enlarge the dalvik.vm.heap.size from 32MB to 48MB or increase
 the timeout(ANR, IDLE,Service,App freeze etc), but not any valuable.
 Now I have no ideas about this issue, Please help me.Many thanks!!!


 Hardware Info: 1433MHz ,2GB ROM+512MB RAM, 400*800

 Log Info:
 Log 1:
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 184
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 185
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 186
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 187
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 188
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 190
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 191
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 199
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 200
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 201
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 202
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 203
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 209
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 210
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 221
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 223
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 224
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 225
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 231
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 232
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 234
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 235
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 236
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 237
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 238
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 239
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 240
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 241
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 242
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 243
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 244
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 245
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 246
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 248
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 249
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 250
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 251
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 252
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 254
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 255
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 259
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 260
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 261
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 263
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack 

Re: [android-developers] Re: Android reset in dalvik layer(system_server or zygote process crash)

2012-03-24 Thread xhy
Hi macterry,

Firstly,thanks for your help, But I can not agree with you.

I think the ActivityManagerService killed by WatchDog is rootcause.
The system_server process will crash if ActivityThread occurs fatal
exception. Many Thanks !!!

2012/3/24 mcterry macte...@gmail.com:
 Hello Hongyue,

 When looking through the logcat, look for the FATAL EXCEPTION.  Then, look
 for the first line that has your applications package name...this will be
 the bug that needs to be fixed.

 In your log, I found this error...
 FATAL EXCEPTION: main
 03-06 11:40:38.873 E/AndroidRuntime(15229): java.lang.NullPointerException
 03-06 11:40:38.873 E/AndroidRuntime(15229): at
 android.app.ActivityThread.attach(ActivityThread.java:3618)

 It looks like you have a class called ActivityThread that has a
 NullPointerException on line 3618.

 If you add a breakpoint (double click on he left side of the editor where
 the line numbers are in Eclipse), and then you can hit that breakpoint and
 see which field/variable/etc. is null.

 Typically, you can use a simple if (foo != null) check...other times there
 is something bigger wrong.

 Let me know if you need help debugging your NPE.
 Hope this helps!

 -Matt

 www.sep.com/mcterry


 On Friday, March 23, 2012 2:45:14 AM UTC-4, Hongyue XU wrote:

 Hi all,

 The  system reset  many times recently which  in the dalvic layer. I
 get that the watchdog of framework layer  kills
 ActivityManagerService or  WindowsManagerService from log info. Some
 cases are caused by 3party apps, some are the overloading  in system.
 I try to enlarge the dalvik.vm.heap.size from 32MB to 48MB or increase
 the timeout(ANR, IDLE,Service,App freeze etc), but not any valuable.
 Now I have no ideas about this issue, Please help me.Many thanks!!!


 Hardware Info: 1433MHz ,2GB ROM+512MB RAM, 400*800

 Log Info:
 Log 1:
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 184
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 185
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 186
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 187
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 188
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 190
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 191
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 199
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 200
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 201
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 202
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 203
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 209
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 210
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 221
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 223
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 224
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 225
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 231
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 232
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 234
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 235
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 236
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 237
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 238
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 239
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 240
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 241
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 242
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 243
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 244
 : 13 (Permission denied)
 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 245
 : 13 (Permission denied)
 03-06 11:40:16.442