Mixxx 1.6.0beta2 Segfaults while "Scratching"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mixxx |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Using Mixxx on Linux (fc7) with no DRI.
When "scratching" through any track using my new MIDI jog wheel, Mixxx will occasionally segfault. The backtraces always seem to lead to the same place. Here is a sample:
[alex@rockit2 ~]$ gdb mixxx
GNU gdb Red Hat Linux (6.6-16.fc7rh)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-
Using host libthread_db library "/lib/libthread
(gdb) run
Starting program: /usr/local/
[Thread debugging using libthread_db enabled]
[New Thread -1209030960 (LWP 4806)]
Debug: Starting up...
[New Thread -1215960176 (LWP 4809)]
[New Thread -1231176816 (LWP 4810)]
[New Thread -1250686064 (LWP 4811)]
Debug: SoundManager:
Debug: SampleRate 44100
Debug: Latency 36
Debug: SoundManager:
Debug: SoundManager:
Debug: SoundManager:
[New Thread -1264178288 (LWP 4812)]
[Detaching after fork from child process 4813. (Try `set detach-on-fork off'.)]
Debug: type signal
Debug: type marks
Debug: type signal
Debug: type marks
[New Thread -1274668144 (LWP 4814)]
[New Thread -1285158000 (LWP 4815)]
Debug: Loading playlists and library tracks from XML...
Debug: Track::readXML "/home/
Debug: Break
Debug: Constructed LibraryScanner!!!
Debug: No playlists, returning
Debug: FIXME: Need to tell the m_pPlaylistList
Debug: Trying to add 119 songs to the library playlist
Debug: Adjusting column widths: tracktable width = 582 1% of that is: 5.82 FIXME: this should be done when initalizing the skin.
Debug: Shrinking Title/Comment for small screen...
Debug: selectedAPI is: "ALSA"
Debug: SoundManager:
Debug: SoundManager:
Debug: SoundManager:
[New Thread -1298138224 (LWP 4816)]
Debug: PowerMate: write(): Bad file descriptor
Debug: PowerMate: write(): Bad file descriptor
Debug: m_pHercules init: 0xb5e6b880
[New Thread -1308628080 (LWP 4817)]
Debug: Midi OK (Workaround not required)
Debug: setupMappings( "/usr/local/
[Thread -1308628080 (LWP 4817) exited]
Debug: Found option "invert"
Debug: Option: 1
Debug: Found option "diff"
Debug: Option: 5
Debug: Setting "jog" sensitivity to 10
Debug: Found option "diff"
Debug: Option: 5
Debug: Setting "jog" sensitivity to 10
Debug: Found option "diff"
Debug: Option: 5
Debug: loadSettings: 1 0 "SlowFade"
Debug: slotApply crossfader: 1 "SlowFade"
Debug: BpmSchemes::readXML "/home/
Debug: SoundManager:
Debug: Xwax Vinyl control starting with a sample rate of: 44100
Debug: Building timecode lookup tables...
Allocating 2097152 slots (8192Kb) for 20 bit timecode (Serato 2nd Ed., side A)
[New Thread -1308628080 (LWP 4818)]
Debug: Created new VinylControlXwax!
Debug: Xwax Vinyl control starting with a sample rate of: 44100
Debug: Building timecode lookup tables...
[New Thread -1327510640 (LWP 4819)]
Debug: Created new VinylControlXwax!
Debug: SoundDevicePort
Debug: m_dSampleRate 44100
Debug: iLatencyMSec: 36
Debug: output channels: 2 | input channels: 0
Debug: iLatencySamples: 3176
Debug: iLatencyMSec: 36
Debug: Opening stream with id 1
Debug: Opened PortAudio stream successfully... starting
[New Thread -1338000496 (LWP 4820)]
Debug: PortAudio: Started stream successfully
Debug: iNumDevicesOpen
Debug: iNumDevicesOpen
Debug: file length 33437952
Debug: WaveSummary generation successful for "Glare-
Debug: ramp in
Debug: BPM detection successful for "Glare-
Debug: ramp in
Debug: ramp in
Debug: ramp in
Debug: ramp in
Debug: ramp in
Debug: ramp in
Debug: ramp in
Debug: ramp in
Debug: ramp in
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1338000496 (LWP 4820)]
0x0815f25c in RateTransposerF
at lib/soundtouch/
590 dest[2 * i] = (SAMPLETYPE)((1.0f - fSlopeCount) * sPrevSampleL + fSlopeCount * src[0]);
(gdb) thread apply all bt
Thread 12 (Thread -1338000496 (LWP 4820)):
#0 0x0815f25c in RateTransposerF
at lib/soundtouch/
#1 0x081602d2 in soundtouch:
at lib/soundtouch/
#2 0x0815f730 in soundtouch:
at lib/soundtouch/
#3 0x0815f8d9 in soundtouch:
at lib/soundtouch/
#4 0x0815f915 in soundtouch:
at lib/soundtouch/
#5 0x0815cc52 in soundtouch:
at lib/soundtouch/
#6 0x0815b8c8 in EngineBufferSca
iBaseLength
#7 0x080b5142 in EngineBuffer:
#8 0x080e0ed0 in EngineMaster:
#9 0x0814b078 in SoundManager:
at src/soundmanage
#10 0x0815054c in SoundDevicePort
devIndex=1) at src/sounddevice
#11 0x081506c2 in paV19Callback (inputBuffer=0x0, outputBuffer=
statusFlags=0, _callbackStuff=
#12 0x0032ae8c in AdaptingOutputO
framesToPro
#13 0x0032bb59 in PaUtil_
#14 0x0033359d in CallbackThreadFunc (userData=
#15 0x0079e44b in start_thread () from /lib/libpthread
#16 0x006cc80e in clone () from /lib/libc.so.6
Thread 11 (Thread -1327510640 (LWP 4819)):
#0 0x00110402 in __kernel_vsyscall ()
#1 0x007a2206 in pthread_
#2 0x001e41f8 in QWaitCondition:
#3 0x08172258 in VinylControlXwa
#4 0x001e3917 in ?? () from /usr/lib/
#5 0x0079e44b in start_thread () from /lib/libpthread
---Type <return> to continue, or q <return> to quit---
#6 0x006cc80e in clone () from /lib/libc.so.6
Thread 10 (Thread -1308628080 (LWP 4818)):
#0 0x00110402 in __kernel_vsyscall ()
#1 0x007a2206 in pthread_
#2 0x001e41f8 in QWaitCondition:
#3 0x08172258 in VinylControlXwa
#4 0x001e3917 in ?? () from /usr/lib/
#5 0x0079e44b in start_thread () from /lib/libpthread
#6 0x006cc80e in clone () from /lib/libc.so.6
Thread 8 (Thread -1298138224 (LWP 4816)):
#0 0x00110402 in __kernel_vsyscall ()
#1 0x006c2a43 in poll () from /lib/libc.so.6
#2 0x08159422 in MidiObjectALSAS
#3 0x001e3917 in ?? () from /usr/lib/
#4 0x0079e44b in start_thread () from /lib/libpthread
#5 0x006cc80e in clone () from /lib/libc.so.6
Thread 7 (Thread -1285158000 (LWP 4815)):
#0 0x00110402 in __kernel_vsyscall ()
#1 0x007a2206 in pthread_
#2 0x001e41f8 in QWaitCondition:
#3 0x08124085 in BpmDetector::run (this=0xa0ffe60) at src/bpmdetector
#4 0x001e3917 in ?? () from /usr/lib/
#5 0x0079e44b in start_thread () from /lib/libpthread
#6 0x006cc80e in clone () from /lib/libc.so.6
Thread 6 (Thread -1274668144 (LWP 4814)):
#0 0x00110402 in __kernel_vsyscall ()
#1 0x007a2206 in pthread_
#2 0x001e41f8 in QWaitCondition:
#3 0x08123074 in WaveSummary::run (this=0xa0fd5e0) at src/wavesummary
#4 0x001e3917 in ?? () from /usr/lib/
#5 0x0079e44b in start_thread () from /lib/libpthread
#6 0x006cc80e in clone () from /lib/libc.so.6
Thread 5 (Thread -1264178288 (LWP 4812)):
---Type <return> to continue, or q <return> to quit---
#0 0x00110402 in __kernel_vsyscall ()
#1 0x006c5561 in select () from /lib/libc.so.6
#2 0x0026f69f in ?? () from /usr/lib/
#3 0x001e3917 in ?? () from /usr/lib/
#4 0x0079e44b in start_thread () from /lib/libpthread
#5 0x006cc80e in clone () from /lib/libc.so.6
Thread 4 (Thread -1250686064 (LWP 4811)):
#0 0x00110402 in __kernel_vsyscall ()
#1 0x007a2206 in pthread_
#2 0x001e41f8 in QWaitCondition:
#3 0x081527fc in EngineSideChain
#4 0x001e3917 in ?? () from /usr/lib/
#5 0x0079e44b in start_thread () from /lib/libpthread
#6 0x006cc80e in clone () from /lib/libc.so.6
Thread 3 (Thread -1231176816 (LWP 4810)):
#0 0x00110402 in __kernel_vsyscall ()
#1 0x007a2206 in pthread_
#2 0x001e41f8 in QWaitCondition:
#3 0x080f6211 in Reader::run (this=0xa046218) at src/reader.cpp:256
#4 0x001e3917 in ?? () from /usr/lib/
#5 0x0079e44b in start_thread () from /lib/libpthread
#6 0x006cc80e in clone () from /lib/libc.so.6
Thread 2 (Thread -1215960176 (LWP 4809)):
#0 0x00110402 in __kernel_vsyscall ()
#1 0x007a2206 in pthread_
#2 0x001e41f8 in QWaitCondition:
#3 0x080f6211 in Reader::run (this=0xa032550) at src/reader.cpp:256
#4 0x001e3917 in ?? () from /usr/lib/
#5 0x0079e44b in start_thread () from /lib/libpthread
#6 0x006cc80e in clone () from /lib/libc.so.6
Thread 1 (Thread -1209030960 (LWP 4806)):
#0 0x00110402 in __kernel_vsyscall ()
#1 0x006c2a43 in poll () from /lib/libc.so.6
#2 0x00372803 in ?? () from /lib/libglib-
---Type <return> to continue, or q <return> to quit---
#3 0x00372d35 in g_main_
#4 0x002a8ca8 in QEventDispatche
#5 0x03065c95 in ?? () from /usr/lib/
#6 0x00286cc1 in QEventLoop:
#7 0x00286dcc in QEventLoop::exec () from /usr/lib/
#8 0x0028917a in QCoreApplicatio
#9 0x02febd77 in QApplication::exec () from /usr/lib/
#10 0x080c3b1e in main (argc=1, argv=0xbfbad444) at src/main.cpp:219
0x0815f25c 590 dest[2 * i] = (SAMPLETYPE)((1.0f - fSlopeCount) * sPrevSampleL + fSlopeCount * src[0]);
(gdb)
Changed in mixxx: | |
importance: | Undecided → Medium |
status: | New → Fix Committed |
Changed in mixxx: | |
status: | Fix Committed → Fix Released |
Just out of curiosity, what is the jog wheel control set to in your MIDI mapping? (This probably has nothing to do with the problem...)