RE: cairo-xlib-surface.c:401 _swap_ximage_to_native: Assertion `N OT_REACHED' failed.



Just thought that I should provide more information.  here is the call stack
that gdb captures right after the core dump:

#0  0x415e2061 in kill () from /lib/libc.so.6
#1  0x402631c1 in pthread_kill () from /lib/libpthread.so.0
#2  0x4026353b in raise () from /lib/libpthread.so.0
#3  0x415e1df4 in raise () from /lib/libc.so.6
#4  0x415e32bd in abort () from /lib/libc.so.6
#5  0x415db338 in __assert_fail () from /lib/libc.so.6
#6  0x413f3acb in cairo_test_xlib_disable_render () from
/usr/lib/libcairo.so.2
#7  0x413f3cd9 in cairo_test_xlib_disable_render () from
/usr/lib/libcairo.so.2
#8  0x413f4366 in cairo_test_xlib_disable_render () from
/usr/lib/libcairo.so.2
#9  0x413e7e32 in cairo_surface_set_device_offset () from
/usr/lib/libcairo.so.2
#10 0x413e7ff1 in cairo_surface_set_device_offset () from
/usr/lib/libcairo.so.2
#11 0x413e84d9 in cairo_surface_set_device_offset () from
/usr/lib/libcairo.so.2
#12 0x413e83da in cairo_surface_set_device_offset () from
/usr/lib/libcairo.so.2
#13 0x413e017c in cairo_font_options_get_hint_metrics () from
/usr/lib/libcairo.so.2
#14 0x413e0324 in cairo_font_options_get_hint_metrics () from
/usr/lib/libcairo.so.2
#15 0x413e0411 in cairo_font_options_get_hint_metrics () from
/usr/lib/libcairo.so.2
#16 0x413d97e2 in cairo_fill_preserve () from /usr/lib/libcairo.so.2
#17 0x413d9794 in cairo_fill () from /usr/lib/libcairo.so.2
#18 0x41310df2 in gdk_window_get_internal_paint_info () from
/usr/lib/libgdk-x11-2.0.so.0
#19 0x4130f33b in gdk_window_begin_paint_region () from
/usr/lib/libgdk-x11-2.0.so.0
#20 0x410aac51 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#21 0x41311cf3 in gdk_window_clear_area_e () from
/usr/lib/libgdk-x11-2.0.so.0
#22 0x41311e4e in gdk_window_process_all_updates () from
/usr/lib/libgdk-x11-2.0.so.0
#23 0x4101ac6e in gtk_container_set_reallocate_redraws () from
/usr/lib/libgtk-x11-2.0.so.0
#24 0x41478e83 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#25 0x41475e8f in g_main_depth () from /usr/lib/libglib-2.0.so.0
#26 0x41476f08 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#27 0x4147723c in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0x414777d3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#29 0x410aa533 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#30 0x40deb5f9 in Gtk::Main::run_impl () from /usr/lib/libgtkmm-2.4.so.1
#31 0x40deb443 in Gtk::Main::run () from /usr/lib/libgtkmm-2.4.so.1
#32 0x0827480f in main (argc=1, argv=0xbffff1a4) at main.cpp:171

> -----Original Message-----
> From: Ohrnberger, Erik 
> Sent: Thursday, January 05, 2006 2:57 PM
> To: gtkmm-list gnome org
> Subject: cairo-xlib-surface.c:401 _swap_ximage_to_native: Assertion
> `NOT_REACHED' failed.
> 
> 
> Recently, I've determined that my gtkmm application needs to 
> be able to use C++ exceptions (mainly to handle persisten C++ 
> object stores via another library).
> 
> Once I turned on g++'s -fexceptions option on the compile 
> line, rebuilt, re-linked and ran the application, it core 
> dumps with the following error message:
> 
> cairo-xlib-surface.c:401: _swap_ximage_to_native: Assertion 
> `NOT_REACHED' failed.
> 
> I've never seen this before, and I've never even heard of the 
> cairo library, tho I deduce that it's a fairly low level X thing.
> 
> Anyone have any additional information on this error message? 
>  Does gtkmm even support C++ exceptions?
> 
> Thanks,
>     Erik.
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]