After upgrade to bionic/18.04 cannot start slic3r with SIGSEGV

Bug #1787726 reported by mmm
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
slic3r (Ubuntu)
Confirmed
High
Unassigned

Bug Description

martin@martin-intel:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic

martin@martin-intel:~$ apt-cache policy slic3r
slic3r:
  Instalovaná verze: 1.2.9+dfsg-9
  Kandidát: 1.2.9+dfsg-9
  Tabulka verzí:
 *** 1.2.9+dfsg-9 500
        500 http://cz.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        100 /var/lib/dpkg/status

I was using slic3r very often without problem with previous stable ubuntu. After upgrade i am getting following error:

martin@martin-intel:~$ slic3r

(slic3r:16373): Gtk-WARNING **: 15:52:29.985: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkToggleButton)

(slic3r:16373): Gtk-WARNING **: 15:52:29.986: Negative content width -17 (allocation 1, extents 9x9) while allocating gadget (node button, owner GtkButton)

(slic3r:16373): Gtk-WARNING **: 15:52:29.986: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(slic3r:16373): Gtk-WARNING **: 15:52:29.986: Negative content width -17 (allocation 1, extents 9x9) while allocating gadget (node button, owner GtkButton)

(slic3r:16373): Gtk-WARNING **: 15:52:29.986: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(slic3r:16373): Gtk-CRITICAL **: 15:52:29.986: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(slic3r:16373): Gtk-CRITICAL **: 15:52:29.991: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(slic3r:16373): Gtk-WARNING **: 15:52:29.993: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkToggleButton)

(slic3r:16373): Gtk-WARNING **: 15:52:29.994: Negative content width -17 (allocation 1, extents 9x9) while allocating gadget (node button, owner GtkButton)

(slic3r:16373): Gtk-WARNING **: 15:52:29.994: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(slic3r:16373): Gtk-WARNING **: 15:52:29.994: Negative content width -17 (allocation 1, extents 9x9) while allocating gadget (node button, owner GtkButton)

(slic3r:16373): Gtk-WARNING **: 15:52:29.994: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(slic3r:16373): Gtk-CRITICAL **: 15:52:29.994: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(slic3r:16373): Gtk-CRITICAL **: 15:52:29.995: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton

(slic3r:16373): Gtk-CRITICAL **: 15:52:29.995: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton

(slic3r:16373): Gtk-CRITICAL **: 15:52:29.998: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(slic3r:16373): Gtk-WARNING **: 15:52:30.000: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkToggleButton)

(slic3r:16373): Gtk-WARNING **: 15:52:30.000: Negative content width -17 (allocation 1, extents 9x9) while allocating gadget (node button, owner GtkButton)

(slic3r:16373): Gtk-WARNING **: 15:52:30.000: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(slic3r:16373): Gtk-WARNING **: 15:52:30.000: Negative content width -17 (allocation 1, extents 9x9) while allocating gadget (node button, owner GtkButton)

(slic3r:16373): Gtk-WARNING **: 15:52:30.000: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)

(slic3r:16373): Gtk-CRITICAL **: 15:52:30.000: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(slic3r:16373): Gtk-CRITICAL **: 15:52:30.001: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton

(slic3r:16373): Gtk-CRITICAL **: 15:52:30.004: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(slic3r:16373): Gtk-CRITICAL **: 15:52:30.131: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton

(slic3r:16373): Gtk-CRITICAL **: 15:52:30.131: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton

(slic3r:16373): Gtk-CRITICAL **: 15:52:30.132: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton
Neoprávněný přístup do paměti (SIGSEGV) (core dumped [obraz paměti uložen])

Revision history for this message
mmm (kontakt-podvodnik) wrote :

When i run dmesg command, with each unsucessful launch of slic3r appears row like this:

[ 9492.288323] perl[16661]: segfault at 0 ip 0000000040e5ff11 sp 00007ffca187ada8 error 4 in .gl6Z7StK (deleted)[40e5e000+2000]

Revision history for this message
Marty Lucich (mar3ty) wrote :

Same for me except my Gtk-WARNING lines alternate between -11 and -1. It draws a window that almost looks usable but the window is unresponsive and just there until apport is done and then it disappears.

