Mixxx crashes with seg fault on startup

Bug #1158877 reported by Len Ovens
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Nouveau Xorg driver
New
Undecided
Unassigned
mixxx (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

The auto "sent bug information" application failed to send this in. It seemed to have so much info to send that it timed out. So I am doing it manually.

Terminal output:
$ mixxx
Debug [Main]: Mixxx 1.10.1 "(built on: Jun 29 2012 @ 09:41:07; flags: hifieq mad midiscript optimize qdebug shoutcast verbose vinylcontrol)" is starting...
Debug [Main]: Qt version is: 4.8.4
Debug [Main]: Configuration file is at the current version 1.10.1
Debug [Main]: Loading translations for locale "en_CA" from translations folder "/usr/share/mixxx/translations/" : fail
Debug [Main]: Found folder 'Mixxx' within default OS music directory
Debug [Main]: Could not create folder 'Recordings' within 'Mixxx'
Debug [Main]: ControlObject::getControl returning NULL for ( "[Channel1]" , "vinylcontrol_mode" )
Debug [Main]: ControlObject::getControl returning NULL for ( "[Channel2]" , "vinylcontrol_mode" )
Debug [Main]: JACK client name set
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.ENS1370.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM surround41
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.ENS1370.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM surround50
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.ENS1370.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM surround51
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.ENS1370.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM iec958
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.ENS1370.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM spdif
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.ENS1370.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM spdif
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
Debug [Main]: Available QtSQL drivers: ("QSQLITE", "QMYSQL3", "QMYSQL")
Debug [Main]: src/library/trackcollection.cpp DB status: true
Debug [Main]: SchemaManager::upgradeToSchemaVersion already at version 13
Debug [Main]: TrackDAO::initialize QThread(0x9c2a210, name = "Main") "qt_sql_default_connection"
Debug [Main]: CrateDAO::initialize()
Debug [Main]: CueDAO::initialize QThread(0x9c2a210, name = "Main") "qt_sql_default_connection"
Debug [Main]: Promo dir: "/usr/share/mixxx//promo/1.8.0/index.html"
Debug [Main]: Traktor Library Location=[ "/home/joe/collection.nml" ]
Debug [Main]: ControlObject::getControl returning NULL for ( "[Flanger]" , "lfoDepth" )
Debug [Main]: ControlObject::getControl returning NULL for ( "[Flanger]" , "lfoDelay" )
Debug [Main]: ControlObject::getControl returning NULL for ( "[Flanger]" , "lfoPeriod" )
Debug [Main]: CachingReader using 4980736 bytes.
Debug [Main]: CachingReader using 4980736 bytes.
Debug [Main]: CachingReader using 4980736 bytes.
Debug [Main]: CachingReader using 4980736 bytes.
Debug [Main]: CachingReader using 4980736 bytes.
Debug [Main]: CachingReader using 4980736 bytes.
Debug [Main]: Constructed LibraryScanner
Debug [Main]: iTunes Album Art path is: ""
Debug [Main]: MidiDeviceManager::getDeviceList
Debug [Main]: Scanning PortMIDI devices:
Debug [Main]: Found output device # 0 Midi Through Port-0
Debug [Main]: Found output device # 2 ES1370
Debug [Main]: Found output device # 4 qjackctl
Debug [Main]: Found input device # 1 Midi Through Port-0
Debug [Main]: Linking to output device # 0 "Midi Through Port-0"
Debug [Main]: Starting script engine with output device ""
Debug [MidiScriptEngine 1]: MIDI Device in script engine is: ""
Debug [Main]: Found input device # 3 ES1370
Debug [Main]: Linking to output device # 2 "ES1370"
Debug [Main]: Starting script engine with output device ""
Debug [MidiScriptEngine 2]: MIDI Device in script engine is: ""
Debug [Main]: MidiDeviceManager: Setting up devices
Debug [Main]: PortMIDI device "1. Midi Through Port-0" already closed
Debug [Main]: MidiMapping: Loading MIDI preset from "/home/joe/.mixxx/midi/Midi_Through_Port-0.midi.xml"
Debug [Main]: Could not open xml file: "/home/joe/.mixxx/midi/Midi_Through_Port-0.midi.xml"
Debug [Main]: PortMIDI device "3. ES1370" already closed
Debug [Main]: MidiMapping: Loading MIDI preset from "/home/joe/.mixxx/midi/ES1370.midi.xml"
Debug [Main]: Could not open xml file: "/home/joe/.mixxx/midi/ES1370.midi.xml"
Debug [Main]: Promo dir: "/usr/share/mixxx//promo/1.8.0/index.html"
Debug [Main]: loadSettings: 1 0 ""
Debug [Main]: slotApply crossfader: 1 ""
Debug [Main]: BPM Scheme File ConfigKey not set or file missing... setting to "/home/joe/.mixxx/mixxxbpmscheme.xml"
Debug [Main]: BpmSchemes::readXML "/home/joe/.mixxx/mixxxbpmscheme.xml"
Debug [Main]: BPM Scheme: "/home/joe/.mixxx/mixxxbpmscheme.xml" does not exist.
Debug [Main]: MidiDeviceManager::getDeviceList
Debug [Main]: MidiDeviceManager::getDeviceList
Debug [Main]: MidiDeviceManager::getDeviceList
Debug [Main]: SoundManager::setupDevices()
Debug [Main]: SoundDevicePortAudio::open() "9, system"
Debug [Main]: framesPerBuffer: 1024
Debug [Main]: Requested sample rate: 48000 Hz, latency: 21.3333 ms
Debug [Main]: Output channels: 2 | Input channels: 0
Debug [Main]: Opening stream with id 9
Debug [Main]: Opened PortAudio stream successfully... starting
Debug [Main]: Dynamically loaded PortAudio library
Debug [Main]: PortAudio: Started stream successfully
Debug [Main]: Actual sample rate: 48000 Hz, latency: 5.33333 ms
Debug [Main]: Using "system" as output sound device clock reference
Debug [Main]: 1 output sound devices opened
Debug [Main]: 0 input sound devices opened
Debug [Main]: ControlObject::getControl returning NULL for ( "[Samplers]" , "show_samplers" )
Warning [Main]: Requested control does not exist: "[Samplers],show_samplers" . Creating it.
Debug [Main]: Making property binder for "visible"
Warning [Main]: Object::connect: No such slot QGroupBox::setProperty(const char*, const QVariant&) in src/skin/propertybinder.cpp:13
Debug [Main]: ControlObject::getControl returning NULL for ( "[Sampler1]" , "hotcue_38_position" )
Debug [Main]: ControlObject::getControl returning NULL for ( "[Sampler2]" , "hotcue_38_position" )
Debug [Main]: ControlObject::getControl returning NULL for ( "[Sampler3]" , "hotcue_38_position" )
Debug [Main]: ControlObject::getControl returning NULL for ( "[Sampler4]" , "hotcue_38_position" )
Debug [Main]: BaseTrackCache(0x9e3d5f0) updateIndexWithQuery took 1 ms
Debug [Main]: PlaylistTableModel(0xa78c290) select() took 4 ms
Debug [Main]: PrepareLibraryTableModel(0xa807988) select() took 2 ms
Debug [Main]: PrepareLibraryTableModel(0xa807988) select() took 2 ms
Debug [Main]: PrepareLibraryTableModel(0xa807988) select() took 3 ms
Debug [Main]: DlgPrepare(0xa7d82d8, name = "DlgPrepare") analysisActive false
Debug [Main]: MixxxLibraryFeature::activate()
Debug [Main]: LibraryTableModel(0x9e43080) select() took 2 ms
Debug [Main]: WSearchLineEdit::restoreSearch( "" )
Debug [Main]: ControlObject::getControl returning NULL for ( "[Vinylcontrol]" , "show_vinylcontrol" )
Warning [Main]: Requested control does not exist: "[Vinylcontrol],show_vinylcontrol" . Creating it.
Debug [Main]: Making property binder for "visible"
Warning [Main]: Object::connect: No such slot QGroupBox::setProperty(const char*, const QVariant&) in src/skin/propertybinder.cpp:13
Debug [Main]: ControlObject::getControl returning NULL for ( "[Microphone]" , "show_microphone" )
Warning [Main]: Requested control does not exist: "[Microphone],show_microphone" . Creating it.
Debug [Main]: Making property binder for "visible"
Warning [Main]: Object::connect: No such slot QGroupBox::setProperty(const char*, const QVariant&) in src/skin/propertybinder.cpp:13
Warning [Main]: QGLContext::makeCurrent(): Cannot make invalid context current.
Debug [Main]: createWaveformViewer()
Debug [Main]: WaveformViewerFactory :: Creating new visual waveform
Debug [Main]: WaveformViewerFactory :: Making new GL context.

Segmentation fault (core dumped)

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: mixxx 1.10.1~dfsg0-1
ProcVersionSignature: Ubuntu 3.8.0-12.8-lowlatency 3.8.2
Uname: Linux 3.8.0-12-lowlatency i686
ApportVersion: 2.9.2-0ubuntu2
Architecture: i386
Date: Fri Mar 22 09:32:38 2013
InstallationDate: Installed on 2013-03-21 (0 days ago)
InstallationMedia: Ubuntu-Studio 13.04 "Raring Ringtail" - Alpha i386 (20130321)
MarkForUpload: True
SourcePackage: mixxx
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Len Ovens (len-ovenwerks) wrote :
Revision history for this message
Sean M. Pappalardo (pegasus-renegadetech) wrote :

Based on where Mixxx crashed, please try updating your video driver and see if that helps. If not, edit ~/.mixxx/mixxx.cfg and change WaveformType to 0, save it, then see if Mixxx starts and let us know.

Changed in mixxx (Ubuntu):
status: New → Incomplete
Revision history for this message
Len Ovens (len-ovenwerks) wrote :

So far as I know the nouveau driver is the latest one (testing in raring daily). The TNT2 does not seem to have any prop. drivers available for it anymore.

I have attached my mixxx.cfg as I was unable to find a "WaveformType" to change. Perhaps I can add it if I know which section to add it to.

Revision history for this message
Sean M. Pappalardo (pegasus-renegadetech) wrote :

(Sorry, alot has changed for v1.11 which I was looking at.) In v1.10, under [Controls] change Visuals to 1 and see if that helps.

Revision history for this message
Len Ovens (len-ovenwerks) wrote :

There seem to be a number of [Controls] sections, but only one Visuals. Changing to 1 did not help though it did seem to make it a bit farther..

Debug [Main]: createWaveformViewer()
Debug [Main]: WaveformViewerFactory :: Creating new simple waveform
Debug [Main]: ControlObject::getControl returning NULL for ( "[Spinny1]" , "show_spinny" )
Warning [Main]: Requested control does not exist: "[Spinny1],show_spinny" . Creating it.
Debug [Main]: Making property binder for "visible"
Warning [Main]: Object::connect: No such slot QGroupBox::setProperty(const char*, const QVariant&) in src/skin/propertybinder.cpp:13
Segmentation fault (core dumped)

Revision history for this message
Sean M. Pappalardo (pegasus-renegadetech) wrote :

Hmm, okay. Next thing is to get a back-trace of the crash. Please install gdb then follow the instructions here: http://mixxx.org/wiki/doku.php/creating_backtraces

Revision history for this message
Len Ovens (len-ovenwerks) wrote :
Download full text (11.5 KiB)

Backtrace:

Thread 21 (Thread 0xa0925b40 (LWP 25593)):
#0 0xb7fdd424 in __kernel_vsyscall ()
#1 0xb443f84b in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/i386-linux-gnu/libpthread.so.0
#2 0xb454ed7c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3 0xb4b290f0 in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/i386-linux-gnu/libQtCore.so.4
#4 0x0825d162 in ?? ()
#5 0xb4b28b18 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#6 0xb443bd78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#7 0xb45413de in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 20 (Thread 0xa1126b40 (LWP 25592)):
#0 0xb7fdd424 in __kernel_vsyscall ()
#1 0xb443f84b in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/i386-linux-gnu/libpthread.so.0
#2 0xb454ed7c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3 0xb4b290f0 in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/i386-linux-gnu/libQtCore.so.4
#4 0x0825d162 in ?? ()
#5 0xb4b28b18 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#6 0xb443bd78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#7 0xb45413de in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 19 (Thread 0xa1927b40 (LWP 25591)):
#0 0xb7fdd424 in __kernel_vsyscall ()
#1 0xb443f84b in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/i386-linux-gnu/libpthread.so.0
#2 0xb454ed7c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3 0xb4b290f0 in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/i386-linux-gnu/libQtCore.so.4
#4 0x0825d162 in ?? ()
#5 0xb4b28b18 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#6 0xb443bd78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#7 0xb45413de in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 18 (Thread 0xa2128b40 (LWP 25590)):
#0 0xb7fdd424 in __kernel_vsyscall ()
#1 0xb443f84b in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/i386-linux-gnu/libpthread.so.0
#2 0xb454ed7c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3 0xb4b290f0 in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/i386-linux-gnu/libQtCore.so.4
#4 0x0825d162 in ?? ()
#5 0xb4b28b18 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#6 0xb443bd78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#7 0xb45413de in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 17 (Thread 0xa336ab40 (LWP 25589)):
#0 0xb7fdd424 in __kernel_vsyscall ()
#1 0xb443fc33 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/i386-linux-gnu/libpthread.so.0
#2 0xb454edd4 in pthread_cond_timedwait () from /lib/i386-linux-gnu/libc.so.6
#3 0xb4b2906d in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/i386-linux-gnu/libQtCore.so.4
#4 0xb4b1b60c in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#5 0xb4b28b18 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#6 0xb443bd78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#7 0xb45413de in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 16 (Thread 0xa40bfb40 (LWP 25588)):
#0 0xb7fdd424 in __kernel_vsyscall ()
#1 0xb4531dcb in poll () from /lib/i386-linux-gnu/libc.so.6
#2 0xb3bd224b i...

Revision history for this message
Len Ovens (len-ovenwerks) wrote :

Sorry, I probably should have created a text file and attached it... next time.

Revision history for this message
Sean M. Pappalardo (pegasus-renegadetech) wrote :

Yes, that would've been appreciated. ;) Anyway, the crash is still indeed happening in the video driver, evidenced by the trace of Thread 1. (All of the other threads are in a wait state.) Unfortunately there's nothing that Mixxx can do about this. The problem seems to be in /usr/lib/i386-linux-gnu/dri/nouveau_vieux_dri.so, so I would re-target this bug to the nouveau package.

Changed in mixxx (Ubuntu):
status: Incomplete → Invalid
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.