crash (SIGSEGV) when an audio source goes away while dragging it
When I use the GNOME Control Center to test audio output, then quickly drag and hold the gnome-control-center:output_FL source in qpwgraph, I get a crash when the audio source stops playing sound.
The backtrace is included below and full backtrace is soon to be attached.
The core dump will be available for the next two weeks and will be automatically removed from my system after that.
I am using qpwgraph 0.2.4-1, pipewire 0.3.49-1, wireplumber 0.4.9-1, glib 2.72.0-1 and GNOME 41 from Debian bookworm.
If the backtrace in this bug report isn't useful, please close the bug.
(gdb) bt
#0 0x00005632f66bbde7 in qpwgraph_canvas::canRenameItem() const (this=this@entry=0x5632f73fd1f0) at ./src/qpwgraph_canvas.cpp:278
#1 0x00005632f66d4bb5 in qpwgraph_form::stabilize() (this=0x7fff1465e6c0) at ./src/qpwgraph_form.cpp:1013
#2 0x00005632f66d4ee6 in qpwgraph_form::refresh() (this=0x7fff1465e6c0) at ./src/qpwgraph_form.cpp:977
#3 0x00007f8d44fbd1e8 in doActivate<false>(QObject*, int, void**) (sender=0x5632f798f220, signal_index=3, argv=0x7fff1465e210) at kernel/qobject.cpp:3898
#4 0x00007f8d44fb667f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x5632f798f220, m=m@entry=0x7f8d45220320 <QSingleShotTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#5 0x00007f8d44fc112b in QSingleShotTimer::timeout() (this=0x5632f798f220) at .moc/qtimer.moc:130
#6 QSingleShotTimer::timerEvent(QTimerEvent*) (this=0x5632f798f220) at kernel/qtimer.cpp:323
#7 0x00007f8d44fb307f in QObject::event(QEvent*) (this=0x5632f798f220, e=0x7fff1465e3d0) at kernel/qobject.cpp:1336
#8 0x00007f8d45e3271f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x5632f798f220, e=0x7fff1465e3d0) at kernel/qapplication.cpp:3632
#9 0x00007f8d44f86b4a in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5632f798f220, event=0x7fff1465e3d0) at kernel/qcoreapplication.cpp:1063
#10 0x00007f8d44fdd52b in QTimerInfoList::activateTimers() (this=0x5632f7468d30) at kernel/qtimerinfo_unix.cpp:643
#11 0x00007f8d44fdddc4 in timerSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183
#12 0x00007f8d43dd6f8b in g_main_dispatch (context=0x5632f7303c10) at ../../../glib/gmain.c:3417
#13 g_main_context_dispatch (context=0x5632f7303c10) at ../../../glib/gmain.c:4135
#14 0x00007f8d43dd7238 in g_main_context_iterate (context=context@entry=0x5632f7303c10, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4211
#15 0x00007f8d43dd72ef in g_main_context_iteration (context=0x5632f7303c10, may_block=1) at ../../../glib/gmain.c:4276
#16 0x00007f8d44fde184 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5632f72dd8e0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#17 0x00007f8d44f8555b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fff1465e610, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#18 0x00007f8d44f8d830 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#19 0x00007f8d45358cbc in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1867
#20 0x00007f8d45e32695 in QApplication::exec() () at kernel/qapplication.cpp:2824
#21 0x00005632f66b37a5 in main(int, char**) (argc=<optimized out>, argv=0x7fff1465ea68) at ./src/qpwgraph.cpp:263