Skip to content

Instantly share code, notes, and snippets.

@termie
Last active July 5, 2025 23:32
Show Gist options
  • Save termie/aed8807d14f2141ed5bdf05c0ac5e26b to your computer and use it in GitHub Desktop.
Save termie/aed8807d14f2141ed5bdf05c0ac5e26b to your computer and use it in GitHub Desktop.
mudlet::closeEvent(...) INFO - called!
TMainConsole::closeEvent(...) INFO - received by "avatar_legend".
qt.qpa.wayland.textinput: virtual void QtWaylandClient::QWaylandTextInputv3::disableSurface(wl_surface*) Try to disable surface 0x7bad68454da0 with focusing surface 0x7bad68066e20
qt.qpa.wayland.textinput: virtual void QtWaylandClient::QWaylandTextInputv3::disableSurface(wl_surface*) Try to disable surface 0x7bad68454da0 with focusing surface 0x7bad68066e20
qt.qpa.wayland.textinput: virtual void QtWaylandClient::QWaylandTextInputv3::disableSurface(wl_surface*) Try to disable surface 0x7bad68454da0 with focusing surface 0x7bad68066e20
mudlet::saveWindowLayout() - Already-Saved: false
Host::saveProfile(...) INFO - called with no saveFolder or saveName arguments for profile 'avatar_legend' so assuming it is an end of session save and the TCommandLines' histories need saving...
TMainConsole::closeEvent(...) INFO - received by "avatar_legend".
AddressSanitizer:DEADLYSIGNAL
=================================================================
=================================================================
==116726==ERROR: AddressSanitizer: SEGV on unknown address 0x000000001608 (pc 0x55ad61645e2f bp 0x7ffc5e982f00 sp 0x7ffc5e982ef0 T0)
==116726==The signal is caused by a READ memory access.
#0 0x55ad61645e2f in Host::isClosingDown() const /home/termie/p/mudlet/src/Host.h:219
#1 0x55ad62154707 in TDockWidget::closeEvent(QCloseEvent*) /home/termie/p/mudlet/src/TDockWidget.cpp:43
#2 0x7f2d6e95ae09 in QWidget::event(QEvent*) (/usr/lib/libQt6Widgets.so.6+0x15ae09) (BuildId: f7f0b0fb1a3a089a2d8f3747ddd2913c22f2b916)
#3 0x7f2d6e901c6f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (/usr/lib/libQt6Widgets.so.6+0x101c6f) (BuildId: f7f0b0fb1a3a089a2d8f3747ddd2913c22f2b916)
#4 0x7f2d6f168117 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (/usr/lib/libQt6Core.so.6+0x168117) (BuildId: 87fda2aacc2207cf15c167c45b3dab4a5675c67b)
#5 0x7f2d6e9561cd in QWidgetPrivate::handleClose(QWidgetPrivate::CloseMode) (/usr/lib/libQt6Widgets.so.6+0x1561cd) (BuildId: f7f0b0fb1a3a089a2d8f3747ddd2913c22f2b916)
#6 0x7f2d6e977991 (/usr/lib/libQt6Widgets.so.6+0x177991) (BuildId: f7f0b0fb1a3a089a2d8f3747ddd2913c22f2b916)
#7 0x7f2d6e00db1c in QWindow::event(QEvent*) (/usr/lib/libQt6Gui.so.6+0x20db1c) (BuildId: 969cef56af1e74f4955d90b06725ebac3f1ac1f1)
#8 0x7f2d6e901c6f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (/usr/lib/libQt6Widgets.so.6+0x101c6f) (BuildId: f7f0b0fb1a3a089a2d8f3747ddd2913c22f2b916)
#9 0x7f2d6f168117 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (/usr/lib/libQt6Core.so.6+0x168117) (BuildId: 87fda2aacc2207cf15c167c45b3dab4a5675c67b)
#10 0x7f2d6df9a7d1 in QGuiApplicationPrivate::processCloseEvent(QWindowSystemInterfacePrivate::CloseEvent*) (/usr/lib/libQt6Gui.so.6+0x19a7d1) (BuildId: 969cef56af1e74f4955d90b06725ebac3f1ac1f1)
#11 0x7f2d6e0248f3 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (/usr/lib/libQt6Gui.so.6+0x2248f3) (BuildId: 969cef56af1e74f4955d90b06725ebac3f1ac1f1)
#12 0x7f2d6e013b26 in QWindowSystemInterface::flushWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (/usr/lib/libQt6Gui.so.6+0x213b26) (BuildId: 969cef56af1e74f4955d90b06725ebac3f1ac1f1)
#13 0x7f2d6f1c0e33 in QObject::event(QEvent*) (/usr/lib/libQt6Core.so.6+0x1c0e33) (BuildId: 87fda2aacc2207cf15c167c45b3dab4a5675c67b)
#14 0x7f2d6e901c6f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (/usr/lib/libQt6Widgets.so.6+0x101c6f) (BuildId: f7f0b0fb1a3a089a2d8f3747ddd2913c22f2b916)
#15 0x7f2d6f168117 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (/usr/lib/libQt6Core.so.6+0x168117) (BuildId: 87fda2aacc2207cf15c167c45b3dab4a5675c67b)
#16 0x7f2d6f1684fa in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (/usr/lib/libQt6Core.so.6+0x1684fa) (BuildId: 87fda2aacc2207cf15c167c45b3dab4a5675c67b)
#17 0x7f2d6f43fcf7 (/usr/lib/libQt6Core.so.6+0x43fcf7) (BuildId: 87fda2aacc2207cf15c167c45b3dab4a5675c67b)
#18 0x7f2d6cca987c (/usr/lib/libglib-2.0.so.0+0x5e87c) (BuildId: cbfaf9b4447ee7fe27c3afece9eb755e110212af)
#19 0x7f2d6ccaacd6 (/usr/lib/libglib-2.0.so.0+0x5fcd6) (BuildId: cbfaf9b4447ee7fe27c3afece9eb755e110212af)
#20 0x7f2d6ccaaee4 in g_main_context_iteration (/usr/lib/libglib-2.0.so.0+0x5fee4) (BuildId: cbfaf9b4447ee7fe27c3afece9eb755e110212af)
#21 0x7f2d6f43c5e1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (/usr/lib/libQt6Core.so.6+0x43c5e1) (BuildId: 87fda2aacc2207cf15c167c45b3dab4a5675c67b)
#22 0x7f2d6f1744b5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (/usr/lib/libQt6Core.so.6+0x1744b5) (BuildId: 87fda2aacc2207cf15c167c45b3dab4a5675c67b)
#23 0x7f2d6f16c7c0 in QCoreApplication::exec() (/usr/lib/libQt6Core.so.6+0x16c7c0) (BuildId: 87fda2aacc2207cf15c167c45b3dab4a5675c67b)
#24 0x55ad61e007f8 in main /home/termie/p/mudlet/src/main.cpp:748
#25 0x7f2d6d6376b4 (/usr/lib/libc.so.6+0x276b4) (BuildId: 468e3585c794491a48ea75fceb9e4d6b1464fc35)
#26 0x7f2d6d637768 in __libc_start_main (/usr/lib/libc.so.6+0x27768) (BuildId: 468e3585c794491a48ea75fceb9e4d6b1464fc35)
#27 0x55ad6152cca4 in _start (/home/termie/p/mudlet/build-cmake/src/mudlet+0xaf9ca4) (BuildId: dcd7e5c1e3864558b4cad75cb79725ef4e09950f)
==116726==Register values:
rax = 0x0000000000000000 rbx = 0x00007bdd6852fa20 rcx = 0x00007b4d680ff000 rdx = 0x0000000000001608
rdi = 0x0000000000000000 rsi = 0x0000000000000007 rbp = 0x00007ffc5e982f00 rsp = 0x00007ffc5e982ef0
r8 = 0x00007bdd6852fa20 r9 = 0x00007c9d68098000 r10 = 0x00007ffc5e983100 r11 = 0x00007c9d68098000
r12 = 0x00007ffc5e983100 r13 = 0x00007ffc5e983100 r14 = 0x00007ffc5e983100 r15 = 0x00007b6d687c9b50
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/termie/p/mudlet/src/Host.h:219 in Host::isClosingDown() const
==116726==ABORTING
mudlet::closeEvent(...) INFO - called!
TMainConsole::closeEvent(...) INFO - received by "avatar_legend".
qt.qpa.wayland.textinput: virtual void QtWaylandClient::QWaylandTextInputv3::disableSurface(wl_surface*) Try to disable surface 0x55ee9130bea0 with focusing surface 0x55ee8d28dbe0
qt.qpa.wayland.textinput: virtual void QtWaylandClient::QWaylandTextInputv3::disableSurface(wl_surface*) Try to disable surface 0x55ee9130bea0 with focusing surface 0x55ee8d28dbe0
mudlet::saveWindowLayout() - Already-Saved: false
Host::saveProfile(...) INFO - called with no saveFolder or saveName arguments for profile 'avatar_legend' so assuming it is an end of session save and the TCommandLines' histories need saving...
TMainConsole::closeEvent(...) INFO - received by "avatar_legend".
[1] 118915 segmentation fault (core dumped) ./mudlet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment