jetpacapp / DeepBeliefSDK

The SDK for Jetpac's iOS Deep Belief image recognition framework
Other
2.86k stars 437 forks source link

Android crashes on JPCNNLibrary.INSTANCE.jpcnn_classify_image #48

Open simonztran opened 9 years ago

simonztran commented 9 years ago

Hi everybody,

I get crashes when I try run the android example. When it hits Line 167. I read in the previous issues that this was patch so I'm not sure if it's because of the device I'm using (API 19 on a Samsung Galaxy S3).

Any ideas? Thank you very much.

tianyu0418 commented 8 years ago

Hi, I have the same problem when i run the Android sample by Android OS4.2.2.
The error message is that " @@@ ABORTING: LIBC: ARGUMENT IS INVALID HEAP ADDRESS IN dlfree addr=0x65f93000 ".

Any ideas?

Thanks!

doudasek commented 8 years ago

Hi,

have you solved the problem?

@smn1234 jpcnn_classify_image crashes because of bug in native library. Try to import this libjpcnn.so (https://github.com/ziggyJ/DeepBeliefAndroidPredictorExample/blob/master/app/src/main/jniLibs/armeabi/libjpcnn.so). It should be fixed there.

@tianyu0418 Same problem here. It classify first image and then crashes: A/libc: invalid address or address of corrupt block 0x69f1f7c8 passed to dlfree Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 11105