tox4j / deprecated-tox4j

Deprecated, see http://github.com/TokTok/jvm-toxcore-c
http://github.com/TokTok/jvm-toxcore-c
Other
42 stars 17 forks source link

Calling antox crashes tox4j. #28

Closed irungentoo closed 9 years ago

irungentoo commented 9 years ago
F/libc    ( 3833): /tmp/workspace/tox4j-android-arm/tox4j/src/main/cpp/tox/av.cpp:147: static void new_ToxAV::CB::callstate_OnCancel(void *, int32_t, void *): assertion "false" failed
F/libc    ( 3833): Fatal signal 6 (SIGABRT), code -6 in tid 3858 (Thread-424)
I/DEBUG   (  158): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   (  158): Build fingerprint: 'hp/hp_tenderloin/tenderloin:5.0.2/LRX22G/1649326:user/release-keys'
I/DEBUG   (  158): Revision: '3'
I/DEBUG   (  158): ABI: 'arm'
I/DEBUG   (  158): pid: 3833, tid: 3858, name: Thread-424  >>> im.tox.antox <<<
I/DEBUG   (  158): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
I/DEBUG   (  158): Abort message: '/tmp/workspace/tox4j-android-arm/tox4j/src/main/cpp/tox/av.cpp:147: static void new_ToxAV::CB::callstate_OnCancel(void *, int32_t, void *): assertion "false" failed'
I/DEBUG   (  158):     r0 00000000  r1 00000f12  r2 00000006  r3 00000000
I/DEBUG   (  158):     r4 4df07db8  r5 00000006  r6 0000006e  r7 0000010c
I/DEBUG   (  158):     r8 00000064  r9 44defb48  sl 4dcde750  fp 4df05968
I/DEBUG   (  158):     ip 00000f12  sp 4df058c8  lr 2ac5d905  pc 2ac80c78  cpsr 60000010
I/DEBUG   (  158): 
I/DEBUG   (  158): backtrace:
I/DEBUG   (  158):     #00 pc 00037c78  /system/lib/libc.so (tgkill+12)
I/DEBUG   (  158):     #01 pc 00014901  /system/lib/libc.so (pthread_kill+52)
I/DEBUG   (  158):     #02 pc 00015663  /system/lib/libc.so (raise+10)
I/DEBUG   (  158):     #03 pc 00011d75  /system/lib/libc.so (__libc_android_abort+36)
I/DEBUG   (  158):     #04 pc 0000fcbc  /system/lib/libc.so (abort+4)
I/DEBUG   (  158):     #05 pc 00013031  /system/lib/libc.so (__libc_fatal+16)
I/DEBUG   (  158):     #06 pc 00011df9  /system/lib/libc.so (__assert2+20)
I/DEBUG   (  158):     #07 pc 0009dbd0  /data/app/im.tox.antox-1/lib/arm/libtox4j.so (new_ToxAV::CB::callstate_OnCancel(void*, int, void*)+140)
sonOfRa commented 9 years ago

Those methods currently aren't implemented, hence assert(false). It's going to take a while to implement AV in tox4j properly...

iphydf commented 9 years ago

This mostly depends on @mannol implementing the A/V API.

iphydf commented 9 years ago

Duplicate of #30.