mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-02 19:26:56 -05:00
1.3.3 Android version will crash after exiting the application while Re-establishing a new connection. historical versions Don OT have this problem. #3130
Labels
No labels
bug
documentation
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
question
unreproducible
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/rustdesk-rustdesk#3130
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @haisong8822 on GitHub (Nov 25, 2024).
Bug Description
1.3.3 Android version will crash after exiting the application while Re-establishing a new connection. historical versions Don OT have this problem.
How to Reproduce
1,Connect from Windows using the latest version
2,Android crashes when exiting establishing new connection
Expected Behavior
Version 1.3.2 is normal
Operating system(s) on local (controlling) side and remote (controlled) side
Windows10->1.3.3
RustDesk Version(s) on local (controlling) side and remote (controlled) side
1.3.3->1.3.3
Screenshots
https://github.com/user-attachments/assets/69389ecd-ce84-466b-8ac8-8e12e61d1e04
Additional Context
No response
@rustdesk commented on GitHub (Nov 25, 2024):
@fufesou
@rustdesk commented on GitHub (Nov 25, 2024):
Why can you accept connection with out starting service after exit and open RustDesk again? I even do not know how to do this.
@rustdesk commented on GitHub (Nov 25, 2024):
crash log?
@rustdesk commented on GitHub (Nov 25, 2024):
I see you are modifying RustDesk, since you can reproduce it and you can debug, I believe you can fix it.
@haisong8822 commented on GitHub (Nov 25, 2024):
Process: com.carriez.flutter_hbb
PID: 21729
Flags: 0x30c8be44
Package: com.carriez.flutter_hbb v1052 (1.3.3)
Foreground: Yes
Build: alps/full_rlk6580_we_c_m/rlk6580_we_c_m:9/PPR1.180610.011/665:user/release-keys
Build fingerprint: 'alps/full_rlk6580_we_c_m/rlk6580_we_c_m:9/PPR1.180610.011/665:user/release-keys'
Revision: '0'
ABI: 'arm'
pid: 21729, tid: 22838, name: Thread-22 >>> com.carriez.flutter_hbb <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: 'indirect_reference_table.cc:59] JNI ERROR (app bug): accessed deleted Global 0x262a'
r0 00000000 r1 00005936 r2 00000006 r3 00000008
r4 000054e1 r5 00005936 r6 c497f424 r7 0000010c
r8 00000000 r9 0000005b r10 ec0fb36c r11 ec0fce94
ip c497f3c0 sp c497f410 lr ed629e59 pc ed621ca6
backtrace:
#00 pc 0001cca6 /system/lib/libc.so (abort+58)
#01 pc 0034db4f /system/lib/libart.so (art::Runtime::Abort(char const*)+910)
#02 pc 000071b3 /system/lib/libbase.so (android::base::LogMessage::~LogMessage()+494)
#03 pc 001b69d5 /system/lib/libart.so (art::IndirectReferenceTable::AbortIfNoCheckJNI(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator> const&)+172)
#04 pc 0023754f /system/lib/libart.so (art::IndirectReferenceTable::GetChecked(void*) const+270)
#05 pc 002338eb /system/lib/libart.so (art::JavaVMExt::DecodeGlobal(void*)+10)
#06 pc 00373385 /system/lib/libart.so (art::Thread::DecodeJObject(_jobject*) const+168)
#07 pc 002689bf /system/lib/libart.so (art::JNI::GetObjectClass(_JNIEnv*, _jobject*)+402)
#08 pc 005c9777 /data/app/com.carriez.flutter_hbb-oQxdT_dV61Ksdxm8s_GxuQ==/lib/arm/librustdesk.so (offset 0x3f6000)
#09 pc 0007cefc /system/lib/libc.so (ifree+916)
#10 pc 00227be2 /data/app/com.carriez.flutter_hbb-oQxdT_dV61Ksdxm8s_GxuQ==/lib/arm/librustdesk.so
@rustdesk commented on GitHub (Nov 25, 2024):
arm32?
@haisong8822 commented on GitHub (Nov 25, 2024):
So does aarch64
@rustdesk commented on GitHub (Nov 25, 2024):
How can you achieve this?
@haisong8822 commented on GitHub (Nov 25, 2024):
Isn’t this what the app itself is like? Quit the app and reopen it, the service is still started and not disconnected. After manually clicking to stop the service, the connection will be disconnected.
@rustdesk commented on GitHub (Nov 25, 2024):
The fix is marged, please try it out.