Open Torsten85 opened 12 years ago
Somehow this module simply doesn't work in 1.8.2.
When the app is active, the c2dm message successfully triggers the callback function. But when the app is in the background the callback function causes this error:
I/DEBUG ( 31): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** I/DEBUG ( 31): Build fingerprint: 'generic/google_sdk/generic/:2.2/FRF91/43546:eng/test-keys' I/DEBUG ( 31): pid: 527, tid: 535 >>> com.bytorsten.test <<< I/DEBUG ( 31): signal 11 (SIGSEGV), fault addr 00000013 I/DEBUG ( 31): r0 00000000 r1 00000003 r2 00000000 r3 814a01b8 I/DEBUG ( 31): r4 0025c958 r5 00000004 r6 44f9e840 r7 00000080 I/DEBUG ( 31): r8 00000001 r9 000002b4 10 44facc68 fp 4779bd40 I/DEBUG ( 31): ip 814a0290 sp 4779bc98 lr 81122d00 pc 81141038 cpsr 60000010 I/DEBUG ( 31): #00 pc 81141038 /data/data/com.bytorsten.test/lib/libkroll-v8.so I/DEBUG ( 31): #01 lr 81122d00 /data/data/com.bytorsten.test/lib/libkroll-v8.so I/DEBUG ( 31): I/DEBUG ( 31): code around pc: I/DEBUG ( 31): 81141018 e3c32d7f e3c2203f e5922014 e5922140 I/DEBUG ( 31): 81141028 e1530002 012fff1e e590000b eaffffeb I/DEBUG ( 31): 81141038 e5903013 e2032003 e3520001 1a000002 I/DEBUG ( 31): 81141048 ea00000c e5903007 e5930017 e2003003 I/DEBUG ( 31): 81141058 e3530001 1afffffa e5103001 e3c32d7f I/DEBUG ( 31): I/DEBUG ( 31): code around lr: I/DEBUG ( 31): 81122ce0 e08f1001 eb03454c e3a01003 e1a00004 I/DEBUG ( 31): 81122cf0 e5945584 ebffbccc e5940544 eb0078cd I/DEBUG ( 31): 81122d00 e590705f e5173001 e3c33d7f e3c3303f I/DEBUG ( 31): 81122d10 e5936014 e2466058 e59615b8 e59635bc I/DEBUG ( 31): 81122d20 e1510003 0a000014 e2813004 e58635b8 I/DEBUG ( 31): I/DEBUG ( 31): stack: I/DEBUG ( 31): 4779bc58 00000001 I/DEBUG ( 31): 4779bc5c 44f9e840 /dev/ashmem/mspace/dalvik-heap/2 (deleted) I/DEBUG ( 31): 4779bc60 4000dc98 /dev/ashmem/mspace/dalvik-heap/zygote/0 (deleted) I/DEBUG ( 31): 4779bc64 8083ebbd /system/lib/libdvm.so I/DEBUG ( 31): 4779bc68 4779bf00 I/DEBUG ( 31): 4779bc6c 8083eb8d /system/lib/libdvm.so I/DEBUG ( 31): 4779bc70 00257bd8 [heap] I/DEBUG ( 31): 4779bc74 44f9e840 /dev/ashmem/mspace/dalvik-heap/2 (deleted) I/DEBUG ( 31): 4779bc78 4000dc98 /dev/ashmem/mspace/dalvik-heap/zygote/0 (deleted) I/DEBUG ( 31): 4779bc7c 80831e1b /system/lib/libdvm.so I/DEBUG ( 31): 4779bc80 0025c958 [heap] I/DEBUG ( 31): 4779bc84 00000004 I/DEBUG ( 31): 4779bc88 44f9e840 /dev/ashmem/mspace/dalvik-heap/2 (deleted) I/DEBUG ( 31): 4779bc8c 00000080 I/DEBUG ( 31): 4779bc90 df002777 I/DEBUG ( 31): 4779bc94 e3a070ad I/DEBUG ( 31): 4779bc98 00257bd8 [heap] I/DEBUG ( 31): 4779bc9c 814a01b8 /data/data/com.bytorsten.test/lib/libkroll-v8.so I/DEBUG ( 31): 4779bca0 44f9e840 /dev/ashmem/mspace/dalvik-heap/2 (deleted) I/DEBUG ( 31): 4779bca4 00000080 I/DEBUG ( 31): 4779bca8 00000001 I/DEBUG ( 31): 4779bcac 8106ef9f /data/data/com.bytorsten.test/lib/libkroll-v8.so I/DEBUG ( 31): 4779bcb0 00257bd8 [heap] I/DEBUG ( 31): 4779bcb4 44facc68 /dev/ashmem/mspace/dalvik-heap/2 (deleted) I/DEBUG ( 31): 4779bcb8 80886cf0 /system/lib/libdvm.so I/DEBUG ( 31): 4779bcbc 80830437 /system/lib/libdvm.so I/DEBUG ( 31): 4779bcc0 00292d50 [heap] I/DEBUG ( 31): 4779bcc4 00000001 I/DEBUG ( 31): 4779bcc8 000002b4 I/DEBUG ( 31): 4779bccc 44facc68 /dev/ashmem/mspace/dalvik-heap/2 (deleted) I/DEBUG ( 31): 4779bcd0 4779bd40 I/DEBUG ( 31): 4779bcd4 00257bd8 [heap] I/DEBUG ( 31): 4779bcd8 00000000 I/DEBUG ( 31): 4779bcdc 0011ce98 [heap] I/DEBUG ( 31): 4779bce0 44f9e840 /dev/ashmem/mspace/dalvik-heap/2 (deleted) I/DEBUG ( 31): 4779bce4 8106f2cf /data/data/com.bytorsten.test/lib/libkroll-v8.so I/DEBUG ( 31): 4779bce8 80830001 /system/lib/libdvm.so I/DEBUG ( 31): 4779bcec 0011ce98 [heap] I/DEBUG ( 31): 4779bcf0 00000000 I/DEBUG ( 31): 4779bcf4 4779bd30 I/DEBUG ( 31): 4779bcf8 00292d50 [heap] I/DEBUG ( 31): 4779bcfc 00292d20 [heap] I/DEBUG ( 31): 4779bd00 00000000 I/DEBUG ( 31): 4779bd04 814a01b8 /data/data/com.bytorsten.test/lib/libkroll-v8.so I/DEBUG ( 31): 4779bd08 4779bd1c I/DEBUG ( 31): 4779bd0c 4184fee4 I/DEBUG ( 31): 4779bd10 0000129c I/DEBUG ( 31): 4779bd14 8106f345 /data/data/com.bytorsten.test/lib/libkroll-v8.so I/DEBUG ( 31): 4779bd18 00298510 [heap] I/DEBUG ( 31): 4779bd1c 00000080 I/DEBUG ( 31): 4779bd20 00298500 [heap] I/DEBUG ( 31): 4779bd24 000f4240 [heap] I/DEBUG ( 31): 4779bd28 00000000 I/DEBUG ( 31): 4779bd2c 55f46740 I/DEBUG ( 31): 4779bd30 0025c958 [heap] I/DEBUG ( 31): 4779bd34 00000000 I/DEBUG ( 31): 4779bd38 00000000 I/DEBUG ( 31): 4779bd3c 4184ff00 I/DEBUG ( 31): 4779bd40 00266de8 [heap] I/DEBUG ( 31): 4779bd44 afd34384 /system/lib/libc.so I/DEBUG ( 31): 4779bd48 4779bda8 I/DEBUG ( 31): 4779bd4c 4779bd7c I/DEBUG ( 31): 4779bd50 4184fefc I/DEBUG ( 31): 4779bd54 4184fee4 I/DEBUG ( 31): 4779bd58 00266de8 [heap] I/DEBUG ( 31): 4779bd5c 4779bda0 I/DEBUG ( 31): 4779bd60 00000004 I/DEBUG ( 31): 4779bd64 00000000 I/DEBUG ( 31): 4779bd68 4184ff10 I/DEBUG ( 31): 4779bd6c 80813978 /system/lib/libdvm.so I/DEBUG ( 31): 4779bd70 00292d50 [heap] I/DEBUG ( 31): 4779bd74 00000000 I/DEBUG ( 31): 4779bd78 44facc68 /dev/ashmem/mspace/dalvik-heap/2 (deleted) I/DEBUG ( 31): 4779bd7c ad33e4ef /system/lib/libandroid_runtime.so I/DEBUG ( 31): 4779bd80 41a9523c /dev/ashmem/dalvik-LinearAlloc (deleted) I/DEBUG ( 31): 4779bd84 00266de8 [heap] I/DEBUG ( 31): 4779bd88 00000000 I/DEBUG ( 31): 4779bd8c 8106f30d /data/data/com.bytorsten.test/lib/libkroll-v8.so I/DEBUG ( 31): 4779bd90 80813b00 /system/lib/libdvm.so I/DEBUG ( 31): 4779bd94 00266de8 [heap] I/DEBUG ( 31): 4779bd98 4779bda0 I/DEBUG ( 31): 4779bd9c 8083de3f /system/lib/libdvm.so I/DEBUG ( 31): 4779bda0 4184fef8 I/DEBUG ( 31): 4779bda4 4751c9ee /data/dalvik-cache/mnt@asec@com.bytorsten.test-1@pkg.apk@classes.dex I/DEBUG ( 31): 4779bda8 8106f30d /data/data/com.bytorsten.test/lib/libkroll-v8.so I/DEBUG ( 31): 4779bdac 4779be38 I/DEBUG ( 31): 4779bdb0 0003acb0 [heap] I/DEBUG ( 31): 4779bdb4 00257bd8 [heap] I/DEBUG ( 31): 4779bdb8 00000001 I/DEBUG ( 31): 4779bdbc 4779be38 I/DEBUG ( 31): 4779bdc0 00003ca5 I/DEBUG ( 31): 4779bdc4 4779be38 I/DEBUG ( 31): 4779bdc8 41a9523c /dev/ashmem/dalvik-LinearAlloc (deleted) I/DEBUG ( 31): 4779bdcc 00266de8 [heap] I/DEBUG ( 31): 4779bdd0 4184fef8 I/DEBUG ( 31): 4779bdd4 8083721b /system/lib/libdvm.so I/DEBUG ( 31): 4779bdd8 00266de8 [heap] I/DEBUG ( 31): 4779bddc 474a172c /data/dalvik-cache/mnt@asec@com.bytorsten.test-1@pkg.apk@classes.dex I/DEBUG ( 31): 4779bde0 4184ff24 I/DEBUG ( 31): 4779bde4 4779be30 I/DEBUG ( 31): 4779bde8 44fa1f40 /dev/ashmem/mspace/dalvik-heap/2 (deleted) I/DEBUG ( 31): 4779bdec 80818718 /system/lib/libdvm.so I/DEBUG ( 31): 4779bdf0 00000000 I/DEBUG ( 31): 4779bdf4 4779be30 I/DEBUG ( 31): 4779bdf8 0011cd60 [heap] I/DEBUG ( 31): 4779bdfc 4779be30 I/DEBUG ( 31): 4779be00 4779bed8 I/DEBUG ( 31): 4779be04 00100000 [heap] I/DEBUG ( 31): 4779be08 808481bd /system/lib/libdvm.so I/DEBUG ( 31): 4779be0c 4769c000 I/DEBUG ( 31): 4779be10 00266de8 [heap] I/DEBUG ( 31): 4779be14 8081e8c8 /system/lib/libdvm.so I/DEBUG ( 31): 4779be18 00266de8 [heap] I/DEBUG ( 31): 4779be1c 8081e870 /system/lib/libdvm.so I/DEBUG ( 31): 4779be20 4779be30 I/DEBUG ( 31): 4779be24 8081d794 /system/lib/libdvm.so I/DEBUG ( 31): 4779be28 00000000 I/DEBUG ( 31): 4779be2c 00000000 I/DEBUG ( 31): 4779be30 4749ee04 /data/dalvik-cache/mnt@asec@com.bytorsten.test-1@pkg.apk@classes.dex I/DEBUG ( 31): 4779be34 4184ffd8 I/DEBUG ( 31): 4779be38 00292d50 [heap] I/DEBUG ( 31): 4779be3c 00000000 I/DEBUG ( 31): 4779be40 41a95348 /dev/ashmem/dalvik-LinearAlloc (deleted) I/BootReceiver( 60): Copying /data/tombstones/tombstone_02 to DropBox (SYSTEM_TOMBSTONE) D/Zygote ( 33): Process 527 terminated by signal (11)
Somehow this module simply doesn't work in 1.8.2.
When the app is active, the c2dm message successfully triggers the callback function. But when the app is in the background the callback function causes this error: