Skip to content

cargo run windows . scdef.rs:160:14: trying to construct an enum from an invalid value 0x84 #582

@abecomputersinc

Description

@abecomputersinc

its keep stops with this error.

[2025-10-25T09:38:14Z INFO librustdesk::server::portable_service::client] start portable service
[2025-10-25T09:38:14Z INFO librustdesk::server::portable_service] Create shared memory, size: 8355968, flink: C:\ProgramData\RustDesk\shared_memory_portable_service
processed file: C:\ProgramData\RustDesk\shared_memory_portable_service
Successfully processed 1 files; Failed processing 0 files

thread 'main' panicked at C:\Users\user.cargo\git\checkouts\rust-sciter-9d95e9099df4ba27\5322f3a\src\capi\scdef.rs:160:14:
trying to construct an enum from an invalid value 0x84
stack backtrace:
[2025-10-25T09:38:14Z INFO librustdesk::ipc] Started ipc_portable_service server at path: .\pipe\RustDesk\query_portable_service
[2025-10-25T09:38:14Z INFO hbb_common::config] Preload peers done in 4.9503ms, batch_count: 100, total: 12
0: std::panicking::begin_panic_handler
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library\std\src\panicking.rs:697
1: core::panicking::panic_nounwind_fmt
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library\core\src\intrinsics\mod.rs:2367
2: core::panicking::panic_invalid_enum_construction
at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library\core\src\panicking.rs:327
3: sciter::capi::scdef::impl$1::bitor
at C:\Users\user.cargo\git\checkouts\rust-sciter-9d95e9099df4ba27\5322f3a\src\capi\scdef.rs:160
4: sciter::window::Builder::or
at C:\Users\user.cargo\git\checkouts\rust-sciter-9d95e9099df4ba27\5322f3a\src\window.rs:542
5: sciter::window::Builder::resizeable
at C:\Users\user.cargo\git\checkouts\rust-sciter-9d95e9099df4ba27\5322f3a\src\window.rs:513
6: sciter::window::Builder::main_window
at C:\Users\user.cargo\git\checkouts\rust-sciter-9d95e9099df4ba27\5322f3a\src\window.rs:426
7: librustdesk::ui::start
at .\src\ui.rs:84
8: rustdesk::main
at .\src\main.rs:34
9: core::ops::function::FnOnce::call_once<void (*)(),tuple$<> >
at /rustc/1159e78c4747b02ef996e55082b704c09b970588\library\core\src\ops\function.rs:253
10: core::hint::black_box
at /rustc/1159e78c4747b02ef996e55082b704c09b970588\library\core\src\hint.rs:482
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
thread caused non-unwinding panic. aborting.
error: process didn't exit successfully: target\debug\rustdesk.exe (exit code: 0xc0000409, STATUS_STACK_BUFFER_OVERRUN)

what is wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions