On 2025-01-07 14:41, Ted Felix wrote:
On 1/1/25 11:52 AM, Jeronimo Pellegrini wrote:
7. Close the "Manage MIDI Devices" window
Then Rosegarden crashes.
Upstream here...
We made extensive changes to the "Manage MIDI Devices" window this
cycle.
https://sourceforge.net/p/rosegarden/bugs/1692/
However, we're not currently seeing a crash like this.
Would you be able to do a debug build and run gdb to help us track this
down? Historically a crash like this tends to be due to another
library that is being pulled in. A backtrace from gdb would help to
determine if this is the case.
OK, I installed the Debian package with debug symbols and got the
following backtrace (this segfault does not happen with the development
snapshot compiled from git, and also doesn't happen if I install
Rosegarden from the release tarball instead of the Debian package).
J.
#0 0x00007ffff60acfe4 in
std::_Rb_tree_increment(std::_Rb_tree_node_base const*) () at
/lib/x86_64-linux-gnu/libstdc++.so.6
#1 0x0000555555a2d554 in
std::_Rb_tree_const_iterator<Rosegarden::Device*>::operator++
(this=<synthetic pointer>) at /usr/include/c++/14/bits/stl_tree.h:362
#2 Rosegarden::DeviceManagerDialog::slotCloseButtonPress
(this=0x555556f7f020) at ./src/gui/studio/DeviceManagerDialog.cpp:150
#3 0x00007ffff6a1caef in ??? () at
/lib/x86_64-linux-gnu/libQt6Core.so.6
#4 0x00007ffff7ab7da6 in QAbstractButton::clicked(bool) () at
/lib/x86_64-linux-gnu/libQt6Widgets.so.6
#5 0x00007ffff7aaf73e in ??? () at
/lib/x86_64-linux-gnu/libQt6Widgets.so.6
#6 0x00007ffff7aafa1d in ??? () at
/lib/x86_64-linux-gnu/libQt6Widgets.so.6
#7 0x00007ffff7abbf59 in
QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at
/lib/x86_64-linux-gnu/libQt6Widgets.so.6
#8 0x00007ffff79f4e93 in QWidget::event(QEvent*) () at
/lib/x86_64-linux-gnu/libQt6Widgets.so.6
#9 0x00007ffff79a80a2 in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () at /lib/x86_64-linux-gnu/libQt6Widgets.so.6
#10 0x00007ffff79acc10 in QApplication::notify(QObject*, QEvent*) () at
/lib/x86_64-linux-gnu/libQt6Widgets.so.6
#11 0x00005555559601f1 in Rosegarden::RosegardenApplication::notify
(this=<optimized out>, receiver=<optimized out>, event=<optimized out>)
at ./src/gui/application/RosegardenApplication.cpp:63
#12 0x00007ffff69ce928 in QCoreApplication::notifyInternal2(QObject*,
QEvent*) () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#13 0x00007ffff79a14be in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool,
bool) ()
at /lib/x86_64-linux-gnu/libQt6Widgets.so.6
#14 0x00007ffff7a08488 in ??? () at
/lib/x86_64-linux-gnu/libQt6Widgets.so.6
#15 0x00007ffff7a0b838 in ??? () at
/lib/x86_64-linux-gnu/libQt6Widgets.so.6
#16 0x00007ffff79a80a2 in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () at /lib/x86_64-linux-gnu/libQt6Widgets.so.6
#17 0x00005555559601f1 in Rosegarden::RosegardenApplication::notify
(this=<optimized out>, receiver=<optimized out>, event=<optimized out>)
at ./src/gui/application/RosegardenApplication.cpp:63
#18 0x00007ffff69ce928 in QCoreApplication::notifyInternal2(QObject*,
QEvent*) () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#19 0x00007ffff71f735b in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
() at /lib/x86_64-linux-gnu/libQt6Gui.so.6
#20 0x00007ffff7250a1c in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() at /lib/x86_64-linux-gnu/libQt6Gui.so.6
#21 0x00007ffff0b3b72e in ??? () at
/lib/x86_64-linux-gnu/libQt6XcbQpa.so.6
#22 0x00007ffff5a3781f in ??? () at
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007ffff5a39a57 in ??? () at
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007ffff5a3a1c0 in g_main_context_iteration () at
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007ffff6bd3473 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() at /lib/x86_64-linux-gnu/libQt6Core.so.6
#26 0x00007ffff69d9adb in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/lib/x86_64-linux-gnu/libQt6Core.so.6
#27 0x00007ffff69d1908 in QCoreApplication::exec() () at
/lib/x86_64-linux-gnu/libQt6Core.so.6
#28 0x00005555556cee89 in main (argc=<optimized out>, argv=<optimized
out>) at ./src/gui/application/main.cpp:823