Bug 5196 - Gtk applications fail when forwarding display to IRIX
Summary: Gtk applications fail when forwarding display to IRIX
Status: RESOLVED DUPLICATE of bug 4945
Alias: None
Product: cairo
Classification: Unclassified
Component: xlib backend (show other bugs)
Version: 1.0.2
Hardware: x86 (IA32) Linux (All)
: high major
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-30 06:41 UTC by Joe Van dyk
Modified: 2006-01-05 19:34 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Joe Van dyk 2005-11-30 06:41:33 UTC
I can't get any recent Gtk applications (using Gtk 2.8.6) to work when
forwarding the DISPLAY of the applications to any SGI Octane's we have
here.  It's running IRIX/6.5.15f.  The application is running on a linux box. 
Cairo 1.0.2 is installed.

I can supply other details if needed. 

It seems to be failing in one of the cairo functions.

Backtrace of one of my applications:

#0  0x00138cef in raise () from /lib/tls/libc.so.6
#1  0x0013a4f5 in abort () from /lib/tls/libc.so.6
#2  0x00625dc5 in rb_bug (fmt=0x6c896e "Segmentation fault") at error.c:214
#3  0x00698997 in sigsegv (sig=11) at signal.c:446
#4  <signal handler called>
#5  0x00000000 in ?? ()
#6  0x00450ffc in fbFetch (pict=0x9fccc70, x=0, y=0, width=10,
   buffer=0x9fccc70) at fbcompose.c:2673
#7  0x0045341f in fbCompositeRect (data=0xbfff0730, scanline_buffer=0xbfff0750)
   at fbcompose.c:3565
#8  0x00453a09 in pixman_compositeGeneral (op=PIXMAN_OPERATOR_CLEAR,
   pSrc=0x9fcce68, pMask=0x9fccb58, pDst=0x9fccd80, xSrc=11, ySrc=10,
   xMask=0, yMask=0, xDst=0, yDst=0, width=0, height=14) at fbcompose.c:3677
#9  0x00443785 in *_cairo_pixman_composite (op=PIXMAN_OPERATOR_OVER,
   pSrc=0x9fcce68, pMask=0x9fccb58, pDst=0x9fccd80, xSrc=11, ySrc=10,
   xMask=0, yMask=0, xDst=0, yDst=0, width=10, height=14) at fbpict.c:1825
#10 0x0042741a in _cairo_image_surface_composite (
   operator=CAIRO_OPERATOR_OVER, src_pattern=0xbfff6d80,
   mask_pattern=0xbfff6a10, abstract_dst=0x9fccdf8, src_x=11, src_y=10,
   mask_x=0, mask_y=0, dst_x=0, dst_y=0, width=10, height=14)
   at cairo-image-surface.c:595
#11 0x0042d4c6 in _fallback_composite (operator=167562352, src=0x9fccc70,
   mask=0x9fccc70, dst=0x9fccc70, src_x=167562352, src_y=167562352,
   mask_x=167562352, mask_y=167562352, dst_x=0, dst_y=0, width=10, height=14)
   at cairo-surface.c:800
#12 0x00437783 in _cairo_ft_scaled_font_show_glyphs (abstract_font=0x9eec050,
   operator=167562352, pattern=0xbfff6d80, surface=0x9fcc7c8,
   source_x=167562352, source_y=167562352, dest_x=11, dest_y=10, width=10,
   height=14, glyphs=0x9f40978, num_glyphs=1) at cairo-ft-font.c:2048
#13 0x00421e3f in _cairo_scaled_font_show_glyphs (scaled_font=0x9eec050,
   operator=CAIRO_OPERATOR_OVER, pattern=0xbfff6d80, surface=0x9fcc7c8,
   source_x=11, source_y=10, dest_x=11, dest_y=10, width=10, height=14,
   glyphs=0x9f40978, num_glyphs=1) at cairo-font.c:929
#14 0x00425a5d in _cairo_gstate_show_glyphs_draw_func (closure=0xbfff6d60,
   operator=167562352, src=0xbfff6d80, dst=0x9fccc70, dst_x=0, dst_y=0,
   extents=0xbfff6d58) at cairo-gstate.c:2053
#15 0x0042425a in _cairo_gstate_clip_and_composite (clip=0x9fcc23c,
   operator=CAIRO_OPERATOR_OVER, src=0xbfff6d80,
   draw_func=0x425970 <_cairo_gstate_show_glyphs_draw_func>,
   draw_closure=0xbfff6d60, dst=0x9fcc7c8, extents=0xbfff6d58)
   at cairo-gstate.c:1094
