Skip to main content



      Home
Home » Eclipse Projects » Sirius » Sirius freezing on save operation
Sirius freezing on save operation [message #1729304] Tue, 12 April 2016 14:01 Go to next message
Eclipse UserFriend
Hello everyone,

I'm new to Sirius, just got it installed on Mars.2. I am following the tutorial and almost every time I save the odesign on which I'm working, the Progress Information dialog pops up with "Operation in progress..." and stays there indefinitely.

There are no errors in the log, and none in the "host" eclipse application either.

Any suggestion as to what could be going on or how to debug it further ?

Thanks
Re: Sirius freezing on save operation [message #1729334 is a reply to message #1729304] Wed, 13 April 2016 03:45 Go to previous messageGo to next message
Eclipse UserFriend
Le 12/04/2016 20:01, Daniel Cardin a écrit :
> Hello everyone,

Hi.

> I'm new to Sirius, just got it installed on Mars.2. I am following the
> tutorial and almost every time I save the odesign on which I'm working,
> the Progress Information dialog pops up with "Operation in progress..."
> and stays there indefinitely.
> There are no errors in the log, and none in the "host" eclipse
> application either.
> Any suggestion as to what could be going on or how to debug it further ?

Are you under Linux? Your scenario sounds a little like the one
mentioned in https://bugs.eclipse.org/bugs/show_bug.cgi?id=433414,
except that we've never seen it happen this systematically. In our tests
it happened, but very rarely (I'm under Linux and have not experienced
it since it was reported in 2014). We had some ideas on how to work
around the underlying SWT/Gtk bug, but it was rare enough that the
ticket slipped through the cracks and was semi-forgotten.

If this is indeed the problem you experience, a possible workaround is
to close existing diagrams when you are modifying the odesign, and
re-open them after the change is made. Another possibility would be to
use SVG images instead of bitmaps (the code paths are different for SVG
and seem to avoid the bug). Both are less than ideal, but if they work
around the issue for you it would at least confirm that this is indeed
the right bug.

Regards,

--
Pierre-Charles David - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Sirius freezing on save operation [message #1729472 is a reply to message #1729334] Thu, 14 April 2016 08:24 Go to previous messageGo to next message
Eclipse UserFriend
Yes indeed, I am running under Linux.
I have managed to bypass the problem totally forcing eclipse to launch in GTK2 by disabling GTK3 (SWT_GTK3=0). Using GTK3 always fails with my current setup.

Maybe there would be a way to provide you guys with a better trace for the problem, now that it's a bit better scoped ?
Re: Sirius freezing on save operation [message #1729851 is a reply to message #1729472] Tue, 19 April 2016 09:54 Go to previous message
Eclipse UserFriend
Le 14/04/2016 14:24, Daniel Cardin a écrit :
> Yes indeed, I am running under Linux.
> I have managed to bypass the problem totally forcing eclipse to launch
> in GTK2 by disabling GTK3 (SWT_GTK3=0). Using GTK3 always fails with my
> current setup.
> Maybe there would be a way to provide you guys with a better trace for
> the problem, now that it's a bit better scoped ?

I've mentioned this detail about Gtk2 vs Gtk3 on the bugzilla. We had a
draft of a possible solution at the time, I'll try to update it to work
on the current codebase (not sure when I'll have the time though). If I
get to it, would you be willing to test a build with that patch to tell
us if it fixes the issue for you?

--
Pierre-Charles David - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:Sirius-Xtext: Change the CellEditor of a label to StyledXtextCellEditor
Next Topic:XSD-based model bug
Goto Forum:
  


Current Time: Sat Mar 15 21:15:44 EDT 2025

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

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

Back to the top