mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-02 19:26:56 -05:00
Crash after some time connected [Linux 6.9.3-arch1-1 (Wayland) > Windows 10] #2742
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#2742
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 @NicKoehler on GitHub (Jun 12, 2024).
Bug Description
I use rustdesk to work from home and sometimes it crashes without a precise pattern of use.
Local:
Remote:
How to Reproduce
Expected Behavior
Not to crash
Operating system(s) on local side and remote side
Linux > Windows 10
RustDesk Version(s) on local side and remote side
Nightly
Screenshots
.
Additional Context
Logs I collected from
journalctl:@rustdesk commented on GitHub (Jun 12, 2024):
Got it, Thanks. @fufesou follow it up.
@rustdesk commented on GitHub (Jun 12, 2024):
@NicKoehler could you help confirm if 1.2.5 crash?
@NicKoehler commented on GitHub (Jun 12, 2024):
I can try and see if it happens while using itInstalled, I'll let you know
@rustdesk commented on GitHub (Jun 12, 2024):
Can also run rustdesk from command line with RUST_BACKTRACE, maybe we can get more information.
RUST_BACKTRACE=1 rustdesk@NicKoehler commented on GitHub (Jun 12, 2024):
Same with 1.2.5.
These are the complete logs with removed id:
@rustdesk commented on GitHub (Jun 12, 2024):
Thanks, still
thread 'frb_workerpool' panicked at library/std/src/sys_common/process.rs:155:17, but we still do not know who call it in our rust code, :(@rustdesk commented on GitHub (Jun 12, 2024):
@fufesou clean those flutter errors first.
@fufesou commented on GitHub (Jun 12, 2024):
Fixed in https://github.com/rustdesk/rustdesk/pull/8261
I'll fix the other errors.
@rustdesk commented on GitHub (Jun 12, 2024):
@NicKoehler Could you help run nightly like this?
@NicKoehler commented on GitHub (Jun 12, 2024):
The last logs I sent are like that, you can see it from the first line.Oh ok the nightly
@NicKoehler commented on GitHub (Jun 12, 2024):
This is the nightly release:
@rustdesk commented on GitHub (Jun 12, 2024):
How about
RUST_BACKTRACE=full rustdesk?@21pages commented on GitHub (Jun 12, 2024):
github.com/rustdesk/rustdesk@610009528b/Cargo.toml (L201)change it to false and build with your ci, after crash run journalctlAlso try disable hwcodec option.
@NicKoehler commented on GitHub (Jun 12, 2024):
Yes, I'll try
@fufesou commented on GitHub (Jun 12, 2024):
@NicKoehler Sorry, forget it.
It is not a pure rust panic, it may caused by
flutter_rust_bridge. Maybe we need a debug build and run with gdb.https://github.com/fzyzcjy/flutter_rust_bridge/blob/v1.80.1/frb_rust/src/thread.rs#L43
@fufesou commented on GitHub (Jun 13, 2024):
@NicKoehler Can you please test the debug build here ? https://github.com/fufesou/rustdesk/releases/tmp . It's built by https://github.com/fufesou/rustdesk/actions/runs/9493959536
You can install and the
systemctl stop rustdesk && cd /usr/lib/rustdesk && gdb rustdeskWhen you see the crash, you can input
btto see the backtrace.Thanks!
@rustdesk commented on GitHub (Jun 13, 2024):
I just built a new nightly which upgrade rust and tokio to latest version, not sure if it can help.
https://github.com/rustdesk/rustdesk/releases/tag/nightly
@NicKoehler commented on GitHub (Jun 13, 2024):
It crashed, not sure if is the same crash.
@rustdesk commented on GitHub (Jun 13, 2024):
Could you run gdb with this one https://github.com/fufesou/rustdesk/releases/download/tmp/rustdesk-1.2.6-0-x86_64.pkg.tar.zst? this one have debug symbol info, we can see more informations.
@NicKoehler commented on GitHub (Jun 13, 2024):
I installed it but gdb still sais No debugging symbols found in rustdesk
@rustdesk commented on GitHub (Jun 13, 2024):
yes, the
rustdeskbuilt by flutter has no debug symbol, but thelibrustdesk.sobuilt by rust has. Please go ahead to run.@NicKoehler commented on GitHub (Jun 13, 2024):
The release you linked is the same I installed and runned with gdb, the logs I got are here. Did I do something wrong?
@rustdesk commented on GitHub (Jun 13, 2024):
Sorry, I thought you ran gdb with https://github.com/rustdesk/rustdesk/issues/8320#issuecomment-2164558883
@NicKoehler commented on GitHub (Jun 13, 2024):
I'm still running it again with gdb as I'm working from home. Is there anything else I can do to help?
@rustdesk commented on GitHub (Jun 13, 2024):
I don't have idea either how to debug it now. :(
@rustdesk commented on GitHub (Jun 13, 2024):
Maybe try out
RUST_BACKTRACE=1 rustdeskof https://github.com/fufesou/rustdesk/releases/download/tmp/rustdesk-1.2.6-0-x86_64.pkg.tar.zst@NicKoehler commented on GitHub (Jun 13, 2024):
without gdb?
@rustdesk commented on GitHub (Jun 13, 2024):
no gdb, since it is useless, can see nothing.
@NicKoehler commented on GitHub (Jun 13, 2024):
Almost 5 hours connected, no crash yet
@NicKoehler commented on GitHub (Jun 13, 2024):
RUST_BACKTRACE=1 rustdesk &>rustdesk.log@rustdesk commented on GitHub (Jun 13, 2024):
Thanks, @fufesou follow it up
@rustdesk commented on GitHub (Jun 13, 2024):
@NicKoehler could you run again,
RUST_BACKTRACE=full rustdesk? :(@NicKoehler commented on GitHub (Jun 13, 2024):
yes, I still need to work anyway
@NicKoehler commented on GitHub (Jun 13, 2024):
RUST_BACKTRACE=full rustdesk &>rustdesk.log@rustdesk commented on GitHub (Jun 13, 2024):
Have you tried out the newest nightly build?
@NicKoehler commented on GitHub (Jun 13, 2024):
No this is still the debug build
@rustdesk commented on GitHub (Jun 13, 2024):
Please run the newest nightly build with
RUST_BACKTRACE=full rustdesk.@NicKoehler commented on GitHub (Jun 13, 2024):
rustdesk.log
@rustdesk commented on GitHub (Jun 14, 2024):
Could you also try out AppImage and Flatpak version?
@NicKoehler commented on GitHub (Jun 14, 2024):
Ok, trying the flatpak nightly now
@NicKoehler commented on GitHub (Jun 14, 2024):
RUST_BACKTRACE=full flatpak run com.rustdesk.RustDesk &>rustdesk.log@rustdesk commented on GitHub (Jun 14, 2024):
How about 1.2.4? Since we have no clue, we have to test each version one by one.
@NicKoehler commented on GitHub (Jun 14, 2024):
This is 1.2.4:
RUST_BACKTRACE=full rustdesk &>rustdesk.log@fufesou commented on GitHub (Jun 14, 2024):
@NicKoehler I've tried archlinux. But I'm not sure if the env is the same to you.
6.9.4-arch1-1after runningpacman -Syyu.pacman -S gnome, and install all packages. Which command do you used to install gnome wayland?There're many choice of gnome wayland.
@NicKoehler commented on GitHub (Jun 14, 2024):
I have the same kernel as you and my system is fully updated.
I originally installed arch linux using archinstall and selecting gnome as DE, installing the
gnomepackage should be enough.The mode I'm using is GNOME plain and simple, wayland is now default and automatically installed when you install gnome.
@fufesou commented on GitHub (Jun 14, 2024):
I still cannot reproduce this issue.
Can you please run this build? https://github.com/fufesou/rustdesk/releases/tmp
I've added some logs in https://github.com/rustdesk/rustdesk/blob/master/src/ui_interface.rs#L599
github.com/fufesou/rustdesk@450d71d5c1@NicKoehler commented on GitHub (Jun 14, 2024):
The crash seems random, hard to reproduce, I'll try your build
@rustdesk commented on GitHub (Jun 14, 2024):
I do not think it is related to wayland / display etc. It is more likely underlying fundermantal problem.
@NicKoehler commented on GitHub (Jun 15, 2024):
These are all my packages if you need them, I'm still trying to crash the tmp build.
pacman -Q >installed.txt@NicKoehler commented on GitHub (Jun 15, 2024):
meanwhile I found another strange behavior, opening a separate issue for this
@rustdesk commented on GitHub (Jun 16, 2024):
Could you try out this flatpak version? please unzip first.
rustdesk.zip
@NicKoehler commented on GitHub (Jun 17, 2024):
Now that I'm back working from my office I have only the night to test, I'll try tonight and see how it goes
@NicKoehler commented on GitHub (Jun 19, 2024):
flatpak run --env=RUST_BACKTRACE=full com.rustdesk.RustDesk &>rustdesk.log@rustdesk commented on GitHub (Aug 17, 2024):
This https://github.com/rustdesk/rustdesk/pull/9091 may fix this. Please test the nightly.
@NicKoehler commented on GitHub (Aug 31, 2024):
I'm currently not having any crashes, closing this for now