segfault on track load (autodj)

Bug #997818 reported by ewan colsell
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
Critical
RJ Skerry-Ryan

Bug Description

i'm getting this segfault

Debug [AnalyserQueue 1]: Beat Calculation complete
Debug [AnalyserQueue 1]: New BeatGrid
Debug [AnalyserQueue 1]: AnalysisDAO fetched 0 analyses, 0 bytes for track 42 in 0 ms
fidlib error: Frequency of -nanHz out of range with sampling rate of 0Hz
Segmentation fault (core dumped)

the tracks in question all show a length of "0" in the browser but if i load them manualy they work fine, and then the library shows the length correctly after loading.

this is on ubuntu precice (standard kernel) with todays trunk.

Revision history for this message
ewan colsell (ewanuno) wrote :

correction, this happens to all the tracks in the library that have a length of zero but sometimes it only segfaults afer a few secconds.

Revision history for this message
RJ Skerry-Ryan (rryan) wrote : Re: [Bug 997818] Re: segfault on track load (autodj)

Can you grab a backtrace after Mixxx crashes?

http://mixxx.org/wiki/doku.php/creating_backtraces

On Thu, May 10, 2012 at 5:50 PM, ewan colsell <email address hidden> wrote:

> correction, this happens to all the tracks in the library that have a
> length of zero but sometimes it only segfaults afer a few secconds.
>
> --
> You received this bug notification because you are a member of Mixxx
> Development Team, which is subscribed to Mixxx.
> https://bugs.launchpad.net/bugs/997818
>
> Title:
> segfault on track load (autodj)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mixxx/+bug/997818/+subscriptions
>

RJ Skerry-Ryan (rryan)
Changed in mixxx:
milestone: none → 1.11.0
importance: Undecided → Critical
Revision history for this message
ewan colsell (ewanuno) wrote :
Download full text (39.1 KiB)

o.k so i made a backtrace from todays bzr, not that i couldn't imediatly replicate the crash with the same files as yesterday, it seems that mixxx somehow fixed there metadata, but manualy loading annother file that was showing lenght:0 triggered it.

backtrace:

ewanuno@ubuntu:~/mixxx/mixxx$ gdb mixxx
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu1) 7.4-2012.04
Copyright (C) 2012 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 "i686-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /home/ewanuno/mixxx/mixxx/mixxx...done.
(gdb) set height 0
(gdb) run
Starting program: /home/ewanuno/mixxx/mixxx/mixxx
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Warning [Main]: QGtkStyle was unable to detect the current GTK+ theme.
Debug [Main]: Mixxx 1.11.0-alpha2 "(bzr trunk r3134; built on: May 11 2012 @ 15:52:34; flags: hid hifieq mad optimize qdebug shoutcast tuned vamp verbose vinylcontrol)" is starting...
Debug [Main]: Qt version is: 4.8.1
Debug [Main]: Configuration file is at the current version 1.11.0-alpha2
Debug [Main]: Loading translations for locale "en_GB" from translations folder "res/translations/" : success
Debug [Main]: Could not read ""
[New Thread 0xb7d85b40 (LWP 4218)]
[New Thread 0xb71ffb40 (LWP 4219)]
Warning [Main]: ControlObject::getControl returning NULL for ( "[Channel1]" , "vinylcontrol_mode" )
Warning [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.rear
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.ICH4.pcm.surround71.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 surround71
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
[New Thread 0xb27feb40 (LWP 4220)]
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused

[Thread 0xb27feb40 (LWP 4220) exited]
[New Thread 0xb27feb40 (LWP 4222)]
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused

[Thread 0xb27feb40 (...

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

Cool -- looks like the track as loaded by the SoundSource has a samplerate of 0. This is making FidLib very unhappy and causing a segfault.

Changed in mixxx:
status: New → Confirmed
Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

Oops, no I'm wrong. There was a bug in AnalyserWaveform that used the TrackInfoObject::getSampleRate property which is notoriously incorrect. Fixed in r3135

Changed in mixxx:
status: Confirmed → Fix Committed
assignee: nobody → RJ Ryan (rryan)
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/6425

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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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