-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
Issue Description
xrpld built from develop on Windows crashes immediately after startup with STATUS_STACK_BUFFER_OVERRUN (0xC0000409). The crash is deterministic and occurs right after [rpc_startup] executes the log_level command.
- Exception code:
0xC0000409(STATUS_STACK_BUFFER_OVERRUN) - Faulting module:
xrpld.exe - Fault offset:
0x00000000016f7ba1(consistent across 8+ crash instances)
This appears to be MSVC /GS security cookie detecting stack corruption. Reproduces when launched from an interactive PowerShell session (not just Task Scheduler/SYSTEM context).
Steps to Reproduce
- Clone and build from
developon Windows (MSVC / CMake, Release) - Create
xrpld.cfgwith typical server ports and testnet configuration:[server] port_rpc_admin_local port_rpc_public_local port_ws_admin_local port_ws_public_local port_peer [port_rpc_admin_local] port = 5005 ip = 127.0.0.1 admin = 127.0.0.1 protocol = http [port_rpc_public_local] port = 5006 ip = 127.0.0.1 protocol = http [ips] s.altnet.rippletest.net 51235 [network_id] testnet [rpc_startup] { "command": "log_level", "severity": "warning" }
- Create
validators.txt:[validator_list_sites] https://vl.altnet.rippletest.net [validator_list_keys] ED264807102805220DA0F312E71FC2C69E1552C9C5790F6C25E3729DEB573D5860
- Run interactively:
& "F:\rippled\bin\xrpld.exe" --conf "F:\rippled\data\xrpld.cfg"
Expected Result
xrpld stays running, continues syncing, and eventually downloads/parses the validator list.
Actual Result
xrpld starts successfully (ports bind, reaches STATE->connected), then crashes immediately. Windows Event Viewer shows:
Faulting application name: xrpld.exe, version: 0.0.0.0, time stamp: 0x697af91a
Faulting module name: xrpld.exe, version: 0.0.0.0, time stamp: 0x697af91a
Exception code: 0xc0000409
Fault offset: 0x00000000016f7ba1
Faulting application path: F:\rippled\bin\xrpld.exe
Report Id: 1f296dbe-4294-4839-bba5-bb084b08c661
Last lines of debug.log before crash:
2026-Jan-29 07:26:16 UTC Server:NFO Opened 'port_rpc_admin_local' (ip=127.0.0.1:5005, admin nets:127.0.0.1/32, http)
2026-Jan-29 07:26:16 UTC Server:NFO Opened 'port_rpc_public_local' (ip=127.0.0.1:5006, http)
2026-Jan-29 07:26:16 UTC Server:NFO Opened 'port_ws_admin_local' (ip=127.0.0.1:6006, admin nets:127.0.0.1/32, ws)
2026-Jan-29 07:26:16 UTC Server:NFO Opened 'port_ws_public_local' (ip=127.0.0.1:6007, ws)
2026-Jan-29 07:26:16 UTC Server:NFO Opened 'port_peer' (ip=0.0.0.0:51235, peer)
2026-Jan-29 07:26:16 UTC Application:FTL Startup RPC:
{
"command" : "log_level",
"severity" : "warning"
}
<-- CRASH: Process terminates here -->
Note: The "0 of 0 validators eligible" / "quorum = UINT64_MAX" warnings in logs are a symptom (process dies before async fetch completes), not the cause.
Environment
| Component | Value |
|---|---|
| Version | 3.2.0-b0 (develop) |
| Git hash | f3627fb5d5c23cf14d9e94a3a45ebb5b2766f9f5 |
| OS | Windows 11 Insider Preview (Build 26300), x86_64 |
| Compiler | MSVC 14.50.35717 (VS2026) |
| Build type | Release |
| Run mode | Testnet (also crashes in standalone mode) |
Supporting Files
Attached to this issue:
xrpld-crash-develop-f3627fb.zip— WER crash dump (260 KB, captured 2026-01-29 02:26:46)debug-log-tail.txt— Last 200 lines of debug.logxrpld-config-excerpt.txt— Full config for reproduction
To capture your own dump:
# Enable LocalDumps (Admin PowerShell)
reg add "HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\xrpld.exe" /v DumpFolder /t REG_EXPAND_SZ /d "C:\dumps" /f
reg add "HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\xrpld.exe" /v DumpType /t REG_DWORD /d 2 /fAsk
Could maintainers please:
- Symbolicate fault offset
0x16f7ba1for commitf3627fb...on Windows Release build - Confirm whether this is a known regression on
developfor Windows - Advise on any stable commit/branch for Windows
Workaround
Using a release/RC build (3.1.x) is expected to avoid this crash. Will test and update this issue.
debug-log-tail.txt
xrpld-config-excerpt.txt
xrpld-crash-develop-f3627fb.zip