#16 0x00425c9b in _cairo_gstate_show_glyphs (gstate=0x9fcc1b8,
   glyphs=0xbfff6e60, num_glyphs=1) at cairo-gstate.c:2131
#17 0x0041e6d4 in cairo_show_glyphs (cr=0x9fcc868, glyphs=0x0,
   num_glyphs=167562352) at cairo.c:2158
#18 0x0092f4a2 in pango_cairo_renderer_draw_glyphs (renderer=0x9fcbfe0,
   font=0x9fccc70, glyphs=0x9eeb2b0, x=0, y=0) at pangocairo-render.c:110
#19 0x00afd609 in pango_renderer_draw_glyphs (renderer=0x9fcbfe0,
   font=0x9fccc70, glyphs=0x9fccc70, x=167562352, y=167562352)
   at pango-renderer.c:597
#20 0x0092f9c6 in pango_cairo_show_glyph_string (cr=0x9fcc868, font=0x9f11028,
   glyphs=0x9eeb2b0) at pangocairo-render.c:314
#21 0x006fa40b in gdk_pango_renderer_draw_glyphs (renderer=0x9fccc70,
   font=0x9f11028, glyphs=0x9eeb2b0, x=9216, y=24576) at gdkpango.c:210
#22 0x00afd609 in pango_renderer_draw_glyphs (renderer=0x9fcbc30,
   font=0x9fccc70, glyphs=0x9fccc70, x=167562352, y=167562352)
   at pango-renderer.c:597
#23 0x00afd4ce in pango_renderer_draw_layout_line (renderer=0x9fcbc30,
   line=0x9ee79f8, x=9216, y=24576) at pango-renderer.c:528
#24 0x00afcbed in pango_renderer_draw_layout (renderer=0x9fcbc30,
   layout=0x9ee79f8, x=9216, y=5120) at pango-renderer.c:182
#25 0x006fbb31 in gdk_draw_layout_with_colors (drawable=0x0, gc=0x9f29770,
   x=9216, y=5120, layout=0x9ee78c8, foreground=0x9fccc70,
   background=0x9fccc70) at gdkpango.c:989
#26 0x006fbd7d in gdk_draw_layout (drawable=0x9f2c6a0, gc=0x9f29770,
   x=167562352, y=167562352, layout=0x9ee78c8) at gdkpango.c:1051
#27 0x010efb62 in gtk_default_draw_layout (style=0x9ee0480, window=0x9f2c6a0,
   state_type=GTK_STATE_NORMAL, use_text=0, area=0x9f3961c, widget=0x9ecc020,
   detail=0x12196bc "label", x=9, y=5, layout=0x9ee78c8) at gtkstyle.c:5088
#28 0x010f1dbc in gtk_paint_layout (style=0x9ee0480, window=0x9f2c6a0,
   state_type=167562352, use_text=167562352, area=0x9fccc70,
   widget=0x9fccc70, detail=0x9fccc70 "[[[[[[[[[[", x=167562352, y=167562352,
   layout=0x9fccc70) at gtkstyle.c:6329
#29 0x0107abbe in gtk_label_expose (widget=0x9ecc020, event=0x9f39610)
   at gtklabel.c:2344
#30 0x00faa615 in gtk_accel_label_expose_event (widget=0x9ecc020,
   event=0x9f39610) at gtkaccellabel.c:343
#31 0x0108d4a1 in _gtk_marshal_BOOLEAN__BOXED (closure=0x9b50a90,
   return_value=0xbfff7680, n_param_values=2, param_values=0xbfff77d0,
   invocation_hint=0xbfff76a8, marshal_data=0xfaa420) at gtkmarshalers.c:83
#32 0x002525f7 in g_type_class_meta_marshal (closure=0x9b50a90,
   return_value=0x9fccc70, n_param_values=167562352, param_values=0xbfff77d0,
   invocation_hint=0x9fccc70, marshal_data=0x9fccc70) at gclosure.c:569
#33 0x00252315 in g_closure_invoke (closure=0x9b50a90, return_value=0x9fccc70,
   n_param_values=167562352, param_values=0x9fccc70,
   invocation_hint=0x9fccc70) at gclosure.c:492
#34 0x00263e7a in signal_emit_unlocked_R (node=0x9c29ee8, detail=0,
   instance=0x9ecc020, emission_return=0xbfff7760,
   instance_and_params=0xbfff77d0) at gsignal.c:2523
