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 0x800003fffeff3b18 in XRenderQueryFormats (dpy=0x800000010001fe60) at Xrender.c:335 #1 0x800003fffeff46ac in XRenderQuerySubpixelOrder (dpy=0x800000010001fe60, screen=0) at Xrender.c:490 #2 0x800003ffff1c0bd8 in XftDefaultSubstitute (dpy=0x800000010001fe60, screen=0, pattern=0x8000000100178ca0) at xftdpy.c:486 #3 0x800003fffeecf030 in pango_xft_font_map_default_substitute (fcfontmap=0x8000000100088bd0, pattern=0x8000000100178ca0) at pangoxft-fontmap.c:361 #4 0x800003fffea48d38 in pango_fc_default_substitute (fontmap=0x8000000100088bd0, pattern=0x8000000100178ca0) at pangofc-fontmap.c:611 #5 0x800003fffea48e9c in pango_fc_font_map_get_patterns (fontmap=0x8000000100088bd0, context=0x800000010008a098, desc=0x8000000100178c70, language=0x80000001000a4720) at pangofc-fontmap.c:640 #6 0x800003fffea4947c in pango_fc_font_map_load_fontset (fontmap=0x8000000100088bd0, context=0x800000010008a098, desc=0x8000000100178c70, language=0x80000001000a4720) at pangofc-fontmap.c:765 #7 0x800003fffee941ec in pango_font_map_load_fontset (fontmap=0x8000000100088bd0, context=0x800000010008a098, desc=0x8000000100178c70, language=0x80000001000a4720) at pango-fontmap.c:128 #8 0x800003fffee90b18 in itemize_state_update_for_new_run (state=0x800003ffff7f1ed8) at pango-context.c:924 #9 0x800003fffee90b9c in itemize_state_process_run (state=0x800003ffff7f1ed8) at pango-context.c:942 #10 0x800003fffee91098 in pango_itemize (context=0x800000010008a098, text=0x8000000100178448 "Application main window", start_index=0, length=23, attrs=0x8000000100178a70, cached_iter=0x8000000100178bd8) at pango-context.c:1048 #11 0x800003fffee9f114 in pango_layout_check_lines (layout=0x8000000100178b20) at pango-layout.c:3002 #12 0x800003fffee9c020 in pango_layout_get_extents_internal (layout=0x8000000100178b20, ink_rect=0x0, logical_rect=0x800003ffff7f1b4c, line_extents=0x0) at pango-layout.c:1885 #13 0x800003fffee9c538 in pango_layout_get_extents (layout=0x8000000100178b20, ink_rect=0x0, logical_rect=0x800003ffff7f1b4c) at pango-layout.c:2010 #14 0x800003ffff6e4cd8 in gtk_text_layout_get_line_display (layout=0x80000001000874f8, line=0x8000000100085fc8, size_only=1) at gtktextlayout.c:1975 #15 0x800003ffff6e2084 in gtk_text_layout_real_wrap (layout=0x80000001000874f8, line=0x8000000100085fc8, line_data=0x800000010008a510) at gtktextlayout.c:966 #16 0x800003ffff6e0c94 in gtk_text_layout_wrap (layout=0x80000001000874f8, line=0x8000000100085fc8, line_data=0x800000010008a510) at gtktextlayout.c:583 #17 0x800003ffff6bc588 in _gtk_text_btree_validate_line (tree=0x8000000100087738, line=0x8000000100085fc8, view_id=0x80000001000874f8 "") at gtktextbtree.c:5202 #18 0x800003ffff6e1bdc in gtk_text_layout_validate_yrange (layout=0x80000001000874f8, anchor=0x800003ffff7f1730, y0=0, y1=412) at gtktextlayout.c:882 #19 0x800003ffff6fd6f4 in gtk_text_view_validate_onscreen (text_view=0x80000001000822c0) at gtktextview.c:3104 #20 0x800003ffff6fd854 in gtk_text_view_flush_first_validate (text_view=0x80000001000822c0) at gtktextview.c:3160 #21 0x800003ffff6fd938 in first_validate_callback (data=0x80000001000822c0 "") at gtktextview.c:3181 #22 0x800003fffed6082c in g_idle_dispatch (source=0x800000010000bb70, callback=0x800003ffff322330, user_data=0x80000001000822c0 "") at gmain.c:3273 #23 0x800003fffed5b16c in g_main_dispatch (context=0x80000001000278d8) at gmain.c:1752 #24 0x800003fffed5d0ac in g_main_context_dispatch (context=0x80000001000278d8) at gmain.c:2300 #25 0x800003fffed5d848 in g_main_context_iterate (context=0x80000001000278d8, block=1, dispatch=1, self=0x800000010002a390) at gmain.c:2381 #26 0x800003fffed5e7dc in g_main_loop_run (loop=0x80000001000ed5e0) at gmain.c:2601 #27 0x800003ffff5d785c in gtk_main () at gtkmain.c:1171 #28 0x400000000002cda4 in main (argc=1, argv=0x800003ffff7f0cd0) at main.c:903 (gdb) Compiler: HP C/HP-UX Version B.11.11.06 5187-0750 CFLAGS: -Ae -g +DA2.0W
uname -a gives: HP-UX lilith B.11.11 U 9000/800 198901507 unlimited-user license Don't know if the contents of these two are interesting but: (gdb) print *info $5 = {next = 0x0, display = 0x800000010001fe48, codes = 0x800000010000c590, info = 0x800000010008f770} (gdb) print *dpy $6 = {ext_data = 0x0, free_funcs = 0x8000000100022650, fd = 4, conn_checker = 1, proto_major_version = 11, proto_minor_version = 0, vendor = 0x8000000100020968 "The XFree86 Project, Inc", resource_base = 20971520, resource_mask = 2097151, resource_id = 50, resource_shift = 0, resource_alloc = 0x800003ffff729ae0, byte_order = 0, bitmap_unit = 32, bitmap_pad = 32, bitmap_bit_order = 0, nformats = 7, pixmap_format = 0x80000001000227e8, vnumber = 11, release = 40300001, head = 0x0, tail = 0x0, qlen = 0, last_request_read = 252, request = 262, last_req = 0x800003ffff72e498 "", buffer = 0x8000000100021e40 "\022", bufptr = 0x8000000100021e40 "\022", bufmax = 0x8000000100022640 "", max_request_size = 65535, db = 0x800000010000c658, synchandler = 0, display_name = 0x8000000100021de8 "monica.pc.ds.sll.se:0.0", default_screen = 0, nscreens = 1, screens = 0x80000001000228a0, motion_buffer = 256, flags = 0, min_keycode = 8, max_keycode = 255, keysyms = 0x0, modifiermap = 0x0, keysyms_per_keycode = 0, xdefaults = 0x8000000100022758 "xterm.background:\twhite\nxterm.eightBitInput:\ttrue\nxterm.foreground:\tblack\nxterm.saveLines:\t2048\nxterm.scrollBar:\ttrue\n", scratch_buffer = 0x8000000100154178 "ÿÿÿ", scratch_length = 27392, ext_number = 5, ext_procs = 0x800000010000c588, event_vec = {0x800003ffff727530, 0x800003ffff727530, 0x800003ffff729370 <repeats 33 times>, 0x800003ffff727530 <repeats 35 times>, 0x800003ffff723cc0, 0x800003ffff727530 <repeats 57 times>}, wire_vec = {0x800003ffff7278b0, 0x800003ffff7278b0, 0 <repeats 33 times>, 0x800003ffff7278b0 <repeats 93 times>}, lock_meaning = 0, lock = 0x0, async_handlers = 0x0, bigreq_size = 0, lock_fns = 0x1400029, idlist_alloc = 0x8000000100022bd8, key_bindings = 0x0, cursor_font = 0, atoms = 0x0, mode_switch = 0, num_lock = 0, context_db = 0x0, error_vec = 0x0, cms = {defaultCCCs = 0x0, clientCmaps = 0x0, perVisualIntensityMaps = 0x0}, im_filters = 0x0, filler = {0, 0, 1, 0, -2147482625, -9266224, 0}, qfree = 0x0, next_event_serial_num = 0, flushes = 0x0, im_fd_info = 0x0, im_fd_length = 0, conn_watchers = 0x0, watcher_count = 0, filedes = 0x0, savedsynchandler = 0, resource_max = 0, xcmisc_opcode = 0, xkb_info = 0xfffff, trans_conn = 0x1ffffa} I run Cygwin/X on a W2K PC, connecting via telnet||ssh to the HP-UX machine ..
I've now recompiled all of the code with CFLAGS=-Ae +DA2.0 -g Still crash in LockDisplay (Xrender.c:335) gdb /alcesys/build/gnome-2.6/bin/gtk-demo HP gdb 3.2 for PA-RISC 1.1 or 2.0 (narrow), 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) directory /alcesys/build/garnome-0.29.1/bootstrap/xrender/work/main.d/xrender-0.8.3 Source directories searched: /alcesys/build/garnome-0.29.1/bootstrap/xrender/work/main.d/xrender-0.8.3:$cdir:$cwd (gdb) r Starting program: /alcesys/build/gnome-2.6/bin/gtk-demo Program received signal SIGSEGV, Segmentation fault. 0x7a92e264 in XRenderQueryFormats (dpy=0x40015ac8) at Xrender.c:335 335 LockDisplay (dpy); (gdb) list 330 int nf, ns, nd, nv; 331 int rlength; 332 int nbytes; 333 334 RenderCheckExtension (dpy, info, 0); 335 LockDisplay (dpy); 336 if (info->info) 337 { 338 UnlockDisplay (dpy); 339 return 1; (gdb) print *dpy $1 = {ext_data = 0x0, free_funcs = 0x400178a8, fd = 7, conn_checker = 1, proto_major_version = 11, proto_minor_version = 0, vendor = 0x40017a10 "The XFree86 Project, Inc", resource_base = 16777216, resource_mask = 2097151, resource_id = 50, resource_shift = 0, resource_alloc = 0x7aa9cd7e <_XAllocID>, byte_order = 0, bitmap_unit = 32, bitmap_pad = 32, bitmap_bit_order = 0, nformats = 7, pixmap_format = 0x40017a38, vnumber = 11, release = 40300001, head = 0x0, tail = 0x0, qlen = 0, last_request_read = 252, request = 262, last_req = 0x7aaac748 "", buffer = 0x400170a0 "\022", bufptr = 0x400170a0 "\022", bufmax = 0x400178a0 "@", max_request_size = 65535, db = 0x4005e2e0, synchandler = 0, display_name = 0x40013310 "monica.pc.ds.sll.se:0.0", default_screen = 0, nscreens = 1, screens = 0x40017ab0, motion_buffer = 256, flags = 0, min_keycode = 8, max_keycode = 255, keysyms = 0x0, modifiermap = 0x0, keysyms_per_keycode = 0, xdefaults = 0x40017950 "xterm.background:\twhite\nxterm.eightBitInput:\ttrue\nxterm.foreground:\tblack\nxterm.saveLines:\t2048\nxterm.scrollBar:\ttrue\n", scratch_buffer = 0x40094868 "ÿÿÿ", scratch_length = 27392, ext_number = 5, ext_procs = 0x4005df58, event_vec = {0x7aa9cdf6 <_XUnknownWireEvent>, 0x7aa9cdf6 <_XUnknownWireEvent>, 0x7aa9ce06 <_XWireToEvent> <repeats 33 times>, 0x7aa9cdf6 <_XUnknownWireEvent> <repeats 35 times>, 0x7aaa2292 <wire_to_event>, 0x7aa9cdf6 <_XUnknownWireEvent> <repeats 57 times>}, wire_vec = {0x7aa9cdfe <_XUnknownNativeEvent>, 0x7aa9cdfe <_XUnknownNativeEvent>, 0 <repeats 33 times>, 0x7aa9cdfe <_XUnknownNativeEvent> <repeats 93 times>}, lock_meaning = 0, lock = 0x0, async_handlers = 0x0, bigreq_size = 0, lock_fns = 0x1000029, idlist_alloc = 0x40017cb0, key_bindings = 0x0, cursor_font = 0, atoms = 0x0, mode_switch = 0, num_lock = 0, context_db = 0x0, error_vec = 0x0, cms = {defaultCCCs = 0x0, clientCmaps = 0x0, perVisualIntensityMaps = 0x0}, im_filters = 0x0, filler = { 0, 0, 0, 1, 0, 2057948574, 0}, qfree = 0x0, next_event_serial_num = 0, flushes = 0x0, im_fd_info = 0x0, im_fd_length = 0, conn_watchers = 0x0, watcher_count = 0, filedes = 0x0, savedsynchandler = 0, resource_max = 0, xcmisc_opcode = 0, xkb_info = 0x0, trans_conn = 0xfffff} (gdb) quit I've tried connecting to the HP-UX box via ssh -X and telnet, either way the app crash ....
Is this still an issue with modern deliverables? If it's restricted to HP-UX, I'm not sure how easy it will be to get someone to fix it, but patches are welcome =/
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.