Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.40.0 alpha1 hanged due to error #898

Closed
gdombiak opened this issue May 18, 2018 · 12 comments
Closed

1.40.0 alpha1 hanged due to error #898

gdombiak opened this issue May 18, 2018 · 12 comments

Comments

@gdombiak
Copy link

Version

1.40.0-alpha1+linux64-full-201805141245

Operating system type + version

Ubuntu 16.04

Running from command line (downloaded compressed format). Using: ./slic3r --gui

Behavior

I was checking out the new alpha version. I clicked on the Print settings tab and started to go over each option listed on the left menu. I wanted to compare differences between preset FAST and Chris MK3 PLA v3.ini. As I got to the 3rd or 4th menu item suddenly the UI froze. I saw this in the command line

Creating main frame...

(slic3r.pl:5485): Gtk-CRITICAL **: IA__gtk_color_button_set_color: assertion 'color != NULL' failed

(slic3r.pl:5485): Gdk-CRITICAL **: IA__gdk_window_thaw_updates: assertion 'impl_window->update_freeze_count > 0' failed

(slic3r.pl:5485): Gdk-CRITICAL **: IA__gdk_window_thaw_updates: assertion 'impl_window->update_freeze_count > 0' failed

Weird thing is that I can still click on Filament and Printer Settings but I cannot go back to Print Settings tab.

Is this a new feature request? NO

@bubnikv
Copy link
Collaborator

bubnikv commented May 18, 2018

Would you please try to reproduce the issue and try to find a quickest sequence for us to be able to reproduce it? Thanks.

@gdombiak
Copy link
Author

It just happened again. I was just clicking "quickly" between menu items from the left side. Let me see if I can find a more accurate way to reproduce this.

@gdombiak
Copy link
Author

Happened again. Seems to be easy to reproduce. This is what I did:

  1. Started Slic3r from command line using: ./slic3r --gui
  2. Clicked on Print Settings then
  3. Clicked on Layers and perimeters then
  4. Clicked on Infill then on Skirt then on Support then on Speed then on Multiple Extruder then
  5. clicked on Advanced and kaboom!

This printed to the console:

(slic3r.pl:9082): Gdk-CRITICAL **: IA__gdk_window_thaw_updates: assertion 'impl_window->update_freeze_count > 0' failed

Before that entry I had this in the console:

gaston@gaston-Inspiron-N7010:~/Downloads/Slic3rPE-1.40.0-alpha1+linux64-full-201805141245$ ./slic3r --gui
Creating main frame...

(slic3r.pl:9082): Gtk-CRITICAL **: IA__gtk_color_button_set_color: assertion 'color != NULL' failed

(slic3r.pl:9082): Gdk-CRITICAL **: IA__gdk_window_thaw_updates: assertion 'impl_window->update_freeze_count > 0' failed

Let me know if you need more info or version of other libraries that I installed.

@bubnikv
Copy link
Collaborator

bubnikv commented May 18, 2018

@YuSanka could you reproduce it? Would you please try to fix it? Thanks.

@bubnikv
Copy link
Collaborator

bubnikv commented May 18, 2018

@gdombiak We cannot reproduce your issue. Would you please pack and attach your Slic3rPE directory with your profiles for us?

@lukasmatena
Copy link
Collaborator

After some research I managed to reproduce the problem. It is apparently a bug in Ubuntu related to their "Overlay" scrollbars. Similar issue was reported here http://forums.codeblocks.org/index.php?topic=20771.0 (and in several threads this one links to).

I doubt there is anything we can do to fix it. However, a remedy exists: install and run unity-tweak-tool and set scrollbars to "Legacy". It will likely be ok then. You will of course have to part with the "improved" scrollbars, but that is not a big price. They are not very good to use anyway.

Please, let us know if that solved the problem.

@gdombiak
Copy link
Author

Excellent. Will give it a try when I'm back from work and report back.

Thanks for your time and help.
Gaston

@gdombiak
Copy link
Author

gdombiak commented May 19, 2018

Confirmed. That was the issue. I had to follow these instructions: http://www.ubuntoid.com/install-unity-tweak-tool-ubuntu-16-04/ or http://www.debugpoint.com/2016/05/how-to-install-unity-tweak-tool-in-ubuntu-16-04-lts-xenial-xerus/ to make it work on Ubuntu 16.04.

After I enabled 'legacy scrolling', I now only get this error in the console. I no longer have this issue but you might be interested in taking care of this inoffensive error:

gaston@gaston-Inspiron-N7010:~/Downloads/Slic3rPE-1.40.0-alpha1+linux64-full-201805141245$ ./slic3r --gui
Creating main frame...

(slic3r.pl:3937): Gtk-CRITICAL **: IA__gtk_color_button_set_color: assertion 'color != NULL' failed

Will close this issue. Let me know if you want me to open one to document "known issues" for future people that may run Slic3r on Ubuntu 16.04.

Thanks for your quick help!!! Much appreciated.
Gaston

@bubnikv
Copy link
Collaborator

bubnikv commented May 19, 2018 via email

@gdombiak
Copy link
Author

Sure thing. Happy to help. Can I use the wiki of this repo? Or point me to the wiki that you guys use.

Thanks
Gaston

@gdombiak
Copy link
Author

Created this wiki page

bubnikv added a commit that referenced this issue Jun 11, 2018
The issue apparently manifests when Show()ing a window with overlay scrollbars while the UI is frozen. For this reason,
we will Thaw the UI prematurely on Linux. This means destroing the no_updates object prematurely.
@bubnikv
Copy link
Collaborator

bubnikv commented Jun 12, 2018

Fixed in Slic3r 1.40.0 final release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants