Closed areful closed 11 months ago
Can you try out 1.2 android?
Can you try out 1.2 android?
Tried 1.2 on Android 6.0 and Android 7.1 and still crashed.
The apk from here: https://github.com/rustdesk/rustdesk/releases/download/nightly/rustdesk-1.2.0-armv7-signed.apk
It's OK on android 12.
Frankly wontfix for old android version, and specifically it is armv7. Anyway, Thanks for your report.
So sed :(
There is probably some threading sync issue, you may have a look.
stopCapture
here is called in another thread.
Reopen because obvious threading safe issue
@21pages
Thanks, let me have a try~
I also have this crash problem
@21pages any help?
@21pages does not know this part of code either, the original author has left, so we have the same level of knowledge.
I do not think below change help. It only ensure stopCapture not called paralelly, but the crash arises from the other method is using the resource while stopCapture is releasing them. @areful hope this can help you find some clue.
I do not think below change help. It only ensure stopCapture not called paralelly, but the crash arises from the other method is using the resource while stopCapture is releasing them. @areful hope this can help you find some clue.
Thanks for your reply. Have no idea now ~~
@Synchronized
I tried, the problem can still be reproduced when disconnected
You can try your solution then if possbile. :)
Thanks a lot, let's try
I also have this crash issue, especially when my phone restarts and the ID generation card dies
Hey, Is this issue for the flutter mobile application? If yes, do you have some documentation to run/build the flutter application? I am trying to do so, but the I am facing some issues with it
development OS: MacOS
Hey, Is this issue for the flutter mobile application? If yes, do you have some documentation to run/build the flutter application? I am trying to do so, but the I am facing some issues with it
development OS: MacOS
So far we can only control the app itself on Android 6.0 with the .so library using ARMv7 ABI. Not whole system, because there is no GestureDetector APIs below android 7.
Hey, Is this issue for the flutter mobile application? If yes, do you have some documentation to run/build the flutter application? I am trying to do so, but the I am facing some issues with it development OS: MacOS
So far we can only control the app itself on Android 6.0 with the .so library using ARMv7 ABI. Not whole system, because there is no GestureDetector APIs below android 7.
Okay. I can try and work on this.
But I am not able to run the app. Can you help me with that?
Are there any dependencies I need to install apart from pub get
before I am able to run the app?
Hey, Is this issue for the flutter mobile application? If yes, do you have some documentation to run/build the flutter application? I am trying to do so, but the I am facing some issues with it development OS: MacOS
So far we can only control the app itself on Android 6.0 with the .so library using ARMv7 ABI. Not whole system, because there is no GestureDetector APIs below android 7.
Okay. I can try and work on this. But I am not able to run the app. Can you help me with that? Are there any dependencies I need to install apart from
pub get
before I am able to run the app?
First you should compile the .so file for ARMv7 ABI. U can according this document: (https://rustdesk.com/docs/en/dev/build/android). There are still a lot of works in it.
Hey, Is this issue for the flutter mobile application? If yes, do you have some documentation to run/build the flutter application? I am trying to do so, but the I am facing some issues with it development OS: MacOS
So far we can only control the app itself on Android 6.0 with the .so library using ARMv7 ABI. Not whole system, because there is no GestureDetector APIs below android 7.
Okay. I can try and work on this. But I am not able to run the app. Can you help me with that? Are there any dependencies I need to install apart from
pub get
before I am able to run the app?First you should compile the .so file for ARMv7 ABI. U can according this document: (https://rustdesk.com/docs/en/dev/build/android). There are still a lot of works in it.
Ahh got it. I need to install rust/cargo as well. Thanks
tracked by #3893
Wondering if some one can test the nightly, https://github.com/rustdesk/rustdesk/releases/tag/nightly, I put some fix for this.
想知道是否有人可以测试每晚,https://github.com/rustdesk/rustdesk/releases/tag/nightly,我为此做了一些修复。
Windows远程安卓7.1 armv7 鼠标滑动控制一会, 安卓设备就会报错停止运行
Version 1.2.2 works fine on Android7.1
crash report?
Build fingerprint: 'Xiaomi/nikel/nikel:6.0/MRA58K/8.4.26:user/release-keys' Revision: '0' ABI: 'arm' pid: 16216, tid: 16733, name: Thread-151 >>> com.carriez.flutter_hbb <<< signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- Abort message: 'art/runtime/indirect_reference_table.cc:115] JNI ERROR (app bug): local reference table overflow (max=512)' r0 00000000 r1 0000415d r2 00000006 r3 d22fa978 r4 d22fa980 r5 d22fa930 r6 0000000d r7 0000010c r8 f4b7f840 r9 f4b7de6c sl eebdf75b fp f4b63718 ip 00000006 sp d22f29e8 lr f73b8ebd pc f73bb2ac cpsr 40070010
backtrace:
00 pc 000432ac /system/lib/libc.so (tgkill+12)
#1 pc 00040eb9 /system/lib/libc.so (pthread_kill+32) #2 pc 0001c81b /system/lib/libc.so (raise+10) #3 pc 000199cd /system/lib/libc.so (__libc_android_abort+34)
04 pc 00017580 /system/lib/libc.so (abort+4)
05 pc 00334819 /system/lib/libart.so (_ZN3art7Runtime5AbortEv+228)
#6 pc 000f5315 /system/lib/libart.so (_ZN3art10LogMessageD2Ev+2240) #7 pc 000f15e5 /system/lib/libart.so (_ZN3art7BarrierD2Ev+216)
08 pc 0035ca9b /system/lib/libart.so (_ZN3art10ThreadList4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+162)
#9 pc 003348dd /system/lib/libart.so (_ZN3art7Runtime5AbortEv+424) #10 pc 000f5315 /system/lib/libart.so (_ZN3art10LogMessageD2Ev+2240) #11 pc 001dea7d /system/lib/libart.so (_ZN3art22IndirectReferenceTable3AddEjPNS_6mirror6ObjectE+248) #12 pc 0027ab4d /system/lib/libart.so (_ZN3art3JNI12NewStringUTFEP7_JNIEnvPKc+348) #13 pc 0024da19 /data/app/com.carriez.flutter_hbb-1/lib/arm/librustdesk.so (offset 0x3ab000)
--------- beginning of crash
04-29 14:45:07.219 1223 3276 E AndroidRuntime: FATAL EXCEPTION: Thread-7
04-29 14:45:07.219 1223 3276 E AndroidRuntime: Process: com.carriez.flutter_hbb, PID: 1223
04-29 14:45:07.219 1223 3276 E AndroidRuntime: java.lang.SecurityException: Invalid media projection
04-29 14:45:07.219 1223 3276 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1692)
04-29 14:45:07.219 1223 3276 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1645)
04-29 14:45:07.219 1223 3276 E AndroidRuntime: at android.hardware.display.IDisplayManager$Stub$Proxy.createVirtualDisplay(IDisplayManager.java:528)
04-29 14:45:07.219 1223 3276 E AndroidRuntime: at android.hardware.display.DisplayManagerGlobal.createVirtualDisplay(DisplayManagerGlobal.java:380)
04-29 14:45:07.219 1223 3276 E AndroidRuntime: at android.hardware.display.DisplayManager.createVirtualDisplay(DisplayManager.java:537)
04-29 14:45:07.219 1223 3276 E AndroidRuntime: at android.media.projection.MediaProjection.createVirtualDisplay(MediaProjection.java:137)
04-29 14:45:07.219 1223 3276 E AndroidRuntime: at com.carriez.flutter_hbb.MainService.G()
04-29 14:45:07.219 1223 3276 E AndroidRuntime: at com.carriez.flutter_hbb.MainService.F()
04-29 14:45:07.219 1223 3276 E AndroidRuntime: at com.carriez.flutter_hbb.MainService.rustSetByName()
04-29 14:45:07.238 689 1303 W ActivityManager: Force finishing activity com.carriez.flutter_hbb/.MainActivity
04-29 14:45:07.261 689 701 D UsageStatsService: User[0] Got usage event for com.carriez.flutter_hbb[1714373107256]: MOVE_TO_BACKGROUND
04-29 14:45:07.273 689 702 E SchedPolicy: set_timerslack_ns prctl failed: Invalid argument
04-29 15:49:04.418 5211 5319 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 5319 (Thread-8)
04-29 15:49:04.424 372 372 W : debuggerd: handling request: pid=5211 uid=10095 gid=10095 tid=5319
04-29 15:49:04.497 704 704 I chatty : uid=1000(system) /system/bin/cnss-daemon expire 35 lines
04-29 15:49:04.518 5414 5414 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
04-29 15:49:04.518 5414 5414 F DEBUG : Build fingerprint: 'alps/full_rlk6580_we_c_m/rlk6580_we_c_m:7.1.1/NMF26F/545:user/release-keys'
04-29 15:49:04.518 5414 5414 F DEBUG : Revision: '0'
04-29 15:49:04.519 5414 5414 F DEBUG : ABI: 'arm'
04-29 15:49:04.519 5414 5414 F DEBUG : pid: 5211, tid: 5319, name: Thread-8 >>> com.carriez.flutter_hbb <<<
04-29 15:49:04.519 5414 5414 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
04-29 15:49:04.536 5414 5414 F DEBUG : Abort message: 'art/runtime/indirect_reference_table.cc:132] JNI ERROR (app bug): local reference table overflow (max=512)'
04-29 15:49:04.536 5414 5414 F DEBUG : r0 00000000 r1 000014c7 r2 00000006 r3 00000008
04-29 15:49:04.536 5414 5414 F DEBUG : r4 c6ff9978 r5 00000006 r6 c6ff9920 r7 0000010c
04-29 15:49:04.536 5414 5414 F DEBUG : r8 00000000 r9 0000000a sl 0000028c fp c7e9c000
04-29 15:49:04.536 5414 5414 F DEBUG : ip 0000000d sp c6ff1b60 lr ed50a487 pc ed50cd08 cpsr 200d0010
04-29 15:49:04.547 5414 5414 F DEBUG :
04-29 15:49:04.547 5414 5414 F DEBUG : backtrace:
04-29 15:49:04.549 5414 5414 F DEBUG : #00 pc 00049d08 /system/lib/libc.so (tgkill+12)
04-29 15:49:04.549 5414 5414 F DEBUG : #01 pc 00047483 /system/lib/libc.so (pthread_kill+34)
04-29 15:49:04.549 5414 5414 F DEBUG : #02 pc 0001d755 /system/lib/libc.so (raise+10)
04-29 15:49:04.549 5414 5414 F DEBUG : #03 pc 00019291 /system/lib/libc.so (__libc_android_abort+34)
04-29 15:49:04.549 5414 5414 F DEBUG : #04 pc 000172ec /system/lib/libc.so (abort+4)
04-29 15:49:04.549 5414 5414 F DEBUG : #05 pc 0031a679 /system/lib/libart.so (_ZN3art7Runtime5AbortEPKc+328)
04-29 15:49:04.549 5414 5414 F DEBUG : #06 pc 000b5205 /system/lib/libart.so (_ZN3art10LogMessageD2Ev+1132)
04-29 15:49:04.549 5414 5414 F DEBUG : #07 pc 001bc43b /system/lib/libart.so (_ZN3art22IndirectReferenceTable3AddEjPNS_6mirror6ObjectE+194)
04-29 15:49:04.549 5414 5414 F DEBUG : #08 pc 00264c53 /system/lib/libart.so (_ZN3art3JNI14GetObjectClassEP7_JNIEnvP8_jobject+426)
04-29 15:49:04.550 5414 5414 F DEBUG : #09 pc 0024df69 /data/app/com.carriez.flutter_hbb-1/lib/arm/librustdesk.so (offset 0x3ab000)
crash report?
Build fingerprint: 'Xiaomi/nikel/nikel:6.0/MRA58K/8.4.26:user/release-keys' Revision: '0' ABI: 'arm' pid: 16216, tid: 16733, name: Thread-151 >>> com.carriez.flutter_hbb <<< signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- Abort message: 'art/runtime/indirect_reference_table.cc:115] JNI ERROR (app bug): local reference table overflow (max=512)' r0 00000000 r1 0000415d r2 00000006 r3 d22fa978 r4 d22fa980 r5 d22fa930 r6 0000000d r7 0000010c r8 f4b7f840 r9 f4b7de6c sl eebdf75b fp f4b63718 ip 00000006 sp d22f29e8 lr f73b8ebd pc f73bb2ac cpsr 40070010 backtrace:
00 pc 000432ac /system/lib/libc.so (tgkill+12)
#1 pc 00040eb9 /system/lib/libc.so (pthread_kill+32) #2 pc 0001c81b /system/lib/libc.so (raise+10) #3 pc 000199cd /system/lib/libc.so (__libc_android_abort+34)
04 pc 00017580 /system/lib/libc.so (abort+4)
05 pc 00334819 /system/lib/libart.so (_ZN3art7Runtime5AbortEv+228)
#6 pc 000f5315 /system/lib/libart.so (_ZN3art10LogMessageD2Ev+2240) #7 pc 000f15e5 /system/lib/libart.so (_ZN3art7BarrierD2Ev+216)
08 pc 0035ca9b /system/lib/libart.so (_ZN3art10ThreadList4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+162)
#9 pc 003348dd /system/lib/libart.so (_ZN3art7Runtime5AbortEv+424) #10 pc 000f5315 /system/lib/libart.so (_ZN3art10LogMessageD2Ev+2240) #11 pc 001dea7d /system/lib/libart.so (_ZN3art22IndirectReferenceTable3AddEjPNS_6mirror6ObjectE+248) #12 pc 0027ab4d /system/lib/libart.so (_ZN3art3JNI12NewStringUTFEP7_JNIEnvPKc+348) #13 pc 0024da19 /data/app/com.carriez.flutter_hbb-1/lib/arm/librustdesk.so (offset 0x3ab000)
Hello, can this problem be fixed?
Maybe if you fund this bug, we offiically will not spend additional time on armv7 or old android.
Maybe if you fund this bug, we offiically will not spend additional time on armv7.
Approximately how much
Maybe if you fund this bug, we offiically will not spend additional time on armv7.
Approximately how much
@sahilyeole you can give a quote, if you are interested.
Maybe if you fund this bug, we offiically will not spend additional time on armv7.
Approximately how much
@sahilyeole you can give a quote, if you are interested.
Give me a price and I'll see if it's worth it. After all, there are relatively few devices serving lower versions now.
Version 1.2.2 works fine on Android7.1
Can confirm that RustDesk v1.2.2
works well on Android v7.1
! :tada:
However it appears like the .apk
files have been removed from the RustDesk v1.2.2
release page...
After some digging I was able to find them though:
It would be nice if these could be re-included in the v1.2.2
release
The only change from 1.2.2 to 1.2.3 is the targetSdkVersion change from 31 to 33, I guess this changes the behavior of local reference table limit.
Try out https://github.com/rustdesk/rustdesk/releases/tag/nightly please, I had a fix. Please paste the crash log if still crash. I have removed "mouse" string, at least it wont have local reference table overflow caused by "mouse" jni string.
Try out https://github.com/rustdesk/rustdesk/releases/tag/nightly please, I had a fix.
Please paste the crash log if still crash. I have removed "mouse" string, at least it wont have local reference table overflow caused by "mouse" jni string.
Just tried the v1.2.6
nightly build on Android v7.1
@ commit: https://github.com/rustdesk/rustdesk/commit/65f7541ec76cab7f996623a4c9ee674d3b294800
The nightly build:
v1.2.3-2
, the session only crashed after remote user input)Thanks for you testing, could you please test current nightly build again? we just put a new fix. https://github.com/rustdesk/rustdesk/pull/8266
Thanks for you testing, could you please test current nightly build again? we just put a new fix. #8266
Tested the new v1.2.6
nightly (2024-06-05 10:17) build on an Android v7.1.1
and a v7.1.2
.
And can happily confirm that the fix resolved the issue! 🥳
https://github.com/rustdesk/rustdesk/releases/download/1.2.6/rustdesk-1.2.6-armv7-signed.apk works on Android 7.1.2 again THANKS A LOTS
Bug Description
Often crash on Android (as client).
How to Reproduce
When android client connected with remote server, it works well.
But when I disconnect from remote server manually by click "Disconnect" button, it's often crash. Not every time, but too often.
Expected Behavior
Works well when click disconnect.
Operating system(s) on local side and remote side
Windows
RustDesk Version(s) on local side and remote side
1.20 -> 1.1.9
Screenshots
Additional Context
part of crash log: