BPM-detection(?) segfault
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mixxx |
Fix Released
|
Critical
|
Unassigned | ||
1.7 |
Fix Released
|
Critical
|
RJ Skerry-Ryan |
Bug Description
On svn r2690, Ubuntu8.10 I'm seeing the following crash when I load the attached file:
kousu@zilliah:
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
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"...
(gdb) r
Starting program: /home/kousu/
[Thread debugging using libthread_db enabled]
[New Thread 0xb64f16c0 (LWP 13583)]
Debug: [Main]: Setting up plugin paths...
Debug: [Main]: ...done.
Debug: [Main]: Mixxx 1.6.2 "(svn 2690M; built on: Mar 1 2009 @ 19:14:22; flags: hifieq ladspa vinylcontrol midiscript optimize=1) " is starting...
[New Thread 0xb3e87b90 (LWP 13587)]
[New Thread 0xb3167b90 (LWP 13588)]
Debug: [Main]: ControlObject:
[New Thread 0xb2188b90 (LWP 13589)]
Debug: [Main]: SampleRate 44100
Debug: [Main]: Latency 64
[New Thread 0xb1594b90 (LWP 13590)]
[Thread 0xb1594b90 (LWP 13590) exited]
[New Thread 0xb1594b90 (LWP 13591)]
[Thread 0xb1594b90 (LWP 13591) exited]
[New Thread 0xb1594b90 (LWP 13592)]
[Thread 0xb1594b90 (LWP 13592) exited]
[New Thread 0xb1594b90 (LWP 13593)]
[Thread 0xb1594b90 (LWP 13593) exited]
Debug: [Main]: createWaveformV
Debug: [Main]: WaveformViewerF
Debug: [Main]: WaveformViewerF
Debug: [Main]: WaveformRendere
Debug: [Main]: Got bgColor QColor(ARGB 1, 0.0980392, 0.0980392, 0.0980392)
Debug: [Main]: Got signalColor QColor(ARGB 1, 0, 0.803922, 0)
Debug: [Main]: createWaveformV
Debug: [Main]: WaveformViewerF
Debug: [Main]: WaveformViewerF
Debug: [Main]: WaveformRendere
Debug: [Main]: Got bgColor QColor(ARGB 1, 0.0980392, 0.0980392, 0.0980392)
Debug: [Main]: Got signalColor QColor(ARGB 1, 0, 0.803922, 0)
Debug: [Main]: LADSPA: file "res/skins/
Debug: [Main]: LADSPA: file "res/skins/
Debug: [Main]: LADSPA: file "res/skins/
Debug: [Main]: LADSPA: Plugin "Compress" not found (required by preset "Compressor" )
Debug: [Main]: LADSPA: file "res/skins/
Debug: [Main]: LADSPA: Plugin "delay_5s" not found (required by preset "Delay5s" )
Debug: [Main]: LADSPA: file "res/skins/
Debug: [Main]: LADSPA: Plugin "djFlanger" not found (required by preset "DJFlanger" )
Debug: [Main]: LADSPA: file "res/skins/
Debug: [Main]: LADSPA: Plugin "karaoke" not found (required by preset "Karaoke" )
Debug: [Main]: LADSPA: file "res/skins/
Debug: [Main]: LADSPA: file "res/skins/
Debug: [Main]: LADSPA: Plugin "Plate2x2" not found (required by preset "PlateReverb" )
Debug: [Main]: Setting up LADSPA EnableEffect "0"
Debug: [Main]: Key string: "EnableEffect0"
Debug: [Main]: Setting up LADSPA EnableEffect "1"
Debug: [Main]: Key string: "EnableEffect1"
Debug: [Main]: Setting up LADSPA EnableEffect "2"
Debug: [Main]: Key string: "EnableEffect2"
[New Thread 0xb1594b90 (LWP 13596)]
Debug: [Main]: Loading playlists and library tracks from XML...
Debug: [Main]: Track::readXML "/home/
Debug: [Main]: Promo track directory does not exist: "res/promo"
Debug: [Main]: Constructed LibraryScanner!!!
Debug: [Main]: No playlists, returning
Debug: [Main]: FIXME: Need to tell the m_pPlaylistList
Debug: [Main]: Trying to add 1 songs to the library playlist
Debug: [Main]: Adjusting column widths: tracktable width = 640 1% of that is: 6.4 FIXME: this should be done when initalizing the skin.
Debug: [Main]: Shrinking Title/Comment for small screen...
Debug: [Main]: FIXME: repaintEverything switches table model and shouldn't do that when viewing the playlist model in src/wtracktable
[New Thread 0xaffffb90 (LWP 13597)]
Debug: [MidiScriptEngine 1]: MidiScriptEngin
Debug: [MidiScriptEngine 1]: MidiScriptEngin
Debug: [Main]: MidiMapping: Loading MIDI XML from "/home/
Debug: [Main]: Could not open xml file: "/home/
[New Thread 0xaf7feb90 (LWP 13598)]
Debug: [MidiObjectALSASeq 1]: "MidiObjectAlsaSeq: Thread ID=af7feb90"
Debug: [Main]: selectedAPI is: "OSS"
Debug: [Main]: loadSettings: 1 0 "SlowFade"
Debug: [Main]: slotApply crossfader: 1 "SlowFade"
Debug: [Main]: BpmSchemes::readXML "/home/
Debug: [Main]: getting midi device list, size 0 and: ""
Debug: [Main]: LADSPA: file "res/skins/
Debug: [Main]: LADSPA: file "res/skins/
Debug: [Main]: LADSPA: file "res/skins/
Debug: [Main]: LADSPA: Plugin "Compress" not found (required by preset "Compressor" )
Debug: [Main]: LADSPA: file "res/skins/
Debug: [Main]: LADSPA: Plugin "delay_5s" not found (required by preset "Delay5s" )
Debug: [Main]: LADSPA: file "res/skins/
Debug: [Main]: LADSPA: Plugin "djFlanger" not found (required by preset "DJFlanger" )
Debug: [Main]: LADSPA: file "res/skins/
Debug: [Main]: LADSPA: Plugin "karaoke" not found (required by preset "Karaoke" )
Debug: [Main]: LADSPA: file "res/skins/
Debug: [Main]: LADSPA: file "res/skins/
Debug: [Main]: LADSPA: Plugin "Plate2x2" not found (required by preset "PlateReverb" )
Debug: [Main]: Setting up LADSPA EnableEffect "0"
Debug: [Main]: Key string: "EnableEffect0"
Debug: [Main]: Setting up LADSPA EnableEffect "1"
Debug: [Main]: Key string: "EnableEffect1"
Debug: [Main]: Setting up LADSPA EnableEffect "2"
Debug: [Main]: Key string: "EnableEffect2"
Debug: [Main]: SoundManager:
Debug: [Main]: Building timecode lookup tables...
Allocating 2097152 slots (8192Kb) for 20 bit timecode (Serato 2nd Ed., side A)
[New Thread 0xae7fcb90 (LWP 13599)]
Debug: [Main]: Building timecode lookup tables...
Allocating 2097152 slots (8192Kb) for 20 bit timecode (Serato 2nd Ed., side A)
[New Thread 0xad7fab90 (LWP 13600)]
Debug: [Main]: SoundDevicePort
Debug: [Main]: m_dSampleRate 44100
Debug: [Main]: iLatencyMSec: 64
Debug: [Main]: output channels: 2 | input channels: 0
Debug: [Main]: iLatencySamples: 5648
Debug: [Main]: iFramesPerBuffer 4096
Debug: [Main]: iLatencyMSec: 64
Debug: [Main]: Opening stream with id 0
Debug: [Main]: Opened PortAudio stream successfully... starting
Debug: [Main]: Dynamically loaded PortAudio library!
[New Thread 0xacff9b90 (LWP 13601)]
Debug: [Main]: PortAudio: Started stream successfully
Debug: [Main]: iNumDevicesOpen
Debug: [Main]: iNumDevicesOpen
Debug: [Main]: Displaying mixxx
Debug: [Main]: Running Mixxx
Debug: [Main]: SSMP3::ParseHeader - frames read: 15 bitrate 96
Debug: [Main]: SSMP3::ParseHeader - samplerate 22050 channels 2
Debug: [Main]: SSMP3::ParseHeader - CBR bytes per frame 314 Estimated duration 251
Debug: [Main]: Load to player2: "/home/
Debug: [Reader 2]: SSMP3() :: Setting SRATE to 22050 from 0
Debug: [Reader 2]: file length 11104128 i
Debug: [Reader 2]: MAD: Recoverable frame level ERR ( bad main_data_begin pointer )
Debug: [AnalyserQueue 1]: SSMP3() :: Setting SRATE to 22050 from 0
Debug: [AnalyserQueue 1]: AnalyserWaveform: f 22050 samplesPerDowns
Debug: [AnalyserQueue 1]: MAD: Recoverable frame level ERR ( bad main_data_begin pointer )
Debug: [Main]: WGLWaveformViewer() << slotNewTrack()
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb1594b90 (LWP 13596)]
0x0816171f in BpmDetect:
248 RMSVolumeAccu *= avgdecay;
(gdb) bt
#0 0x0816171f in BpmDetect:
#1 0x081618ba in BpmDetect:
#2 0xbc0f19d9 in ?? ()
Cannot access memory at address 0xbbf107b8
(gdb)
Related branches
Changed in mixxx: | |
importance: | Undecided → Critical |
milestone: | none → 1.6.2 |
status: | New → Triaged |
Changed in mixxx: | |
milestone: | 1.7.0-moving → none |
description: | updated |
Changed in mixxx: | |
status: | Triaged → Fix Committed |
Changed in mixxx: | |
status: | Fix Committed → Fix Released |
This one kills it too.