scrolling library directory browser causes freeze

Bug #955179 reported by ewan colsell
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
Critical
RJ Skerry-Ryan

Bug Description

i just compiled mixxx 1.10 from bzr on ubuntu precise.

when i scroll arround for a while the directory browser (removable devices) using the arrow keys(not mouse) mixxx freezes.
the music continues to play but the gui and mouse lock up.

from the terminal:

Debug [Main]: WSearchLineEdit::restoreSearch( "" )
Debug [Main]: BrowseFeature::activateChild QVariant(QString, "04 - ROYAL RUMBLE - AL SEGNALE_data") QVariant(QString, "/media/ewan 120gb/04 - ROYAL RUMBLE - AL SEGNALE_data/")
Debug [Main]: WSearchLineEdit::restoreSearch( "" )
Debug [Main]: BrowseFeature::activateChild QVariant(QString, "aaa rossi ninja") QVariant(QString, "/media/ewan 120gb/aaa rossi ninja/")
Debug [Main]: WSearchLineEdit::restoreSearch( "" )
Debug [Main]: BrowseFeature::activateChild QVariant(QString, "asak box") QVariant(QString, "/media/ewan 120gb/asak box/")
Debug [Main]: WSearchLineEdit::restoreSearch( "" )
Debug [Main]: BrowseFeature::activateChild QVariant(QString, "aska december") QVariant(QString, "/media/ewan 120gb/aska december/")
Debug [Main]: WSearchLineEdit::restoreSearch( "" )
Debug []: Abort populateModel()
Debug [Main]: BrowseFeature::activateChild QVariant(QString, "backups") QVariant(QString, "/media/ewan 120gb/backups/")

Revision history for this message
RJ Skerry-Ryan (rryan) wrote : Re: [Bug 955179] [NEW] scrolling library directory browser causes freeze

Does Mixxx freeze permanently or does it eventually come back to life?

On Wed, Mar 14, 2012 at 11:39 AM, ewan colsell <email address hidden> wrote:

