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 133407 - gtk-demo core-dumps ....
gtk-demo core-dumps ....
Status: RESOLVED NOTGNOME
Product: gtk+
Classification: Platform
Component: .General
2.3.x
Other HP-UX
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2004-02-04 14:22 UTC by Jonas Jonsson
Modified: 2005-08-03 15:03 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6



Description Jonas Jonsson 2004-02-04 14:22:27 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
  • #0 XRenderQueryFormats
    at Xrender.c line 335
  • #1 XRenderQuerySubpixelOrder
    at Xrender.c line 490
  • #2 XftDefaultSubstitute
    at xftdpy.c line 486
  • #3 pango_xft_font_map_default_substitute
    at pangoxft-fontmap.c line 361
  • #4 pango_fc_default_substitute
    at pangofc-fontmap.c line 611
  • #5 pango_fc_font_map_get_patterns
    at pangofc-fontmap.c line 640
  • #6 pango_fc_font_map_load_fontset
    at pangofc-fontmap.c line 765
  • #7 pango_font_map_load_fontset
    at pango-fontmap.c line 128
  • #8 itemize_state_update_for_new_run
    at pango-context.c line 924
  • #9 itemize_state_process_run
    at pango-context.c line 942
  • #10 pango_itemize
    at pango-context.c line 1048
  • #11 pango_layout_check_lines
    at pango-layout.c line 3002
  • #12 pango_layout_get_extents_internal
    at pango-layout.c line 1885
  • #13 pango_layout_get_extents
    at pango-layout.c line 2010
  • #14 gtk_text_layout_get_line_display
    at gtktextlayout.c line 1975
  • #15 gtk_text_layout_real_wrap
    at gtktextlayout.c line 966
  • #16 gtk_text_layout_wrap
    at gtktextlayout.c line 583
  • #17 _gtk_text_btree_validate_line
    at gtktextbtree.c line 5202
  • #18 gtk_text_layout_validate_yrange
    at gtktextlayout.c line 882
  • #19 gtk_text_view_validate_onscreen
    at gtktextview.c line 3104
  • #20 gtk_text_view_flush_first_validate
    at gtktextview.c line 3160
  • #21 first_validate_callback
    at gtktextview.c line 3181
  • #22 g_idle_dispatch
    at gmain.c line 3273
  • #23 g_main_dispatch
    at gmain.c line 1752
  • #24 g_main_context_dispatch
    at gmain.c line 2300
  • #25 g_main_context_iterate
    at gmain.c line 2381
  • #26 g_main_loop_run
    at gmain.c line 2601
  • #27 gtk_main
    at gtkmain.c line 1171
  • #28 main
    at main.c line 903

Compiler:
HP C/HP-UX Version B.11.11.06
5187-0750

CFLAGS:
-Ae -g +DA2.0W
Comment 1 Owen Taylor 2004-02-04 15:21:30 UTC
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.

Comment 2 Olivier Fourdan 2005-08-03 15:03:41 UTC
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;

     /*