Amarok always segfaults generating dynamic playlists

Bug #435471 reported by Steve McGrath
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
amarok (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: amarok

Running Karmic alpha, since upgrading to the first released beta of Amarok 2.2, Amarok crashes 100% of the time while generating dynamic playlists. I initially downgraded to 2.1, but that version has since been removed from the Karmic repositories. Amarok will generally not crash while creating a dynamic playlist from a collection consisting of a single album. However, when creating a dynamic playlist from my full 4,000+ song library on NFS, it will always crash when the status bar says "Generating playlist: 97%"

I will attach the last section of output when running amarok with -d and --nofork.

Should I report this upstream?

ProblemType: Bug
Architecture: i386
CheckboxSubmission: fab15882f8a3c1c4dd38353fc3ac84c0
CheckboxSystem: c4db302c6990d0bb1b00c5c328683b3b
Date: Wed Sep 23 14:31:57 2009
DistroRelease: Ubuntu 9.10
Package: amarok 2:2.1.90-0ubuntu1
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-10.35-generic
SourcePackage: amarok
Uname: Linux 2.6.31-10-generic i686

Revision history for this message
Steve McGrath (smcgrath23) wrote :
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Can you get a backtrace if this is still an issue with the final version of Kubuntu 9.10? (install amarok-dbg then get the backtrace from the KDE crash dialog)
Thanks.

Changed in amarok (Ubuntu):
status: New → Incomplete
Revision history for this message
Steve McGrath (smcgrath23) wrote :

I'm having some issues getting a backtrace. I have installed amarok-dbg, but I simply can't get either Apport or KDE's crash handler to catch Amarok crashing.

I notice that KCrash catches the crash, but never does anything...

Note that this isn't Kubuntu. I'm running standard Ubuntu 9.10, but I gotta have my Amarok!
Perhaps some KDE specific things are not initialised, preventing KCrash from working?
I'll install the whole KDE Desktop if I must, but I'd prefer not...

Here's the end of the output from "amarok -d --nofork" from a recent crash:

amarok: Initialized thread, count== 5
amarok: BEGIN: void Dynamic::BiasSolver::universeResults(QString, QStringList)
amarok: END__: void Dynamic::BiasSolver::universeResults(QString, QStringList) - Took 0.021s
amarok: BEGIN: void Dynamic::BiasSolver::universeUpdated()
amarok: END__: void Dynamic::BiasSolver::universeUpdated() - Took 0.00015s
amarok: BEGIN: virtual void Dynamic::BiasSolver::run()
amarok: BEGIN: void Dynamic::BiasSolver::computeDomain()
amarok: [BiasSolver] domain size: 4259
amarok: END__: void Dynamic::BiasSolver::computeDomain() - Took 0.0011s
amarok: BEGIN: Meta::TrackList Dynamic::BiasSolver::generateInitialPlaylist(bool&)
amarok: [BiasSolver] track selected: "Shut Me Up" "Mindless Self Indulgence"
amarok: [BiasSolver] track selected: "Get It Up" "Mindless Self Indulgence"
amarok: [BiasSolver] track selected: "Alienating Our Audience" "Mindless Self Indulgence"
amarok: [BiasSolver] track selected: "Lights Out" "Mindless Self Indulgence"
amarok: [BiasSolver] track selected: "Swipin' My Ass" "Mindless Self Indulgence"
KCrash: Application 'amarok' crashing...
sock_file=/home/steve/.kde/socket-yogzotot/kdeinit4__0
kdeinit4: preparing to launch /usr/lib/kde4/libexec/drkonqi
QSocketNotifier: Invalid socket 20 and type 'Read', disabling...
QSocketNotifier: Invalid socket 50 and type 'Read', disabling...
QSocketNotifier: Invalid socket 61 and type 'Read', disabling...
<unknown>: Fatal IO error 9 (Bad file descriptor) on X server :0.0.
amarok: BEGIN: virtual ContextObserver::~ContextObserver()
amarok: BEGIN: void ContextSubject::detach(ContextObserver*)
amarok: END__: void ContextSubject::detach(ContextObserver*) - Took 6.2e-05s
amarok: END__: virtual ContextObserver::~ContextObserver() - Took 0.00024s
amarok: BEGIN: virtual CurrentEngine::~CurrentEngine()
amarok: END__: virtual CurrentEngine::~CurrentEngine() - Took 7.8e-05s
amarok: BEGIN: virtual ContextObserver::~ContextObserver()
amarok: BEGIN: void ContextSubject::detach(ContextObserver*)
amarok: END__: void ContextSubject::detach(ContextObserver*) - Took 5.8e-05s
amarok: END__: virtual ContextObserver::~ContextObserver() - Took 0.00016s
Assertion 'pa_close(fds[0]) == 0' failed at pulsecore/core-util.c:2165, function pa_close_pipe(). Aborting.
Unable to start Dr. Konqi

Revision history for this message
Andrew Ash (ash211) wrote :

Sorry for not getting back to you sooner on this, Steve.

Part of the problem could be that you're running a beta version, which due tend to have bugs after all. Please upgrade to 2.2.1 [1] and report back with whether you can still reproduce the crash. If so, we should report to Amarok developers on the KDE bugtracker.

[1] http://www.kubuntu.org/news/amarok-2.2.1

Revision history for this message
Steve McGrath (smcgrath23) wrote :

And now I also am sorry for not responding for so long :)

I upgraded to 2.2.1 and happily I no longer get this particular crash. The dynamic playlist is still a little off compared to 1.4.x, seeming to always want to pick a narrow group of artists, even when suggestions are turned off. But that's a separate issue.

This bug can be closed, I believe.

Changed in amarok (Ubuntu):
status: Incomplete → Fix Released
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.