Hello, I have been trying to figure this problem out for a few days now. A fairly simple app with a simple UI crashes the hard with no java stack trace. The same program on a 1.6 MyTouch does not crash but crashes horribly on my 2.1-update1 Nexus One. I have seen the crash in libskia, sqlite libs but most of the time in libstdc++.so. Somehow I guess I am trashing memory and once that is done there is no trace of what is causing the issue.
Here are the actions taken in an attempt to resolve: 1. Rearranged my cursors so that only one cursor is open at at time. Thought this might have been the problem at one time since the program had a few cursors open at one time. 2. Searched the web and groups trying to find a similar problem. The link below discusses a similar problem but did not seem to post a solution? http://groups.google.com/group/android-developers/browse_thread/thread/d3d6f944c6167952 3. Added many log messages to narrow down the line of code causing the problem. Log messages have not helped since the problem jumps around quite bit. Since memory is getting trashed the program dies in different places each time but seems to die in the onCreate more often. 4. This warning is probably related to the problem: I/UsageStats( 78): Unexpected resume of com.tool.sometool while already resumed in com.tool.sometool 5. This error shows up in the log as well. I/ActivityManager( 78): Start proc com.gonzo.ttyl for activity com.tool.sometool/.TTYL: pid=15756 uid=10056 gids={1015} W/ResourceType( 78): Resources don't contain package for resource number 0x7f050000 W/ResourceType( 78): Resources don't contain package for resource number 0x7f020005 W/ResourceType( 78): Resources don't contain package for resource number 0x7f020004 W/ResourceType( 78): Resources don't contain package for resource number 0x7f080000 W/ResourceType( 78): Resources don't contain package for resource number 0x7f020047 W/ResourceType( 78): Resources don't contain package for resource number 0x7f020048 W/ResourceType( 78): Resources don't contain package for resource number 0x7f0700e5 W/ResourceType( 78): Resources don't contain package for resource number 0x7f020031 W/ResourceType( 78): Resources don't contain package for resource number 0x7f020030 W/ResourceType( 78): Resources don't contain package for resource number 0x7f050000 D/dalvikvm(15748): DestroyJavaVM shutting VM down D/dalvikvm(15748): HeapWorker thread shutting down D/dalvikvm(15748): HeapWorker thread has shut down Any help with this problem is greatly appreciated. I am currently building the app using the Android 1.6 library. Thank you, David I/ActivityManager( 78): Config changed: { scale=1.0 imsi=310/260 loc=en_US touch=3 keys=1/1/2 nav=3/1 orien=2 layout=34} D/TOOL.TOOL(15680): onPause D/TOOL.TOOL(15680): onDestroy I/UsageStats( 78): Unexpected resume of com.tool.sometool while already resumed in com.tool.sometool D/TOOL.TOOL(15680): saveInstanceState is not null D/TOOL.TOOL(15680): Bundle[{android:viewHierarchyState=Bundle[{android:focusedViewId=2131099660, android:views=android.util.sparsear...@4477ed68}]}] D/TOOL.TOOL(15680): onCreate 1 D/TOOL.TOOL(15680): onCreate 1.2 D/TOOL.TOOL(15680): onCreate 1.5 D/TOOL.TOOL(15680): onCreate 2 D/TOOL.TOOL(15680): onCreate 2.2 D/TOOL.TOOL(15680): onCreate 2.3 D/TOOL.TOOL(15680): onCreate 2.5 D/TOOL.TOOL(15680): onCreate 3 D/TOOL.TOOL(15680): onCreate 4 D/TOOL.TOOL(15680): onStart D/TOOL.TOOL(15680): onResume D/dalvikvm( 78): GC freed 1360 objects / 60168 bytes in 122ms I/WindowManager( 78): Setting rotation to 0, animFlags=0 I/ActivityManager( 78): Config changed: { scale=1.0 imsi=310/260 loc=en_US touch=3 keys=1/1/2 nav=3/1 orien=1 layout=34} D/TOOL.TOOL(15680): onPause D/TOOL.TOOL(15680): onDestroy D/TOOL.TOOL(15680): saveInstanceState is not null I/UsageStats( 78): Unexpected resume of com.tool.sometool while already resumed in com.tool.sometool D/dalvikvm(15680): GC freed 5559 objects / 327016 bytes in 109ms D/TOOL.TOOL(15680): Bundle[{android:viewHierarchyState=Bundle[{android:focusedViewId=2131099660, android:views=android.util.sparsear...@4478f028}]}] D/TOOL.TOOL(15680): onCreate 1 I/DEBUG (15637): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** I/DEBUG (15637): Build fingerprint: 'google/passion/passion/mahimahi: 2.1-update1/ERE27/24178:user/release-keys' I/DEBUG (15637): pid: 15680, tid: 15680 >>> com.tool.sometool <<< I/DEBUG (15637): signal 11 (SIGSEGV), fault addr deadbaad I/DEBUG (15637): r0 00000000 r1 afe13329 r2 00000027 r3 00000054 I/DEBUG (15637): r4 afe3ae08 r5 00000000 r6 00000000 r7 ad36c058 I/DEBUG (15637): r8 bed33990 r9 4186ba94 10 4186ba7c fp 00000000 I/DEBUG (15637): ip 00002ed8 sp bed33910 lr deadbaad pc afe109e0 cpsr 60000030 I/DEBUG (15637): #00 pc 000109e0 /system/lib/libc.so I/DEBUG (15637): #01 pc 0000bb3a /system/lib/libc.so I/DEBUG (15637): #02 pc 00000908 /system/lib/libstdc++.so I/DEBUG (15637): #03 pc 0003bd24 /system/lib/ libandroid_runtime.so I/DEBUG (15637): #04 pc 0000ecb4 /system/lib/libdvm.so I/DEBUG (15637): #05 pc 00038890 /system/lib/libdvm.so I/DEBUG (15637): #06 pc 000139b8 /system/lib/libdvm.so I/DEBUG (15637): #07 pc 00019338 /system/lib/libdvm.so I/DEBUG (15637): #08 pc 00018804 /system/lib/libdvm.so I/DEBUG (15637): #09 pc 0004eba6 /system/lib/libdvm.so I/DEBUG (15637): #10 pc 00056dc4 /system/lib/libdvm.so I/DEBUG (15637): #11 pc 000139b8 /system/lib/libdvm.so I/DEBUG (15637): #12 pc 00019338 /system/lib/libdvm.so I/DEBUG (15637): #13 pc 00018804 /system/lib/libdvm.so I/DEBUG (15637): #14 pc 0004eed0 /system/lib/libdvm.so I/DEBUG (15637): #15 pc 0003afbe /system/lib/libdvm.so I/DEBUG (15637): #16 pc 00027f58 /system/lib/ libandroid_runtime.so I/DEBUG (15637): #17 pc 00028cc4 /system/lib/ libandroid_runtime.so I/DEBUG (15637): #18 pc 00008cd8 /system/bin/app_process I/DEBUG (15637): #19 pc 0000c228 /system/lib/libc.so I/DEBUG (15637): I/DEBUG (15637): code around pc: I/DEBUG (15637): afe109d0 f8442001 4798000c e054f8df 26002227 I/DEBUG (15637): afe109e0 2000f88e ef4cf7fb f7fd2106 f04fe822 I/DEBUG (15637): afe109f0 91035180 460aa901 96012006 f7fc9602 I/DEBUG (15637): I/DEBUG (15637): code around lr: I/DEBUG (15637): deadba9c ffffffff ffffffff ffffffff ffffffff I/DEBUG (15637): deadbaac ffffffff ffffffff ffffffff ffffffff I/DEBUG (15637): deadbabc ffffffff ffffffff ffffffff ffffffff I/DEBUG (15637): I/DEBUG (15637): stack: I/DEBUG (15637): bed338d0 00000015 I/DEBUG (15637): bed338d4 afe13359 /system/lib/libc.so I/DEBUG (15637): bed338d8 afe3b02c /system/lib/libc.so I/DEBUG (15637): bed338dc afe3afd8 /system/lib/libc.so I/DEBUG (15637): bed338e0 00000000 I/DEBUG (15637): bed338e4 afe14373 /system/lib/libc.so I/DEBUG (15637): bed338e8 afe13329 /system/lib/libc.so I/DEBUG (15637): bed338ec afe13329 /system/lib/libc.so I/DEBUG (15637): bed338f0 00000054 I/DEBUG (15637): bed338f4 afe3ae08 /system/lib/libc.so I/DEBUG (15637): bed338f8 00000000 I/DEBUG (15637): bed338fc bed33924 [stack] I/DEBUG (15637): bed33900 ad36c058 /system/lib/ libandroid_runtime.so I/DEBUG (15637): bed33904 afe135cb /system/lib/libc.so I/DEBUG (15637): bed33908 df002777 I/DEBUG (15637): bed3390c e3a070ad I/DEBUG (15637): #00 bed33910 afe3db74 I/DEBUG (15637): bed33914 afe0f110 /system/lib/libc.so I/DEBUG (15637): bed33918 afe3ae08 /system/lib/libc.so I/DEBUG (15637): bed3391c 00000060 I/DEBUG (15637): bed33920 00000003 I/DEBUG (15637): bed33924 fffffbdf I/DEBUG (15637): bed33928 afe3ae08 /system/lib/libc.so I/DEBUG (15637): bed3392c afe3da48 I/DEBUG (15637): bed33930 57efebfc I/DEBUG (15637): bed33934 afe0bb3f /system/lib/libc.so I/DEBUG (15637): #01 bed33938 00002bb4 I/DEBUG (15637): bed3393c ad36c058 /system/lib/ libandroid_runtime.so I/DEBUG (15637): bed33940 bed33990 [stack] I/DEBUG (15637): bed33944 0000bd18 [heap] I/DEBUG (15637): bed33948 0000bd18 [heap] I/DEBUG (15637): bed3394c 0013fde8 [heap] I/DEBUG (15637): bed33950 4471fa68 /dev/ashmem/mspace/dalvik- heap/2 (deleted) I/DEBUG (15637): bed33954 00132fc0 [heap] I/DEBUG (15637): bed33958 0000aa98 [heap] I/DEBUG (15637): bed3395c 4471fa68 /dev/ashmem/mspace/dalvik- heap/2 (deleted) I/DEBUG (15637): bed33960 ad36c058 /system/lib/ libandroid_runtime.so I/DEBUG (15637): bed33964 afd0090b /system/lib/libstdc++.so I/DEBUG (15637): debuggerd committing suicide to free the zombie! D/Zygote ( 51): Process 15680 terminated by signal (11) I/ActivityManager( 78): Process com.tool.sometool (pid 15680) has died. I/UsageStats( 78): Unexpected resume of com.android.launcher2 while already resumed in com.tool.sometool Same program built with Android 2.1. While the program does last longer after two or three rotations the app dies. I/ActivityManager( 78): Config changed: { scale=1.0 imsi=310/260 loc=en_US touch=3 keys=1/1/2 nav=3/1 orien=1 layout=34} D/TOOL.TOOL(15756): onPause D/TOOL.TOOL(15756): onDestroy D/TOOL.TOOL(15756): saveInstanceState is not null D/TOOL.TOOL(15756): Bundle[{android:viewHierarchyState=Bundle[{android:focusedViewId=2131099660, android:views=android.util.sparsear...@447bcc30}]}] D/TOOL.TOOL(15756): onCreate 1 D/TOOL.TOOL(15756): onCreate 1.2 I/UsageStats( 78): Unexpected resume of com.tool.TOOL while already resumed in com.tool.TOOL D/TOOL.TOOL(15756): onCreate 1.5 D/TOOL.TOOL(15756): onCreate 2 D/TOOL.TOOL(15756): onCreate 2.2 D/TOOL.TOOL(15756): onCreate 2.3 D/TOOL.TOOL(15756): onCreate 2.5 D/TOOL.TOOL(15756): onCreate 3 D/TOOL.TOOL(15756): onCreate 4 D/TOOL.TOOL(15756): onStart D/TOOL.TOOL(15756): onResume I/FieldContext( 127): Bundle = Bundle[{imeOptions=1073741829, packageName=com.tool.TOOL, inputType=1, hint=Enter SMS Message Here., label=, fieldName=, fieldId=2131099660, singleLine=false}] I/FieldContext( 127): Bundle = Bundle[{imeOptions=1073741829, packageName=com.tool.TOOL, inputType=1, hint=Enter SMS Message Here., label=, fieldName=, fieldId=2131099660, singleLine=false}] I/FieldContext( 127): Bundle = Bundle[{imeOptions=1073741829, packageName=com.tool.TOOL, inputType=1, hint=Enter SMS Message Here., label=, fieldName=, fieldId=2131099660, singleLine=false}] D/dalvikvm( 127): GC freed 892 objects / 64648 bytes in 61ms D/dalvikvm( 78): GC freed 1356 objects / 60232 bytes in 142ms I/WindowManager( 78): Setting rotation to 1, animFlags=0 I/ActivityManager( 78): Config changed: { scale=1.0 imsi=310/260 loc=en_US touch=3 keys=1/1/2 nav=3/1 orien=2 layout=34} D/TOOL.TOOL(15756): onPause D/TOOL.TOOL(15756): onDestroy D/TOOL.TOOL(15756): saveInstanceState is not null D/TOOL.TOOL(15756): Bundle[{android:viewHierarchyState=Bundle[{android:focusedViewId=2131099660, android:views=android.util.sparsear...@447ca390}]}] D/TOOL.TOOL(15756): onCreate 1 I/UsageStats( 78): Unexpected resume of com.tool.TOOL while already resumed in com.tool.TOOL D/dalvikvm(15756): GC freed 6253 objects / 345376 bytes in 103ms I/DEBUG (15690): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** I/DEBUG (15690): Build fingerprint: 'google/passion/passion/mahimahi: 2.1-update1/ERE27/24178:user/release-keys' I/DEBUG (15690): pid: 15756, tid: 15757 >>> com.tool.TOOL <<< I/DEBUG (15690): signal 11 (SIGSEGV), fault addr deadbaad I/DEBUG (15690): r0 00000000 r1 afe13329 r2 00000027 r3 00000054 I/DEBUG (15690): r4 afe3ae08 r5 00000000 r6 00000000 r7 0000a000 I/DEBUG (15690): r8 100ffcf8 r9 4185efa0 10 4185ef8c fp 0011c050 I/DEBUG (15690): ip 00002ed8 sp 100ffc58 lr deadbaad pc afe109e0 cpsr 60000030 I/DEBUG (15690): #00 pc 000109e0 /system/lib/libc.so I/DEBUG (15690): #01 pc 0000b332 /system/lib/libc.so I/DEBUG (15690): #02 pc 0002b89c /system/lib/libskia.so I/DEBUG (15690): #03 pc 0008aa4c /system/lib/libskia.so I/DEBUG (15690): #04 pc 00035734 /system/lib/libskia.so I/DEBUG (15690): #05 pc 000357ac /system/lib/libskia.so I/DEBUG (15690): #06 pc 0007674c /system/lib/libskia.so I/DEBUG (15690): #07 pc 00047682 /system/lib/ libandroid_runtime.so I/DEBUG (15690): #08 pc 0000ecb4 /system/lib/libdvm.so I/DEBUG (15690): #09 pc 000387f8 /system/lib/libdvm.so I/DEBUG (15690): #10 pc 000139b8 /system/lib/libdvm.so I/DEBUG (15690): #11 pc 00019338 /system/lib/libdvm.so I/DEBUG (15690): #12 pc 00018804 /system/lib/libdvm.so I/DEBUG (15690): #13 pc 0004eed0 /system/lib/libdvm.so I/DEBUG (15690): #14 pc 0004eef8 /system/lib/libdvm.so I/DEBUG (15690): #15 pc 00044ada /system/lib/libdvm.so I/DEBUG (15690): #16 pc 00044b66 /system/lib/libdvm.so I/DEBUG (15690): #17 pc 00044ff0 /system/lib/libdvm.so I/DEBUG (15690): #18 pc 000425f4 /system/lib/libdvm.so I/DEBUG (15690): #19 pc 0000fd74 /system/lib/libc.so I/DEBUG (15690): #20 pc 0000f840 /system/lib/libc.so I/DEBUG (15690): I/DEBUG (15690): code around pc: I/DEBUG (15690): afe109d0 f8442001 4798000c e054f8df 26002227 I/DEBUG (15690): afe109e0 2000f88e ef4cf7fb f7fd2106 f04fe822 I/DEBUG (15690): afe109f0 91035180 460aa901 96012006 f7fc9602 I/DEBUG (15690): I/DEBUG (15690): code around lr: I/DEBUG (15690): deadba9c ffffffff ffffffff ffffffff ffffffff I/DEBUG (15690): deadbaac ffffffff ffffffff ffffffff ffffffff I/DEBUG (15690): deadbabc ffffffff ffffffff ffffffff ffffffff I/DEBUG (15690): I/DEBUG (15690): stack: I/DEBUG (15690): 100ffc18 00000015 I/DEBUG (15690): 100ffc1c afe13359 /system/lib/libc.so I/DEBUG (15690): 100ffc20 afe3b02c /system/lib/libc.so I/DEBUG (15690): 100ffc24 afe3afd8 /system/lib/libc.so I/DEBUG (15690): 100ffc28 00000000 I/DEBUG (15690): 100ffc2c afe14373 /system/lib/libc.so I/DEBUG (15690): 100ffc30 afe13329 /system/lib/libc.so I/DEBUG (15690): 100ffc34 afe13329 /system/lib/libc.so I/DEBUG (15690): 100ffc38 00000054 I/DEBUG (15690): 100ffc3c afe3ae08 /system/lib/libc.so I/DEBUG (15690): 100ffc40 00000000 I/DEBUG (15690): 100ffc44 100ffc6c I/DEBUG (15690): 100ffc48 0000a000 [heap] I/DEBUG (15690): 100ffc4c afe135cb /system/lib/libc.so I/DEBUG (15690): 100ffc50 df002777 I/DEBUG (15690): 100ffc54 e3a070ad I/DEBUG (15690): #00 100ffc58 afe3db74 I/DEBUG (15690): 100ffc5c afe0f110 /system/lib/libc.so I/DEBUG (15690): 100ffc60 afe3ae08 /system/lib/libc.so I/DEBUG (15690): 100ffc64 0013c9e0 [heap] I/DEBUG (15690): 100ffc68 00087ab0 [heap] I/DEBUG (15690): 100ffc6c fffffbdf I/DEBUG (15690): 100ffc70 afe3ae08 /system/lib/libc.so I/DEBUG (15690): 100ffc74 afe3d9bc I/DEBUG (15690): 100ffc78 00087ab0 [heap] I/DEBUG (15690): 100ffc7c afe0b337 /system/lib/libc.so I/DEBUG (15690): #01 100ffc80 0037f968 [heap] I/DEBUG (15690): 100ffc84 000101ff [heap] I/DEBUG (15690): 100ffc88 00002bb4 I/DEBUG (15690): 100ffc8c afe0b34d /system/lib/libc.so I/DEBUG (15690): 100ffc90 afe3d9bc I/DEBUG (15690): 100ffc94 00087ab0 [heap] I/DEBUG (15690): 100ffc98 0013c9e0 [heap] I/DEBUG (15690): 100ffc9c 4001f4c0 /dev/ashmem/mspace/dalvik- heap/zygote/0 (deleted) I/DEBUG (15690): 100ffca0 4185efa8 I/DEBUG (15690): 100ffca4 ac02b8a0 /system/lib/libskia.so I/DEBUG (15690): debuggerd committing suicide to free the zombie! D/Zygote ( 51): Process 15756 terminated by signal (11) I/ActivityManager( 78): Process com.tool.TOOL (pid 15756) has died. I/WindowManager( 78): Setting rotation to 0, animFlags=0 I/ActivityManager( 78): Config changed: { scale=1.0 imsi=310/260 loc=en_US touch=3 keys=1/1/2 nav=3/1 orien=1 layout=34} I/UsageStats( 78): Unexpected resume of com.android.launcher2 while already resumed in com.tool.TOOL I/DEBUG (15765): debuggerd: Jan 27 2010 17:54:59 V/RenderScript_jni( 129): surfaceCreated V/RenderScript_jni( 129): surfaceChanged V/RenderScript( 129): setSurface 480 762 0x135270 D/ViewFlipper( 129): updateRunning() mVisible=true, mStarted=true, mUserPresent=true, mRunning=true W/InputManagerService( 78): Got RemoteException sending setActive(false) notification to pid 15756 uid 10056 I/ActivityManager( 78): Start proc com.google.android.apps.maps:LocationFriendService for service com.google.andro -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

