mixxx Segmentation fault on exit

Bug #513194 reported by zinga
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
Medium
RJ Skerry-Ryan

Bug Description

*Operating system : Debian GNU/Linux squeeze/sid
                               Linux charcoal 2.6.32.5 #2 SMP PREEMPT Mon Jan 25 12:36:07 CET 2010 i686 GNU/Linux

* CPU architecture Genuine Intel(R) CPU T2500 @ 2.00GHz

* video and sound hardware: alsa driver (Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01))

mixxx trunk 2279

Steps to reproduce the problem :

start mixxx. quit mixxx -> Segmentation fault

backtrace :

gdb --eval-command=run mixxx
GNU gdb (GDB) 7.0-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/src/local/MIXXX/BZR_code/trunk/mixxx/mixxx...done.
Starting program: /usr/src/local/MIXXX/BZR_code/trunk/mixxx/mixxx
[Thread debugging using libthread_db enabled]
[New Thread 0xb23fab70 (LWP 20892)]
[New Thread 0xb14a1b70 (LWP 20893)]
[New Thread 0xb063db70 (LWP 20894)]
[New Thread 0xafd4fb70 (LWP 20895)]
[Thread 0xafd4fb70 (LWP 20895) exited]
[New Thread 0xafd4fb70 (LWP 20897)]
[Thread 0xafd4fb70 (LWP 20897) exited]
[New Thread 0xafd4fb70 (LWP 20898)]
[New Thread 0xae450b70 (LWP 20899)]
[New Thread 0xadc09b70 (LWP 20900)]
[New Thread 0xad408b70 (LWP 20901)]
[New Thread 0xacc07b70 (LWP 20902)]
[New Thread 0xac406b70 (LWP 20903)]
[New Thread 0xabc05b70 (LWP 20904)]
[New Thread 0xab404b70 (LWP 20905)]
[New Thread 0xa99aeb70 (LWP 20906)]
[Thread 0xac406b70 (LWP 20903) exited]
[Thread 0xa99aeb70 (LWP 20906) exited]
[Thread 0xb063db70 (LWP 20894) exited]

Program received signal SIGSEGV, Segmentation fault.
0x080ecf04 in EngineShoutcast::shutdown (this=0x0)
    at src/engine/engineshoutcast.h:48
48 m_bQuit = true;
(gdb) thread apply all bt

Thread 14 (Thread 0xab404b70 (LWP 20905)):
#0 0xffffe424 in __kernel_vsyscall ()
#1 0xb650cb47 in poll () from /lib/i686/cmov/libc.so.6
#2 0xb605b04b in g_poll () from /lib/libglib-2.0.so.0
#3 0xb604e20b in ?? () from /lib/libglib-2.0.so.0
#4 0xb604e503 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5 0xb6981041 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6 0xb695483a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7 0xb6954c82 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/libQtCore.so.4
#8 0xb6862309 in QThread::exec() () from /usr/lib/libQtCore.so.4
#9 0x082331fa in MidiScriptEngine::run (this=0x87abff0)
    at src/midi/midiscriptengine.cpp:120
#10 0xb68655e2 in ?? () from /usr/lib/libQtCore.so.4
#11 0xb67d5585 in start_thread () from /lib/i686/cmov/libpthread.so.0
#12 0xb651a2be in clone () from /lib/i686/cmov/libc.so.6

Thread 13 (Thread 0xabc05b70 (LWP 20904)):
#0 0xffffe424 in __kernel_vsyscall ()
#1 0xb67d90a5 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/i686/cmov/libpthread.so.0
#2 0xb68665c2 in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/libQtCore.so.4
#3 0x0810307a in AnalyserQueue::dequeueNextBlocking (this=0x9295650)
    at src/analyserqueue.cpp:40
#4 0x08103214 in AnalyserQueue::run (this=0x9295650)
    at src/analyserqueue.cpp:136
#5 0xb68655e2 in ?? () from /usr/lib/libQtCore.so.4
#6 0xb67d5585 in start_thread () from /lib/i686/cmov/libpthread.so.0
#7 0xb651a2be in clone () from /lib/i686/cmov/libc.so.6

Thread 11 (Thread 0xacc07b70 (LWP 20902)):
#0 0xffffe424 in __kernel_vsyscall ()
#1 0xb67d90a5 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/i686/cmov/libpthread.so.0
#2 0xb68665c2 in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/libQtCore.so.4
#3 0x0819eed6 in SearchThread::run (this=0x924717c)
    at src/library/searchthread.cpp:46
#4 0xb68655e2 in ?? () from /usr/lib/libQtCore.so.4
#5 0xb67d5585 in start_thread () from /lib/i686/cmov/libpthread.so.0
#6 0xb651a2be in clone () from /lib/i686/cmov/libc.so.6

