Bug#968756: inkscape: Inkscape crash on multiple undo-redo actions
Hello Jason, > #0 0x7efbfb5f3204 n/a (libgtk-3.so.0) > #1 0x7efbfb779a53 n/a (libgtk-3.so.0) > #2 0x7efbfb779b11 n/a (libgtk-3.so.0) > #3 0x7efbfb779ff1 n/a (libgtk-3.so.0) > #4 0x7efbf96c38ee ffi_call_unix64 (libffi.so.6) > ... I assume you updated inkscape to current version 1.0-5~bpo10+1 ? The above part of your backtrace would translate to this when debug symbols are installed. (gdb) bt #0 0x7f5ab0050204 in _gtk_gesture_get_pointer_emulating_sequence () at ../../../../gtk/gtkgesture.c:1811 #1 0x7f5ab01d6a53 in _gtk_widget_get_emulating_sequence () at ../../../../gtk/gtkwidget.c:4183 #2 0x7f5ab01d6b11 in _gtk_widget_set_sequence_state_internal () at ../../../../gtk/gtkwidget.c:4245 #3 0x7f5ab01d6ff1 in event_controller_sequence_state_changed () at ../../../../gtk/gtkwidget.c:17330 #4 0x7f5aae1208ee in ffi_call_unix64 () from /lib/x86_64-linux-gnu/libffi.so.6 ... The instruction at this address originates from following location and tries to read memory from the address the variable "data->event" points to. The data variable is retrieved before by g_hash_table_iter_next. https://sources.debian.org/src/gtk+3.0/3.24.5-1/gtk/gtkgesture.c/#L1811 Also this location is quite different from what the original segfault lines in the first message was showing for the previous bpo version. Unfortunately I guess this will not be sufficient for the maintainer to find out the problem or create a fix. If you receive such crashes multiple times, are the backtraces always different? If yes you might consider to check for memory faults. Also running inkscape through "valgrind --undef-value-errors=no inkscape" might reveal something, but might be too slow to work long enough with it, if there are no exact steps known to reproduce it. Also you might add the debug symbols to your system to generate backtraces with more information, like described here: https://wiki.debian.org/HowToGetABacktrace#Installing_the_debugging_symbols Kind regards, Bernhard
Bug#968756: inkscape: Inkscape crash on multiple undo-redo actions
Hello Jason, one small additional note. The dmesg lines you provided would have been followed by lines "Code:". With that line it would be possible to find at least the current instruction and source code line when the executables are from the debian archive and the package version is known. So please do not strip these lines away. Kind regards, Bernhard
Bug#968756: inkscape: Inkscape crash on multiple undo-redo actions
On Fri, Aug 21, 2020 at 01:53:32AM +0200, Anon1336 wrote: > At first, I thought it was a one-time bug so I tried using the bpo. > Once again, under the same conditions, Inkscape crashed. Finally, I > tried using the 1.0 AppImage (to test "sterile" and see if this was > Debian-specific or Inkscape in general). The result is the same. Since > it wasn't a "world-ender" bug, I went back to using the native Debian > bpo and decided to just save a lot (side-note: auto-save and recovery > still occasionally fails). Since you tried the AppImage and reproduced with that as well, could you consider filing a bug report upstream directly at https://gitlab.com/inkscape/inbox ? Also, I'm uploading now 1.0-5 to backports, if you could see whether that also triggers this crash it would be useful (1.0-2 disable a bunch of asserts that might or might not be relevant). > The errors (see below) point to the problem being Inkscape-specific (the core > lib), so it's very concerning that there's this "domino effect". > > Here's the relevant dmesg outputs: > inkscape[18142]: segfault at 148 ip 7efbfefec5db sp 7ffb9620 > error 4 in libinkscape_base.so[7efbfe58a000+bb] > traps: inkscape[28062] general protection fault ip:7efbfeed39a1 > sp:7ffb8520 error:0 in libinkscape_base.so[7efbfe58a000+bb] > > If I have time, I'll try running Inkscape and Thunar from two consoles and > try to reproduce the error. Hopefully it'll shed some light on it. Hopefully > still, I won't need to. Likewise, if you can get a stacktrace it usually helps nailing down where the bug is. -- regards, Mattia Rizzolo GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`. More about me: https://mapreri.org : :' : Launchpad user: https://launchpad.net/~mapreri `. `'` Debian QA page: https://qa.debian.org/developer.php?login=mattia `- signature.asc Description: PGP signature
Bug#968756: inkscape: Inkscape crash on multiple undo-redo actions
Package: inkscape Version: 1.0-1~bpo10+1 Severity: critical Tags: upstream Justification: breaks unrelated software Dear Maintainer, Inkscape crashes, recently causing Thunar to crash _too_. The crash happens when many undo and redo actions are performed consecutively. At first, I thought it was a one-time bug so I tried using the bpo. Once again, under the same conditions, Inkscape crashed. Finally, I tried using the 1.0 AppImage (to test "sterile" and see if this was Debian-specific or Inkscape in general). The result is the same. Since it wasn't a "world-ender" bug, I went back to using the native Debian bpo and decided to just save a lot (side-note: auto-save and recovery still occasionally fails). Earlier tonight, something serious happened; it crashed all instances of Thunar. Clearly this bug seems to be worse than I thought -- apologies for not reporting it sooner. Sadly, this bug is not absolutely reproducible. It has only happened a few times, always under the same conditions though. It may be related to other similar bugs involving memory access errors. I have noticed only complex SVGs do this (memory/cache?). The errors (see below) point to the problem being Inkscape-specific (the core lib), so it's very concerning that there's this "domino effect". Here's the relevant dmesg outputs: inkscape[18142]: segfault at 148 ip 7efbfefec5db sp 7ffb9620 error 4 in libinkscape_base.so[7efbfe58a000+bb] traps: inkscape[28062] general protection fault ip:7efbfeed39a1 sp:7ffb8520 error:0 in libinkscape_base.so[7efbfe58a000+bb] If I have time, I'll try running Inkscape and Thunar from two consoles and try to reproduce the error. Hopefully it'll shed some light on it. Hopefully still, I won't need to. Regards, Jason -- System Information: Debian Release: 10.5 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.4.0-0.bpo.4-amd64 (SMP w/12 CPU cores) Locale: LANG=en_ZA.UTF-8, LC_CTYPE=en_ZA.UTF-8 (charmap=UTF-8), LANGUAGE=en_ZA:en (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages inkscape depends on: ii libaspell150.60.7~20110707-6 ii libatk1.0-02.30.0-2 ii libatkmm-1.6-1v5 2.28.0-2 ii libc6 2.28-10 ii libcairo-gobject2 1.16.0-4 ii libcairo2 1.16.0-4 ii libcairomm-1.0-1v5 1.12.2-4 ii libcdr-0.1-1 0.1.5-1 ii libdbus-1-31.12.20-0+deb10u1 ii libdbus-glib-1-2 0.110-4 ii libdouble-conversion1 3.1.0-3 ii libenchant1c2a 1.6.0-11.1+b1 ii libfontconfig1 2.13.1-2 ii libfreetype6 2.9.1-3+deb10u1 ii libgc1c2 1:7.6.4-0.4 ii libgcc11:8.3.0-6 ii libgdk-pixbuf2.0-0 2.38.1+dfsg-1 ii libgdl-3-5 3.28.0-2 ii libglib2.0-0 2.58.3-2+deb10u2 ii libglibmm-2.4-1v5 2.58.0-2 ii libgomp1 8.3.0-6 ii libgsl23 2.5+dfsg-6 ii libgslcblas0 2.5+dfsg-6 ii libgtk-3-0 3.24.5-1 ii libgtkmm-3.0-1v5 3.24.0-2 ii libgtkspell3-3-0 3.0.9-3 ii libharfbuzz0b 2.3.1-1 ii libice62:1.0.9-2 ii libjpeg62-turbo1:1.5.2-2+b1 ii liblcms2-2 2.9-3 ii libmagick++-6.q16-88:6.9.10.23+dfsg-2.1+deb10u1 ii libmagickcore-6.q16-6 8:6.9.10.23+dfsg-2.1+deb10u1 ii libmagickwand-6.q16-6 8:6.9.10.23+dfsg-2.1+deb10u1 ii libpango-1.0-0 1.42.4-8~deb10u1 ii libpangocairo-1.0-01.42.4-8~deb10u1 ii libpangoft2-1.0-0 1.42.4-8~deb10u1 ii libpangomm-1.4-1v5 2.42.0-2 ii libpng16-161.6.36-6 ii libpoppler-glib8 0.71.0-5 ii libpoppler82 0.71.0-5 ii libpotrace01.15-1 ii librevenge-0.0-0 0.0.4-6 ii libsigc++-2.0-0v5 2.10.1-2 ii libsm6 2:1.2.3-1 ii libsoup2.4-1 2.64.2-2 ii libstdc++6 8.3.0-6 ii libvisio-0.1-1 0.1.6-1+b2 ii libwpg-0.3-3 0.3.3-1 ii libx11-6 2:1.6.7-1 ii libxext6 2:1.3.3-1+b2 ii libxml22.9.4+dfsg1-7+b3 ii libxslt1.1 1.1.32-2.2~deb10u1 ii python33.7.3-1 ii zlib1g 1:1.2.11.dfsg-1 Versions of packages inkscape recommends: ii aspell 0.60.7~20110707-6 ii fig2dev 1:3.2.7a-5+deb10u3 ii imagemagick 8:6.9.10.23+dfsg-2.1+deb10u1 ii imagemagick-6.q16 [imagemagick] 8:6.9.10.23+dfsg-2.1+deb10u1 ii libimage-magick-perl 8:6.9.10.23+dfsg-2.1+deb10u1 ii libwmf-bin 0.2.8.4-14 ii python3-lxml 4.3.2-1 ii python3-numpy1:1.16.2-1 ii python3-scour0.37-2 Versions of packages inkscape suggests: pn dia pn inkscape-tutorials