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 62520 - crash on launch
crash on launch
Status: RESOLVED FIXED
Product: gnome-print
Classification: Deprecated
Component: general
unspecified
Other Linux
: Normal major
: ---
Assigned To: Jody Goldberg
Jody Goldberg
: 63256 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2001-10-17 14:59 UTC by Michel Galle
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michel Galle 2001-10-17 14:56:44 UTC
Package: Gnumeric
Severity: blocker
Version: 0.71
Synopsis: crash on launch
Bugzilla-Product: Gnumeric
Bugzilla-Component: General

Description:
compile gnumeric 0.71
on  redhat 7.1 with ximian gnome installed ans updated for evolution
beta (daily snapshot, version 0.16.99 )

impossible to use
crash at every time 





Debugging Information:

[New Thread 1024 (LWP 26666)]
0x40880209 in __wait4 () from /lib/i686/libc.so.6

Thread 1 (Thread 1024 (LWP 26666))

  • #0 __wait4
    from /lib/i686/libc.so.6
  • #1 __DTOR_END__
    from /lib/i686/libc.so.6
  • #2 gnome_segv_handle
    at gnome-init.c line 659
  • #3 <signal handler called>
  • #4 ib_draw_cell
    at item-bar.c line 241
  • #5 item_bar_draw
    at item-bar.c line 319
  • #6 gnome_canvas_group_draw
    at gnome-canvas.c line 1864
  • #7 paint
    at gnome-canvas.c line 3306
  • #8 do_update
    at gnome-canvas.c line 3368
  • #9 gnome_canvas_expose
    at gnome-canvas.c line 3092
  • #10 gtk_marshal_BOOL__POINTER
    at gtkmarshal.c line 28
  • #11 gtk_signal_real_emit
    at gtksignal.c line 1492
  • #12 gtk_signal_emit
    at gtksignal.c line 552
  • #13 gtk_widget_event
    at gtkwidget.c line 2864
  • #14 gtk_main_do_event
    at gtkmain.c line 834
  • #15 gdk_event_dispatch
    at gdkevents.c line 2139
  • #16 g_main_dispatch
    at gmain.c line 656
  • #17 g_main_iterate
    at gmain.c line 877
  • #18 g_main_run
    at gmain.c line 935
  • #19 gtk_main
    at gtkmain.c line 524
  • #20 main
    at main.c line 281
  • #21 __libc_start_main
    at ../sysdeps/generic/libc-start.c line 129
  • #0 __wait4
    from /lib/i686/libc.so.6
  • #0 __wait4
    from /lib/i686/libc.so.6
  • #1 __DTOR_END__
    from /lib/i686/libc.so.6
  • #2 gnome_segv_handle
    at gnome-init.c line 659
  • #3 <signal handler called>
  • #4 ib_draw_cell
    at item-bar.c line 241
  • #5 item_bar_draw
    at item-bar.c line 319
  • #6 gnome_canvas_group_draw
    at gnome-canvas.c line 1864
  • #7 paint
    at gnome-canvas.c line 3306




------- Bug moved to this database by unknown@bugzilla.gnome.org 2001-10-17 10:56 -------

Reassigning to the default owner of the component, jgoldberg@home.com.

Comment 1 Jody Goldberg 2001-10-17 15:24:49 UTC
I can patch that crash be checking for invalid fonts, but it does not solve the
real problem.  Why are the fonts not defined ?  Are there any other messages ?
Comment 2 Jody Goldberg 2001-10-29 07:31:17 UTC
*** Bug 63256 has been marked as a duplicate of this bug. ***
Comment 3 Jody Goldberg 2001-10-29 19:36:20 UTC
The patch in 0.72 avoids the crash.  You'll need to figure out what is wrong
with your gnome-print installation.
Comment 4 Michel Galle 2001-10-30 09:18:37 UTC
with gnumeric 0.72 ,it's the same.

I have "gnome-print-0.31" (of ximian) and I crash when $LANG = fr_FR@euro
but it works when LANG = fr_FR  (without euro)

maybe I have somethings bad with euro in font

gnumeric tell that on the console 

Gdk-WARNING **:     ISO8859-15
Gdk-WARNING **: Missing charsets in FontSet creation
maybe the ISO8859 charset of the font are bad, but I don't understand
why. 
Comment 5 Jody Goldberg 2001-10-30 15:32:01 UTC
Can you get a back trace for 0.72 ?  I'm working blind trying to guess what is
broken in you font installation so that gnumeric can protect against it.
Comment 6 Mark Gordon 2001-10-30 19:35:17 UTC
I've been able to reproduce this.  I figured all the gdb output might
be useful, so I'm including it.

LANG=fr_FR@euro

$ gdb gnumeric
GNU gdb 5.0rh-5 Red Hat Linux 7.1
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-redhat-linux"...
(no debugging symbols found)...
(gdb) r
Starting program: /usr/bin/gnumeric 

Gdk-WARNING **: Missing charsets in FontSet creation


Gdk-WARNING **:     ISO8859-15


Gdk-WARNING **:     ISO8859-15


Gdk-WARNING **: Missing charsets in FontSet creation


