Open matiasfha opened 13 years ago
(sorry for my english)
The error is trigger with cvLoad function:
m_cascade = (CvHaarClassifierCascade*)cvLoad(cascade_path);
The Eclipse LogCat View show this:
10-05 19:42:22.496: INFO/DEBUG(566): * * * * * * * * * * * * * * * * 10-05 19:42:22.496: INFO/DEBUG(566): Build fingerprint: 'generic/sdk/generic/:2.2/FRF91/43546:eng/test-keys' 10-05 19:42:22.496: INFO/DEBUG(566): pid: 1082, tid: 1092 >>> msdark.proto <<< 10-05 19:42:22.496: INFO/DEBUG(566): signal 11 (SIGSEGV), fault addr 00000000 10-05 19:42:22.496: INFO/DEBUG(566): r0 00000001 r1 00000000 r2 80afe968 r3 00000000 10-05 19:42:22.506: INFO/DEBUG(566): r4 fffffffe r5 80a255ad r6 80ae6d64 r7 80ae6c7c 10-05 19:42:22.506: INFO/DEBUG(566): r8 80afe968 r9 00000000 10 00000000 fp 00000007 10-05 19:42:22.506: INFO/DEBUG(566): ip 80afd4d8 sp 453e4ca0 lr afd15eeb pc 80a2534c cpsr 60000030 10-05 19:42:22.666: INFO/DEBUG(566): #00 pc 0002534c /data/data/msdark.proto/lib/libdetector.so 10-05 19:42:22.676: INFO/DEBUG(566): #01 pc 00025ac8 /data/data/msdark.proto/lib/libdetector.so 10-05 19:42:22.676: INFO/DEBUG(566): #02 pc 0002aa66 /data/data/msdark.proto/lib/libdetector.so 10-05 19:42:22.686: INFO/DEBUG(566): #03 pc 00017236 /data/data/msdark.proto/lib/libdetector.so 10-05 19:42:22.686: INFO/DEBUG(566): #04 pc 00013974 /system/lib/libdvm.so 10-05 19:42:22.696: INFO/DEBUG(566): #05 pc 0003de3c /system/lib/libdvm.so 10-05 19:42:22.696: INFO/DEBUG(566): #06 pc 00037216 /system/lib/libdvm.so 10-05 19:42:22.696: INFO/DEBUG(566): #07 pc 000432ec /system/lib/libdvm.so 10-05 19:42:22.706: INFO/DEBUG(566): #08 pc 00018714 /system/lib/libdvm.so 10-05 19:42:22.706: INFO/DEBUG(566): #09 pc 0001e8c4 /system/lib/libdvm.so 10-05 19:42:22.716: INFO/DEBUG(566): #10 pc 0001d790 /system/lib/libdvm.so 10-05 19:42:22.726: INFO/DEBUG(566): #11 pc 00053eec /system/lib/libdvm.so 10-05 19:42:22.726: INFO/DEBUG(566): #12 pc 00054102 /system/lib/libdvm.so 10-05 19:42:22.736: INFO/DEBUG(566): #13 pc 0004825a /system/lib/libdvm.so 10-05 19:42:22.746: INFO/DEBUG(566): #14 pc 0001103c /system/lib/libc.so 10-05 19:42:22.746: INFO/DEBUG(566): #15 pc 00010b20 /system/lib/libc.so 10-05 19:42:22.746: INFO/DEBUG(566): code around pc: 10-05 19:42:22.766: INFO/DEBUG(566): 80a2532c 2b02686b 9b08d00d 46411c20 68eb9300 10-05 19:42:22.766: INFO/DEBUG(566): 80a2533c 93011c32 1c3b68ad 280047a8 2300d001 10-05 19:42:22.766: INFO/DEBUG(566): 80a2534c b002601b 4690bc04 2000bdf0 ffc6f7ff 10-05 19:42:22.766: INFO/DEBUG(566): 80a2535c 46c0e7f7 00001010 f7ffb510 6800ffa1 10-05 19:42:22.766: INFO/DEBUG(566): 80a2536c 46c0bd10 1c04b510 ff9af7ff 68401c03 10-05 19:42:22.766: INFO/DEBUG(566): code around lr: 10-05 19:42:22.776: INFO/DEBUG(566): afd15ec8 230ed505 21005ec0 f7f72202 89a2ed66 10-05 19:42:22.776: INFO/DEBUG(566): afd15ed8 1c294804 81a04010 5ea0220e f7f71c32 10-05 19:42:22.776: INFO/DEBUG(566): afd15ee8 bd70ecec ffffefff 1c04b510 5ec0230e 10-05 19:42:22.776: INFO/DEBUG(566): afd15ef8 ecd2f7f7 db032800 180b6d21 e0036523 10-05 19:42:22.776: INFO/DEBUG(566): afd15f08 4b0289a2 81a34013 46c0bd10 ffffefff 10-05 19:42:22.786: INFO/DEBUG(566): stack: 10-05 19:42:22.786: INFO/DEBUG(566): 453e4c60 80ae6bc0 /data/data/msdark.proto/lib/libdetector.so 10-05 19:42:22.786: INFO/DEBUG(566): 453e4c64 0000001f 10-05 19:42:22.786: INFO/DEBUG(566): 453e4c68 80afd408 /data/data/msdark.proto/lib/libdetector.so 10-05 19:42:22.786: INFO/DEBUG(566): 453e4c6c 80afd408 /data/data/msdark.proto/lib/libdetector.so 10-05 19:42:22.796: INFO/DEBUG(566): 453e4c70 80ae6c7c /data/data/msdark.proto/lib/libdetector.so 10-05 19:42:22.796: INFO/DEBUG(566): 453e4c74 80afe968 /data/data/msdark.proto/lib/libdetector.so 10-05 19:42:22.806: INFO/DEBUG(566): 453e4c78 afd4054c /system/lib/libc.so 10-05 19:42:22.806: INFO/DEBUG(566): 453e4c7c 80a2561b /data/data/msdark.proto/lib/libdetector.so 10-05 19:42:22.806: INFO/DEBUG(566): 453e4c80 000013c5 10-05 19:42:22.806: INFO/DEBUG(566): 453e4c84 80a2a58b /data/data/msdark.proto/lib/libdetector.so 10-05 19:42:22.806: INFO/DEBUG(566): 453e4c88 80afe968 /data/data/msdark.proto/lib/libdetector.so 10-05 19:42:22.806: INFO/DEBUG(566): 453e4c8c fffffffe 10-05 19:42:22.816: INFO/DEBUG(566): 453e4c90 80a255ad /data/data/msdark.proto/lib/libdetector.so 10-05 19:42:22.816: INFO/DEBUG(566): 453e4c94 80ae6d64 /data/data/msdark.proto/lib/libdetector.so 10-05 19:42:22.816: INFO/DEBUG(566): 453e4c98 df002777 10-05 19:42:22.816: INFO/DEBUG(566): 453e4c9c e3a070ad 10-05 19:42:22.816: INFO/DEBUG(566): #00 453e4ca0 000013c5 10-05 19:42:22.826: INFO/DEBUG(566): 453e4ca4 00000000 10-05 19:42:22.826: INFO/DEBUG(566): 453e4ca8 00000000 10-05 19:42:22.826: INFO/DEBUG(566): 453e4cac 80afd408 /data/data/msdark.proto/lib/libdetector.so 10-05 19:42:22.826: INFO/DEBUG(566): 453e4cb0 00000000 10-05 19:42:22.826: INFO/DEBUG(566): 453e4cb4 00000000 10-05 19:42:22.836: INFO/DEBUG(566): 453e4cb8 80afd408 /data/data/msdark.proto/lib/libdetector.so 10-05 19:42:22.836: INFO/DEBUG(566): 453e4cbc 80a25acd /data/data/msdark.proto/lib/libdetector.so 10-05 19:42:22.836: INFO/DEBUG(566): #01 453e4cc0 000013c5 10-05 19:42:22.836: INFO/DEBUG(566): 453e4cc4 453e4ce0 10-05 19:42:22.836: INFO/DEBUG(566): 453e4cc8 453e5e70 10-05 19:42:22.836: INFO/DEBUG(566): 453e4ccc 453e5d60 10-05 19:42:22.836: INFO/DEBUG(566): 453e4cd0 453e5dd0 10-05 19:42:22.836: INFO/DEBUG(566): 453e4cd4 80a2aa6b /data/data/msdark.proto/lib/libdetector.so 10-05 19:42:24.296: DEBUG/Zygote(33): Process 1082 terminated by signal (11)
I can't find what the problem is... i build the code with crystax ndk and the original one... i have no errors... but i can't make to work... some idea?
Hi, please make sure that you have copied the cascade file as per the instructions in the 'Setup' section of the readme.
(sorry for my english)
The error is trigger with cvLoad function:
m_cascade = (CvHaarClassifierCascade*)cvLoad(cascade_path);
The Eclipse LogCat View show this:
10-05 19:42:22.496: INFO/DEBUG(566): * * * * * * * * * * * * * * * * 10-05 19:42:22.496: INFO/DEBUG(566): Build fingerprint: 'generic/sdk/generic/:2.2/FRF91/43546:eng/test-keys' 10-05 19:42:22.496: INFO/DEBUG(566): pid: 1082, tid: 1092 >>> msdark.proto <<< 10-05 19:42:22.496: INFO/DEBUG(566): signal 11 (SIGSEGV), fault addr 00000000 10-05 19:42:22.496: INFO/DEBUG(566): r0 00000001 r1 00000000 r2 80afe968 r3 00000000 10-05 19:42:22.506: INFO/DEBUG(566): r4 fffffffe r5 80a255ad r6 80ae6d64 r7 80ae6c7c 10-05 19:42:22.506: INFO/DEBUG(566): r8 80afe968 r9 00000000 10 00000000 fp 00000007 10-05 19:42:22.506: INFO/DEBUG(566): ip 80afd4d8 sp 453e4ca0 lr afd15eeb pc 80a2534c cpsr 60000030 10-05 19:42:22.666: INFO/DEBUG(566): #00 pc 0002534c /data/data/msdark.proto/lib/libdetector.so 10-05 19:42:22.676: INFO/DEBUG(566): #01 pc 00025ac8 /data/data/msdark.proto/lib/libdetector.so 10-05 19:42:22.676: INFO/DEBUG(566): #02 pc 0002aa66 /data/data/msdark.proto/lib/libdetector.so 10-05 19:42:22.686: INFO/DEBUG(566): #03 pc 00017236 /data/data/msdark.proto/lib/libdetector.so 10-05 19:42:22.686: INFO/DEBUG(566): #04 pc 00013974 /system/lib/libdvm.so 10-05 19:42:22.696: INFO/DEBUG(566): #05 pc 0003de3c /system/lib/libdvm.so 10-05 19:42:22.696: INFO/DEBUG(566): #06 pc 00037216 /system/lib/libdvm.so 10-05 19:42:22.696: INFO/DEBUG(566): #07 pc 000432ec /system/lib/libdvm.so 10-05 19:42:22.706: INFO/DEBUG(566): #08 pc 00018714 /system/lib/libdvm.so 10-05 19:42:22.706: INFO/DEBUG(566): #09 pc 0001e8c4 /system/lib/libdvm.so 10-05 19:42:22.716: INFO/DEBUG(566): #10 pc 0001d790 /system/lib/libdvm.so 10-05 19:42:22.726: INFO/DEBUG(566): #11 pc 00053eec /system/lib/libdvm.so 10-05 19:42:22.726: INFO/DEBUG(566): #12 pc 00054102 /system/lib/libdvm.so 10-05 19:42:22.736: INFO/DEBUG(566): #13 pc 0004825a /system/lib/libdvm.so 10-05 19:42:22.746: INFO/DEBUG(566): #14 pc 0001103c /system/lib/libc.so 10-05 19:42:22.746: INFO/DEBUG(566): #15 pc 00010b20 /system/lib/libc.so 10-05 19:42:22.746: INFO/DEBUG(566): code around pc: 10-05 19:42:22.766: INFO/DEBUG(566): 80a2532c 2b02686b 9b08d00d 46411c20 68eb9300 10-05 19:42:22.766: INFO/DEBUG(566): 80a2533c 93011c32 1c3b68ad 280047a8 2300d001 10-05 19:42:22.766: INFO/DEBUG(566): 80a2534c b002601b 4690bc04 2000bdf0 ffc6f7ff 10-05 19:42:22.766: INFO/DEBUG(566): 80a2535c 46c0e7f7 00001010 f7ffb510 6800ffa1 10-05 19:42:22.766: INFO/DEBUG(566): 80a2536c 46c0bd10 1c04b510 ff9af7ff 68401c03 10-05 19:42:22.766: INFO/DEBUG(566): code around lr: 10-05 19:42:22.776: INFO/DEBUG(566): afd15ec8 230ed505 21005ec0 f7f72202 89a2ed66 10-05 19:42:22.776: INFO/DEBUG(566): afd15ed8 1c294804 81a04010 5ea0220e f7f71c32 10-05 19:42:22.776: INFO/DEBUG(566): afd15ee8 bd70ecec ffffefff 1c04b510 5ec0230e 10-05 19:42:22.776: INFO/DEBUG(566): afd15ef8 ecd2f7f7 db032800 180b6d21 e0036523 10-05 19:42:22.776: INFO/DEBUG(566): afd15f08 4b0289a2 81a34013 46c0bd10 ffffefff 10-05 19:42:22.786: INFO/DEBUG(566): stack: 10-05 19:42:22.786: INFO/DEBUG(566): 453e4c60 80ae6bc0 /data/data/msdark.proto/lib/libdetector.so 10-05 19:42:22.786: INFO/DEBUG(566): 453e4c64 0000001f
10-05 19:42:22.786: INFO/DEBUG(566): 453e4c68 80afd408 /data/data/msdark.proto/lib/libdetector.so 10-05 19:42:22.786: INFO/DEBUG(566): 453e4c6c 80afd408 /data/data/msdark.proto/lib/libdetector.so 10-05 19:42:22.796: INFO/DEBUG(566): 453e4c70 80ae6c7c /data/data/msdark.proto/lib/libdetector.so 10-05 19:42:22.796: INFO/DEBUG(566): 453e4c74 80afe968 /data/data/msdark.proto/lib/libdetector.so 10-05 19:42:22.806: INFO/DEBUG(566): 453e4c78 afd4054c /system/lib/libc.so 10-05 19:42:22.806: INFO/DEBUG(566): 453e4c7c 80a2561b /data/data/msdark.proto/lib/libdetector.so 10-05 19:42:22.806: INFO/DEBUG(566): 453e4c80 000013c5
10-05 19:42:22.806: INFO/DEBUG(566): 453e4c84 80a2a58b /data/data/msdark.proto/lib/libdetector.so 10-05 19:42:22.806: INFO/DEBUG(566): 453e4c88 80afe968 /data/data/msdark.proto/lib/libdetector.so 10-05 19:42:22.806: INFO/DEBUG(566): 453e4c8c fffffffe
10-05 19:42:22.816: INFO/DEBUG(566): 453e4c90 80a255ad /data/data/msdark.proto/lib/libdetector.so 10-05 19:42:22.816: INFO/DEBUG(566): 453e4c94 80ae6d64 /data/data/msdark.proto/lib/libdetector.so 10-05 19:42:22.816: INFO/DEBUG(566): 453e4c98 df002777
10-05 19:42:22.816: INFO/DEBUG(566): 453e4c9c e3a070ad
10-05 19:42:22.816: INFO/DEBUG(566): #00 453e4ca0 000013c5
10-05 19:42:22.826: INFO/DEBUG(566): 453e4ca4 00000000
10-05 19:42:22.826: INFO/DEBUG(566): 453e4ca8 00000000
10-05 19:42:22.826: INFO/DEBUG(566): 453e4cac 80afd408 /data/data/msdark.proto/lib/libdetector.so 10-05 19:42:22.826: INFO/DEBUG(566): 453e4cb0 00000000
10-05 19:42:22.826: INFO/DEBUG(566): 453e4cb4 00000000
10-05 19:42:22.836: INFO/DEBUG(566): 453e4cb8 80afd408 /data/data/msdark.proto/lib/libdetector.so 10-05 19:42:22.836: INFO/DEBUG(566): 453e4cbc 80a25acd /data/data/msdark.proto/lib/libdetector.so 10-05 19:42:22.836: INFO/DEBUG(566): #01 453e4cc0 000013c5
10-05 19:42:22.836: INFO/DEBUG(566): 453e4cc4 453e4ce0
10-05 19:42:22.836: INFO/DEBUG(566): 453e4cc8 453e5e70
10-05 19:42:22.836: INFO/DEBUG(566): 453e4ccc 453e5d60
10-05 19:42:22.836: INFO/DEBUG(566): 453e4cd0 453e5dd0
10-05 19:42:22.836: INFO/DEBUG(566): 453e4cd4 80a2aa6b /data/data/msdark.proto/lib/libdetector.so 10-05 19:42:24.296: DEBUG/Zygote(33): Process 1082 terminated by signal (11)
I can't find what the problem is... i build the code with crystax ndk and the original one... i have no errors... but i can't make to work... some idea?