I compiled Rustdesk myself and ran it with an error message #2683

Closed
opened 2026-02-21 00:28:17 -05:00 by deekerman · 1 comment
Owner

Originally created by @mingpuwu on GitHub (May 12, 2024).

Bug Description

error message :
Finished dev profile [unoptimized + debuginfo] target(s) in 3.48s
Running target\debug\rustdesk.exe
[2024-05-12T05:00:00Z INFO librustdesk::core_main] main start args:[]
thread 'main' panicked at library\core\src\panicking.rs:156:5:
unsafe precondition(s) violated: slice::from_raw_parts requires the pointer to be aligned and non-null, and the total size of the slice not to exceed isize::MAX
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
error: process didn't exit successfully: target\debug\rustdesk.exe (exit code: 0xc0000409, STATUS_STACK_BUFFER_OVERRUN)

How to Reproduce

I don't know if you've ever encountered such a situation before

Expected Behavior

Can be compiled and used normally

Operating system(s) on local side and remote side

Windows 11

RustDesk Version(s) on local side and remote side

1.2.4

Screenshots

20240512130905

Additional Context

No response

Originally created by @mingpuwu on GitHub (May 12, 2024). ### Bug Description error message : Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.48s Running `target\debug\rustdesk.exe` [2024-05-12T05:00:00Z INFO librustdesk::core_main] main start args:[] thread 'main' panicked at library\core\src\panicking.rs:156:5: unsafe precondition(s) violated: slice::from_raw_parts requires the pointer to be aligned and non-null, and the total size of the slice not to exceed `isize::MAX` note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace thread caused non-unwinding panic. aborting. error: process didn't exit successfully: `target\debug\rustdesk.exe` (exit code: 0xc0000409, STATUS_STACK_BUFFER_OVERRUN) ### How to Reproduce I don't know if you've ever encountered such a situation before ### Expected Behavior Can be compiled and used normally ### Operating system(s) on local side and remote side Windows 11 ### RustDesk Version(s) on local side and remote side 1.2.4 ### Screenshots ![20240512130905](https://github.com/rustdesk/rustdesk/assets/40490370/e838cebf-3e99-41a3-818a-fcf4dfe51111) ### Additional Context _No response_
deekerman 2026-02-21 00:28:17 -05:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@rustdesk commented on GitHub (May 12, 2024):

#763

@rustdesk commented on GitHub (May 12, 2024): #763
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rustdesk-rustdesk#2683
No description provided.