#35 0x00263293 in g_signal_emit_valist (instance=0x9ecc020, signal_id=0,
   detail=0, var_args=0xbfff7960 "hyÿhyÿ") at gsignal.c:2254
#36 0x00263724 in g_signal_emit (instance=0x9fccc70, signal_id=167562352,
   detail=167562352) at gsignal.c:2288
#37 0x01188d0b in gtk_widget_event_internal (widget=0x9ecc020, event=0x9f39610)
   at gtkwidget.c:3735
#38 0x00ff9384 in gtk_container_propagate_expose (container=0x9f39610,
   child=0x9ecc020, event=0x9f396a8) at gtkcontainer.c:2461
#39 0x00ff905f in gtk_container_expose_child (child=0x9fccc70, client_data=0x0)
   at gtkcontainer.c:2349
#40 0x0109bf7c in gtk_menu_item_forall (container=0x9ecb830,
   include_internals=1, callback=0xff9030 <gtk_container_expose_child>,
   callback_data=0x9fccc70) at gtkmenuitem.c:1454
#41 0x00ff73dc in gtk_container_forall (container=0x9ecb830,
   callback=0xff9030 <gtk_container_expose_child>, callback_data=0x9fccc70)
   at gtkcontainer.c:1265
#42 0x00ff90f4 in gtk_container_expose (widget=0x9ecb830, event=0x9f396a8)
   at gtkcontainer.c:2372
#43 0x0109ac92 in gtk_menu_item_expose (widget=0x9ecb830, event=0x9f396a8)
   at gtkmenuitem.c:853
#44 0x0108d4a1 in _gtk_marshal_BOOLEAN__BOXED (closure=0x9b50a90,
   return_value=0xbfff7ba0, n_param_values=2, param_values=0xbfff7cf0,
   invocation_hint=0xbfff7bc8, marshal_data=0x109ac00) at gtkmarshalers.c:83
#45 0x002525f7 in g_type_class_meta_marshal (closure=0x9b50a90,
   return_value=0x9fccc70, n_param_values=167562352, param_values=0xbfff7cf0,
 invocation_hint=0x9fccc70, marshal_data=0x9fccc70) at gclosure.c:569
#46 0x00252315 in g_closure_invoke (closure=0x9b50a90, return_value=0x9fccc70,
   n_param_values=167562352, param_values=0x9fccc70,
   invocation_hint=0x9fccc70) at gclosure.c:492
#47 0x00263e7a in signal_emit_unlocked_R (node=0x9c29ee8, detail=0,
   instance=0x9ecb830, emission_return=0xbfff7c80,
   instance_and_params=0xbfff7cf0) at gsignal.c:2523
#48 0x00263293 in g_signal_emit_valist (instance=0x9ecb830, signal_id=0,
   detail=0, var_args=0xbfff7e80 "\210~ÿ\210~ÿ") at gsignal.c:2254
#49 0x00263724 in g_signal_emit (instance=0x9fccc70, signal_id=167562352,
   detail=167562352) at gsignal.c:2288
#50 0x01188d0b in gtk_widget_event_internal (widget=0x9ecb830, event=0x9f396a8)
   at gtkwidget.c:3735
#51 0x00ff9384 in gtk_container_propagate_expose (container=0x9f396a8,
   child=0x9ecb830, event=0xbfff8430) at gtkcontainer.c:2461
#52 0x00ff905f in gtk_container_expose_child (child=0x9fccc70, client_data=0x0)
   at gtkcontainer.c:2349
#53 0x0109d591 in gtk_menu_shell_forall (container=0x9eb88e0,
   include_internals=1, callback=0xff9030 <gtk_container_expose_child>,
   callback_data=0xbfff7f50) at gtkmenushell.c:885
#54 0x00ff73dc in gtk_container_forall (container=0x9ecb610,
   callback=0xff9030 <gtk_container_expose_child>, callback_data=0x9fccc70)
   at gtkcontainer.c:1265
#55 0x00ff90f4 in gtk_container_expose (widget=0x9ecb610, event=0xbfff8430)
   at gtkcontainer.c:2372
#56 0x01098aa2 in gtk_menu_bar_expose (widget=0x9ecb610, event=0xbfff8430)
   at gtkmenubar.c:567
#57 0x0108d4a1 in _gtk_marshal_BOOLEAN__BOXED (closure=0x9b50a90,
   return_value=0xbfff80c0, n_param_values=2, param_values=0xbfff8210,
   invocation_hint=0xbfff80e8, marshal_data=0x1098a10) at gtkmarshalers.c:83
