[gvd-devel] BadAlloc, BadFont

frodet@nvg.ntnu.no frodet@nvg.ntnu.no
Tue, 11 Dec 2001 11:55:42 +0100 (CET)


> > which is the one gvd is using does not work all that well...any ideas?
> 
> Not really, since we've never seen this error with gvd before.
> 
> Did you try to debug it (or at least get a backtrace to understand where the
> problem comes from precisely) ? MAybe changing fonts in the preferences
> might work around the problem.

I was a bit vague before - the problem occurs at startup hence I'm not 
able to set any preferences.

Since XSetErrorHandler is used this effectively removes any backtrace 
information. However, enabling synchronous resulted in:

(gdb) back
#0  0xff29c494 in _XReply ()
#1  0xff2a3a6c in XSync ()
#2  0xff2a3968 in XCloseDisplay ()
#3  0x4585c8 in gdk_beep ()
#4  0xff09b2c0 in _exithandle ()
#5  0xff119fd8 in exit ()
#6  0x458640 in gdk_beep ()
#7  0xff2bc998 in _XError ()
#8  0xff29c8c4 in _XReply ()
#9  0xff2ab57c in _XQueryFont ()
#10 0xff2ab454 in XLoadQueryFont ()
#11 0x465778 in gdk_font_load ()
#12 0x3528b0 in gtk_psfont_get_gdkfont ()
#13 0x2e67e4 in gtk__extra__psfont__get_gdkfont ()
#14 0x30c23c in gtkada__canvas__configure ()
#15 0x223110 in gvd__process__create_debugger ()
#16 0x1fc2dc in _ada_gvd_main ()
#17 0xf7144 in main ()
(gdb) 

Does this help?

Regards,
 -Frode