Package: inkscape
Version: 0.92.3-1
Severity: normal

Dear Maintainer,

I am able to reliably produce a crash due to SIGSEGV when closing the
Layers dialog using the following procedure:

1.  Open Inkscape.
2.  Open the Layers dialog (Shift+Ctrl+L or Layer->Layers).
3.  Open a PDF file (File->Open select .pdf file, press OK, then
    press OK to default import settings.)
4.  Open a second, PDF file with a different name (can be same or
    different file contents).
    This should open a second window for second PDF, but the second
    window will have no dialogs open while the first window has two
    duplicate Layers dialogs open.
5.  Close both of the Layers dialog in window for the first PDF file.
6.  Switch to the Inkscape window for the second PDF file.

At this point Inkscape will crash with SIGSEGV and the following

#0  0x00007ffff5cdbfea in g_type_get_qdata ()
    at /usr/lib/x86_64-linux-gnu/
#1  0x00007ffff0574ccb in Glib::wrap_auto(_GObject*, bool) ()
    at /usr/lib/x86_64-linux-gnu/
#2  0x00007ffff1b5292d in Glib::wrap(_GtkWidget*, bool) ()
    at /usr/lib/x86_64-linux-gnu/
#3  0x00007ffff7372200 in Inkscape::UI::Widget::DockItem::getWidget() 
(this=<optimized out>) at ./src/ui/widget/dock-item.cpp:109
#4  0x00007ffff7372fa0 in Inkscape::UI::Widget::DockItem::getWindow() 
(this=<optimized out>) at ./src/ui/widget/dock-item.cpp:457
#5  0x00007ffff71f1c3a in 
(this=0x55555a59fe30, desktop=0x5555564c9800)
    at ./src/ui/dialog/dock-behavior.cpp:248
#6  0x00007ffff74fab38 in sigc::internal::signal_emit1<void, SPDesktop*, 
sigc::nil>::emit(sigc::internal::signal_impl*, SPDesktop* const&) 
(_A_a1=@0x7fffffffd5b8: 0x5555564c9800, impl=0x555556fe4ad0)
    at /usr/include/sigc++-2.0/sigc++/signal.h:1045
#7  0x00007ffff74fab38 in sigc::signal1<void, SPDesktop*, 
sigc::nil>::emit(SPDesktop* const&) const (this=0x55555590fa50, 
_A_a1=@0x7fffffffd5b8: 0x5555564c9800) at 
#8  0x00007ffff74fab38 in Inkscape::Application::activate_desktop(SPDesktop*) 
(this=0x55555590fa00, desktop=<optimized out>) at ./src/inkscape.cpp:882
#9  0x00007ffff74284b4 in SPDesktopWidget::onFocusInEvent(_GdkEventFocus*) 
(this=0x555555866410) at ./src/widgets/desktop-widget.cpp:1919
#10 0x00007ffff1b4f24b in  () at /usr/lib/x86_64-linux-gnu/
#11 0x00007ffff10f62ab in  () at /usr/lib/x86_64-linux-gnu/
#12 0x00007ffff5cb7f6d in g_closure_invoke ()
    at /usr/lib/x86_64-linux-gnu/
#13 0x00007ffff5cca8d1 in  () at /usr/lib/x86_64-linux-gnu/
#14 0x00007ffff5cd2d8f in g_signal_emit_valist ()
    at /usr/lib/x86_64-linux-gnu/
#15 0x00007ffff5cd3e0f in g_signal_emit ()
    at /usr/lib/x86_64-linux-gnu/
#16 0x00007ffff120c26c in  () at /usr/lib/x86_64-linux-gnu/
#17 0x00007ffff10f4a23 in gtk_main_do_event ()
    at /usr/lib/x86_64-linux-gnu/
#18 0x00007fffefe8504c in  () at /usr/lib/x86_64-linux-gnu/
#19 0x00007ffff4a2f287 in g_main_context_dispatch ()
    at /lib/x86_64-linux-gnu/
#20 0x00007ffff4a2f4c0 in  () at /lib/x86_64-linux-gnu/
#21 0x00007ffff4a2f7d2 in g_main_loop_run ()
    at /lib/x86_64-linux-gnu/
#22 0x00007ffff10f3977 in gtk_main ()
    at /usr/lib/x86_64-linux-gnu/
