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 380124 - changing theme when gnome-cd interface is not displayed makes it crash
changing theme when gnome-cd interface is not displayed makes it crash
Status: RESOLVED FIXED
Product: gnome-media
Classification: Deprecated
Component: Gnome-CD
2.17.x
Other Linux
: Normal critical
: 2.17.4
Assigned To: gnome media maintainers
gnome media maintainers
: 406053 468973 474436 474440 474441 475308 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-11-28 12:51 UTC by Sebastien Bacher
Modified: 2007-09-12 20:49 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18


Attachments
fix (317 bytes, patch)
2007-01-08 05:15 UTC, Ronald Bultje
none Details | Review

Description Sebastien Bacher 2006-11-28 12:51:54 UTC
Ubuntu bug: https://launchpad.net/distros/ubuntu/+source/gnome-media/+bug/73412

That happens with gnome-media 2.16.1:

* change /apps/gnome-cd/device to a device which is not a CD drive
* start gnome-cd
* click on "Set device"
* pick a theme

gnome-cd crashes then

Backtrace of the crash:

Program received signal SIGSEGV, Segmentation fault.

Thread NaN (LWP 8074)

  • #0 cd_display_parse_theme
    at display.c line 841
  • #1 theme_load
    at theme.c line 139
  • #2 theme_changed
    at preferences.c line 146
  • #3 gconf_client_get_type
    from /usr/lib/libgconf-2.so.4
  • #4 gconf_listeners_notify
    from /usr/lib/libgconf-2.so.4
  • #5 gconf_client_value_changed
    from /usr/lib/libgconf-2.so.4
  • #6 gconf_client_value_changed
    from /usr/lib/libgconf-2.so.4
  • #7 g_idle_dispatch
    at gmain.c line 3926
  • #8 IA__g_main_context_dispatch
    at gmain.c line 2045

Comment 1 Ronald Bultje 2007-01-08 05:15:46 UTC
Created attachment 79706 [details] [review]
fix

Does this fix it?
Comment 2 Sebastien Bacher 2007-01-09 18:06:52 UTC
with that patches it doesn't crash, it prints that warning though: "** (gnome-cd:3678): CRITICAL **: theme_free: assertion `theme != NULL' failed"
Comment 3 Ronald Bultje 2007-01-09 18:09:47 UTC
Can you get me a backtrace of the warning?
Comment 4 Sebastien Bacher 2007-01-09 18:55:02 UTC
Backtrace:

** CRITICAL **: theme_free: assertion `theme != NULL' failed
aborting...

Program received signal SIGABRT, Aborted.

Thread NaN (LWP 9412)

  • #0 __kernel_vsyscall
  • #1 raise
    from /lib/tls/i686/cmov/libc.so.6
  • #2 abort
    from /lib/tls/i686/cmov/libc.so.6
  • #3 IA__g_logv
    at gmessages.c line 497
  • #4 IA__g_log
    at gmessages.c line 517
  • #5 IA__g_return_if_fail_warning
    at gmessages.c line 532
  • #6 theme_free
    at theme.c line 151
  • #7 notify_listeners_callback
    at gconf-client.c line 2384
  • #8 gconf_listeners_notify
    at gconf-listeners.c line 589
  • #9 notify_one_entry
    at gconf-client.c line 2409
  • #10 notify_idle_callback
    at gconf-client.c line 2449
  • #11 g_idle_dispatch
    at gmain.c line 3928
  • #12 IA__g_main_context_dispatch
    at gmain.c line 2045
  • #13 g_main_context_iterate
    at gmain.c line 2677
  • #14 IA__g_main_loop_run
    at gmain.c line 2881
  • #15 gtk_dialog_run
    from /usr/lib/libgtk-x11-2.0.so.0
  • #16 show_error
    at gnome-cd.c line 567
  • #17 main
    at gnome-cd.c line 668

Comment 5 Ronald Bultje 2007-01-14 15:40:13 UTC
2007-01-14  Ronald S. Bultje,,,  <rbultje@gnome.org>

        * gnome-cd/display.c: (cd_display_parse_theme):
        * gnome-cd/preferences.c: (do_theme_changed):
          Don't crash when changing theme without being displayed (#380124).
Comment 6 Marc-Andre Lureau 2007-02-11 19:47:38 UTC
*** Bug 406053 has been marked as a duplicate of this bug. ***
Comment 7 palfrey 2007-08-22 13:28:16 UTC
*** Bug 468973 has been marked as a duplicate of this bug. ***
Comment 8 Marc-Andre Lureau 2007-09-09 09:56:55 UTC
*** Bug 474436 has been marked as a duplicate of this bug. ***
Comment 9 Marc-Andre Lureau 2007-09-09 09:57:03 UTC
*** Bug 474440 has been marked as a duplicate of this bug. ***
Comment 10 Marc-Andre Lureau 2007-09-09 09:57:10 UTC
*** Bug 474441 has been marked as a duplicate of this bug. ***
Comment 11 Pascal Terjan 2007-09-12 20:49:01 UTC
*** Bug 475308 has been marked as a duplicate of this bug. ***