Picard Segmentation fault in Jaunty with python 2.6

Bug #368097 reported by shayguitarra
70
This bug affects 10 people
Affects Status Importance Assigned to Milestone
MusicBrainz Picard
Fix Released
Unknown
picard (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: picard

Since upgrading to Jaunty (Kubuntu 9.04) Picard v0.11 is crashing when processing ogg files.
Running in terminal produces the following:

sheamus@sheamus-desktop:~/Documents$ picard
/var/lib/python-support/python2.6/picard/webservice.py:25: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
/var/lib/python-support/python2.6/picard/webservice.py:28: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
import sha

Adding an ogg file produces the following:
Segmentation fault

Some ogg files are ok, and there seems to be no problems with flac or mp3.

Changed in picard:
status: Unknown → New
Revision history for this message
Anders (andersja+launchpad-net) wrote :

I can confirm unusual behaviour of Picard after upgrading to Jaunty. I have also filed a bug here:
http://bugs.musicbrainz.org/ticket/5113

Revision history for this message
Anders (andersja+launchpad-net) wrote :
Download full text (6.7 KiB)

Further trial and error shows systematic crash upon trying to scan m4a files:

$ picard
/var/lib/python-support/python2.6/picard/webservice.py:25: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
/var/lib/python-support/python2.6/picard/webservice.py:28: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha
[mp3 @ 0xb43355c0]mdb:403, lastbuf:0 skipping granule 0
    Last message repeated 1 times
[mp3 @ 0xb43355c0]mdb:403, lastbuf:0 skipping granule 1
    Last message repeated 1 times
[mp3 @ 0xb43355c0]mdb:403, lastbuf:0 skipping granule 0
    Last message repeated 1 times
[mp3 @ 0xb43355c0]mdb:403, lastbuf:0 skipping granule 1
    Last message repeated 1 times
[mp3 @ 0xb43355c0]mdb:511, lastbuf:382 skipping granule 0
    Last message repeated 1 times
[mp3 @ 0xb43355c0]mdb:511, lastbuf:382 skipping granule 1
    Last message repeated 1 times
[mp3 @ 0xb43355c0]mdb:408, lastbuf:0 skipping granule 0
    Last message repeated 1 times
[mp3 @ 0xb43355c0]mdb:408, lastbuf:0 skipping granule 1
    Last message repeated 1 times
[mp3 @ 0xb43355c0]mdb:408, lastbuf:0 skipping granule 0
    Last message repeated 1 times
[mp3 @ 0xb43355c0]mdb:408, lastbuf:0 skipping granule 1
    Last message repeated 1 times
[mp3 @ 0xb43355c0]mdb:511, lastbuf:382 skipping granule 0
    Last message repeated 1 times
[mp3 @ 0xb43355c0]mdb:511, lastbuf:382 skipping granule 1
    Last message repeated 1 times
[mp3 @ 0xb43355c0]mdb:404, lastbuf:0 skipping granule 0
    Last message repeated 1 times
[mp3 @ 0xb43355c0]mdb:404, lastbuf:0 skipping granule 1
    Last message repeated 1 times
[mp3 @ 0xb43355c0]mdb:404, lastbuf:0 skipping granule 0
    Last message repeated 1 times
[mp3 @ 0xb43355c0]mdb:404, lastbuf:0 skipping granule 1
    Last message repeated 1 times
[mp3 @ 0xb43355c0]mdb:511, lastbuf:382 skipping granule 0
    Last message repeated 1 times
[mp3 @ 0xb43355c0]mdb:511, lastbuf:382 skipping granule 1
    Last message repeated 1 times
[mp3 @ 0xb43355c0]mdb:409, lastbuf:0 skipping granule 0
    Last message repeated 1 times
[mp3 @ 0xb43355c0]mdb:409, lastbuf:0 skipping granule 1
    Last message repeated 1 times
[mp3 @ 0xb43355c0]mdb:409, lastbuf:0 skipping granule 0
    Last message repeated 1 times
[mp3 @ 0xb43355c0]mdb:409, lastbuf:0 skipping granule 1
    Last message repeated 1 times
[mp3 @ 0xb43355c0]mdb:511, lastbuf:382 skipping granule 0
    Last message repeated 1 times
[mp3 @ 0xb43355c0]mdb:511, lastbuf:382 skipping granule 1
    Last message repeated 1 times
[mp3 @ 0xb43355c0]mdb:403, lastbuf:0 skipping granule 0
    Last message repeated 1 times
[mp3 @ 0xb43355c0]mdb:403, lastbuf:0 skipping granule 1
    Last message repeated 1 times
[mp3 @ 0xb43355c0]mdb:403, lastbuf:0 skipping granule 0
    Last message repeated 1 times
[mp3 @ 0xb43355c0]mdb:403, lastbuf:0 skipping granule 1
    Last message repeated 1 times
[mp3 @ 0xb43355c0]mdb:511, lastbuf:382 skipping granule 0
    Last message repeated 1 times
[mp3 @ 0xb43355c0]mdb:511, lastbuf:382 skipping granule 1
    Last message repeated 1 times
[mp3 @ 0xb43355c0]mdb:406, lastbuf:0 skipping granule 0
    Last message repeated 1 times
[mp3 @...

Read more...

Revision history for this message
Daniel Antony Demski (dranorter) wrote :

I am getting a crash on a particular mp3 consistently, it appears there are a couple of mp3's in my Beatles collection that do this.

The crash is instantaneous upon pressing 'scan'.

[mp3 @ 0xb09ea3d0]mdb:27, lastbuf:0 skipping granule 0
    Last message repeated 1 times
[mp3 @ 0xb09ea3d0]mdb:68, lastbuf:0 skipping granule 0
    Last message repeated 1 times
[mp3 @ 0xb09ea3d0]mdb:83, lastbuf:0 skipping granule 0
Segmentation fault

Revision history for this message
Havard Bjastad (havard-bjastad) wrote :

I get this on m4a (AAC) files. The following upstream tickets seem relevant:

http://bugs.musicbrainz.org/ticket/4127
http://bugs.musicbrainz.org/ticket/4797
http://bugs.musicbrainz.org/ticket/5263

Changed in picard:
status: New → Fix Released
Revision history for this message
Martin Soto (soto255) wrote :

I'm still experiencing this problem with the package from Karmic beta. Applying the one-line patch included in upstream ticket 5263 (http://bugs.musicbrainz.org/attachment/ticket/5263/sse2-segfault.patch) fixed the issue for me, though. Would it possible to apply it to the Karmic package before release?

Revision history for this message
Ben (ben2talk) wrote :

I'm now having trouble having just installed Picard to re-import my collection into a Karmic Install. It tags and imports .mp3's but gives me an instant Segfault when I drop an ogg

Revision history for this message
Philipp Wolfer (phw) wrote :

@Ben: You issue is exactly what was solved in the above upstream ticket. The Ubuntu package really should be updated. The relevant patches are:

http://bazaar.launchpad.net/~musicbrainz-developers/picard/trunk/revision/947
http://bazaar.launchpad.net/~musicbrainz-developers/picard/trunk/revision/960

Revision history for this message
Philipp Wolfer (phw) wrote :

I've created packages for Picard 0.12.1 in my PPA at https://launchpad.net/~phw/+archive/ppa. You could try those.

Revision history for this message
whereisian (whereisian) wrote :

Picard 0.12.1 from phw's PPA is working. Cheers.

Timo Aaltonen (tjaalton)
Changed in picard (Ubuntu):
status: New → Fix Released
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

Related questions

Remote bug watches

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