#23 0x000055555555ce53 in sp_main_gui(int, char const**) (argc=<optimized out>, 
argv=<optimized out>) at ./src/main.cpp:1164
#24 0x00007fffed7e0a87 in __libc_start_main (main=
    0x55555555a9c0 <main(int, char**)>, argc=1, argv=0x7fffffffe008, 
init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, 
stack_end=0x7fffffffdff8) at ../csu/libc-start.c:310
#25 0x000055555555af2a in _start ()

Note that after step 4 the following messages were printed:

** (inkscape:11143): WARNING **: 19:14:02.898: master 0x555557795d80: unable to 
add object 0x55555a5abad0[DialogFillStroke] to the hash.  There already is an 
item with that name (0x5555589e15b0).

** (inkscape:11143): WARNING **: 19:14:02.913: master 0x555557795d80: unable to 
add object 0x55555a5e62d0[DialogLayers] to the hash.  There already is an item 
with that name (0x5555589f8500).

If you need any more details or more symbols in the backtrace, let me


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
'testing-debug'), (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.16.1-kevinoid1 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), 
LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages inkscape depends on:
ii  libaspell15            0.60.7~20110707-4
ii  libatk1.0-0            2.28.1-1
ii  libatkmm-1.6-1v5       2.24.2-3
ii  libc6                  2.27-3
ii  libcairo2              1.15.10-1
ii  libcairomm-1.0-1v5     1.12.2-3
ii  libcdr-0.1-1           0.1.4-1
ii  libdbus-1-3            1.12.6-2
ii  libdbus-glib-1-2       0.110-2
ii  libfontconfig1         2.12.6-0.1
ii  libfreetype6           2.8.1-2
ii  libgc1c2               1:7.4.2-8
ii  libgcc1                1:8-20180402-1
ii  libgdk-pixbuf2.0-0     2.36.11-2
ii  libglib2.0-0           2.56.0-4
ii  libglibmm-2.4-1v5      2.56.0-1
ii  libgomp1               8-20180402-1
ii  libgsl23               2.4+dfsg-6
ii  libgslcblas0           2.4+dfsg-6
ii  libgtk2.0-0            2.24.32-1
ii  libgtkmm-2.4-1v5       1:2.24.5-2
ii  libgtkspell0           2.0.16-1.2
ii  libjpeg62-turbo        1:1.5.2-2+b1
ii  liblcms2-2             2.9-1
ii  libmagick++-6.q16-8    8:
ii  libmagickcore-6.q16-5  8:
ii  libmagickwand-6.q16-5  8:
ii  libpango-1.0-0         1.42.0-1
ii  libpangocairo-1.0-0    1.42.0-1
ii  libpangoft2-1.0-0      1.42.0-1
ii  libpangomm-1.4-1v5     2.40.1-4
ii  libpng16-16            1.6.34-1
ii  libpoppler-glib8       0.62.0-2
ii  libpoppler73           0.62.0-2
ii  libpopt0               1.16-11
ii  libpotrace0            1.14-2
ii  librevenge-0.0-0       0.0.4-6
ii  libsigc++-2.0-0v5      2.10.0-2
ii  libstdc++6             8-20180402-1
ii  libvisio-0.1-1         0.1.6-1
ii  libwpg-0.3-3           0.3.1-3
ii  libx11-6               2:1.6.5-1
ii  libxml2                2.9.4+dfsg1-6.1
ii  libxslt1.1             1.1.29-5
ii  python                 2.7.14-4
ii  zlib1g                 1:1.2.8.dfsg-5

Versions of packages inkscape recommends:
ii  aspell                           0.60.7~20110707-4
ii  imagemagick                      8:
ii  imagemagick-6.q16 [imagemagick]  8:
ii  libimage-magick-perl             8:
ii  libwmf-bin             
ii  python-lxml                      4.2.1-1
ii  python-numpy                     1:1.13.3-2
ii  python-scour                     0.36-3
pn  transfig                         <none>

Versions of packages inkscape suggests:
ii  dia                  0.97.3+git20160930-8
pn  libsvg-perl          <none>
pn  libxml-xql-perl      <none>
ii  pstoedit             3.70-5+b1
pn  python-uniconvertor  <none>
ii  ruby                 1:2.5.1

-- no debconf information

Reply via email to