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 469164 - Critical warnings on startup
Critical warnings on startup
Status: RESOLVED INCOMPLETE
Product: gnome-control-center
Classification: Core
Component: [obsolete] Appearance
2.19.x
Other All
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-08-22 08:37 UTC by attila
Modified: 2007-08-28 18:51 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description attila 2007-08-22 08:37:44 UTC
Version: 2.19.90

Gtk-Message: Failed to load module "gnomebreakpad": libgnomebreakpad.so: nem lehet megnyitni megosztott objektum fájlt: Nincs ilyen fájl vagy könyvtár
Gtk-Message: Failed to load module "gnomebreakpad": libgnomebreakpad.so: nem lehet megnyitni megosztott objektum fájlt: Nincs ilyen fájl vagy könyvtár

(gnome-appearance-properties:18895): GLib-CRITICAL **: g_ascii_strcasecmp: assertion `s2 != NULL' failed

(gnome-appearance-properties:18895): Pango-CRITICAL **: pango_color_parse: assertion `spec != NULL' failed

(gnome-appearance-properties:18895): Pango-CRITICAL **: pango_color_parse: assertion `spec != NULL' failed

(gnome-appearance-properties:18895): Pango-CRITICAL **: pango_color_parse: assertion `spec != NULL' failed

(gnome-appearance-properties:18895): Pango-CRITICAL **: pango_color_parse: assertion `spec != NULL' failed

(gnome-appearance-properties:18895): Pango-CRITICAL **: pango_color_parse: assertion `spec != NULL' failed

(gnome-appearance-properties:18895): Pango-CRITICAL **: pango_color_parse: assertion `spec != NULL' failed

(gnome-appearance-properties:18895): Pango-CRITICAL **: pango_color_parse: assertion `spec != NULL' failed

(gnome-appearance-properties:18895): Pango-CRITICAL **: pango_color_parse: assertion `spec != NULL' failed

(gnome-appearance-properties:18895): Pango-CRITICAL **: pango_color_parse: assertion `spec != NULL' failed

(gnome-appearance-properties:18895): Pango-CRITICAL **: pango_color_parse: assertion `spec != NULL' failed

(gnome-appearance-properties:18895): Pango-CRITICAL **: pango_color_parse: assertion `spec != NULL' failed
Szegmens hiba



Distribution: Fedora release 7.90 (Rawhide)
Gnome Release: 2.19.6 2007-08-17 (Red Hat, Inc)
BugBuddy Version: 2.18.0
Comment 1 attila 2007-08-22 08:54:35 UTC
Please, ask, what should I post from gdb.
Comment 2 attila 2007-08-22 09:03:07 UTC
Something what could help: 
................................................
0x0805e196 in gnome_wp_item_new ()
(gdb) step
Single stepping until exit from function gnome_wp_item_new, 
which has no line number information.

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
Comment 3 attila 2007-08-22 10:07:18 UTC
I've figured out how to fix it:

Workaround:
Step 1.: Open Nautilus
Step 2.: Choose a background from Edit > Backgrounds... and drag it to the desktop.
Step 3.: Now you can use  gnome-appearance-properties without crashing.

But, please, take a look why is segfaulting if no default values are given.
Comment 4 Gabor Kelemen 2007-08-22 16:09:19 UTC
You need bug-buddy 2.19, but Fedora has only 2.18, this is a known problem:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=251067
Comment 5 Jens Granseuer 2007-08-22 16:30:15 UTC
The first two messages are from missing bug-buddy, the rest is not.
Comment 6 Jens Granseuer 2007-08-22 16:33:07 UTC
Attila, I can't reproduce the critical warnings even with no background set.

If you can still reproduce the problem, please start appearance-properties from the command line using

G_DEBUG=fatal-criticals gdb gnome-appearance-properties

(and make sure you have debugging symbols for control-center installed).
Then run and continue until you hit the segmentation fault, and post the output of

(gdb) bt full

Thanks in advance.
Comment 7 attila 2007-08-24 08:13:50 UTC
Sorry, the error dissapeared. 
What I have noticed it is that the content of apps > desktop > gnome > background was totally empty when I had the errors.
Now if I delete the keys, I have just:

(gnome-appearance-properties:28754): GLib-CRITICAL **: g_ascii_strcasecmp: assertion `s2 != NULL' failed

This doesn't seems to cause any problem anymore. (I have upgraded control-center to newest version.)
Comment 8 Jens Granseuer 2007-08-24 08:34:37 UTC
That is still a critical warning that should be fixed (and will cause deliberate crashes with development versions of Gnome), so it would be nice if you could provide the gdb trace anyway. Thanks.
Comment 9 attila 2007-08-24 08:42:06 UTC
GLib-CRITICAL **: g_ascii_strcasecmp: assertion `s2 != NULL' failed
aborting...

Program received signal SIGABRT, Aborted.

Thread NaN (LWP 29089)

  • #0 __kernel_vsyscall
  • #1 raise
    from /lib/libc.so.6
  • #2 abort
    from /lib/libc.so.6
  • #3 g_logv
    from /lib/libglib-2.0.so.0
  • #4 g_log
    from /lib/libglib-2.0.so.0
  • #5 g_return_if_fail_warning
    from /lib/libglib-2.0.so.0
  • #6 g_ascii_strcasecmp
    from /lib/libglib-2.0.so.0
  • #7 gconf_string_to_enum
    from /usr/lib/libgconf-2.so.4
  • #8 set_toolbar_style
    at appearance-ui.c line 70
  • #9 ui_init
    at appearance-ui.c line 231
  • #10 main
    at appearance-main.c line 155

Comment 10 Thomas Wood 2007-08-25 23:05:30 UTC
It seems very odd that set_toolbar_style() has value set to 0x6. It is set from the return value of gconf_client_get_string () which should always be NULL on error.
Comment 11 attila 2007-08-27 07:48:40 UTC
Do you need some other outputs as well?
Comment 12 Thomas Wood 2007-08-27 11:18:24 UTC
If you can install the glib and gconf debug symbols as well, that would be helpful.
Comment 13 Jens Granseuer 2007-08-27 18:45:55 UTC
It smells of memory corruption of some sort, so it's probably going to be hard to pin down. Does Fedora apply any patches to the package?
Comment 14 attila 2007-08-28 07:38:52 UTC
Well, sorry guys, but I had a full system crash, so I've lost everything... :(
I hope that someone else can jump into this bug auditing... :(
I am very sad because of this...
Comment 15 Jens Granseuer 2007-08-28 18:51:17 UTC
I don't think we can do anything as long as noone can reproduce it. I'm closing it for that reason, but please reopen in case this happens again.