dmesg:
[ 1744.400387] perl[5615]: segfault at 0 ip 0000000040432efc sp 00007ffd8d37acf8 error 4 in .glGgsp2L (deleted)[40431000+2000]

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in slic3r (Ubuntu):
status: New → Confirmed
Changed in slic3r (Ubuntu):
importance: Undecided → High
Revision history for this message
arsen_mikitov (mikitov) wrote :
Download full text (3.3 KiB)

Same Problem...

(slic3r:4709): Gtk-WARNING **: 17:34:44.378: Negative content height -11 (allocation 1, extents 6x6) while allocating gadget (node button, owner GtkToggleButton)

(slic3r:4709): Gtk-WARNING **: 17:34:44.379: Negative content width -13 (allocation 1, extents 7x7) while allocating gadget (node button, owner GtkButton)

(slic3r:4709): Gtk-WARNING **: 17:34:44.379: Negative content height -11 (allocation 1, extents 6x6) while allocating gadget (node button, owner GtkButton)

(slic3r:4709): Gtk-WARNING **: 17:34:44.379: Negative content width -13 (allocation 1, extents 7x7) while allocating gadget (node button, owner GtkButton)

(slic3r:4709): Gtk-WARNING **: 17:34:44.379: Negative content height -11 (allocation 1, extents 6x6) while allocating gadget (node button, owner GtkButton)

(slic3r:4709): Gtk-CRITICAL **: 17:34:44.379: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(slic3r:4709): Gtk-CRITICAL **: 17:34:44.381: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(slic3r:4709): Gtk-WARNING **: 17:34:44.382: Negative content height -11 (allocation 1, extents 6x6) while allocating gadget (node button, owner GtkToggleButton)

(slic3r:4709): Gtk-WARNING **: 17:34:44.383: Negative content width -13 (allocation 1, extents 7x7) while allocating gadget (node button, owner GtkButton)

(slic3r:4709): Gtk-WARNING **: 17:34:44.383: Negative content height -11 (allocation 1, extents 6x6) while allocating gadget (node button, owner GtkButton)

(slic3r:4709): Gtk-WARNING **: 17:34:44.383: Negative content width -13 (allocation 1, extents 7x7) while allocating gadget (node button, owner GtkButton)

(slic3r:4709): Gtk-WARNING **: 17:34:44.383: Negative content height -11 (allocation 1, extents 6x6) while allocating gadget (node button, owner GtkButton)

(slic3r:4709): Gtk-CRITICAL **: 17:34:44.383: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(slic3r:4709): Gtk-CRITICAL **: 17:34:44.384: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(slic3r:4709): Gtk-WARNING **: 17:34:44.385: Negative content height -11 (allocation 1, extents 6x6) while allocating gadget (node button, owner GtkToggleButton)

(slic3r:4709): Gtk-WARNING **: 17:34:44.386: Negative content width -13 (allocation 1, extents 7x7) while allocating gadget (node button, owner GtkButton)

(slic3r:4709): Gtk-WARNING **: 17:34:44.386: Negative content height -11 (allocation 1, extents 6x6) while allocating gadget (node button, owner GtkButton)

(slic3r:4709): Gtk-WARNING **: 17:34:44.386: Negative content width -13 (allocation 1, extents 7x7) while allocating gadget (node button, owner GtkButton)

(slic3r:4709): Gtk-WARNING **: 17:34:44.386: Negative content height -11 (allocation 1, extents 6x6) while allocating gadget (node button, owner GtkButton)

(slic3r:4709): Gtk-CRITICAL **: 17:34:44.386: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(slic3r:4709): Gtk-CRITICAL **: 17:34:44.386: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkSpinButton

(slic3r:4709): Gtk-CRITICAL **: 17:34:44.387: gtk_box_gadget_distribute: assertion 'size >= 0' failed...

Read more...

Revision history for this message
Frank Hage (fwhage) wrote :

I'm also experiencing this bug after upgrading from 16.04 to 18.04.
Removing and reinstalling the package and .Slic3r dir does not fix it.

The Github developer comments suggest this problem was fixed as of slic3r version 1.3.1.
The slic3r packaged with Ubuntu 18.04 is V1.2.9.

However 18.04 now includes a slic3r-prusa package which works. It reports version 1.39.1

Workaround: 1. Install slic3r-prusa package; sudo apt-get install slic3r-prusa

2. Copy the contents of ~/.Slic3r to ~/.Slic3rPE to restore all your settings.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.