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 656535 - Crash with message: Unable to load encoding profiles from /usr/share/rhythmbox/rhythmbox.gep: no error
Crash with message: Unable to load encoding profiles from /usr/share/rhythmbo...
Status: RESOLVED DUPLICATE of bug 642949
Product: rhythmbox
Classification: Other
Component: general
HEAD
Other Linux
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-08-14 23:04 UTC by Martin Schaaf
Modified: 2011-08-23 10:53 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Martin Schaaf 2011-08-14 23:04:55 UTC
This crash happens on opening preferences dialog or trying to encode a audio.


Program received signal SIGSEGV, Segmentation fault.
gst_encoding_target_get_profiles (target=0x0) at encoding-target.c:173
173	encoding-target.c: Datei oder Verzeichnis nicht gefunden.
	in encoding-target.c
(gdb) bt
  • #0 gst_encoding_target_get_profiles
    at encoding-target.c line 173
  • #1 impl_get_config_widget
    at rb-library-source.c line 614
  • #2 rb_shell_preferences_append_view_page
    at rb-shell-preferences.c line 399
  • #3 rb_shell_preferences_new
    at rb-shell-preferences.c line 435
  • #4 rb_shell_get_property
    at rb-shell.c line 953
  • #5 object_get_property
    at /build/buildd/glib2.0-2.28.8/./gobject/gobject.c line 1131
  • #6 g_object_get_valist
    at /build/buildd/glib2.0-2.28.8/./gobject/gobject.c line 1780
  • #7 g_object_get
    at /build/buildd/glib2.0-2.28.8/./gobject/gobject.c line 1870
  • #8 rb_shell_cmd_preferences
    at rb-shell.c line 2542
  • #9 g_closure_invoke
    at /build/buildd/glib2.0-2.28.8/./gobject/gclosure.c line 767
  • #10 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.28.8/./gobject/gsignal.c line 3252
  • #11 g_signal_emit_valist
    at /build/buildd/glib2.0-2.28.8/./gobject/gsignal.c line 2983
  • #12 g_signal_emit
    at /build/buildd/glib2.0-2.28.8/./gobject/gsignal.c line 3040
  • #13 ??
    from /usr/lib/libgtk-3.so.0
  • #14 g_closure_invoke
    at /build/buildd/glib2.0-2.28.8/./gobject/gclosure.c line 767
  • #15 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.28.8/./gobject/gsignal.c line 3182
  • #16 g_signal_emit_valist
    at /build/buildd/glib2.0-2.28.8/./gobject/gsignal.c line 2983
  • #17 g_signal_emit

Comment 1 Jonathan Matthew 2011-08-17 21:42:14 UTC
What git commit id is your rhythmbox build?  What output do you get from find /usr/share -name rhythmbox.gep?  Did you build it yourself or is this from a package?
Comment 2 Michael Gratton 2011-08-18 06:36:30 UTC
I'm getting something similar, using RB 2.90.1 on Ubuntu with the GNOME 3 PPA.

Choosing Edit > Preferences results in a crash, with the following output:

 (rhythmbox:11484): Rhythmbox-WARNING **: Unable to load encoding profiles from /usr/share/rhythmbox/rhythmbox.gep: no error

That file exists and is readable, but I don't know if its format is valid.

The top of the stack trace is:

  • #0 gst_encoding_target_get_profiles
    from /usr/lib/libgstpbutils-0.10.so.0
  • #1 impl_get_config_widget
    at rb-library-source.c line 614
  • #2 rb_shell_preferences_append_view_page
    at rb-shell-preferences.c line 399
  • #3 rb_shell_preferences_new
    at rb-shell-preferences.c line 435
  • #4 rb_shell_get_property
    at rb-shell.c line 954
  • #5 object_get_property
    at /build/buildd/glib2.0-2.28.8/./gobject/gobject.c line 1131
  • #6 g_object_get_valist
    at /build/buildd/glib2.0-2.28.8/./gobject/gobject.c line 1780
  • #7 g_object_get
    at /build/buildd/glib2.0-2.28.8/./gobject/gobject.c line 1870
  • #8 rb_shell_cmd_preferences
    at rb-shell.c line 2578
  • #9 g_closure_invoke
    at /build/buildd/glib2.0-2.28.8/./gobject/gclosure.c line 767
  • #10 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.28.8/./gobject/gsignal.c line 3252
  • #11 g_signal_emit_valist
    at /build/buildd/glib2.0-2.28.8/./gobject/gsignal.c line 2983
  • #12 g_signal_emit
    at /build/buildd/glib2.0-2.28.8/./gobject/gsignal.c line 3040
  • #13 ??
    from /usr/lib/libgtk-3.so.0
  • #14 g_closure_invoke

Comment 3 Michael Gratton 2011-08-18 06:42:17 UTC
The package changelog claims:

  * New upstream git snapshot up to commit
    5371a53f180007f7998720acf8d7d3376376a39d
Comment 4 Martin Schaaf 2011-08-18 19:37:49 UTC
It is a bug in gstreamer pbutils in the file encoding-target.c

 res =
      g_key_file_load_from_file (in, path,
      G_KEY_FILE_KEEP_COMMENTS | G_KEY_FILE_KEEP_TRANSLATIONS, error);

  if (!res || error != NULL)
    goto load_error;

res is true but error seems to be not NULL
The problem is that error comes from outside the method and is initialized outside. This is changed in the current gst devel branch.
I fixed the crash for me by changing the the code to


 res =
      g_key_file_load_from_file (in, path,
      G_KEY_FILE_KEEP_COMMENTS | G_KEY_FILE_KEEP_TRANSLATIONS, error);

  if (!res)
    goto load_error;
Comment 5 Michael Gratton 2011-08-23 07:03:04 UTC
Seems this was fixed in bug #642949, released in gst-plugins-base 0.10.32.
Comment 6 Michael Gratton 2011-08-23 07:06:56 UTC
Sorry, I mean released in gst-plugins-base 0.10.33.
Comment 7 Jonathan Matthew 2011-08-23 10:53:44 UTC
Thanks for tracking that down, Mike.

*** This bug has been marked as a duplicate of bug 642949 ***