After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 572145 - sound-juicer crashed with SIGSEGV in filepath_parse_pattern()
sound-juicer crashed with SIGSEGV in filepath_parse_pattern()
Status: RESOLVED DUPLICATE of bug 584225
Product: sound-juicer
Classification: Applications
Component: ripping
2.25.x
Other Linux
: Normal critical
: ---
Assigned To: Sound Juicer Maintainers
Sound Juicer Maintainers
: 574667 575808 581951 607261 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-02-17 13:16 UTC by Pedro Villavicencio
Modified: 2010-04-17 17:13 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26



Description Pedro Villavicencio 2009-02-17 13:16:45 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"

".

Thread 1 (process 11889)

  • #0 sanitize_path
    at sj-extracting.c line 859
  • #1 filepath_parse_pattern
    at sj-extracting.c line 977
  • #2 build_filename
    at sj-extracting.c line 140
  • #3 pop_and_extract
    at sj-extracting.c line 403
  • #4 on_extract_activate
    at sj-extracting.c line 834
  • #5 IA__g_cclosure_marshal_VOID__VOID
    at /build/buildd/glib2.0-2.19.6/gobject/gmarshal.c line 77
  • #6 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.19.6/gobject/gclosure.c line 767
  • #7 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.19.6/gobject/gsignal.c line 3244
  • #8 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.19.6/gobject/gsignal.c line 2977
  • #9 IA__g_signal_emit
    at /build/buildd/glib2.0-2.19.6/gobject/gsignal.c line 3034
  • #10 IA__gtk_button_clicked
    at /build/buildd/gtk+2.0-2.15.3/gtk/gtkbutton.c line 1106
  • #11 gtk_real_button_released
    at /build/buildd/gtk+2.0-2.15.3/gtk/gtkbutton.c line 1702
  • #12 IA__g_cclosure_marshal_VOID__VOID
    at /build/buildd/glib2.0-2.19.6/gobject/gmarshal.c line 77
  • #13 g_type_class_meta_marshal
    at /build/buildd/glib2.0-2.19.6/gobject/gclosure.c line 878
  • #14 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.19.6/gobject/gclosure.c line 767
  • #15 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.19.6/gobject/gsignal.c line 3174
  • #16 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.19.6/gobject/gsignal.c line 2977
  • #17 IA__g_signal_emit
    at /build/buildd/glib2.0-2.19.6/gobject/gsignal.c line 3034
  • #18 IA__gtk_button_released
    at /build/buildd/gtk+2.0-2.15.3/gtk/gtkbutton.c line 1098
  • #19 gtk_button_button_release
    at /build/buildd/gtk+2.0-2.15.3/gtk/gtkbutton.c line 1594
  • #20 _gtk_marshal_BOOLEAN__BOXED
    at /build/buildd/gtk+2.0-2.15.3/gtk/gtkmarshalers.c line 84
  • #21 g_type_class_meta_marshal
    at /build/buildd/glib2.0-2.19.6/gobject/gclosure.c line 878
  • #22 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.19.6/gobject/gclosure.c line 767
  • #23 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.19.6/gobject/gsignal.c line 3282
  • #24 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.19.6/gobject/gsignal.c line 2987
  • #25 IA__g_signal_emit
    at /build/buildd/glib2.0-2.19.6/gobject/gsignal.c line 3034
  • #26 gtk_widget_event_internal
    at /build/buildd/gtk+2.0-2.15.3/gtk/gtkwidget.c line 4761
  • #27 IA__gtk_propagate_event
    at /build/buildd/gtk+2.0-2.15.3/gtk/gtkmain.c line 2396
  • #28 IA__gtk_main_do_event
    at /build/buildd/gtk+2.0-2.15.3/gtk/gtkmain.c line 1601
  • #29 gdk_event_dispatch
    at /build/buildd/gtk+2.0-2.15.3/gdk/x11/gdkevents-x11.c line 2363
  • #30 IA__g_main_context_dispatch
    at /build/buildd/glib2.0-2.19.6/glib/gmain.c line 1814
  • #31 g_main_context_iterate
    at /build/buildd/glib2.0-2.19.6/glib/gmain.c line 2448
  • #32 IA__g_main_loop_run
    at /build/buildd/glib2.0-2.19.6/glib/gmain.c line 2656
  • #33 IA__gtk_main
    at /build/buildd/gtk+2.0-2.15.3/gtk/gtkmain.c line 1205
  • #34 main
    at sj-main.c line 1892

Comment 1 Pascal Terjan 2009-03-09 19:39:01 UTC
*** Bug 574667 has been marked as a duplicate of this bug. ***
Comment 2 Pascal Terjan 2009-03-09 19:39:48 UTC
Confirming due to duplicate + Mandriva bug report
Comment 3 Pascal Terjan 2009-03-10 10:27:33 UTC
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 ?
Comment 4 Pascal Terjan 2009-03-10 10:56:38 UTC
I got confirmation on Mandriva report that the crash occurs on compilations only
Comment 5 Pascal Terjan 2009-03-10 11:22:52 UTC
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 &amp;
Dorfmeister</name><sort-name>Kruder &amp;
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 &amp;
Oscar</name><sort-name>Dysh &amp; 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>
Comment 6 Pascal Terjan 2009-03-10 13:59:17 UTC
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
Comment 7 Gianluca Borello 2009-03-18 12:13:19 UTC
*** Bug 575808 has been marked as a duplicate of this bug. ***
Comment 8 Diego Gaustein 2009-04-18 18:57:13 UTC
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
-------------------------------------------------
Comment 9 palfrey 2009-05-11 11:39:19 UTC
*** Bug 581951 has been marked as a duplicate of this bug. ***
Comment 10 Igor Wojnicki 2009-05-31 15:09:08 UTC
It seems that it crashes if there are no track names given. After putting track names the segfault goes away. 
Comment 11 David Juran 2009-07-13 18:56:17 UTC
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.
Comment 12 Fabio Durán Verdugo 2010-01-17 23:34:57 UTC
*** Bug 607261 has been marked as a duplicate of this bug. ***
Comment 13 Akhil Laddha 2010-02-11 05:27:39 UTC
Isn't this bug a duplicate of bug 584225 ?
Comment 14 Akhil Laddha 2010-04-11 13:05:46 UTC
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 ***
Comment 15 Stephen Warren 2010-04-17 15:38:44 UTC
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.
Comment 16 Christophe Fergeau 2010-04-17 16:56:59 UTC
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.
Comment 17 Stephen Warren 2010-04-17 16:58:08 UTC
Simple solution: Transfer the missing information to the older bug if there's some missing.
Comment 18 Christophe Fergeau 2010-04-17 17:13:57 UTC
Yeah, of course, do some dumb work because launchpad is broken. Anyway, this has nothing to do here, so let's stop :)