Thread 10 (Thread 0xad408b70 (LWP 20901)):
#0 0xffffe424 in __kernel_vsyscall ()
#1 0xb650cb47 in poll () from /lib/i686/cmov/libc.so.6
#2 0xb605b04b in g_poll () from /lib/libglib-2.0.so.0
#3 0xb604e20b in ?? () from /lib/libglib-2.0.so.0
#4 0xb604e503 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5 0xb6981041 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6 0xb695483a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7 0xb6954c82 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/libQtCore.so.4
#8 0xb6862309 in QThread::exec() () from /usr/lib/libQtCore.so.4
#9 0xb6937c1b in ?? () from /usr/lib/libQtCore.so.4
#10 0xb68655e2 in ?? () from /usr/lib/libQtCore.so.4
#11 0xb67d5585 in start_thread () from /lib/i686/cmov/libpthread.so.0
#12 0xb651a2be in clone () from /lib/i686/cmov/libc.so.6

Thread 9 (Thread 0xadc09b70 (LWP 20900)):
#0 0xffffe424 in __kernel_vsyscall ()
#1 0xb67d90a5 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/i686/cmov/libpthread.so.0
#2 0xb68665c2 in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/libQtCore.so.4
#3 0x0819eed6 in SearchThread::run (this=0x9228d54)
    at src/library/searchthread.cpp:46
#4 0xb68655e2 in ?? () from /usr/lib/libQtCore.so.4
#5 0xb67d5585 in start_thread () from /lib/i686/cmov/libpthread.so.0
#6 0xb651a2be in clone () from /lib/i686/cmov/libc.so.6

Thread 8 (Thread 0xae450b70 (LWP 20899)):
#0 0xffffe424 in __kernel_vsyscall ()
#1 0xb67d90a5 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/i686/cmov/libpthread.so.0
#2 0xb68665c2 in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/libQtCore.so.4
#3 0x0819eed6 in SearchThread::run (this=0x91f5b4c)
    at src/library/searchthread.cpp:46
#4 0xb68655e2 in ?? () from /usr/lib/libQtCore.so.4
#5 0xb67d5585 in start_thread () from /lib/i686/cmov/libpthread.so.0
#6 0xb651a2be in clone () from /lib/i686/cmov/libc.so.6

Thread 7 (Thread 0xafd4fb70 (LWP 20898)):
#0 0xffffe424 in __kernel_vsyscall ()
#1 0xb67d90a5 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/i686/cmov/libpthread.so.0
#2 0xb68665c2 in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/libQtCore.so.4
#3 0xb75bc17a in ?? () from /usr/lib/libQtGui.so.4
#4 0xb68655e2 in ?? () from /usr/lib/libQtCore.so.4
#5 0xb67d5585 in start_thread () from /lib/i686/cmov/libpthread.so.0
#6 0xb651a2be in clone () from /lib/i686/cmov/libc.so.6

Thread 3 (Thread 0xb14a1b70 (LWP 20893)):
#0 0xffffe424 in __kernel_vsyscall ()
#1 0xb67d90a5 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/i686/cmov/libpthread.so.0
#2 0xb68665c2 in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/libQtCore.so.4
#3 0x080ff3e0 in CachingReader::run (this=0x846c3b0)
    at src/cachingreader.cpp:482
#4 0xb68655e2 in ?? () from /usr/lib/libQtCore.so.4
#5 0xb67d5585 in start_thread () from /lib/i686/cmov/libpthread.so.0
#6 0xb651a2be in clone () from /lib/i686/cmov/libc.so.6

Thread 2 (Thread 0xb23fab70 (LWP 20892)):
#0 0xffffe424 in __kernel_vsyscall ()
#1 0xb67d90a5 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/i686/cmov/libpthread.so.0
#2 0xb68665c2 in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/libQtCore.so.4
#3 0x080ff3e0 in CachingReader::run (this=0x8443c40)
    at src/cachingreader.cpp:482
#4 0xb68655e2 in ?? () from /usr/lib/libQtCore.so.4
#5 0xb67d5585 in start_thread () from /lib/i686/cmov/libpthread.so.0
#6 0xb651a2be in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (Thread 0xb5e75710 (LWP 20889)):
#0 0x080ecf04 in EngineShoutcast::shutdown (this=0x0)
    at src/engine/engineshoutcast.h:48
#1 0x080ec1b4 in ~EngineSideChain (this=0x849afd8,
    __in_chrg=<value optimized out>) at src/engine/enginesidechain.cpp:75
#2 0x080e52d9 in ~EngineMaster (this=0x848e2f8,
    __in_chrg=<value optimized out>) at src/engine/enginemaster.cpp:141
#3 0x0812839c in ~MixxxApp (this=0x8431190, __in_chrg=<value optimized out>)
    at src/mixxx.cpp:410
#4 0x08119483 in main (argc=1, argv=0xbffff284) at src/main.cpp:316
(gdb)

Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

Hi zinga,

I tracked down the problem and just pushed a fix to trunk.

Thanks!
RJ

Changed in mixxx:
importance: Undecided → Medium
status: New → Confirmed
status: Confirmed → Fix Committed
assignee: nobody → RJ Ryan (rryan)
milestone: none → 1.8.0
RJ Skerry-Ryan (rryan)
Changed in mixxx:
status: Fix Committed → Fix Released
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/5292

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.