Comment 18 for bug 469520

Revision history for this message
Aapo Rantalainen (aapo-rantalainen) wrote :

I have same problem.
It occurs when ripping CD which is not in database.

Step 1) put some rare/unfamous CD in

Step 2) Start sound-juicer: This is log
(sound-juicer:1694): Gtk-CRITICAL **: gtk_entry_set_text: assertion `text != NULL' failed
(sound-juicer:1694): Gtk-CRITICAL **: gtk_entry_set_text: assertion `text != NULL' failed
** (sound-juicer:1694): CRITICAL **: musicbrainz_submit_message_area_new: assertion `title != NULL' failed
(sound-juicer:1694): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(sound-juicer:1694): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
** (sound-juicer:1694): CRITICAL **: gedit_message_area_set_default_response: assertion `GEDIT_IS_MESSAGE_AREA (message_area)' failed
(sound-juicer:1694): Gtk-CRITICAL **: gtk_widget_show: assertion `GTK_IS_WIDGET (widget)' failed
** (gnome-help:1737): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed
** (gnome-help:1737): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed

and in program there are empty fields of tags.

Step 3) Press 'Extract' (without filling tags)

sound-juicer crash. This is log:
** (sound-juicer:1694): WARNING **: Inhibit method failed
** (sound-juicer:1694): WARNING **: Inhibit problem : The name org.freedesktop.PowerManagement was not provided by any .service files
Segmentation fault

Case 2.
Step 1) Put CD (some famous)
Step 2) start sound-juicer: No log/warnings. There are values on the fields.
step 3) Press 'Extract'. This is log:
** (sound-juicer:1694): WARNING **: Inhibit method failed
** (sound-juicer:1694): WARNING **: Inhibit problem : The name org.freedesktop.PowerManagement was not provided by any .service files

And CD is ripped as expected. So I think this has nothing to do with org.freedesktop.PowerManagement.

sound-juicer tries to make files without names, because naming convention is related these empty fields (and files without names lead seg.fault). There should be some generated values if user wants rip un-identified CD without manually filling fields.