GNOME Bugzilla – Bug 133407
gtk-demo core-dumps ....
Last modified: 2005-08-03 15:03:41 UTC
gdb gtk-demo Detected 64-bit executable. Invoking /opt/langtools/bin/gdb64. HP gdb 3.2 for PA-RISC 2.0 (wide), HP-UX 11.00. Copyright 1986 - 2001 Free Software Foundation, Inc. Hewlett-Packard Wildebeest 3.2 (based on GDB) is covered by the GNU General Public License. Type "show copying" to see the conditions to change it and/or distribute copies. Type "show warranty" for warranty/support. .. (gdb) r Starting program: /alcesys/build/gnome-2.6/bin/gtk-demo Program received signal SIGSEGV, Segmentation fault. 0x800003fffeff3b18 in XRenderQueryFormats (dpy=0x800000010001fe60) at Xrender.c:335 335 Xrender.c: No such file or directory. (gdb) bt
+ Trace 43803
Compiler: HP C/HP-UX Version B.11.11.06 5187-0750 CFLAGS: -Ae -g +DA2.0W
This doesn't look like a GTK+ or Pango bug, but rather a problem with the Xrender libraries. You'll need to debug it yourself/ and/or report the problem to bugzilla.freedesktop.org or to HP, depending on where you got the Xrender library.
For the record, the problem is with libXrender (including latest version 0.9). The problem shows when the display has the XRender extension (ie it doesn't show with the regular HP console, it shows when using a display on a recent linux distribution). The following patch fixes the issue for me. --- libXrender-0.9.0.orig/Xrender.c 2005-08-03 17:01:33.000000000 +0200 +++ libXrender-0.9.0/Xrender.c 2005-08-03 17:01:19.000000000 +0200 @@ -195,9 +195,11 @@ dpyinfo->display = dpy; dpyinfo->info = NULL; +#if 0 if (XRenderHasDepths (dpy)) dpyinfo->codes = XInitExtension (dpy, ext_name); else +#endif dpyinfo->codes = NULL; /*