SIGABRT when changing sample rate

Bug #1222044 reported by Daniel Schürmann on 2013-09-07

This bug report will be marked for expiration in 48 days if no further activity occurs. (find out why)

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
High
Unassigned

Bug Description

Tested with 1.12.0-alpha-pre (build master r3544) on ubuntu precise 32 bit
Sound Card is Hercules RMX2

Debug [Main]: PlaylistTableModel(0x9083490) select() took 1 ms
Debug [Main]: guess the size of the window decoration
Debug [Main]: SoundManager::setupDevices()
*** glibc detected *** /home/daniel/workspace/mixxx/mixxx: double free or corruption (!prev): 0x09543cd8 ***
[Thread 0xa0d18b40 (LWP 4388) exited]
Program received signal SIGABRT, Aborted.
0xb7fdd424 in __kernel_vsyscall ()
(gdb) bt
#0 0xb7fdd424 in __kernel_vsyscall ()
#1 0xb65301df in raise () from /lib/i386-linux-gnu/libc.so.6
#2 0xb6533825 in abort () from /lib/i386-linux-gnu/libc.so.6
#3 0xb656d39a in ?? () from /lib/i386-linux-gnu/libc.so.6
#4 0xb6577ee2 in ?? () from /lib/i386-linux-gnu/libc.so.6
#5 0xb7fa745f in ?? () from /usr/lib/i386-linux-gnu/libportaudio.so.2
#6 0xb7f95a73 in ?? () from /usr/lib/i386-linux-gnu/libportaudio.so.2
#7 0xb7f98365 in ?? () from /usr/lib/i386-linux-gnu/libportaudio.so.2
#8 0xb7f93f83 in Pa_CloseStream ()
   from /usr/lib/i386-linux-gnu/libportaudio.so.2
#9 0x084919db in SoundDevicePortAudio::close (this=0x89e3048)
    at src/sounddeviceportaudio.cpp:251
#10 0x0845cdfb in SoundManager::closeDevices (this=0x89bbee0)
    at src/soundmanager.cpp:142
#11 0x0845ea14 in SoundManager::setupDevices (this=0x89bbee0)
    at src/soundmanager.cpp:279
#12 0x08461208 in SoundManager::setConfig (this=0x89bbee0, config=...)
    at src/soundmanager.cpp:405
#13 0x080c909b in DlgPrefSound::slotApply (this=0x91a5978)
    at src/dlgprefsound.cpp:149
#14 0x085177d7 in DlgPrefSound::qt_static_metacall (_o=0x91a5978,
---Type <return> to continue, or q <return> to quit---
    _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbfffe358)
    at lin32_build/moc_dlgprefsound.cc:94
#15 0xb7dfb6b1 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#16 0xb7a0797d in QAbstractButton::clicked(bool) ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
#17 0xb76fb62d in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#18 0xb76fcc9b in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#19 0xb76fcf56 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
#20 0xb732a1ac in QWidget::event(QEvent*) ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
#21 0xb76fc1f9 in QAbstractButton::event(QEvent*) ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
#22 0xb779f768 in QPushButton::event(QEvent*) ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
#23 0xb72cfed4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
#24 0xb72d6024 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
#25 0xb7de497e in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/i386-linux-gnu/libQtCore.so.4
#26 0xb72d0e95 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
#27 0xb735d074 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#28 0xb735bc0d in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
#29 0xb7388eac in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#30 0xb6320d86 in g_main_context_dispatch ()
   from /lib/i386-linux-gnu/libglib-2.0.so.0
#31 0xb6321125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#32 0xb6321201 in g_main_context_iteration ()
   from /lib/i386-linux-gnu/libglib-2.0.so.0
#33 0xb7e17887 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#34 0xb7388aaa in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#35 0xb7de350d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#36 0xb7de37a9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/i386-linux-gnu/libQtCore.so.4
#37 0xb7de8eba in QCoreApplication::exec() ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/i386-linux-gnu/libQtCore.so.4

#38 0xb72cda74 in QApplication::exec() ()
   from /usr/lib/i386-linux-gnu/libQtGui.so.4
#39 0x0807aec7 in main (argc=-1211861816, argv=0x87ea010) at src/main.cpp:301

Daniel Schürmann (daschuer) wrote :

The same happens if I set vinylcontrol to "None"

I do not face the crash if one vinylcontrol is not configured.
I face the crash only if BOTH vinylcontrols are configured.

RJ Ryan (rryan) on 2014-03-29
Changed in mixxx:
importance: Undecided → Critical
milestone: none → 1.12.0
RJ Ryan (rryan) wrote :

Can you still reproduce? Could you post a backtrace for all threads?

RJ Ryan (rryan) wrote :

Also, could you compile PortAudio from source so you have debugging symbols?

Daniel Schürmann (daschuer) wrote :

I have currently no access to the test system.
I will lower the priority since no one else has reported that and changing the sample rate is a setup only task.

Changed in mixxx:
importance: Critical → High
milestone: 1.12.0 → 2.1
Be (be.ing) on 2017-11-11
Changed in mixxx:
status: New → Incomplete
milestone: 2.1.0 → none
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers