AlexandreRouma / SDRPlusPlus

Cross-Platform SDR Software
GNU General Public License v3.0
3.95k stars 544 forks source link

Android and hackrf crash after play #1313

Open hudy000 opened 7 months ago

hudy000 commented 7 months ago

Hardware Samsung galaxy s22 ultra (android 14) Samsung galaxy Tab A8 (android 13) HackRF one

Software

Bug Description If i run app, select hack rf, refresh for driver visible and click play, app crashes every time.

Steps To Reproduce

  1. Try diferent phone and tablet
  2. ...testing other drivers

https://github.com/AlexandreRouma/SDRPlusPlus/assets/156708817/27b26ba8-76db-43b8-8e46-8ace496416bd

AlexandreRouma commented 7 months ago

can't replicate on my note 9

hudy000 commented 7 months ago

How can i help solved this problem ? Sdr touch working without crash

GrieverGraver commented 7 months ago

Got same issue at huawei matepad wgr-w09, harmony 2.0.0

buccinator commented 7 months ago

same issue on samsung s23 ultra

dh0fun commented 6 months ago

same issue on pixel 7 pro

pizvizdik commented 5 months ago

same problem on motorola razr 40, even a "hack" with removing the soapy module doesn't help - keeps crashing

izeroo commented 4 months ago

Can confirm on April 16, 2024 Build, on Redmi K60 running Android 14 with Hackrf One Stack trace:

Redmi/mondrian/mondrian:14/UKQ1.230804.001/V816.0.6.0.UMNCNXM:user/release-keys

      #00 pc 00000000000fe098  /apex/com.android.runtime/lib64/bionic/libc.so (pthread_mutex_lock+16) (BuildId: 1e3ca19bcae05c01b019c85f3f422e56)
      #01 pc 000000000000dea8  /data/app/~~s4nlY-WUkGJ3JgbLyRvc0g==/org.sdrpp.sdrpp-GDNNs316mUQE-d5j2txJEw==/base.apk!libusb1.0.so (offset 0x478000) (BuildId: 0e0d0e4de78c3d0ac3b0ed8a0da0ba7f5e0d4333)
      #02 pc 00000000000118fc  /data/app/~~s4nlY-WUkGJ3JgbLyRvc0g==/org.sdrpp.sdrpp-GDNNs316mUQE-d5j2txJEw==/base.apk!libusb1.0.so (offset 0x478000) (BuildId: 0e0d0e4de78c3d0ac3b0ed8a0da0ba7f5e0d4333)
      #03 pc 000000000000a324  /data/app/~~s4nlY-WUkGJ3JgbLyRvc0g==/org.sdrpp.sdrpp-GDNNs316mUQE-d5j2txJEw==/base.apk!libusb1.0.so (offset 0x478000) (libusb_wrap_sys_device+136) (BuildId: 0e0d0e4de78c3d0ac3b0ed8a0da0ba7f5e0d4333)
      #04 pc 0000000000003cf8  /data/app/~~s4nlY-WUkGJ3JgbLyRvc0g==/org.sdrpp.sdrpp-GDNNs316mUQE-d5j2txJEw==/base.apk!libhackrf.so (offset 0xd30000) (hackrf_open_by_fd+96) (BuildId: 37fe2cc12078c129f368097375fc990f7f01c360)
      #05 pc 000000000000c618  /data/app/~~s4nlY-WUkGJ3JgbLyRvc0g==/org.sdrpp.sdrpp-GDNNs316mUQE-d5j2txJEw==/base.apk!hackrf_source.so (offset 0xfc2000) (HackRFSourceModule::start(void*)+112) (BuildId: cbae4b5507877d4115294b546307e8b73eff8884)
      #06 pc 00000000002169fc  /data/app/~~s4nlY-WUkGJ3JgbLyRvc0g==/org.sdrpp.sdrpp-GDNNs316mUQE-d5j2txJEw==/base.apk!libsdrpp_core.so (offset 0x11e8000) (SourceManager::start()+24) (BuildId: bec9e65e8a9a1d405ae99a95c28c4a8326184491)
      #07 pc 000000000014cf5c  /data/app/~~s4nlY-WUkGJ3JgbLyRvc0g==/org.sdrpp.sdrpp-GDNNs316mUQE-d5j2txJEw==/base.apk!libsdrpp_core.so (offset 0x11e8000) (MainWindow::draw()+2080) (BuildId: bec9e65e8a9a1d405ae99a95c28c4a8326184491)
      #08 pc 0000000000226524  /data/app/~~s4nlY-WUkGJ3JgbLyRvc0g==/org.sdrpp.sdrpp-GDNNs316mUQE-d5j2txJEw==/base.apk!libsdrpp_core.so (offset 0x11e8000) (backend::renderLoop()+320) (BuildId: bec9e65e8a9a1d405ae99a95c28c4a8326184491)
      #09 pc 000000000012b9d0  /data/app/~~s4nlY-WUkGJ3JgbLyRvc0g==/org.sdrpp.sdrpp-GDNNs316mUQE-d5j2txJEw==/base.apk!libsdrpp_core.so (offset 0x11e8000) (sdrpp_main(int, char**)+23368) (BuildId: bec9e65e8a9a1d405ae99a95c28c4a8326184491)
      #10 pc 000000000022717c  /data/app/~~s4nlY-WUkGJ3JgbLyRvc0g==/org.sdrpp.sdrpp-GDNNs316mUQE-d5j2txJEw==/base.apk!libsdrpp_core.so (offset 0x11e8000) (android_main+304) (BuildId: bec9e65e8a9a1d405ae99a95c28c4a8326184491)
      #11 pc 0000000000228fb4  /data/app/~~s4nlY-WUkGJ3JgbLyRvc0g==/org.sdrpp.sdrpp-GDNNs316mUQE-d5j2txJEw==/base.apk!libsdrpp_core.so (offset 0x11e8000) (BuildId: bec9e65e8a9a1d405ae99a95c28c4a8326184491)
      #12 pc 00000000000fd134  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+208) (BuildId: 1e3ca19bcae05c01b019c85f3f422e56)
      #13 pc 0000000000096ae4  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68) (BuildId: 1e3ca19bcae05c01b019c85f3f422e56)
pinjuf commented 1 month ago

Can also confirm on an up-to-date Samsung A55 5G (Android 14), running the current (nightly) build (1.2.0). Recognizes my HackRF (Clone r10 + Portapack H2), crashes when "Play" is pressed. Works with my RTL-SDR v4 though. RFAnalyzer works too (yes, I insured it wasn't interfering with sdrpp when testing).

Cricre commented 1 month ago

Hi I have exactly the same problem : even if connecting Hack RF with no antenna attached , it crashes every time on my pixel 6a, android 14, apk version of 07.08.2024.

What can we provide you as info to help detect the bug ?

Best regards

hudy000 commented 2 weeks ago

It seems like they don't care about us, so much time has passed, and it still doesn't work.