GNOME Bugzilla – Bug 572145
sound-juicer crashed with SIGSEGV in filepath_parse_pattern()
Last modified: 2010-04-17 17:13:57 UTC
this report has been filed here: https://bugs.edge.launchpad.net/ubuntu/+source/sound-juicer/+bug/329809 "What I've done & what happened: 1) Inserted an audioCD 2) Lauched sound-juicer 3) clicked button to rip tracks 4) sound-juicer crashed" ".
+ Trace 212629
Thread 1 (process 11889)
*** Bug 574667 has been marked as a duplicate of this bug. ***
Confirming due to duplicate + Mandriva bug report
I could not find such a CD at home to test, but what is your CD ? Does it have a global Artist or is it a compilation ?
I got confirmation on Mandriva report that the crash occurs on compilations only
Here is a crashing one, which correctly has MBI_VARIOUS_ARTIST_ID and has an artist name anyway, so should work... MusicBrainz: Connecting to http://musicbrainz.org:80 MusicBrainz: GET /ws/1/release/05ccfd53-59a1-4521-a94f-6e5305eeba49?type=xml&inc=artist%20tracks%20release-events%20url-rels MusicBrainz: Result: 0 (200 OK) MusicBrainz: Status: 200 MusicBrainz: Response: <?xml version="1.0" encoding="UTF-8"?><metadata xmlns=" http://musicbrainz.org/ns/mmd-1.0#" xmlns:ext=" http://musicbrainz.org/ns/ext-1.0#"><release id="05ccfd53-59a1-4521-a94f-6e5305eeba49" type="Compilation Official" ><title>Nu Jazz (disc 2)</title><text-representation language="ENG" script="Latn"/><asin>B00023P3CU</asin><artist id="89ad4ac3-39f7-470e-963a-56509c546377"><name>Various Artists</name><sort-name>Various Artists</sort-name></artist><release-event-list><event date="2004-08-02" country="FR"/></release-event-list><track-list><track id="cb93941a-5a2a-4d13-9b42-4e167b578f69"><title>Black Baby</title><duration>368920</duration><artist id="6b49dc39-cb6f-465f-980b-bc17a271da34" type="Group"><name>Kruder & Dorfmeister</name><sort-name>Kruder & Dorfmeister</sort-name></artist></track><track id="407f3d2e-15d6-4c9f-8814-9d0d89dee432"><title>Trying (Butti 49 Nu-Niveau mix)</title><duration>358360</duration><artist id="a72b4f57-8282-4d57-a30d-a9e0982af5d0" type="Group"><name>Nuspirit Helsinki</name><sort-name>Nuspirit Helsinki</sort-name><life-span begin="1998"/></artist></track><track id="c85d01a6-e65b-4e17-bed8-5abd84f7503e"><title>Original Oddstep (Revised by Grand Unified)</title><duration>371493</duration><artist id="1f8b3ca2-aa77-44e9-b812-c6c0db946fa7" type="Person"><name>Vert</name><sort-name>Vert</sort-name></artist></track><track id="f1e9dd18-7e30-422e-ae46-f23fb836bb72"><title>Style (feat. Jo Laundy)</title><duration>338026</duration><artist id="d1d73403-da44-4330-8bb4-5745244899de"><name>Jet Set Productions</name><sort-name>Jet Set Productions</sort-name></artist></track><track id="dc9dd4e2-c522-484d-84a7-5525d4ff04ca"><title>Conchita's Cabine</title><duration>280626</duration><artist id="6c20c0cc-e34f-4b6c-8745-9fb0fcf07509"><name>Briskey</name><sort-name>Briskey</sort-name></artist></track><track id="ba07137a-109d-4f8c-8dd5-15a8c4130f3f"><title>Change</title><duration>616400</duration><artist id="a7835277-ab17-4506-a033-60f018757b84" type="Person"><name>Bugge Wesseltoft</name><sort-name>Wesseltoft, Bugge</sort-name><life-span begin="1964-02-01"/></artist></track><track id="dffef0ef-c071-4348-a89a-27f37c3cbdba"><title>Breaking Away (Koop remix)</title><duration>222120</duration><artist id="e757253a-85cc-4892-a2e4-c88c3948b670" type="Person"><name>Shaun Escoffery</name><sort-name>Escoffery, Shaun</sort-name></artist></track><track id="a9333e17-f520-4e7a-978b-cfc6c6b29f2f"><title>Bird Song (Earthbound remix)</title><duration>431093</duration><artist id="6ba4e4b2-4587-47f7-8fe9-ec4eb172d5e7" type="Group"><name>The Underwolves</name><sort-name>Underwolves, The</sort-name></artist></track><track id="853645c3-ce7b-4d75-8b44-a565b0fc89b9"><title>The Look of Love</title><duration>162520</duration><artist id="c69e26b9-88ac-4931-940c-a0afb0a453ed" type="Person"><name>Dominique Dalcan</name><sort-name>Dalcan, Dominique</sort-name></artist></track><track id="753ed71a-a5e1-498d-87a0-41dc73d7137f"><title>To Fall by the Way Side</title><duration>287493</duration><artist id="691911bf-d22f-4c99-b5d9-1bea4d9ff241"><name>Dysh & Oscar</name><sort-name>Dysh & Oscar</sort-name></artist></track><track id="600171e1-33d3-4cb9-a17e-447b2bfe1967"><title>Private Sunshine</title><duration>233840</duration><artist id="1658c51b-3b8f-4c72-8314-3dd4fa524837" type="Person"><name>Ashley Slater</name><sort-name>Slater, Ashley</sort-name></artist></track><track id="03ed734b-a533-4fe8-804f-aec5e62f0b43"><title>'Round About Midnight (Gotan Project Meets Chet Baker)</title><duration>434053</duration><artist id="66cc244d-6f96-4668-a6e9-0f9cd5acc940" type="Group"><name>Gotan Project</name><sort-name>Gotan Project</sort-name><life-span begin="1999"/></artist></track></track-list><relation-list target-type="Url"><relation type="AmazonAsin" target=" http://www.amazon.fr/gp/product/B00023P3CU" begin="" end=""/></relation-list></release></metadata>
Hmm I had a communication problem with the reporter :) It actually does not crash on this one but on unknown CD where the output is : MusicBrainz: Connecting to http://musicbrainz.org:80 MusicBrainz: GET /ws/1/release/?type=xml&discid=.jivo5L22NytPvDeh5gq88Tgslg- MusicBrainz: Result: 0 (200 OK) MusicBrainz: Status: 200 MusicBrainz: Response: <?xml version="1.0" encoding="UTF-8"?><metadata xmlns=" http://musicbrainz.org/ns/mmd-1.0#" xmlns:ext=" http://musicbrainz.org/ns/ext-1.0#"><release-list></release-list></metadata> (sound-juicer:5999): Gtk-CRITICAL **: gtk_entry_set_text: assertion `text != NULL' failed (sound-juicer:5999): Gtk-CRITICAL **: gtk_entry_set_text: assertion `text != NULL' failed ** (sound-juicer:5999): CRITICAL **: musicbrainz_submit_message_area_new: assertion `title != NULL' failed (sound-juicer:5999): GLib-GObject-WARNING **: invalid (NULL) pointer instance (sound-juicer:5999): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed ** (sound-juicer:5999): CRITICAL **: gedit_message_area_set_default_response: assertion `GEDIT_IS_MESSAGE_AREA (message_area)' failed (sound-juicer:5999): Gtk-CRITICAL **: gtk_widget_show: assertion `GTK_IS_WIDGET (widget)' failed
*** Bug 575808 has been marked as a duplicate of this bug. ***
I think I'm experiencing this bug as well, doesn't have to be a compilation CD. Bug buddy says: Distribution: Unknown Gnome Release: 2.26.0 2009-03-29 (Archlinux) BugBuddy Version: 2.26.0 System: Linux 2.6.29-ARCH #1 SMP PREEMPT Wed Apr 8 12:47:56 UTC 2009 i686 X Vendor: The X.Org Foundation X Vendor Release: 10601000 Selinux: No Accessibility: Disabled GTK+ Theme: Rezlooks-graphite Icon Theme: Tango GTK+ Modules: canberra-gtk-module, gnomebreakpad Memory status: size: 0 vsize: 0 resident: 0 share: 0 rss: 0 rss_rlim: 0 CPU usage: start_time: 0 rtime: 0 utime: 0 stime: 0 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 0 ---- Critical and fatal warnings logged during execution ---- ** GLib-GObject **: g_object_unref: assertion `G_IS_OBJECT (object)' failed ** Gtk **: gtk_entry_set_text: assertion `text != NULL' failed ** Gtk **: gtk_entry_set_text: assertion `text != NULL' failed ** sound-juicer **: musicbrainz_submit_message_area_new: assertion `title != NULL' failed ** GLib-GObject **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed ** sound-juicer **: gedit_message_area_set_default_response: assertion `GEDIT_IS_MESSAGE_AREA (message_area)' failed ** Gtk **: gtk_widget_show: assertion `GTK_IS_WIDGET (widget)' failed ----------- .xsession-errors --------------------- (sound-juicer:8376): Gtk-CRITICAL **: gtk_entry_set_text: assertion `text != NULL' failed (sound-juicer:8376): Gtk-CRITICAL **: gtk_entry_set_text: assertion `text != NULL' failed ** (sound-juicer:8376): CRITICAL **: musicbrainz_submit_message_area_new: assertion `title != NULL' failed (sound-juicer:8376): GLib-GObject-WARNING **: invalid (NULL) pointer instance (sound-juicer:8376): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed ** (sound-juicer:8376): CRITICAL **: gedit_message_area_set_default_response: assertion `GEDIT_IS_MESSAGE_AREA (message_area)' failed (sound-juicer:8376): Gtk-CRITICAL **: gtk_widget_show: assertion `GTK_IS_WIDGET (widget)' failed gnome-session[7630]: WARNING: Unable to find watch for alarm 8388623 gnome-session[7630]: WARNING: Unable to find watch for alarm 8388624 -------------------------------------------------
*** Bug 581951 has been marked as a duplicate of this bug. ***
It seems that it crashes if there are no track names given. After putting track names the segfault goes away.
Could this be caused by the change from libmusicbrainz2 to 3? If I'm not mistaken, mb_list_albums in libjuicer/sj-metadata-musicbrainz.c sets album->artist to "Unknown Artist" while the corresponding libjuicer/sj-metadata-musicbrainz3.c just leaves it as a NULL pointer. So when then filepath_parse_pattern() is reached and album->artist is dereferenced, there will be a SEGFAULT.
*** Bug 607261 has been marked as a duplicate of this bug. ***
Isn't this bug a duplicate of bug 584225 ?
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 584225 ***
FYI, no this is not a duplicate of 584225. This bug was filed earlier than 584225, so 584225 is actually a duplicate of this bug. Marking this bug as a duplicate broke launchpad's remote bug tracking of this bug, which I have now fixed to point at 584225.
Fwiw, bug is older doesn't automatically imply new ones should be marked as duplicates of this one, sometimes newer bugs have more information than older ones, in which case it makes sense to keep the one with the most information open and to close the other ones as duplicates.
Simple solution: Transfer the missing information to the older bug if there's some missing.
Yeah, of course, do some dumb work because launchpad is broken. Anyway, this has nothing to do here, so let's stop :)