Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 13:13 Go to next message
Julien HENRY is currently offline Julien HENRYFriend
Messages: 11
Registered: July 2009
Junior Member
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 15:47 Go to previous messageGo to next message
Julien HENRY is currently offline Julien HENRYFriend
Messages: 11
Registered: July 2009
Junior Member
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 14:56]

Report message to a moderator

Re: Test failing with _cairo_format_from_content: Assertion `!"reached"' fail [message #1756351 is a reply to message #1756258] Wed, 15 March 2017 17:17 Go to previous message
Julien HENRY is currently offline Julien HENRYFriend
Messages: 11
Registered: July 2009
Junior Member
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: Tue Apr 23 08:58:34 GMT 2024

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

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

Back to the top