saki4510t / UVCCamera

library and sample to access to UVC web camera on non-rooted Android device
2.96k stars 1.19k forks source link

A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 19263 (CameraThread), pid 18571 (example.mundial) #643

Open TetrixGauss opened 2 years ago

TetrixGauss commented 2 years ago

Hello! In Samsung galaxy Tab A7 tablet i get A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 19263 (CameraThread), pid 18571 (example.mundial) that error and no other logs and the app crashes when i disconnect the usb from the tablet!

Can someone please help me either with the error if you know what is or the way to get more logs out of the library for the error!

I know that is a null pointer dereference but i dont know where!

I have tryied blindly to check for NULLs inside the code but of'course with no effect! Please keep in mind that in other tablets the above scenario plays well but on the Samsung Galaxy Tab A7 crashes!

I use android ndk r14b.

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.serenegiant.uvccamera"
    android:versionCode="2"
    android:versionName="1.1" >

Please any help is appreciated!

TetrixGauss commented 2 years ago

@ExcailburWei Thank you so much! Now the app doesn't crash but i cannot do anything and it tells me "Stop app or Wait". I have no errors in the console. Any suggestions?

I believe it stops on a release step but i don't know what to do.

Thank you so much in advance!