GUI segfaults while idle shortly after the core restarts
Author: nboltonCreated Sep 24, 2026Updated Sep 25, 2026
Before reporting a bug, please complete the sanity checks above.
- I have done the sanity checks, and my issue persists.
Deskflow version info
Deskflow: 1.26.0.469 (28a83d9a) Qt: 6.11.2 System: Arch Linux Session: KDE (wayland)
Build types
- Local developer build (built it myself)
Debug build from master.
Deskflow configuration
- Wayland server, Wayland client
What steps will reproduce the problem?
No reliable steps. What the log shows leading up to it:
- The client can't connect because the server already has a client with the same name, so the core goes into a retry loop
- A few minutes later the core stops and restarts
- The new core connects fine and the machines work normally
- About 12 seconds after that the GUI segfaults
Log output
Show log
[2026-09-24T21:27:46.747] ERROR: server already has a connected client with name "riker"
[2026-09-24T21:27:46.747] DEBUG: retry in 1 seconds
[2026-09-24T21:27:47.662] DEBUG: core ipc server got new connection
[2026-09-24T21:31:01.541] DEBUG: core ipc server got stop message
[2026-09-24T21:31:01.647] DEBUG: core exited, code: 0
[2026-09-24T21:31:01.768] INFO: using ei screen for wayland
[2026-09-24T21:31:02.831] INFO: entering screen
[2026-09-24T21:31:05.072] INFO: entering screen
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x0000000000000000 in ?? ()
#1 deskflow::gui::ipc::IpcClient::handleReadyRead (this=0x555556206830)
at src/lib/gui/ipc/IpcClient.cpp:161
#7 QMetaObject::activate (libQt6Core.so.6)
#9 QAbstractSocketPrivate::canReadNotification() (libQt6Network.so.6)
#12 QCoreApplication::notifyInternal2 (libQt6Core.so.6)
#17 QEventDispatcherGlib::processEvents (libQt6Core.so.6)
#19 QCoreApplication::exec() (libQt6Core.so.6)
#20 main (argc=1) at src/apps/deskflow-gui/deskflow-gui.cpp:156
(gdb) p *(void**)this
$1 = (void *) 0x5555561fed10
(gdb) p this->m_typeName
$2 = "core"
(gdb) p this->m_state
$3 = deskflow::gui::ipc::IpcClient::State::Unconnected
(gdb) p message
$4 = "retryIn=1"
(gdb) x/2a 0x555556206820
0x555556206820: 0x0 0x81
(gdb) x/2a 0x555556206830
0x555556206830: 0x5555561fed10 0x55555763e1e0
(gdb) x/4a 0x5555561fed10
0x5555561fed10: 0x0 0x81 0x5555576fc710 0x555556206820Additional information
First time I've seen this one. Restarting the GUI got it going again.
Source: deskflow/deskflow