> Public bug reported:
>
> i just compiled mixxx 1.10 from bzr on ubuntu precise.
>
>
> when i scroll arround for a while the directory browser (removable
> devices) using the arrow keys(not mouse) mixxx freezes.
> the music continues to play but the gui and mouse lock up.
>
> from the terminal:
>
> Debug [Main]: WSearchLineEdit::restoreSearch( "" )
> Debug [Main]: BrowseFeature::activateChild QVariant(QString, "04 - ROYAL
> RUMBLE - AL SEGNALE_data") QVariant(QString, "/media/ewan 120gb/04 -
> ROYAL RUMBLE - AL SEGNALE_data/")
> Debug [Main]: WSearchLineEdit::restoreSearch( "" )
> Debug [Main]: BrowseFeature::activateChild QVariant(QString, "aaa rossi
> ninja") QVariant(QString, "/media/ewan 120gb/aaa rossi ninja/")
> Debug [Main]: WSearchLineEdit::restoreSearch( "" )
> Debug [Main]: BrowseFeature::activateChild QVariant(QString, "asak box")
> QVariant(QString, "/media/ewan 120gb/asak box/")
> Debug [Main]: WSearchLineEdit::restoreSearch( "" )
> Debug [Main]: BrowseFeature::activateChild QVariant(QString, "aska
> december") QVariant(QString, "/media/ewan 120gb/aska december/")
> Debug [Main]: WSearchLineEdit::restoreSearch( "" )
> Debug []: Abort populateModel()
> Debug [Main]: BrowseFeature::activateChild QVariant(QString, "backups")
> QVariant(QString, "/media/ewan 120gb/backups/")
>
> ** Affects: mixxx
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are a member of Mixxx
> Development Team, which is subscribed to Mixxx.
> https://bugs.launchpad.net/bugs/955179
>
> Title:
> scrolling library directory browser causes freeze
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mixxx/+bug/955179/+subscriptions
>

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

it stays frozen for at least 10 miniutes, i didn't leave it longer to find out, but it feels like permanently, the cpu isn't overloaded.

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

sorry,
the mouse dosent lock up, that was a different problem i was having with an experimental lowlatency kernel, i got mixxed up.

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

i can confirm mixxx stays locked up permenantly,i just left it for 3 hours and its still locked up

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

this is still affecting the latest builds on both windows and linux

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

ewan -- still affecting Mixxx when using the low-latency kernel or stock kernel?

Changed in mixxx:
milestone: none → 1.10.1
importance: Undecided → Critical
Revision history for this message
ewan colsell (ewanuno) wrote : Re: [Bug 955179] Re: scrolling library directory browser causes freeze

on linux i only tested with a lowlatency kernel, but my windows xp kernel
is standard ;-)

i only ever tested with outline skins though......i'll try with some others.

On 1 May 2012 20:54, RJ Ryan <email address hidden> wrote:

> ewan -- still affecting Mixxx when using the low-latency kernel or stock
> kernel?
>
> ** Changed in: mixxx
> Milestone: None => 1.10.1
>
> ** Changed in: mixxx
> Importance: Undecided => Critical
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/955179
>
> Title:
> scrolling library directory browser causes freeze
>
> Status in Mixxx:
> New
>
> Bug description:
> i just compiled mixxx 1.10 from bzr on ubuntu precise.
>
>
> when i scroll arround for a while the directory browser (removable
> devices) using the arrow keys(not mouse) mixxx freezes.
> the music continues to play but the gui and mouse lock up.
>
> from the terminal:
>
> Debug [Main]: WSearchLineEdit::restoreSearch( "" )
> Debug [Main]: BrowseFeature::activateChild QVariant(QString, "04 - ROYAL
> RUMBLE - AL SEGNALE_data") QVariant(QString, "/media/ewan 120gb/04 -
> ROYAL RUMBLE - AL SEGNALE_data/")
> Debug [Main]: WSearchLineEdit::restoreSearch( "" )
> Debug [Main]: BrowseFeature::activateChild QVariant(QString, "aaa rossi
> ninja") QVariant(QString, "/media/ewan 120gb/aaa rossi ninja/")
> Debug [Main]: WSearchLineEdit::restoreSearch( "" )
> Debug [Main]: BrowseFeature::activateChild QVariant(QString, "asak box")
> QVariant(QString, "/media/ewan 120gb/asak box/")
> Debug [Main]: WSearchLineEdit::restoreSearch( "" )
> Debug [Main]: BrowseFeature::activateChild QVariant(QString, "aska
> december") QVariant(QString, "/media/ewan 120gb/aska december/")
> Debug [Main]: WSearchLineEdit::restoreSearch( "" )
> Debug []: Abort populateModel()
> Debug [Main]: BrowseFeature::activateChild QVariant(QString, "backups")
> QVariant(QString, "/media/ewan 120gb/backups/")
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mixxx/+bug/955179/+subscriptions
>

--
http://www.ewancolsell.com/

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

also happens with shade dark-1024x768 on windows xp. using windows alpha
builds

On 2 May 2012 14:42, ewan colsell <email address hidden> wrote:

> on linux i only tested with a lowlatency kernel, but my windows xp kernel
> is standard ;-)
>
> i only ever tested with outline skins though......i'll try with some
> others.
>
>
> On 1 May 2012 20:54, RJ Ryan <email address hidden> wrote:
>
>> ewan -- still affecting Mixxx when using the low-latency kernel or stock
>> kernel?
>>
>> ** Changed in: mixxx
>> Milestone: None => 1.10.1
>>
>> ** Changed in: mixxx
>> Importance: Undecided => Critical
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https://bugs.launchpad.net/bugs/955179
>>
>> Title:
>> scrolling library directory browser causes freeze
>>
>> Status in Mixxx:
>> New
>>
>> Bug description:
>> i just compiled mixxx 1.10 from bzr on ubuntu precise.
>>
>>
>> when i scroll arround for a while the directory browser (removable
>> devices) using the arrow keys(not mouse) mixxx freezes.
>> the music continues to play but the gui and mouse lock up.
>>
>> from the terminal:
>>
>> Debug [Main]: WSearchLineEdit::restoreSearch( "" )
>> Debug [Main]: BrowseFeature::activateChild QVariant(QString, "04 -
>> ROYAL RUMBLE - AL SEGNALE_data") QVariant(QString, "/media/ewan 120gb/04
>> - ROYAL RUMBLE - AL SEGNALE_data/")
>> Debug [Main]: WSearchLineEdit::restoreSearch( "" )
>> Debug [Main]: BrowseFeature::activateChild QVariant(QString, "aaa rossi
>> ninja") QVariant(QString, "/media/ewan 120gb/aaa rossi ninja/")
>> Debug [Main]: WSearchLineEdit::restoreSearch( "" )
>> Debug [Main]: BrowseFeature::activateChild QVariant(QString, "asak
>> box") QVariant(QString, "/media/ewan 120gb/asak box/")
>> Debug [Main]: WSearchLineEdit::restoreSearch( "" )
>> Debug [Main]: BrowseFeature::activateChild QVariant(QString, "aska
>> december") QVariant(QString, "/media/ewan 120gb/aska december/")
>> Debug [Main]: WSearchLineEdit::restoreSearch( "" )
>> Debug []: Abort populateModel()
>> Debug [Main]: BrowseFeature::activateChild QVariant(QString, "backups")
>> QVariant(QString, "/media/ewan 120gb/backups/")
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/mixxx/+bug/955179/+subscriptions
>>
>
>
>
> --
> http://www.ewancolsell.com/
>

--
http://www.ewancolsell.com/

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

still in trunk on ubuntu precice with standard kernel

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

Could you generate a backtrace? http://mixxx.org/wiki/doku.php/creating_backtraces

My suspicion is you've got some track with corrupt metadata that we're trying to load with Taglib but taglib gets stuck and hoses the GUI thread but I could be wrong. A backtrace will tell us what's going on.

thanks,
rj

Revision history for this message
Daniel Schürmann (daschuer) wrote :

If RJs assumption is right, my external tag-reader approach will help here.
Currently I use it only for writing, It seems that using it for reading is also a good idea.
I think this bug brings a new priority into that work.

Revision history for this message
ewan colsell (ewanuno) wrote :
Download full text (48.3 KiB)

 begin backtrace:

(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 4133)]
[New Thread 0xb71ffb40 (LWP 4134)]
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 4135)]
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused

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

[Thread 0xb27feb40 (LWP 4137) exited]
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
[New Thread 0xb27feb40 (LWP 4139)]
[Thread 0xb27feb40 (LWP 4139) exited]
Debug [Main]: Available QtSQL drivers: ("QSQLITE")
Debug [Main]: src/library/trackcollection.cpp DB status: true
Debug [Main]: SchemaManager::upgradeToSchemaVersion already at version 17
Debug [Main]: TrackDAO::initial...

Revision history for this message
RJ Skerry-Ryan (rryan) wrote :
Download full text (50.3 KiB)

Great thanks! From this it's easy to see that the main thread is hung on a
browse-thread lock. I'll take a look later but this is definitely a good
hint.

On Fri, May 11, 2012 at 10:25 AM, ewan colsell <email address hidden> wrote:

> begin backtrace:
>
>
> (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 4133)]
> [New Thread 0xb71ffb40 (LWP 4134)]
> 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 4135)]
> ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect:
> Connection refused
>
> [Thread 0xb27feb40 (LWP 4135) exited]
> [New Thread 0xb27feb40 (LWP 4137)]
> ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect:
> Connection refused
>
> [Thread 0xb27feb40 (LWP 4137) exited]
> ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect)
> BT_GET_CAPABILITIES failed : Input/output error(5)
> ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect)
> BT_GET_CAPABILITIES failed : Input/output error(5)
> ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect)
> BT_GET_CAPABILITIES failed : Input/output error(5)
> ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect)
> BT_GET_CAPABILITIES failed : Input/output error(5)
> ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The ...

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

