Bug#922097: inkscape stops with message complaining about an internal illegal instruction on start
Package: inkscape Version: 0.92.4-2 Severity: important Dear Maintainer, *** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? * What exactly did you do (or not do) that was effective (or ineffective)? * What was the outcome of this action? * What outcome did you expect instead? *** End of the template - remove these template lines *** From either the kde menu or the command line inkscape stops with the following message in a dialog: O Inkscape encontrou um erro interno e será fechado agora. Inkscape has found an internal error and will be closed... on the command line: aife@elektrum:~$ inkscape (inkscape:11286): glibmm-WARNING **: 00:41:36.444: Glib::ConstructParams::ConstructParams(): object class "gtkmm__GtkArrow" has no property named "arbow_type" 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. Illegal instruction (núcleo despejado) aife@elektrum:~$ -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-2-amd64 (SMP w/8 CPU cores) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=pt_PT.UTF-8, LC_CTYPE=pt_PT.UTF-8 (charmap=UTF-8), LANGUAGE=pt:en_GB (charmap=UTF-8) Shell: /bin/sh linked to /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-6 ii libcairo2 1.16.0-2 ii libcairomm-1.0-1v5 1.12.2-4 ii libcdr-0.1-1 0.1.5-1 ii libdbus-1-31.12.12-1 ii libdbus-glib-1-2 0.110-4 ii libfontconfig1 2.13.1-2 ii libfreetype6 2.9.1-3 ii libgc1c2 1:7.6.4-0.4 ii libgcc11:8.2.0-16 ii libgdk-pixbuf2.0-0 2.38.0+dfsg-7 ii libglib2.0-0 2.58.3-1 ii libglibmm-2.4-1v5 2.58.0-2 ii libgomp1 8.2.0-16 ii libgsl23 2.5+dfsg-6 ii libgslcblas0 2.5+dfsg-6 ii libgtk2.0-02.24.32-3 ii libgtkmm-2.4-1v5 1:2.24.5-4 ii libgtkspell0 2.0.16-1.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 ii libmagickcore-6.q16-6 8:6.9.10.23+dfsg-2 ii libmagickwand-6.q16-6 8:6.9.10.23+dfsg-2 ii libpango-1.0-0 1.42.4-6 ii libpangocairo-1.0-01.42.4-6 ii libpangoft2-1.0-0 1.42.4-6 ii libpangomm-1.4-1v5 2.42.0-2 ii libpng16-161.6.36-5 ii libpoppler-glib8 0.71.0-2 ii libpoppler82 0.71.0-2 ii libpopt0 1.16-12 ii libpotrace01.15-1 ii librevenge-0.0-0 0.0.4-6 ii libsigc++-2.0-0v5 2.10.1-2 ii libstdc++6 8.2.0-16 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 libxml22.9.4+dfsg1-7+b3 ii libxslt1.1 1.1.32-2 ii python 2.7.15-4 ii zlib1g 1:1.2.11.dfsg-1 Versions of packages inkscape recommends: ii aspell 0.60.7~20110707-6 ii fig2dev [transfig] 1:3.2.7a-5 ii imagemagick 8:6.9.10.23+dfsg-2 ii imagemagick-6.q16 [imagemagick] 8:6.9.10.23+dfsg-2 ii libimage-magick-perl 8:6.9.10.23+dfsg-2 ii libwmf-bin 0.2.8.4-14 ii python-lxml 4.3.0-1 ii python-numpy 1:1.16.1-1 ii python-scour 0.37-2 ii transfig 1:3.2.6a-3 Versions of packages inkscape suggests: ii dia 0.97.3+git20160930-8.1 ii inkscape-tutorials 0.92.4-2 pn libsvg-perl pn libxml-xql-perl ii pstoedit 3.73-1+b1 pn python-uniconvertor ii ruby 1:2.5.1 -- no debconf information
Bug#922097: inkscape stops with message complaining about an internal illegal instruction on start
Control: tag -1 moreinfo unreproducible Hi, On Tue, Feb 12, 2019 at 12:46:48AM +, André Isidoro Fernandes Esteves wrote: > From either the kde menu or the command line inkscape stops with the > following message in a dialog: > > O Inkscape encontrou um erro interno e será fechado agora. > Inkscape has found an internal error and will be closed... Please remember to always run your program with LANG=en LC_ALL=C.UTF-8 to prevent report error messages in English. (although in this case it's easy to figure what it's saying…). > on the command line: > aife@elektrum:~$ inkscape > > (inkscape:11286): glibmm-WARNING **: 00:41:36.444: > Glib::ConstructParams::ConstructParams(): object class "gtkmm__GtkArrow" has > no property named "arbow_type" > > 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. > Illegal instruction (núcleo despejado) > aife@elektrum:~$ I can't reproduce this, and I'm afraid we'll need you to submit either a core dump or a traceback. To do the latter, please install gdb and the inkscape debug symbols (from the inkscape-dbgsym package, see https://wiki.debian.org/AutomaticDebugPackages) Then run $ gdb inksacpe GNU gdb (Debian 8.2.1-1) 8.2.1 Copyright (C) 2018 Free Software Foundation, Inc. … For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from inkscape...done. (gdb) r Starting program: /usr/bin/inkscape [Thread debugging using libthread_db enabled] … at this point you should see the same error message again, and once it crashes again you will be at the same "(gdb)" prompt. There, run the command "bt" and "bt full" to get the stack trace; copy it and attach it here in the bug. To get a core dump, run `ulimit -c unlimited` in the shell, and run inkscape. Once it crashes you will see the file created in the current directory, if you could attach that as well it would surely help to debug it further (although the back)race should be enough to at least check what's going on; it could easily be that the crash comes from a library rather than inkscape proper). -- 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#922097: inkscape stops with message complaining about an internal illegal instruction on start
Control: reassign -1 src:gtkmm2.4 1:2.24.5-4 Re-adding the bug to CC, but without forwarding the core dumps. On Tue, Feb 12, 2019 at 12:09:23PM +, André Esteves wrote: > Annexed will be two of the latest coredumps From the core dumps I got to the backtrace, after installing also the debug symbols for the gtkmm library. (gdb) bt #0 0x7ff3b958a459 in ?? () at radiobuttongroup.cc:31 from /usr/lib/x86_64-linux-gnu/libgtkmm-2.4.so.1 #1 0x7ff3bbb237ea in Inkscape::UI::Widget::Panel::_init (this=0x55f61e77a380) at ./src/ui/widget/panel.cpp:115 #2 0x7ff3bbb2587a in Inkscape::UI::Widget::Panel::Panel (this=0x55f61e77a380, __vtt_parm=0x7ff3bc2a2860 , label=..., prefs_path=, verb_num=, apply_label=..., menu_desired=true, __in_chrg=) at ./src/ui/widget/panel.cpp:80 #3 0x7ff3bbaad076 in Inkscape::UI::Dialogs::SwatchesPanel::SwatchesPanel (this=0x55f61e77a380, prefsPath=0x7ff3bbfa0e22 "/embedded/swatches", __in_chrg=, __vtt_parm=) at ./src/ui/dialog/swatches.cpp:596 #4 0x7ff3bbba3000 in SPDesktopWidget::init (dtw=0x55f61d55e220) at ./src/widgets/desktop-widget.cpp:367 #5 0x7ff3badab0c7 in g_type_create_instance () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #6 0x7ff3bad8d528 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #7 0x7ff3bad8eca5 in g_object_new_with_properties () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #8 0x7ff3bad8f711 in g_object_new () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #9 0x7ff3bbba2970 in SPDesktopWidget::createInstance (namedview=0x55f61ee1a140) at ./src/widgets/desktop-widget.cpp:1755 #10 0x7ff3bbba2e56 in sp_desktop_widget_new (namedview=) at ./src/widgets/desktop-widget.cpp:1748 #11 0x7ff3bbc40c22 in sp_file_new (templ="/usr/share/inkscape/templates/default.svg") at ./src/file.cpp:143 #12 0x7ff3bbc44c4d in sp_file_new_default () at /usr/include/c++/8/bits/basic_string.h:936 #13 0x55f61d04019d in sp_main_gui (argc=, argv=) at ./src/main.cpp:1169 #14 0x7ff3b77a909b in __libc_start_main (main=0x55f61d03deb0 , argc=1, argv=0x7fff44770738, init=, fini=, rtld_fini=, stack_end=0x7fff44770728) at ../csu/libc-start.c:308 #15 0x55f61d03e55a in _start () at ./src/main.cpp:661 (gdb) bt full #0 0x7ff3b958a459 in ?? () at radiobuttongroup.cc:31 from /usr/lib/x86_64-linux-gnu/libgtkmm-2.4.so.1 No locals. #1 0x7ff3bbb237ea in Inkscape::UI::Widget::Panel::_init (this=0x55f61e77a380) at ./src/ui/widget/panel.cpp:115 group = {group_ = 0x0} one_label = {static npos = 18446744073709551615, string_ = "\001\000\000\000\001\000\000\000\017\003\000\000\000\000\000\000\340\b\367\270\363\177\000\000\000\000\000\000\000\000"} two_label = {static npos = 18446744073709551615, string_ = "\002\000\000\000\366U\000\000 ^\344\036\366U\000\000\000\000\000\000\000\000\000\000 <\344\036\366U"} one = two = sep = panel_size = 1 panel_mode = 1 panel_ratio = 100 panel_border = 0 panel_wrap = false sep = boxy = #2 0x7ff3bbb2587a in Inkscape::UI::Widget::Panel::Panel (this=0x55f61e77a380, __vtt_parm=0x7ff3bc2a2860 , label=..., prefs_path=, verb_num=, apply_label=..., menu_desired=true, __in_chrg=) at ./src/ui/widget/panel.cpp:80 No locals. #3 0x7ff3bbaad076 in Inkscape::UI::Dialogs::SwatchesPanel::SwatchesPanel (this=0x55f61e77a380, prefsPath=0x7ff3bbfa0e22 "/embedded/swatches", __in_chrg=, __vtt_parm=) at ./src/ui/dialog/swatches.cpp:596 ... So the crash happened in gtkmm and then propagated to inkscape. Therefore, I'm reassigning the bug. In the meantime, I'd expect that inkscape 1.0 available in experimental to not be affected by this crash, given that it uses gtkmm 3. -- 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#922097: inkscape stops with message complaining about an internal illegal instruction on start
Hello André Isidoro Fernandes Esteves, do you still see this crash? If yes, could you please provide the output of following search: grep -Rn arbow_type /usr If you create another user, is the problem also visible there? Kind regards, Bernhard
Bug#922097: inkscape stops with message complaining about an internal illegal instruction on start
Hello André Isidoro Fernandes Esteves, > I have installed inkscape/experimental,now 1.0~alpha-1 amd64 with no > problems whatsoever. > So now i can't test the bug. Sorry :( Glad to hear it is working. Just to clarify: I guess that on your system the file "/usr/lib/x86_64-linux-gnu/libgtkmm-2.4.so.1.1.0" got corrupted and may now be working as it got replaced by updating. In this picture would fit that the "arrow_type" is just one bit different to "arbow_type" (from the warning message you received just before the crash). This might point to a problem with your harddisk or memory? I guess this bug can then be closed? Kind regards, Bernhard
Bug#922097: inkscape stops with message complaining about an internal illegal instruction on start
Hello Mattia Rizzolo, I am just looking at some random crashes, and tried to detect at which exact instruction in libgtkmm-2.4.so.1 we are in the given backtrace. That function contains just two instructions. But the backtrace from the core dump tells we crashed at ...459, which is in the middle of the nopl instruction ... Therefore gdb may not show the line information I guess. Maybe you can please send the output of the disassemble and x command from gdb having loaded the core dump? Kind regards, Bernhard (gdb) disassemble $pc-30,$pc+20 Dump of assembler code from 0x7525b43b to 0x7525b46d: ... 0x7525b447: nopw 0x0(%rax,%rax,1) 0x7525b450 :movq $0x0,(%rdi) 0x7525b457 :retq 0x7525b458: nopl 0x0(%rax,%rax,1) 0x7525b460 : mov%rsi,(%rdi) ... End of assembler dump. (gdb) x/64xb _ZN3Gtk16RadioButtonGroupC1Ev-32 0x7525b430: 0x890xc40xe90x210x940xf40xff0x49 0x7525b438: 0x890xc40xe90x310x940xf40xff0x49 0x7525b440: 0x890xc40xe90x190x940xf40xff0x66 0x7525b448: 0x0f0x1f0x840x000x000x000x000x00 0x7525b450: 0x480xc70x070x000x000x000x000xc3 0x7525b458: 0x0f0x1f0x840x000x000x000x000x00 0x7525b460: 0x480x890x370xc30x660x660x2e0x0f 0x7525b468: 0x1f0x840x000x000x000x000x000x90
Bug#922097: inkscape stops with message complaining about an internal illegal instruction on start
On Tue, Mar 26, 2019 at 01:40:47AM +0100, Bernhard Übelacker wrote: > Therefore gdb may not show the line information I guess. > > Maybe you can please send the output of the disassemble > and x command from gdb having loaded the core dump? retrying this core dump is already getting bothersome since the archive moved on and I already need to download stuff from snapshot .. :( Can I pass the core dump to you? (the OP sent it to me privately, I assume it's best to not post it publicly, even if I didn't spot anything private in it). -- 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#922097: inkscape stops with message complaining about an internal illegal instruction on start
Hello Mattia, Am 26.03.19 um 15:32 schrieb Mattia Rizzolo: > On Tue, Mar 26, 2019 at 01:40:47AM +0100, Bernhard Übelacker wrote: >> Therefore gdb may not show the line information I guess. >> >> Maybe you can please send the output of the disassemble >> and x command from gdb having loaded the core dump? > > retrying this core dump is already getting bothersome since the archive > moved on and I already need to download stuff from snapshot .. :( > > Can I pass the core dump to you? (the OP sent it to me privately, I > assume it's best to not post it publicly, even if I didn't spot anything > private in it). I would have expected both commands work without having the actual binary installed and the information taken from the core. But as this seems not the case it would just show me the instructions from the files I or you have installed ... So I should ask the submitter for a current example and/or running an automated gdb session. Kind regards, Bernhard
Bug#922097: Fwd: Bug#922097: inkscape stops with message complaining about an internal illegal instruction on start
Looping in BTS again. Weitergeleitete Nachricht Betreff: Re: Bug#922097: inkscape stops with message complaining about an internal illegal instruction on start Datum: Wed, 1 May 2019 16:14:36 +0100 Von: André Esteves An: Bernhard Übelacker I have installed inkscape/experimental,now 1.0~alpha-1 amd64 with no problems whatsoever. So now i can't test the bug. Sorry :( Thk y, Andre Esteves