Gdk-WARNING **:     ISO8859-15


Gdk-WARNING **:     ISO8859-15


Gdk-WARNING **: Missing charsets in FontSet creation


Gdk-WARNING **:     ISO8859-15


Gdk-WARNING **:     ISO8859-15


Gdk-WARNING **: Missing charsets in FontSet creation


Gdk-WARNING **:     ISO8859-15


Gdk-WARNING **:     ISO8859-15


Gdk-WARNING **: Missing charsets in FontSet creation


Gdk-WARNING **:     ISO8859-15


Gdk-WARNING **:     ISO8859-15


Gdk-WARNING **: Missing charsets in FontSet creation


Gdk-WARNING **:     ISO8859-15


Gdk-WARNING **:     ISO8859-15


Gdk-WARNING **: Missing charsets in FontSet creation


Gdk-WARNING **:     ISO8859-15


Gdk-WARNING **:     ISO8859-15


Gdk-WARNING **: Missing charsets in FontSet creation


Gdk-WARNING **:     ISO8859-15


Gdk-WARNING **:     ISO8859-15


Gdk-WARNING **: Missing charsets in FontSet creation


Gdk-WARNING **:     ISO8859-15


Gdk-WARNING **:     ISO8859-15


Gdk-WARNING **: Missing charsets in FontSet creation


Gdk-WARNING **:     ISO8859-15


Gdk-WARNING **:     ISO8859-15


Gdk-WARNING **: Missing charsets in FontSet creation


Gdk-WARNING **:     ISO8859-15


Gdk-WARNING **:     ISO8859-15


Gdk-WARNING **: Missing charsets in FontSet creation


Gdk-WARNING **:     ISO8859-15


Gdk-WARNING **:     ISO8859-15

[New Thread 1024 (LWP 18229)]

** CRITICAL **: file gnome-rfont.c: line 990
(gnome_display_font_height): assertion `gdf->gdk_font != NULL' failed.

Gdk-CRITICAL **: file gdkfont.c: line 318 (gdk_string_width):
assertion `font != NULL' failed.

** CRITICAL **: file gnome-rfont.c: line 990
(gnome_display_font_height): assertion `gdf->gdk_font != NULL' failed.

Gdk-CRITICAL **: file gdkfont.c: line 318 (gdk_string_width):
assertion `font != NULL' failed.

** CRITICAL **: file gnome-rfont.c: line 990
(gnome_display_font_height): assertion `gdf->gdk_font != NULL' failed.

Gdk-CRITICAL **: file gdkfont.c: line 318 (gdk_string_width):
assertion `font != NULL' failed.

** CRITICAL **: file gnome-rfont.c: line 990
(gnome_display_font_height): assertion `gdf->gdk_font != NULL' failed.

Gdk-CRITICAL **: file gdkfont.c: line 318 (gdk_string_width):
assertion `font != NULL' failed.

Gdk-CRITICAL **: file gdkfont.c: line 318 (gdk_string_width):
assertion `font != NULL' failed.

Program received signal SIGSEGV, Segmentation fault.

Thread 1024 (LWP 18229)

  • #0 item_bar_calc_size
    at eval.c line 41
  • #1 item_bar_calc_size
    at eval.c line 41
  • #2 gnome_canvas_group_draw
    at gnome-canvas.c line 1864
  • #3 paint
    at gnome-canvas.c line 3306
  • #4 do_update
    at gnome-canvas.c line 3368
  • #5 gnome_canvas_expose
    at gnome-canvas.c line 3092
  • #6 gtk_marshal_BOOL__POINTER
    at gtkmarshal.c line 28
  • #7 gtk_signal_real_emit
    at gtksignal.c line 1492
  • #8 gtk_signal_emit
    at gtksignal.c line 552
  • #9 gtk_widget_event
    at gtkwidget.c line 2864
  • #10 gtk_main_do_event
    at gtkmain.c line 834
  • #11 gdk_event_dispatch
    at gdkevents.c line 2139
  • #12 g_main_dispatch
    at gmain.c line 656
  • #13 g_main_iterate
    at gmain.c line 877
  • #14 g_main_run
    at gmain.c line 935
  • #15 gtk_main
    at gtkmain.c line 524
  • #16 main
    at eval.c line 41
  • #17 __libc_start_main
    at ../sysdeps/generic/libc-start.c line 129

Comment 7 Lauris Kaplinski 2001-10-31 13:57:34 UTC
I see the problem. Gnome-print uses gdk_fontset_new to create matching
display font for given GnomeFont. For some reason, using fr_FR@euro
locale, fontset creation fails, and NULL font is delivered.
Adding fallback to default should help, although not nice always:
If gdk_fontset_new fails, try
gdk_font_new - i.e. find FIRST matching font, if that fails,
gdk_font_new ("fixed")
It is difficult to support all people with different locale
preferences. I have always suspected fontsets to be half-solution,
and that seems to be true.
Anyways, I'll add fallback to gnome-print 0.32.
Comment 8 Jody Goldberg 2001-10-31 15:24:38 UTC
Thanks, for looking at this Lauris.  Do you have an eta on 0.32 ?