FangGet / ORB_SLAM2_Android

Repo no longer maintained
GNU General Public License v3.0
294 stars 140 forks source link

Unable to draw map and current camera pose #1

Open tzutalin opened 8 years ago

tzutalin commented 8 years ago

Hi @FangGet , I tried to install the apk you provided. I found it won't draw map and current camera pose, and it will crash at some point. Do you have any idea?

06-08 12:03:05.209  4049  4049 F DEBUG   : pid: 1135, tid: 6482, name: GLThread 34115  >>> orb.slam2.android <<<
06-08 12:03:05.209  4049  4049 F DEBUG   : signal 8 (SIGFPE), code -6 (SI_TKILL), fault addr 0x46f
06-08 12:03:05.244  4049  4049 F DEBUG   :     r0 00000000  r1 00001952  r2 00000008  r3 9e03f978
06-08 12:03:05.245  4049  4049 F DEBUG   :     r4 9e03f980  r5 9e03f930  r6 00000019  r7 0000010c
06-08 12:03:05.245  4049  4049 F DEBUG   :     r8 9e03f478  r9 00000000  sl 0000005b  fp 9e03f484
06-08 12:03:05.245  4049  4049 F DEBUG   :     ip 00000008  sp 9e03f428  lr b6c6c6d1  pc b6c6eac0  cpsr 400b0010
06-08 12:03:05.332  4049  4049 F DEBUG   : 
06-08 12:03:05.332  4049  4049 F DEBUG   : backtrace:
06-08 12:03:05.332  4049  4049 F DEBUG   :     #00 pc 00044ac0  /system/lib/libc.so (tgkill+12)
06-08 12:03:05.333  4049  4049 F DEBUG   :     #01 pc 000426cd  /system/lib/libc.so (pthread_kill+32)
06-08 12:03:05.333  4049  4049 F DEBUG   :     #02 pc 0001b88f  /system/lib/libc.so (raise+10)
06-08 12:03:05.333  4049  4049 F DEBUG   :     #03 pc 000947bc  /data/app/orb.slam2.android-1/lib/arm/libg2o.so (__aeabi_idiv0+8)
06-08 12:03:05.333  4049  4049 F DEBUG   :     #04 pc 000c9629  /data/app/orb.slam2.android-1/lib/arm/libORB_SLAM2.so (float& cv::Mat::at<float>(int)+44)
06-08 12:03:05.333  4049  4049 F DEBUG   :     #05 pc 000db2c1  /data/app/orb.slam2.android-1/lib/arm/libORB_SLAM2.so (ORB_SLAM2::MapDrawer::DrawMapPoints()+264)
06-08 12:03:05.333  4049  4049 F DEBUG   :     #06 pc 00109321  /data/app/orb.slam2.android-1/lib/arm/libORB_SLAM2.so (ORB_SLAM2::Viewer::drawGL()+32)
06-08 12:03:05.333  4049  4049 F DEBUG   :     #07 pc 002d61d5  /data/app/orb.slam2.android-1/oat/arm/base.odex (offset 0x209000) (void orb.slam2.android.nativefunc.OrbNdkHelper.glesRender()+72)
06-08 12:03:05.333  4049  4049 F DEBUG   :     #08 pc 002d5ac1  /data/app/orb.slam2.android-1/oat/arm/base.odex (offset 0x209000) (void orb.slam2.android.ORBSLAMForDataSetActivity.onDrawFrame(javax.microedition.khronos.opengles.GL10)+84)
06-08 12:03:05.334  4049  4049 F DEBUG   :     #09 pc 03025eb5  /system/framework/arm/boot.oat (offset 0x228e000)
06-08 12:03:06.261  4049  4049 E libc    : mmap fail (pid 4049, tid 4049, size 0, flags 0x2, errno 22(Invalid argument))
06-08 12:03:06.458  4049  4049 F DEBUG   : 
06-08 12:03:06.458  4049  4049 F DEBUG   : Tombstone written to: /data/tombstones/tombstone_03
06-08 12:03:06.459  4523 13957 E ActivityManager: App crashed! Process: orb.slam2.android
06-08 12:03:06.459  4049  4049 E DEBUG   : AM write failed: Broken pipe
06-08 12:03:06.462  1135  6482 F libc    : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 6482 (GLThread34115)
zhangzhenyuyu commented 4 years ago

@tzutalin Hello , Have you solved this problem? I have the same problem. Please help me thank you!!