MASTER [apport] amarokcollectionscanner crashed with SIGSEGV in QPixmap::convertFromImage()

Bug #87462 reported by Cyle Riggs
378
Affects Status Importance Assigned to Milestone
amarok (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: amarok

Logged In.

ProblemType: Crash
Date: Sat Feb 17 11:51:09 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/amarokcollectionscanner
Package: amarok 2:1.4.5-0ubuntu5
ProcCmdline: amarokcollectionscanner --nocrashhandler -r -i /home/cyle/music
ProcCwd: /home/cyle
ProcEnviron:
 PATH=/home/cyle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: amarok
StacktraceTop:
 QPixmap::convertFromImage () from /usr/lib/libqt-mt.so.3
 QPixmap::convertFromImage () from /usr/lib/libqt-mt.so.3
 QPixmap::QPixmap () from /usr/lib/libqt-mt.so.3
 KCursor::workingCursor () from /usr/lib/libkdeui.so.4
 ThreadManager::event () from /usr/lib/libamarok.so.0
Uname: Linux dell 2.6.20-8-generic #2 SMP Tue Feb 13 05:18:42 UTC 2007 i686 GNU/Linux
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin plugdev scanner video

Tags: metabug
Revision history for this message
Cyle Riggs (cyleriggs) wrote :
Revision history for this message
Myriam Schweingruber (myriam) wrote :

I confirm this, just happend on my laptop.

Changed in amarok:
status: Unconfirmed → Confirmed
Revision history for this message
Deeek (pydron) wrote :

I can confirm this as well. Just installed Herd 5.

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

I just marked several bugs duplicates of this one. Bug 89003 and bug 87462 have identical stack traces, as do bug 89541 and bug 89883. These two groups have only slightly different traces, but I think they're the same overall problem.

The stack trace also contains libqt-mt a lot, so maybe Amarok isn't entirely threadsafe. (mt=multi-threaded).

Can anybody devise a set of steps that can consistently reproduce this crash?

Changed in amarok:
assignee: nobody → ash211
status: Confirmed → Needs Info
Revision history for this message
David Gerard (dgerard) wrote :

I strongly suspect this is making more visible a pretty well-known problem with Amarok scanning collections over SMB. My collection is on an SMB share mounted using smbfs to /mp3 ... This problem shows up under multiple distributions, but Amarok keep bouncing the bug reports back to the distros. Who then bounce it back to Amarok. Where it doesn't get fixed.

So I don't know what Ubuntu can do about this one. But if Ubuntu can find and fix the problem, a lot of people are going to be very happy!

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

That sounds like a pretty accurate description of the SMB collection problem to me! :D I just hope there's enough information in these bug reports to corroborate with that hypothesis.

Could everyone whose bug report was marked a duplicate of this one please say if they had files on a collection mounted over SMB? That would be:

Torsten Knodt
Gavin Hyde
David Gerard -- thanks already
Cyle Riggs
Myriam Schweingruber

Revision history for this message
seasleepy (seasleepy) wrote :

I just experienced this crash as well. It seems to have hung while processing an album I had just ripped. My media/music folder isn't on SMB -- it's on a local drive (ext3), albeit on a different partition from my /home. I don't have anything over SMB as it's just my computer on my network.

Revision history for this message
Gavin Hyde (gshyde) wrote :

I am not using a smb mount (although I was thinking about doing that) but my setup is like the last posting. My music is on a different mount point than my /home mount point (I have 3 mount points: /, /home and /home/ghyde/Media, media is where my music is).

Revision history for this message
Cyle Riggs (cyleriggs) wrote :

I had a duplicate marked bug, no SMB, music was in my home folder not on a seperate mount. Copied library folder from another working amarok library. so there shouldn't be any weird files about.

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

Looks like SMB isn't the problem then. We'll have to wait for a developer to have a chance to see what's going on here.

Changed in amarok:
assignee: ash211 → nobody
status: Needs Info → Confirmed
Revision history for this message
Torsten Knodt (torsknod) wrote :

I only have definitly no SMB mount on this system.
But perhaps I have another hint. It' hard to remember what I have done on amarokcollectionscanner's crashes but it seems it crashes mostly when I remove many files or remove read access privileges to many files after amarokcollectionscanner started.

Revision history for this message
Rui Mesquita (rpedro78) wrote :

I had the same crash notification, but amarok kept running, it was running an automatic collection scan, altough a bit slowly until finally it reported some errors with some dozen .ogg files, after that it finished scanning quite quickly. What I did that I think may a caused this was that I was trying rhythmbox and it was scanning my music files, that's when it happened. First time this 'crash' has happened to me since almost a month of running amarok on feisty.

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

Many of the other duplicates of this bug are quick duplicates, but bug 58613 has a bit more context of the crashes available.

Changed in amarok:
importance: Undecided → High
Revision history for this message
Andrew Ash (ash211) wrote :

Dave ( https://bugs.launchpad.net/ubuntu/+source/amarok/+bug/109851/comments/4 ) suggests that a possible cause of this problem is broken dependencies within libxine-extracodecs.

If anyone is still experiencing this bug, please provide the output of `apt-cache policy libxine-extracodecs libxine1-ffmpeg` and whether or not there are any outstanding dependencies when executing `sudo apt-get update && sudo apt-get upgrade`.

Thanks for the cooperation

Revision history for this message
Tim Wright (timw) wrote :

Hitting the same crash here. There definitely are problems scanning over SMB, which is how my collection is mounted.

Here's the output requested - I don't see any dependency issues there. I am more than happy to help try to debug this.

kryten:~$ apt-cache policy libxine-extracodecs libxine1-ffmpeg
libxine-extracodecs:
  Installed: 1.1.4-2ubuntu3
  Candidate: 1.1.4-2ubuntu3
  Version table:
 *** 1.1.4-2ubuntu3 0
        500 http://us.archive.ubuntu.com feisty/multiverse Packages
        100 /var/lib/dpkg/status
libxine1-ffmpeg:
  Installed: 1.1.4-2ubuntu3
  Candidate: 1.1.4-2ubuntu3
  Version table:
 *** 1.1.4-2ubuntu3 0
        500 http://us.archive.ubuntu.com feisty/universe Packages
        100 /var/lib/dpkg/status

Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:QPixmap::convertFromImage (this=0xbfa915e4, img=@0xbfa915b0, conversion_flags=0) at kernel/qpixmap_x11.cpp:1230
QPixmap (this=0xbfa915e4) at kernel/qpixmap.cpp:204
QPixmap (this=0xbfa915e4, w=-1233465056, h=1, depth=0, bitmap=240, optimization=1853) at kernel/qpixmap.cpp:192
KCursor::workingCursor () at /build/buildd/kdelibs-3.5.6/./kdeui/kcursor.cpp:131
ThreadManager::event (this=0x8184680, e=0x8182740) at /usr/share/qt3/include/qvaluelist.h:474

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Revision history for this message
Ralf Folkerts (ralf-folkerts) wrote :

Happened to me on a NFS-Share. NFS seems somewhat buggy since the Upgrade from 6.10 to 7.04; it won't always mount it's shares during startup (i.e. it seems that e.g. when Filesystems require a fsck (the one being required after "n" mounts) then NFS-Shares won't be mounted. Have no idea how these actions are related, though).

Revision history for this message
Scott (scott-tempinbox) wrote :

Happened to me. No NFS share or SMB. Was scanning my collection as new items were added. Each time I scan, I get this crash. I do have flac songs in there and I also have some RealMedia items that it complains about at the end.

Revision history for this message
Scott (scott-tempinbox) wrote :

Oops, just noticed that this was for Ubuntu 7.04, while I'm still on 6.10, since my upgrade didn't work, nor my fresh install, leading to my eventual re-install of 6.10. :^)

Revision history for this message
Jeff Mitchell (jefferai) wrote :

For people using SMB, have a read of this: http://amarok.kde.org/wiki/Samba

Secondly, it'd be much more useful if some of you could compile Amarok and TagLib from source, with debug=full. It's really hard to have an idea of what's going from a crash otherwise, and in the past few months no one has shown a way to consistently reproduce this (or even at all). Yes, TagLib too...I don't know what patches are in Ubuntu taglib package but there are many many many patches in SVN since 1.4.

If it happens on specific files we can find a way for you to get some to me so I can check them out (posting on here probably is not a good idea unless they're totally unencumbered).

Revision history for this message
Christopher B. Wright (wrightc) wrote :

I just had this happen on my laptop as well (running Feisty Gusy Gibbion alpha, herd 5). I was not trying to access smb shares -- my music is stored locally -- but I did use SMB to copy that music from my old laptop to my new laptop.

Jeff, I understand it would be more useful if we could compile Amarok from source, but won't doing so ultimately make using apt-get impossible for future releases?

Revision history for this message
Jeff Mitchell (jefferai) wrote :

I don't know...I believe it should be possible to compile taglib from source but skip the 'make install' and then compile Amarok from souce (giving it the correct SVN taglib include directory), likewise skipping 'make install' and running from that directory.

Anyways, from the bit of information I can glean from the stacktraces here, it seems like the title is right -- this is a problem in QPixmap::convertFromImage -- suggesting that either a Qt dependency is broken, or Qt itself is broken. In which case this bug belongs to the Qt maintainers.

I have definitely seen some weirdness in some of the Ubuntu Qt packges -- configuration files that have Bazaar merge output in them, for instance.

Revision history for this message
rgbiernat (info-24prompt) wrote :

I just experienced that bug (or a similiar one) - I have done a lot yesterday - moving the collection from one disk to another - adding a lot of music. Until my system crashed this night.

The last time I had problems with the collectionscanner I moved ALL ".ogg" files out of my collection. Your mileage may vary.

Kind Regards
Ruediger

Revision history for this message
Harald Sitter (apachelogger) wrote :

Does this issue still appear in Hardy's Amarok 1.4.9.1?

Changed in amarok:
status: Confirmed → Incomplete
Revision history for this message
Pradeep (pradeep-kalampukattussery) wrote :

This is not an issue in Amarok 1.4.9.1, I just did "Playlist->Add Media-> then selected my smb share, smb://MyFolder and all files play well..and amarok scans my collection flawlessly :-)

Revision history for this message
Lydia Pintscher (lydia-pintscher) wrote :

Closing as per Pradeep's comment.
If someone still experiences this in Amarok 1.4.9.1 or newer please reopen.

Changed in amarok:
status: Incomplete → Fix Released
To post a comment you must log in.