[android-developers] Re: system lock up and restarts when I start and stop my app.
So it seems the problem was memory leaking. I found I was not calling release() for sound pool, which ultimately solved the problem. But I may have had other memory leaks as I null'ed out a lot of stuff. I figured I should post the solution in case someone run in to the same problem in the future. On Jul 17, 12:28 am, String sterling.ud...@googlemail.com wrote: I had a similar situation with one of my apps, not identical but maybe close enough to be of help. I eventually tracked it down to a race condition between OpenGL and my own code. I fixed it by adding the Java volatile modifier to all variables accessed in the onDrawFrame handler. I don't know if your game uses OpenGL, but if it does, that's something to try. String On 17 July, 01:49, Marc gobl...@gmail.com wrote: I put a copy of the log here: http://www.catglo.com/log On Jul 16, 5:45 pm, Marc gobl...@gmail.com wrote: My device has a standard build. Its a t-mobile G1. I am only not using any extras. Just a basic 1.6 app. here is my log, I removed the lines which my program spits out. 07-16 17:39:09.097: INFO/ActivityManager(74): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x1020 cmp=com.catglo.beginerflashlightpro/.BeginnerFlashlightPro } 07-16 17:39:09.218: INFO/ActivityManager(74): Start proc com.catglo.beginerflashlightpro for activity com.catglo.beginerflashlightpro/.BeginnerFlashlightPro: pid=626 uid=10034 gids={1015} 07-16 17:39:09.268: INFO/jdwp(626): received file descriptor 20 from ADB 07-16 17:39:09.768: DEBUG/ddm-heap(626): Got feature list request 07-16 17:39:11.648: DEBUG/dalvikvm(626): Trying to load lib /system/ lib/libsoundpool.so 0x0 07-16 17:39:12.067: DEBUG/dalvikvm(626): Added shared lib /system/lib/ libsoundpool.so 0x0 07-16 17:39:19.138: WARN/ActivityManager(74): Launch timeout has expired, giving up wake lock! 07-16 17:39:19.318: DEBUG/dalvikvm(626): GC freed 3074 objects / 228504 bytes in 3238ms 07-16 17:39:20.028: WARN/ActivityManager(74): Activity idle timeout for HistoryRecord{4350b710 com.catglo.beginerflashlightpro/.BeginnerFlashlightPro} 07-16 17:39:21.417: INFO/ActivityManager(74): Displayed activity com.catglo.beginerflashlightpro/.BeginnerFlashlightPro: 12253 ms (total 215427 ms) 07-16 17:39:24.968: INFO/ActivityManager(74): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x1020 cmp=com.catglo.beginerflashlightpro/.BeginnerFlashlightPro } 07-16 17:39:35.098: WARN/ActivityManager(74): Launch timeout has expired, giving up wake lock! 07-16 17:39:36.228: WARN/ActivityManager(74): Activity idle timeout for HistoryRecord{4335a6e8 com.catglo.beginerflashlightpro/.BeginnerFlashlightPro} 07-16 17:39:44.067: INFO/ActivityManager(74): Displayed activity com.catglo.beginerflashlightpro/.BeginnerFlashlightPro: 18190 ms (total 18190 ms) 07-16 17:39:52.088: DEBUG/dalvikvm(137): GC freed 497 objects / 32488 bytes in 8807ms 07-16 17:40:05.768: WARN/WindowManager(74): Key dispatching timed out sending to com.catglo.beginerflashlightpro/ com.catglo.beginerflashlightpro.BeginnerFlashlightPro 07-16 17:40:05.968: WARN/WindowManager(74): Dispatch state: {{KeyEvent{action=0 code=4 repeat=0 meta=0 scancode=158 mFlags=8} to Window{433fbf20 com.catglo.beginerflashlightpro/ com.catglo.beginerflashlightpro.BeginnerFlashlightPro paused=false} @ 1279327200295 lw=Window{433fbf20 com.catglo.beginerflashlightpro/ com.catglo.beginerflashlightpro.BeginnerFlashlightPro paused=false} lb=android.os.binderpr...@4333e578 fin=false gfw=true ed=true tts=0 wf=false fp=false mcf=Window{433fbf20 com.catglo.beginerflashlightpro/ com.catglo.beginerflashlightpro.BeginnerFlashlightPro paused=false}}} 07-16 17:40:05.978: WARN/WindowManager(74): Current state: {{KeyEvent{action=1 code=4 repeat=0 meta=0 scancode=158 mFlags=8} to Window{433fbf20 com.catglo.beginerflashlightpro/ com.catglo.beginerflashlightpro.BeginnerFlashlightPro paused=false} @ 1279327205972 lw=Window{433fbf20 com.catglo.beginerflashlightpro/ com.catglo.beginerflashlightpro.BeginnerFlashlightPro paused=false} lb=android.os.binderpr...@4333e578 fin=false gfw=true ed=true tts=0 wf=false fp=false mcf=Window{433fbf20 com.catglo.beginerflashlightpro/ com.catglo.beginerflashlightpro.BeginnerFlashlightPro paused=false}}} 07-16 17:40:09.158: WARN/ActivityManager(74): Activity pause timeout for HistoryRecord{4335a6e8 com.catglo.beginerflashlightpro/.BeginnerFlashlightPro} 07-16 17:40:16.538: INFO/ActivityManager(74): ANR in process: com.catglo.beginerflashlightpro (last in com.catglo.beginerflashlightpro) 07-16 17:40:16.538: INFO/ActivityManager(74): Annotation: keyDispatchingTimedOut 07-16 17:40:16.538: INFO/ActivityManager(74): CPU usage: 07-16
[android-developers] Re: system lock up and restarts when I start and stop my app.
I had a similar situation with one of my apps, not identical but maybe close enough to be of help. I eventually tracked it down to a race condition between OpenGL and my own code. I fixed it by adding the Java volatile modifier to all variables accessed in the onDrawFrame handler. I don't know if your game uses OpenGL, but if it does, that's something to try. String On 17 July, 01:49, Marc gobl...@gmail.com wrote: I put a copy of the log here: http://www.catglo.com/log On Jul 16, 5:45 pm, Marc gobl...@gmail.com wrote: My device has a standard build. Its a t-mobile G1. I am only not using any extras. Just a basic 1.6 app. here is my log, I removed the lines which my program spits out. 07-16 17:39:09.097: INFO/ActivityManager(74): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x1020 cmp=com.catglo.beginerflashlightpro/.BeginnerFlashlightPro } 07-16 17:39:09.218: INFO/ActivityManager(74): Start proc com.catglo.beginerflashlightpro for activity com.catglo.beginerflashlightpro/.BeginnerFlashlightPro: pid=626 uid=10034 gids={1015} 07-16 17:39:09.268: INFO/jdwp(626): received file descriptor 20 from ADB 07-16 17:39:09.768: DEBUG/ddm-heap(626): Got feature list request 07-16 17:39:11.648: DEBUG/dalvikvm(626): Trying to load lib /system/ lib/libsoundpool.so 0x0 07-16 17:39:12.067: DEBUG/dalvikvm(626): Added shared lib /system/lib/ libsoundpool.so 0x0 07-16 17:39:19.138: WARN/ActivityManager(74): Launch timeout has expired, giving up wake lock! 07-16 17:39:19.318: DEBUG/dalvikvm(626): GC freed 3074 objects / 228504 bytes in 3238ms 07-16 17:39:20.028: WARN/ActivityManager(74): Activity idle timeout for HistoryRecord{4350b710 com.catglo.beginerflashlightpro/.BeginnerFlashlightPro} 07-16 17:39:21.417: INFO/ActivityManager(74): Displayed activity com.catglo.beginerflashlightpro/.BeginnerFlashlightPro: 12253 ms (total 215427 ms) 07-16 17:39:24.968: INFO/ActivityManager(74): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x1020 cmp=com.catglo.beginerflashlightpro/.BeginnerFlashlightPro } 07-16 17:39:35.098: WARN/ActivityManager(74): Launch timeout has expired, giving up wake lock! 07-16 17:39:36.228: WARN/ActivityManager(74): Activity idle timeout for HistoryRecord{4335a6e8 com.catglo.beginerflashlightpro/.BeginnerFlashlightPro} 07-16 17:39:44.067: INFO/ActivityManager(74): Displayed activity com.catglo.beginerflashlightpro/.BeginnerFlashlightPro: 18190 ms (total 18190 ms) 07-16 17:39:52.088: DEBUG/dalvikvm(137): GC freed 497 objects / 32488 bytes in 8807ms 07-16 17:40:05.768: WARN/WindowManager(74): Key dispatching timed out sending to com.catglo.beginerflashlightpro/ com.catglo.beginerflashlightpro.BeginnerFlashlightPro 07-16 17:40:05.968: WARN/WindowManager(74): Dispatch state: {{KeyEvent{action=0 code=4 repeat=0 meta=0 scancode=158 mFlags=8} to Window{433fbf20 com.catglo.beginerflashlightpro/ com.catglo.beginerflashlightpro.BeginnerFlashlightPro paused=false} @ 1279327200295 lw=Window{433fbf20 com.catglo.beginerflashlightpro/ com.catglo.beginerflashlightpro.BeginnerFlashlightPro paused=false} lb=android.os.binderpr...@4333e578 fin=false gfw=true ed=true tts=0 wf=false fp=false mcf=Window{433fbf20 com.catglo.beginerflashlightpro/ com.catglo.beginerflashlightpro.BeginnerFlashlightPro paused=false}}} 07-16 17:40:05.978: WARN/WindowManager(74): Current state: {{KeyEvent{action=1 code=4 repeat=0 meta=0 scancode=158 mFlags=8} to Window{433fbf20 com.catglo.beginerflashlightpro/ com.catglo.beginerflashlightpro.BeginnerFlashlightPro paused=false} @ 1279327205972 lw=Window{433fbf20 com.catglo.beginerflashlightpro/ com.catglo.beginerflashlightpro.BeginnerFlashlightPro paused=false} lb=android.os.binderpr...@4333e578 fin=false gfw=true ed=true tts=0 wf=false fp=false mcf=Window{433fbf20 com.catglo.beginerflashlightpro/ com.catglo.beginerflashlightpro.BeginnerFlashlightPro paused=false}}} 07-16 17:40:09.158: WARN/ActivityManager(74): Activity pause timeout for HistoryRecord{4335a6e8 com.catglo.beginerflashlightpro/.BeginnerFlashlightPro} 07-16 17:40:16.538: INFO/ActivityManager(74): ANR in process: com.catglo.beginerflashlightpro (last in com.catglo.beginerflashlightpro) 07-16 17:40:16.538: INFO/ActivityManager(74): Annotation: keyDispatchingTimedOut 07-16 17:40:16.538: INFO/ActivityManager(74): CPU usage: 07-16 17:40:16.538: INFO/ActivityManager(74): Load: 5.89 / 4.66 / 2.36 07-16 17:40:16.538: INFO/ActivityManager(74): CPU usage from 12672ms to 7421ms ago: 07-16 17:40:16.538: INFO/ActivityManager(74): system_server: 13% = 1% user + 11% kernel / faults: 759 minor 148 major 07-16 17:40:16.538: INFO/ActivityManager(74): com.catglo.beginerflashlightpro: 0% = 0% user + 0% kernel / faults: 142 minor 11 major 07-16 17:40:16.538:
[android-developers] Re: system lock up and restarts when I start and stop my app.
Some more information: I do not get a restart in the emulator. I can exit and restart the app in that environment. My phone is a G1. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: system lock up and restarts when I start and stop my app.
What does the logcat say? There must be some clue there. Are you using anything out of the standard kit in your app? What device are you seeing this on? Does your device have a standard build or a custom ROM? -John Coryat -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: system lock up and restarts when I start and stop my app.
My device has a standard build. Its a t-mobile G1. I am only not using any extras. Just a basic 1.6 app. here is my log, I removed the lines which my program spits out. 07-16 17:39:09.097: INFO/ActivityManager(74): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x1020 cmp=com.catglo.beginerflashlightpro/.BeginnerFlashlightPro } 07-16 17:39:09.218: INFO/ActivityManager(74): Start proc com.catglo.beginerflashlightpro for activity com.catglo.beginerflashlightpro/.BeginnerFlashlightPro: pid=626 uid=10034 gids={1015} 07-16 17:39:09.268: INFO/jdwp(626): received file descriptor 20 from ADB 07-16 17:39:09.768: DEBUG/ddm-heap(626): Got feature list request 07-16 17:39:11.648: DEBUG/dalvikvm(626): Trying to load lib /system/ lib/libsoundpool.so 0x0 07-16 17:39:12.067: DEBUG/dalvikvm(626): Added shared lib /system/lib/ libsoundpool.so 0x0 07-16 17:39:19.138: WARN/ActivityManager(74): Launch timeout has expired, giving up wake lock! 07-16 17:39:19.318: DEBUG/dalvikvm(626): GC freed 3074 objects / 228504 bytes in 3238ms 07-16 17:39:20.028: WARN/ActivityManager(74): Activity idle timeout for HistoryRecord{4350b710 com.catglo.beginerflashlightpro/.BeginnerFlashlightPro} 07-16 17:39:21.417: INFO/ActivityManager(74): Displayed activity com.catglo.beginerflashlightpro/.BeginnerFlashlightPro: 12253 ms (total 215427 ms) 07-16 17:39:24.968: INFO/ActivityManager(74): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x1020 cmp=com.catglo.beginerflashlightpro/.BeginnerFlashlightPro } 07-16 17:39:35.098: WARN/ActivityManager(74): Launch timeout has expired, giving up wake lock! 07-16 17:39:36.228: WARN/ActivityManager(74): Activity idle timeout for HistoryRecord{4335a6e8 com.catglo.beginerflashlightpro/.BeginnerFlashlightPro} 07-16 17:39:44.067: INFO/ActivityManager(74): Displayed activity com.catglo.beginerflashlightpro/.BeginnerFlashlightPro: 18190 ms (total 18190 ms) 07-16 17:39:52.088: DEBUG/dalvikvm(137): GC freed 497 objects / 32488 bytes in 8807ms 07-16 17:40:05.768: WARN/WindowManager(74): Key dispatching timed out sending to com.catglo.beginerflashlightpro/ com.catglo.beginerflashlightpro.BeginnerFlashlightPro 07-16 17:40:05.968: WARN/WindowManager(74): Dispatch state: {{KeyEvent{action=0 code=4 repeat=0 meta=0 scancode=158 mFlags=8} to Window{433fbf20 com.catglo.beginerflashlightpro/ com.catglo.beginerflashlightpro.BeginnerFlashlightPro paused=false} @ 1279327200295 lw=Window{433fbf20 com.catglo.beginerflashlightpro/ com.catglo.beginerflashlightpro.BeginnerFlashlightPro paused=false} lb=android.os.binderpr...@4333e578 fin=false gfw=true ed=true tts=0 wf=false fp=false mcf=Window{433fbf20 com.catglo.beginerflashlightpro/ com.catglo.beginerflashlightpro.BeginnerFlashlightPro paused=false}}} 07-16 17:40:05.978: WARN/WindowManager(74): Current state: {{KeyEvent{action=1 code=4 repeat=0 meta=0 scancode=158 mFlags=8} to Window{433fbf20 com.catglo.beginerflashlightpro/ com.catglo.beginerflashlightpro.BeginnerFlashlightPro paused=false} @ 1279327205972 lw=Window{433fbf20 com.catglo.beginerflashlightpro/ com.catglo.beginerflashlightpro.BeginnerFlashlightPro paused=false} lb=android.os.binderpr...@4333e578 fin=false gfw=true ed=true tts=0 wf=false fp=false mcf=Window{433fbf20 com.catglo.beginerflashlightpro/ com.catglo.beginerflashlightpro.BeginnerFlashlightPro paused=false}}} 07-16 17:40:09.158: WARN/ActivityManager(74): Activity pause timeout for HistoryRecord{4335a6e8 com.catglo.beginerflashlightpro/.BeginnerFlashlightPro} 07-16 17:40:16.538: INFO/ActivityManager(74): ANR in process: com.catglo.beginerflashlightpro (last in com.catglo.beginerflashlightpro) 07-16 17:40:16.538: INFO/ActivityManager(74): Annotation: keyDispatchingTimedOut 07-16 17:40:16.538: INFO/ActivityManager(74): CPU usage: 07-16 17:40:16.538: INFO/ActivityManager(74): Load: 5.89 / 4.66 / 2.36 07-16 17:40:16.538: INFO/ActivityManager(74): CPU usage from 12672ms to 7421ms ago: 07-16 17:40:16.538: INFO/ActivityManager(74): system_server: 13% = 1% user + 11% kernel / faults: 759 minor 148 major 07-16 17:40:16.538: INFO/ActivityManager(74): com.catglo.beginerflashlightpro: 0% = 0% user + 0% kernel / faults: 142 minor 11 major 07-16 17:40:16.538: INFO/ActivityManager(74): wpa_supplicant: 0% = 0% user + 0% kernel / faults: 78 minor 3 major 07-16 17:40:16.538: INFO/ActivityManager(74): TOTAL: 100% = 1% user + 15% kernel + 83% iowait 07-16 17:40:18.358: INFO/ActivityManager(74): Removing old ANR trace file from /data/anr/traces.txt 07-16 17:40:18.947: INFO/Process(74): Sending signal. PID: 626 SIG: 3 07-16 17:40:18.988: INFO/dalvikvm(626): threadid=7: reacting to signal 3 On Jul 16, 5:23 pm, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: What does the logcat say? There must be some clue there. Are you using anything out of the standard kit in your app? What device are you seeing this on? Does your device have a standard build
[android-developers] Re: system lock up and restarts when I start and stop my app.
I put a copy of the log here: http://www.catglo.com/log On Jul 16, 5:45 pm, Marc gobl...@gmail.com wrote: My device has a standard build. Its a t-mobile G1. I am only not using any extras. Just a basic 1.6 app. here is my log, I removed the lines which my program spits out. 07-16 17:39:09.097: INFO/ActivityManager(74): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x1020 cmp=com.catglo.beginerflashlightpro/.BeginnerFlashlightPro } 07-16 17:39:09.218: INFO/ActivityManager(74): Start proc com.catglo.beginerflashlightpro for activity com.catglo.beginerflashlightpro/.BeginnerFlashlightPro: pid=626 uid=10034 gids={1015} 07-16 17:39:09.268: INFO/jdwp(626): received file descriptor 20 from ADB 07-16 17:39:09.768: DEBUG/ddm-heap(626): Got feature list request 07-16 17:39:11.648: DEBUG/dalvikvm(626): Trying to load lib /system/ lib/libsoundpool.so 0x0 07-16 17:39:12.067: DEBUG/dalvikvm(626): Added shared lib /system/lib/ libsoundpool.so 0x0 07-16 17:39:19.138: WARN/ActivityManager(74): Launch timeout has expired, giving up wake lock! 07-16 17:39:19.318: DEBUG/dalvikvm(626): GC freed 3074 objects / 228504 bytes in 3238ms 07-16 17:39:20.028: WARN/ActivityManager(74): Activity idle timeout for HistoryRecord{4350b710 com.catglo.beginerflashlightpro/.BeginnerFlashlightPro} 07-16 17:39:21.417: INFO/ActivityManager(74): Displayed activity com.catglo.beginerflashlightpro/.BeginnerFlashlightPro: 12253 ms (total 215427 ms) 07-16 17:39:24.968: INFO/ActivityManager(74): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x1020 cmp=com.catglo.beginerflashlightpro/.BeginnerFlashlightPro } 07-16 17:39:35.098: WARN/ActivityManager(74): Launch timeout has expired, giving up wake lock! 07-16 17:39:36.228: WARN/ActivityManager(74): Activity idle timeout for HistoryRecord{4335a6e8 com.catglo.beginerflashlightpro/.BeginnerFlashlightPro} 07-16 17:39:44.067: INFO/ActivityManager(74): Displayed activity com.catglo.beginerflashlightpro/.BeginnerFlashlightPro: 18190 ms (total 18190 ms) 07-16 17:39:52.088: DEBUG/dalvikvm(137): GC freed 497 objects / 32488 bytes in 8807ms 07-16 17:40:05.768: WARN/WindowManager(74): Key dispatching timed out sending to com.catglo.beginerflashlightpro/ com.catglo.beginerflashlightpro.BeginnerFlashlightPro 07-16 17:40:05.968: WARN/WindowManager(74): Dispatch state: {{KeyEvent{action=0 code=4 repeat=0 meta=0 scancode=158 mFlags=8} to Window{433fbf20 com.catglo.beginerflashlightpro/ com.catglo.beginerflashlightpro.BeginnerFlashlightPro paused=false} @ 1279327200295 lw=Window{433fbf20 com.catglo.beginerflashlightpro/ com.catglo.beginerflashlightpro.BeginnerFlashlightPro paused=false} lb=android.os.binderpr...@4333e578 fin=false gfw=true ed=true tts=0 wf=false fp=false mcf=Window{433fbf20 com.catglo.beginerflashlightpro/ com.catglo.beginerflashlightpro.BeginnerFlashlightPro paused=false}}} 07-16 17:40:05.978: WARN/WindowManager(74): Current state: {{KeyEvent{action=1 code=4 repeat=0 meta=0 scancode=158 mFlags=8} to Window{433fbf20 com.catglo.beginerflashlightpro/ com.catglo.beginerflashlightpro.BeginnerFlashlightPro paused=false} @ 1279327205972 lw=Window{433fbf20 com.catglo.beginerflashlightpro/ com.catglo.beginerflashlightpro.BeginnerFlashlightPro paused=false} lb=android.os.binderpr...@4333e578 fin=false gfw=true ed=true tts=0 wf=false fp=false mcf=Window{433fbf20 com.catglo.beginerflashlightpro/ com.catglo.beginerflashlightpro.BeginnerFlashlightPro paused=false}}} 07-16 17:40:09.158: WARN/ActivityManager(74): Activity pause timeout for HistoryRecord{4335a6e8 com.catglo.beginerflashlightpro/.BeginnerFlashlightPro} 07-16 17:40:16.538: INFO/ActivityManager(74): ANR in process: com.catglo.beginerflashlightpro (last in com.catglo.beginerflashlightpro) 07-16 17:40:16.538: INFO/ActivityManager(74): Annotation: keyDispatchingTimedOut 07-16 17:40:16.538: INFO/ActivityManager(74): CPU usage: 07-16 17:40:16.538: INFO/ActivityManager(74): Load: 5.89 / 4.66 / 2.36 07-16 17:40:16.538: INFO/ActivityManager(74): CPU usage from 12672ms to 7421ms ago: 07-16 17:40:16.538: INFO/ActivityManager(74): system_server: 13% = 1% user + 11% kernel / faults: 759 minor 148 major 07-16 17:40:16.538: INFO/ActivityManager(74): com.catglo.beginerflashlightpro: 0% = 0% user + 0% kernel / faults: 142 minor 11 major 07-16 17:40:16.538: INFO/ActivityManager(74): wpa_supplicant: 0% = 0% user + 0% kernel / faults: 78 minor 3 major 07-16 17:40:16.538: INFO/ActivityManager(74): TOTAL: 100% = 1% user + 15% kernel + 83% iowait 07-16 17:40:18.358: INFO/ActivityManager(74): Removing old ANR trace file from /data/anr/traces.txt 07-16 17:40:18.947: INFO/Process(74): Sending signal. PID: 626 SIG: 3 07-16 17:40:18.988: INFO/dalvikvm(626): threadid=7: reacting to signal 3 On Jul 16, 5:23 pm, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote:
[android-developers] Re: system lock up and restarts when I start and stop my app.
From the symptoms I would guess that either the code is in a tight CPU loop or it's somehow consuming a lot of memory. On Jul 16, 6:40 pm, Marc gobl...@gmail.com wrote: I have this game, which is almost done. It has 1 critical bug. When the app exits and restarts, the phone goes in to super slow mode and eventually restarts. I am at a loss as to how to debug it. It seems like something is happening to make the program run super slowly. The 2nd time the program exits it takes a very long time to exit and when the phone returns to the main screen the program is almost totally unresponsive. The phone will eventually restart itself. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en