Skip to main content



      Home
Home » Eclipse Projects » SWTBot » Test failing with _cairo_format_from_content: Assertion `!"reached"' fail
Test failing with _cairo_format_from_content: Assertion `!"reached"' fail [message #1756244] Tue, 14 March 2017 09:13 Go to next message
Eclipse UserFriend
Hi,

I have a test regularly failing with:
cairo-image-surface.c:686: _cairo_format_from_content: Assertion `!"reached"' failed.

I don't manage to get a stacktrace.

Context :
- run on Jenkins CI + xvfb
- Linux OS
- Oracle JDK 1.8.0_121

Any idea?

Thanks

Julien
Re: Test failing with _cairo_format_from_content: Assertion `!"reached"' fail [message #1756258 is a reply to message #1756244] Tue, 14 March 2017 11:47 Go to previous messageGo to next message
Eclipse UserFriend
The problem now seem to be fixed by starting metacity. Not sure of the root cause. I was expecting all tests to fail when no window decorator is available.

EDIT : problem is not fixed. This is just that the failure happen randomly (or at least we have not identified the reason).

[Updated on: Wed, 15 March 2017 10:56] by Moderator

Re: Test failing with _cairo_format_from_content: Assertion `!"reached"' fail [message #1756351 is a reply to message #1756258] Wed, 15 March 2017 13:17 Go to previous message
Eclipse UserFriend
I finally identified the code that cause the crash:

    SWTBotEclipseEditor editor = bot.editorByTitle("Hello.java").toTextEditor();
    editor.navigateTo(7, 43);
    editor.insertText("\nSystem.out.println(\"Hello1\");");// Crash here


Still I have no idea why it is randomly failing.
Previous Topic:SWTBotTreeItem.getTooltipText
Next Topic:Execute SWTBot in running IDE
Goto Forum:
  


Current Time: Fri May 23 02:04:23 EDT 2025

Powered by FUDForum. Page generated in 0.03374 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top