Thankfully that was pretty straightforward. I committed a fix to lp:mixxx in r3138. Can you give it a test Ewan to see if it's fixed?

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

Aw shoot. I committed to lp:mixxx and not lp:mixxx/1.10. I'm back-porting the fix now.

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

fantastic! seems to be fixed on ubuntu precise,

i'm using trunk..

On 11 May 2012 18:28, Launchpad Bug Tracker <email address hidden>wrote:

> ** Branch linked: lp:mixxx/1.10
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/955179
>
> Title:
> scrolling library directory browser causes freeze
>
> Status in Mixxx:
> Fix Committed
>
> Bug description:
> i just compiled mixxx 1.10 from bzr on ubuntu precise.
>
>
> when i scroll arround for a while the directory browser (removable
> devices) using the arrow keys(not mouse) mixxx freezes.
> the music continues to play but the gui and mouse lock up.
>
> from the terminal:
>
> Debug [Main]: WSearchLineEdit::restoreSearch( "" )
> Debug [Main]: BrowseFeature::activateChild QVariant(QString, "04 - ROYAL
> RUMBLE - AL SEGNALE_data") QVariant(QString, "/media/ewan 120gb/04 -
> ROYAL RUMBLE - AL SEGNALE_data/")
> Debug [Main]: WSearchLineEdit::restoreSearch( "" )
> Debug [Main]: BrowseFeature::activateChild QVariant(QString, "aaa rossi
> ninja") QVariant(QString, "/media/ewan 120gb/aaa rossi ninja/")
> Debug [Main]: WSearchLineEdit::restoreSearch( "" )
> Debug [Main]: BrowseFeature::activateChild QVariant(QString, "asak box")
> QVariant(QString, "/media/ewan 120gb/asak box/")
> Debug [Main]: WSearchLineEdit::restoreSearch( "" )
> Debug [Main]: BrowseFeature::activateChild QVariant(QString, "aska
> december") QVariant(QString, "/media/ewan 120gb/aska december/")
> Debug [Main]: WSearchLineEdit::restoreSearch( "" )
> Debug []: Abort populateModel()
> Debug [Main]: BrowseFeature::activateChild QVariant(QString, "backups")
> QVariant(QString, "/media/ewan 120gb/backups/")
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mixxx/+bug/955179/+subscriptions
>

--
http://www.ewancolsell.com/

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/6317

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.