[mb-users] Adding DiscID segfaults

Grant emailgrant at gmail.com
Sun Jun 29 21:10:54 UTC 2008


>> python -c 'from musicbrainz2 import disc; print disc.readDisc().id'
>> $ python -c 'from musicbrainz2 import disc; print disc.readDisc().id'
>> Traceback (most recent call last):
>>   File "<string>", line 1, in ?
>> ImportError: No module named musicbrainz2
>
> Sorry, please try this instead:
>
> python -c 'from picard import disc;d = disc.Disc();d.read(None);print
> d.id'
>
>> Should I continue with the below?  I get 'command not found' from 'gdb python'.
>
> Ah, it needs gdb. Would be useful to install it and get the backtrace,
> but it only makes sense if the above crashes.
>
> Lukas

Not sure I did this right:

(gdb) run -c 'from picard import disc;d = disc.Disc();d.read(None);print d.id'
Starting program: /usr/bin/python -c 'from picard import disc;d =
disc.Disc();d.read(None);print d.id'
(no debugging symbols found)
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
0x00007f2f911f46b0 in ?? ()
(gdb) bt
#0  0x00007f2f911f46b0 in ?? ()
#1  0x00007f2f8c659328 in ?? ()
#2  0x0000000000000000 in ?? ()

- Grant



More information about the MusicBrainz-users mailing list