Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cairo-xlib-surface.c:401: _swap_ximage_to_native: Assertion
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
eohrnberger
Apprentice
Apprentice


Joined: 09 Dec 2004
Posts: 240

PostPosted: Sun Jan 08, 2006 5:32 pm    Post subject: cairo-xlib-surface.c:401: _swap_ximage_to_native: Assertion Reply with quote

I recently emerge updated my system, and pickup a number of packages that needed to be installed. All this went flawlessly.

Then I tried to run a gtkmm program, and received the following error message as soon as the program tried to draw it's main window:
cairo-xlib-surface.c:401: _swap_ximage_to_native: Assertion `NOT_REACHED' failed.

Then I tried the gtkmm-2.4.11 example program 'wheelbarrow', and got the same error message:
wheelbarrow: cairo-xlib-surface.c:401: _swap_ximage_to_native: Assertion `NOT_REACHED' failed.

So I then tried the gtk+-2.6.10 example wheelbarrow program, and got this gdb backtrace:
(gdb) run
Starting program: /root/temp/gtk+-2.6.10/examples/wheelbarrow/wheelbarrow
wheelbarrow: cairo-xlib-surface.c:401: _swap_ximage_to_native: Assertion `NOT_REACHED' failed.

Program received signal SIGABRT, Aborted.
0xb79e4041 in kill () from /lib/libc.so.6
(gdb) backtrace
#0 0xb79e4041 in kill () from /lib/libc.so.6
#1 0xb79e3dc5 in raise () from /lib/libc.so.6
#2 0xb79e53b0 in abort () from /lib/libc.so.6
#3 0xb79dd189 in __assert_fail () from /lib/libc.so.6
#4 0xb7baf15b in cairo_test_xlib_disable_render () from /usr/lib/libcairo.so.2
#5 0xb7bcc0cd in ?? () from /usr/lib/libcairo.so.2
#6 0xb7bcd44f in ?? () from /usr/lib/libcairo.so.2
#7 0x00000191 in ?? ()
#8 0xb7bcd438 in ?? () from /usr/lib/libcairo.so.2
#9 0xb7bcf6b4 in ?? () from /usr/lib/libcairo.so.2
#10 0xb7cabd80 in gdk_keyboard_grab_info_libgtk_only () from /usr/lib/libgdk-x11-2.0.so.0
#11 0x080756a8 in ?? ()
#12 0xb7baf354 in cairo_test_xlib_disable_render () from /usr/lib/libcairo.so.2
#13 0x080756a8 in ?? ()
#14 0x01800024 in ?? ()
#15 0x00000000 in ?? ()

Anybody know what's going on and how do I fix it? I'm stumped. This is pretty serious as it prevents any gtkmm, gtk+ programs from running.

Thanks in advance,
Erik.
Back to top
View user's profile Send private message
eohrnberger
Apprentice
Apprentice


Joined: 09 Dec 2004
Posts: 240

PostPosted: Sun Jan 08, 2006 6:28 pm    Post subject: Reply with quote

OK, I think I have a workaround until this issue is cleared up.

I backed out the last gtk+ release by: emerge \<gtk+-2.8.8, and it would appear that the issue is cleared up, so the last gtk+ release has a bug, apparently.
Back to top
View user's profile Send private message
eohrnberger
Apprentice
Apprentice


Joined: 09 Dec 2004
Posts: 240

PostPosted: Tue Mar 07, 2006 8:55 pm    Post subject: Reply with quote

:(

No word on this? Is it perhaps that I've overlooked something really basic? A USE flag that I've overlooked?

Can anyone help me out here?
Back to top
View user's profile Send private message
eohrnberger
Apprentice
Apprentice


Joined: 09 Dec 2004
Posts: 240

PostPosted: Wed May 31, 2006 8:17 pm    Post subject: Reply with quote

BUMP.
Back to top
View user's profile Send private message
eohrnberger
Apprentice
Apprentice


Joined: 09 Dec 2004
Posts: 240

PostPosted: Tue Nov 28, 2006 3:08 am    Post subject: Reply with quote

Resolved! As it turns out, the newer version of cairo can't render on a 24 bit deep display, and asserts out.

The bug has been posted to the cairo bugzilla database, and the developers are considering resolving the issue.
Back to top
View user's profile Send private message
eohrnberger
Apprentice
Apprentice


Joined: 09 Dec 2004
Posts: 240

PostPosted: Fri Dec 01, 2006 4:51 am    Post subject: Reply with quote

Well, OK, not so resolved. The cairo developeds, while acknowledging that 24 bit plane X servers are a problem for cairo, they appear to have other priorities.

OK, so where can I find the ebuild file for cairo-0.1.6 as well as a source tar ball? The usual cairo download site doesn't have it available. Any help? Is there anybody out there?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum