Skip to content

Decrediton 2.1.5 crashes when connecting using remote Daemon post macOS 26.6.1 / 26.6.2 update #4037

Description

@hermanlim

Update: Same behaviour on macOS 26.6.2

Previously working Decrediton 2.1.5 using remote daemon configuration crashes post macOS update to 26.6.1 (released 6/AUG/26) after "Use Remote Daemon" is clicked. SPV mode, if selected continues to work properly. Problem found and replicated on 2 previously working virtualized machines.

nc -vz 192.168.1.103 9109 didn't show any issues so I don't believe it is port related.
dcrd.log was unremarkable.
decrediton.log was also unremarkable.

The complete console log is attached below.

The summary of what happened seems to be:
=== A) macOS Local Network gate blocked the wallet connection (the "connect to remote port" failure) ===

default 09:50:03.881114+1000 kernel SK[0]: flow_entry_alloc fe "0 proc kernel_task(0)Decrediton nx_port 1 flow_uuid E63C9466-E7D4-48B5-A512-884E5BAD088D flags 0x14120<CONNECTED,QOS_MARKING,EXT_PORT,EXT_FLOWID> ipver=4,src=.49852,dst=.9109,proto=0x06 mask=0x0000003f,hash=0x684d2c6a tp_proto=0x06"
default 09:50:03.881139+1000 kernel tcp drop outgoing [:49852<->:9109] interface: en0 (skipped: 0)
so_gencnt: 12303 t_state: SYN_SENT process: Decrediton:8097 t_state: SYN_SENT so_error: 0 reason: NECP
default 09:50:03.881145+1000 kernel tcp connect outgoing: [:49852<->:9109] interface: en0 (skipped: 0)
so_gencnt: 12303 t_state: SYN_SENT process: Decrediton:8097 SYN in/out: 0/0 bytes in/out: 0/0 pkts in/out: 0/0 rtt: 0.0 ms rttvar: 250.0 ms base_rtt: 0 ms error: 65 so_error: 0 svc/tc: 0 flow: 0xbed4f8f8
default 09:50:03.881405+1000 UserEventAgent LocalNetwork: found bundle id com.Electron.Decrediton by PID
default 09:50:03.887195+1000 nehelper UUID cache miss for com.Electron.Decrediton
default 09:50:03.888392+1000 nehelper Caching 1 UUID(s) for com.Electron.Decrediton

(port 9109 = dcrwallet RPC; "reason: NECP" = dropped by the OS network policy, i.e. Local Network privacy permission)

=== B) The app then exited ===

default 09:50:03.889297+1000 Decrediton Entering exit handler.
default 09:50:03.889303+1000 Decrediton Queueing exit procedure onto XPC queue. Any further messages sent will be discarded. activeSendTransactions=0
default 09:50:03.889318+1000 Decrediton [0x7a6d6aa80] invalidated because the current process cancelled the connection by calling xpc_connection_cancel()
default 09:50:03.889441+1000 Decrediton Cancelling XPC connection. Any further reply handler invocations will not retry messages
default 09:50:03.889451+1000 Decrediton [0x7a6ca0dc0] invalidated because the current process cancelled the connection by calling xpc_connection_cancel()
default 09:50:03.891838+1000 WindowServer 0[outside of RPC]: Process death: 0x0-0x5d05d (Decrediton) connectionID: 4B737 pid: 8097 in session 0x101

=== C) Relaunch and GPU helper crash (the Tahoe/Electron crash) ===

default 09:50:13.884315+1000 WindowServer 557b7[CreateApplication]: Process creation: 0x0-0x67067 (Decrediton) connectionID: 557B7 pid: 8161 in session 0x101
default 09:50:14.605403+1000 kernel Decrediton Helpe[8162] triggered unnest of range 0x1ec000000->0x1f0000000 of DYLD shared region in VM map 0x122b430058865985. While not abnormal for debuggers, this increases system memory footprint almost permanently (until the shared region is re-slid).
default 09:50:14.627568+1000 kernel Decrediton Helpe[8165] triggered unnest of range 0x1ec000000->0x1f0000000 of DYLD shared region in VM map 0x130b30b3f23f9e2b. While not abnormal for debuggers, this increases system memory footprint almost permanently (until the shared region is re-slid).

From the attached crash report (thread list + binary images):
Thread 3 (id: 209035, GpuWatchdog):
Thread 13 (id: 209045, VizCompositorThread):
Thread 4-7: libvk_swiftshader.dylib / libGLESv2.dylib (software rendering stack)

Binary Images:
0x102fe8000 - 0x102fe88bf com.Electron.Decrediton.helper.GPU (2.1.5) <4c4c4481-5555-3144-a163-2fd5fb867be3> /Applications/Decrediton.app/Contents/Frameworks/Decrediton Helper (GPU).app/Contents/MacOS/Decrediton Helper (GPU)
0x10b744000 - 0x10b747fff com.github.Electron.framework (26.4.3) <4c4c44ae-5555-3144-a1ab-e5558102d86b> /Applications/Decrediton.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework
0x114efc000 - 0x114efcef7 libGLESv2.dylib <4c4c4400-5555-3144-a1d7-9988e0992d02> /Applications/Decrediton.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libGLESv2.dylib
0x116ef4000 - (truncated) libvk_swiftshader.dylib ...

console.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions