mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-02 19:26:56 -05:00
Build System: Unclear/Undocumented Sciter DLL Dependency Blocks Windows Build #3910
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#3910
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 @rollbor on GitHub (Jan 8, 2026).
Bug Description
The Windows build is broken because the project's dependency on the rust-sciter fork (dny branch) does not pin or specify the compatible version of the native sciter.dll engine. This leads to a version mismatch crash, making the build non-reproducible for contributors. This is a build system/documentation bug, not just an environment issue.
Root Cause Analysis
How to Reproduce
Steps, Expected & Actual Behavio
Expected behavior
The build docs (or CI config) should explicitly specify the exact version and source of sciter.dll compatible with the dny branch.
Actual behavior
Build fails due to native dependency mismatch. Error: trying to construct an enum from an invalid value 0x84
Expected Behavior
Maintainers need to clarify one of the following:
Operating system(s) on local (controlling) side and remote (controlled) side
Windows10
RustDesk Version(s) on local (controlling) side and remote (controlled) side
1.4.4
Screenshots
[2026-01-08T06:33:27Z INFO hbb_common::config] Preload peers done in 64.7µs, batch_count: 100, total: 0
[2026-01-08T06:33:27Z INFO librustdesk::server] server not started: 系统找不到指定的文件。 (os error 2), no_server: false
[2026-01-08T06:33:27Z INFO librustdesk::server] try start server
thread 'main' (12028) panicked at C:\Users\HP.cargo\git\checkouts\rust-sciter-9d95e9099df4ba27\5322f3a\src\capi\scdef.rs:160:14:
trying to construct an enum from an invalid value 0x84
note: run with
RUST_BACKTRACE=1environment variable to display a backtracethread caused non-unwinding panic. aborting.
error: process didn't exit successfully:
target\debug\rustdesk.exe(exit code: 0xc0000409, STATUS_STACK_BUFFER_OVERRUN)https://github.com/rollbor/files/blob/main/BUG1.png?raw=true
Additional Context
Environment
OS: Windows 10
Cargo: cargo 1.92.0 (344c4567c 2025-10-21)
Clang/LLVM: 15.0.2
g++: 8.1.0
vcpkg: 2025-12-16-44bb3ce006467fc13ba37ca099f64077b8bbf84d
sciter.dll Attempted: 4.4.8.23 (from official Sciter SDK)
@rustdesk commented on GitHub (Jan 8, 2026):
#763