[R] R --gnome segfaults on RH 6.0 with R-0.65.0

Prof Brian D Ripley ripley@stats.ox.ac.uk
Mon, 30 Aug 1999 13:50:47 +0100 (BST)


On Mon, 30 Aug 1999, Alexander Volovics wrote:

> Have just compiled and installed R-65.0 on RH 6.0 with all the latest
> updates for RH and Gnome (including `libglade-0.3-1.i386.rpm' and
> `libglade-devel-0.3-1.i386.rpm' from RH ftp).
> 
> R.X11 works OK.
> 
> But when I try `R --gnome' I get a segmentation fault/core dump
> with the messages:
> 
> Gdk-CRITICAL **: file gdkfont.c: line 174 (gdk_font_id): assertion `font
> != NULL' failed.
> 
> Gdk-CRITICAL **: file gdkfont.c: line 133 (gdk_font_ref): assertion `font
> != NULL' failed.
> 
> .................etc., etc.
> 
> 1) `gdb' shows (for what it is worth):
>    Core was generated by `/usr/local/R65/lib/R/bin/R.gnome'
>    #0  0x4024034d in gtk_text_size_request ()
> 
> 2) I can't find the file `gdkfont.c' anywhere on my system.
>    Should I be able to and if so can anybody tell me which package/library
>    contains `gdkfont.c' ?

(it is in the source for libgdk).

> Is this my stupidity or worth reporting as a bug or already known?

Have you upgraded all the rpms mentioned in the INSTALL? It is possible
I suppose that you have too recent versions, as well as possible that
you have too old ones.  That does work on both my RH6.0 systems, and it
was critical that I upgraded the gtk+ packages; before I did I got similar
problems.

I have moved this to R-devel, as a more appropriate place IMHO.

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._