#5 Bugreport: Crash with alsa midi connection

0.3.11
pending
nobody
None
2014-01-01
2013-02-07
James Stone
No

I get a reproducible crash when trying to connect my usb keyboard (alsa midi) to linuxsampler (running on qsampler) using the connection dialog in qjackctl.

Here is the backtrace:

(gdb) file /usr/lib/qjackctl/qjackctl.real
Reading symbols from /usr/lib/qjackctl/qjackctl.real...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/lib/qjackctl/qjackctl.real
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe698b700 (LWP 11535)]
Warning: no translation found for 'en_GB' locale: /usr/share/qt4/translations/qt_en_GB.qm
Warning: no translation found for 'en_GB' locale: /usr/share/locale/qjackctl_en_GB.qm
[New Thread 0x7fffdbf0c700 (LWP 11536)]
[New Thread 0x7fffe419b700 (LWP 11537)]
[New Thread 0x7fffe411a700 (LWP 11538)]

Program received signal SIGABRT, Aborted.
0x00007ffff5462425 in __GI_raise (sig=<optimised out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64  ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00007ffff5462425 in __GI_raise (sig=<optimised out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007ffff5465b8b in __GI_abort () at abort.c:91
#2  0x00007ffff5f934c2 in qt_message_output(QtMsgType, char const*) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007ffff5f93838 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007ffff5f939c4 in qFatal(char const*, ...) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00000000004222c1 in ?? ()
#6  0x000000000041cba6 in ?? ()
#7  0x000000000041bb0f in ?? ()
#8  0x00007ffff6b3b7c4 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#9  0x00007ffff6b43998 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#10 0x00007ffff6b440d4 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#11 0x00007ffff60aff5f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#12 0x00007ffff60f9aa7 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#13 0x00007ffff6b3ba8a in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#14 0x00007ffff6b407b1 in QTreeWidgetItem::setData(int, int, QVariant const&)
    () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#15 0x0000000000422989 in ?? ()
#16 0x000000000041badf in ?? ()
---Type <return> to continue, or q <return> to quit---
#17 0x000000000041c9a9 in ?? ()
#18 0x000000000042079f in ?? ()
#19 0x000000000042074e in ?? ()
#20 0x00000000004562ee in ?? ()
#21 0x0000000000455dfa in ?? ()
#22 0x00000000004b7770 in ?? ()
#23 0x00007ffff60aff5f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#24 0x00007ffff6b3e10f in QTreeWidget::currentItemChanged(QTreeWidgetItem*, QTreeWidgetItem*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#25 0x00007ffff60aff5f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#26 0x00007ffff6b1d0aa in QItemSelectionModel::currentChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#27 0x00007ffff6b1d199 in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#28 0x00007ffff6acecaa in QAbstractItemView::mousePressEvent(QMouseEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#29 0x000000000041e0c1 in ?? ()
#30 0x00007ffff660ecf3 in QWidget::event(QEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#31 0x00007ffff69bdb66 in QFrame::event(QEvent*) ()
---Type <return> to continue, or q <return> to quit---
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#32 0x00007ffff6ac959b in QAbstractItemView::viewportEvent(QEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#33 0x00007ffff6b0dd81 in QTreeView::viewportEvent(QEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#34 0x00007ffff609a6d6 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#35 0x00007ffff65bee6c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
    () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#36 0x00007ffff65c3b6b in QApplication::notify(QObject*, QEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#37 0x00007ffff609a56e in QCoreApplication::notifyInternal(QObject*, QEvent*)
    () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#38 0x00007ffff65bfcd3 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#39 0x00007ffff663d554 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#40 0x00007ffff663c44f in QApplication::x11ProcessEvent(_XEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#41 0x00007ffff6663fa2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#42 0x00007ffff41c0ab5 in g_main_context_dispatch ()
from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007ffff41c0de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#44 0x00007ffff41c0ea4 in g_main_context_iteration ()
from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007ffff60c8bf6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#46 0x00007ffff6663c1e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#47 0x00007ffff60992bf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#48 0x00007ffff6099548 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#49 0x00007ffff609e708 in QCoreApplication::exec() ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#50 0x00000000004178b2 in ?? ()
#51 0x00007ffff544d76d in __libc_start_main (main=0x417286, argc=1,
    ubp_av=0x7fffffffe1c8, init=<optimised out>, fini=<optimised out>,
    rtld_fini=<optimised out>, stack_end=0x7fffffffe1b8) at libc-start.c:226
#52 0x0000000000417069 in ?? ()
#53 0x00007fffffffe1b8 in ?? ()
#54 0x000000000000001c in ?? ()
#55 0x0000000000000001 in ?? ()
#56 0x00007fffffffe48f in ?? ()
#57 0x0000000000000000 in ?? ()
(gdb)

Discussion

  • James Stone
    James Stone
    2013-02-07

    Sorry - bad formatting. Here it is as an attachment.

     
    Attachments
  • i'm afraid the backtrace is not that helpful.
    please try reproducing the crash with a debug build:

    ./configure --enable-debug
    
    make
    
    src/qjackctl
    

    cheers

     
  • James Stone
    James Stone
    2013-04-08

    Sorry - for some reason I never got a message to say you had replied to this thread.. In any case, the bug seems to have disappeared with 0.3.10

     
    • status: open --> pending