Division crash

Bug #1778953 reported by Gwyn Ciesla
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Undecided
Unassigned

Bug Description

Description of problem:

inkscape crash when using "Division" on paths

Version-Release number of selected component (if applicable):

How reproducible:
create two paths and try to apply "Division" operation on both.

Actual results:

crash with the dialog box :

Inkscape encountered an internal error and will close now.
Automatic backups of unsaved documents were done to the following locations:

Revision history for this message
Mc (mc...) wrote :

Can't reproduce outside of the packaged version for fc28.

Revision history for this message
Gwyn Ciesla (limburgher) wrote :

It happens on the packaged version, compiled with:

       -DCMAKE_C_FLAGS_RELEASE:STRING="-DNDEBUG" \
        -DCMAKE_CXX_FLAGS_RELEASE:STRING="-DNDEBUG" \
        -DCMAKE_Fortran_FLAGS_RELEASE:STRING="-DNDEBUG" \
        -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
        -DCMAKE_INSTALL_PREFIX:PATH=/usr \
        -DINCLUDE_INSTALL_DIR:PATH=/usr/include \
        -DLIB_INSTALL_DIR:PATH=/usr/lib64 \
        -DSYSCONF_INSTALL_DIR:PATH=/etc \
        -DSHARE_INSTALL_PREFIX:PATH=/usr/share \

But does not on the base tarball with:
cmake .
make -j4

Revision history for this message
Bernhard Bodenstorfer (bodenstorfer) wrote :

I am affected, too:

inkscape --version
Inkscape 0.92.3 (2405546, 2018-03-11)

Take the exemplary drawing, select both paths and go Path → Division always yields a crash.

Revision history for this message
Alvin Penner (apenner) wrote :

@Bernhard - could you specify which OS?
- not reproduced on Windows 10, Inkscape 0.92.3 (2405546, 2018-03-11) using file 'drawing.svg'
- could you try running Inkscape from DOS/CLI to see if there are any exit messages?

Revision history for this message
Maxence Dubois (maxence-dubois) wrote :

Same with flatpak version...

SUMMARY

Inkscape flatpak crashes every time (segmentation fault) on path division.

VERSION

Inkscape 0.92.4 (5da689c313, 2019-01-14)
uname: Linux localhost.localdomain 4.19.14-300.fc29.x86_64 #1 SMP Wed Jan 9 21:30:35 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
/etc/os-release PRETTY_NAME="Fedora 29 (Workstation Edition)"
XDG_SESSION_DESKTOP=fedora
XDG_CURRENT_DESKTOP=gnome

SEVERITY

Severe

TO REPRODUCE

Remove preferences and so on (or backup out of the way) ~/.config/inkscape

1. run inkscape, from command line
2. create 2 paths
3. select all (by ctrl-A)
4. Path: division (by ctrl-alt-/)
5. See error "Inkscape encountered an internal error and will close now. Automatic backup...". See Segmentation fault on terminal screen.

Fault appears every single time.

SCREEN TEXT

[maxence@localhost]~% flatpak run -v org.inkscape.Inkscape
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening user flatpak installation at path /home/maxence/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/maxence/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/maxence/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Cleaning up unused container id 776519777
F: Allocated instance id 902679582
F: Disallowing network access
F: Allowing host-fs access
F: Allowing x11 access
F: Running 'bwrap --args 32 /usr/libexec/flatpak-dbus-proxy --args=34'
F: Running 'bwrap --args 28 inkscape'
Gtk-Message: 14:46:07.172: Failed to load module "pk-gtk-module"
Gtk-Message: 14:46:07.173: Failed to load module "canberra-gtk-module"
/usr/include/c++/8.2.0/bits/stl_vector.h:950: std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) const [with _Tp = Shape::dg_point; _Alloc = std::allocator<Shape::dg_point>; std::vector<_Tp, _Alloc>::const_reference = const Shape::dg_point&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__builtin_expect(__n < this->size(), true)' failed.

Emergency save activated!
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at www.inkscape.org
with a detailed description of the steps leading to the crash, so we can fix it.

Revision history for this message
Sven (anders-anduras) wrote :

Hello!

I have the same problem.

> inkscape Kreissegmente.svg
/usr/include/c++/8/bits/stl_vector.h:950: std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) const [with _Tp = Shape::dg_point; _Alloc = std::allocator<Shape::dg_point>; std::vector<_Tp, _Alloc>::const_reference = const Shape::dg_point&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__builtin_expect(__n < this->size(), true)' failed.

Emergency save activated!
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at www.inkscape.org
with a detailed description of the steps leading to the crash, so we can fix it.

> inkscape --version
Inkscape 0.92.4 (unknown)

Revision history for this message
Qantas94Heavy (qantas94heavy) wrote :

@Sven: which OS version are you using?

Revision history for this message
Jacob Emcken (jacob-emcken) wrote :

I'm running Fedora 29 and I am experiencing the same error.

inkscape
/usr/include/c++/8/bits/stl_vector.h:950: std::vector<_Tp, _Alloc>::const_reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) const [with _Tp = Shape::dg_point; _Alloc = std::allocator<Shape::dg_point>; std::vector<_Tp, _Alloc>::const_reference = const Shape::dg_point&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__builtin_expect(__n < this->size(), true)' failed.

Emergency save activated!
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at www.inkscape.org
with a detailed description of the steps leading to the crash, so we can fix it.
Aborted (core dumped)

Revision history for this message
Jacob Emcken (jacob-emcken) wrote :

dnf list --installed |grep inkscape
inkscape.x86_64 0.92.4-4.fc29 @updates

inkscape --version
Inkscape 0.92.4 (unknown)

Nathan Lee (nathan.lee)
tags: added: bug-migration
Revision history for this message
Nathan Lee (nathan.lee) wrote :

Hi - thanks for reporting this bug, I've manually migrated it to Inkscape's new
bug tracker on GitLab, and closed it here.

Please feel free to file new bugs about the issues you're seeing at
http://inkscape.org/report.

Moved to: https://gitlab.com/inkscape/inbox/issues/397
Closed by: https://gitlab.com/nathanal

Changed in inkscape:
status: New → Invalid
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.