#58 0x002525f7 in g_type_class_meta_marshal (closure=0x9b50a90,
   return_value=0x9fccc70, n_param_values=167562352, param_values=0xbfff8210,
   invocation_hint=0x9fccc70, marshal_data=0x9fccc70) at gclosure.c:569
#59 0x00252315 in g_closure_invoke (closure=0x9b50a90, return_value=0x9fccc70,
   n_param_values=167562352, param_values=0x9fccc70,
   invocation_hint=0x9fccc70) at gclosure.c:492
#60 0x00263e7a in signal_emit_unlocked_R (node=0x9c29ee8, detail=0,
   instance=0x9ecb610, emission_return=0xbfff81a0,
   instance_and_params=0xbfff8210) at gsignal.c:2523
#61 0x00263293 in g_signal_emit_valist (instance=0x9ecb610, signal_id=0,
   detail=0, var_args=0xbfff83a0 "¨203ÿ¨203ÿ") at gsignal.c:2254
#62 0x00263724 in g_signal_emit (instance=0x9fccc70, signal_id=167562352,
   detail=167562352) at gsignal.c:2288
#63 0x01188d0b in gtk_widget_event_internal (widget=0x9ecb610,
   event=0xbfff8430) at gtkwidget.c:3735
#64 0x0108ad0f in gtk_main_do_event (event=0xbfff8430) at gtkmain.c:1364
#65 0x0070c103 in gdk_window_process_updates_internal (window=0x9f2c6a0)
   at gdkwindow.c:2215
#66 0x0070c25e in gdk_window_process_all_updates () at gdkwindow.c:2268
#67 0x00ff6fbe in gtk_container_idle_sizer (data=0x0) at gtkcontainer.c:1117
#68 0x00eff413 in g_idle_dispatch (source=0x9eecb78, callback=0,
   user_data=0x9fccc70) at gmain.c:3813
#69 0x00efc37b in g_main_dispatch (context=0x9b7c390) at gmain.c:1934
#70 0x00efd438 in g_main_context_dispatch (context=0x9b7c390) at gmain.c:2484
#71 0x00efd76c in g_main_context_iterate (context=0x9b7c390, block=1,
   dispatch=1, self=0x9ecd470) at gmain.c:2565
#72 0x00efdd81 in g_main_loop_run (loop=0x9f23610) at gmain.c:2769


First few lines of xdpyinfo:name of display:    exetor:0.0
version number:    11.0
vendor string:    Silicon Graphics
vendor release number:    6600
maximum request size:  262140 bytes
motion buffer size:  0
bitmap unit, bit order, padding:    32, MSBFirst, 32
image byte order:    MSBFirst
number of supported pixmap formats:    6
supported pixmap formats:
   depth 1, bits_per_pixel 1, scanline_pad 32
   depth 4, bits_per_pixel 8, scanline_pad 32
   depth 8, bits_per_pixel 8, scanline_pad 32
   depth 12, bits_per_pixel 16, scanline_pad 32
   depth 15, bits_per_pixel 16, scanline_pad 32
   depth 24, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 15, maximum 149
focus:  PointerRoot
number of extensions:    32
   Adobe-DPS-Extension
   DCShare
   DEC-XTRAP
   DOUBLE-BUFFER
   DPMS
   DPSExtension
   ESA
   Extended-Visual-Information
   GLX
   LBX
   MIT-SHM
   MIT-SUNDRY-NONSTANDARD
   Multi-Buffering
   READDISPLAY
   RECORD
   ReadDisplay
   SCREEN-SAVER
   SGI-NewMultibuffering
   SGI-SCREEN-CAPTURE
   SGI-SUNDRY-NONSTANDARD
   SGI-VIDEO-CONTROL
   SGIFullScreenStereo
   SHAPE
   SYNC
   TOG-CUP
   X3D-PEX
   XC-APPGROUP
   XC-MISC
   XInputExtension
   XKEYBOARD
   XTEST
   XVideo
default screen number:    0
number of screens:    1

screen #0:
 dimensions:    1280x1024 pixels (260x190 millimeters)
 resolution:    125x137 dots per inch
Comment 1 Joe Van dyk 2005-12-03 06:16:03 UTC
Can I provide any more information on this?  I'd really like to get this working
soon.
Comment 2 Dom Lachowicz 2006-01-06 14:34:46 UTC
This backtrace looks identical to the first one in bug 4945. Marking this as a
duplicate.

*** This bug has been marked as a duplicate of 4945 ***


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.