On 01/10/2012 10:31 AM, rncbc wrote:
a debug version (./configure --enable-debug) should dump an automatic
stacktrace on segfault (via gdb)...

This gives me a "ptrace: Operation not permitted." But running the program in gdb I get the attached backtrace. (Running r2665, latest from trunk there.)

does this crash-on-record happen with prior builds, before your patching
suggestions ?

Yes, it's already in the 0.5.3 release. The stock Ubuntu 11.04 version of qtractor (0.4.8) works fine, though.

I also get segfaults when closing the GUI of LV2 plugins (e.g., calf organ). I don't get these with 0.4.8 either, and they work fine with Ardour3 as well. But maybe I should start filing proper bug reports now. :)

Albert

--
Dr. Albert Gr"af
Dept. of Music-Informatics, University of Mainz, Germany
Email:  [email protected], [email protected]
WWW:    http://www.musikinformatik.uni-mainz.de/ag

#0  0x0000000000000000 in ?? ()
#1  0x00000000004454ea in qtractorAudioBus::latency_in (this=0x1031e70)
    at qtractorAudioEngine.cpp:2422
#2  0x000000000045f031 in qtractorClipCommand::addClipRecord (this=0x11c0990, 
    pTrack=0x1194650, iFrameTime=101376) at qtractorClipCommand.cpp:282
#3  0x00000000005ada8b in qtractorMainForm::setRecording (this=0x7fffffffd6c0, 
    bRecording=false) at qtractorMainForm.cpp:4933
#4  0x00000000005ad792 in qtractorMainForm::setPlaying (this=0x7fffffffd6c0, 
    bPlaying=false) at qtractorMainForm.cpp:4878
#5  0x00000000005aca33 in qtractorMainForm::transportStop (this=0x7fffffffd6c0)
    at qtractorMainForm.cpp:4571
#6  0x00000000006609b5 in qtractorMainForm::qt_metacall (this=0x7fffffffd6c0, 
    _c=QMetaObject::InvokeMetaMethod, _id=124, _a=0x7fffffffc0e0)
    at .moc/moc_qtractorMainForm.cpp:484
#7  0x00007ffff173f5f8 in QMetaObject::activate(QObject*, QMetaObject const*, 
int, void**) () from /usr/lib/libQtCore.so.4
#8  0x00007ffff1c12122 in QAction::triggered(bool) ()
   from /usr/lib/libQtGui.so.4
#9  0x00007ffff1c1230f in QAction::activate(QAction::ActionEvent) ()
   from /usr/lib/libQtGui.so.4
#10 0x00007ffff1fdb46a in ?? () from /usr/lib/libQtGui.so.4
#11 0x00007ffff1fdb71c in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
   from /usr/lib/libQtGui.so.4
#12 0x00007ffff20979ba in QToolButton::mouseReleaseEvent(QMouseEvent*) ()
   from /usr/lib/libQtGui.so.4
#13 0x00007ffff1c69cc8 in QWidget::event(QEvent*) ()
   from /usr/lib/libQtGui.so.4
#14 0x00007ffff1c189f4 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
    () from /usr/lib/libQtGui.so.4
#15 0x00007ffff1c1ddc3 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libQtGui.so.4
#16 0x00007ffff172a49c in QCoreApplication::notifyInternal(QObject*, QEvent*)
    () from /usr/lib/libQtCore.so.4
#17 0x00007ffff1c19a1d in QApplicationPrivate::sendMouseEvent(QWidget*, 
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /usr/lib/libQtGui.so.4
#18 0x00007ffff1c9b190 in ?? () from /usr/lib/libQtGui.so.4
#19 0x00007ffff1c99ab7 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/libQtGui.so.4
#20 0x00007ffff1cc2842 in ?? () from /usr/lib/libQtGui.so.4
#21 0x00007ffff2986bcd in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007ffff29873a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007ffff2987639 in g_main_context_iteration ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007ffff17553ef in 
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () 
from /usr/lib/libQtCore.so.4
#25 0x00007ffff1cc24de in ?? () from /usr/lib/libQtGui.so.4
#26 0x00007ffff1729882 in 
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from 
/usr/lib/libQtCore.so.4
#27 0x00007ffff1729abc in 
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from 
/usr/lib/libQtCore.so.4
#28 0x00007ffff172decb in QCoreApplication::exec() ()
   from /usr/lib/libQtCore.so.4
#29 0x0000000000431620 in main (argc=1, argv=0x7fffffffe178)
    at qtractor.cpp:411

_______________________________________________
Linux-audio-dev mailing list
[email protected]
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Reply via email to