Crash when hiding dock with two files open

Bug #1481719 reported by Toby Cubitt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Triaged
High
Unassigned

Bug Description

Inkscape version 0.91 compiiled from source with dbus, lcms, nls and openmp support.

OS/platform: Linux/Gentoo

Steps to reproduce:

1. At command line:
$ inkscape file1.svg file2.svg &
-> Inkscape opens but dock is only displayed in one of the two windows
(Note that the bug is NOT triggered if a second file is opened from within Inkscape, only if two files are opened simultaneously from the command line.)

2. Click "iconify dock" button
-> Inkscape crashes with following output:

** (inkscape:32326): WARNING **: master 0xcfc3fa0: unable to add object 0xd8ded30[DialogAlignDistribute] to the hash. There already is an item with that name (0xd231240).

** (inkscape:32326): WARNING **: master 0xcfc3fa0: unable to add object 0xd919b48[DialogExport] to the hash. There already is an item with that name (0xd512730).

** (inkscape:32326): WARNING **: master 0xcfc3fa0: unable to add object 0xd937ee0[DialogFillStroke] to the hash. There already is an item with that name (0xd540d40).

** (inkscape:32326): WARNING **: master 0xcfc3fa0: unable to add object 0xda16558[DialogTransform] to the hash. There already is an item with that name (0xd89ab88).

(inkscape:32326): Gtk-CRITICAL **: IA__gtk_widget_is_toplevel: assertion 'GTK_IS_WIDGET (widget)' failed

(inkscape:32326): Gtk-CRITICAL **: _gtk_container_queue_resize: assertion 'GTK_IS_CONTAINER (container)' failed

(inkscape:32326): GLib-GObject-CRITICAL **: g_object_get_qdata: assertion 'G_IS_OBJECT (object)' failed

(inkscape:32326): Gtk-CRITICAL **: IA__gtk_widget_is_sensitive: assertion 'GTK_IS_WIDGET (widget)' 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
su_v (suv-lp) wrote :

Please add information about OS/platform to the bug description, thank you.

Could you please attach Inkscape's preferences file to allow further investigation?
Location on Linux/OS X: ~/.config/inkscape/preferences.xml

tags: added: crash
tags: added: ui
Changed in inkscape:
importance: Undecided → High
status: New → Incomplete
Revision history for this message
Toby Cubitt (tsc25) wrote :

Inkscape preferences.xml attachment.

description: updated
Revision history for this message
su_v (suv-lp) wrote : Re: [Bug 1481719] [NEW] Crash when hiding dock with two files open

Reproduced with Inkscape 0.91 r13725 and 0.91+devel r14275 (on OS X
10.7.5, using GTK+/X11), if one of the SVG documents defines a custom
window size, and does not open maximized (inkscape:window-maximized="0").

Prepare inkscape config:
1) reset Inkscape's prefs to default (rename existing prefs file)
2) launch inkscape once, open a dialog (e.g. 'Layers'), quit

A -- Steps to reproduce:
4) open 'default-1-demaxed.svg' twice via command line:
$ inkscape default-1-demaxed.svg \
           default-1-demaxed.svg

B -- Steps to _not_ reproduce:
3) open 'default-1-demaxed-maxed_again.svg' twice via command line:
$ inkscape default-1-demaxed-maxed_again.svg \
           default-1-demaxed-maxed_again.svg

Diff between the two files:

$ diff -u default-1-demaxed{,-maxed_again}.svg
--- default-1-demaxed.svg 2015-08-05 15:23:31.000000000 +0200
+++ default-1-demaxed-maxed_again.svg 2015-08-05 15:25:07.000000000 +0200
@@ -15,7 +15,7 @@
    version="1.1"
    id="svg8"
    inkscape:version="0.91+devel r14275"
- sodipodi:docname="default-1-demaxed.svg">
+ sodipodi:docname="default-1-demaxed-maxed_again.svg">
   <defs
      id="defs2" />
   <sodipodi:namedview
@@ -35,7 +35,7 @@
      inkscape:window-height="442"
      inkscape:window-x="0"
      inkscape:window-y="0"
- inkscape:window-maximized="0" />
+ inkscape:window-maximized="1" />
   <metadata
      id="metadata5">
     <rdf:RDF>
$

Changed in inkscape:
status: Incomplete → New
Revision history for this message
su_v (suv-lp) wrote :

Full backtrace (debug build r14275, OS X 10.7.5)

Changed in inkscape:
milestone: none → 0.92
status: New → Confirmed
tags: added: regression
Revision history for this message
su_v (suv-lp) wrote :
Revision history for this message
su_v (suv-lp) wrote :

Related later reports (likely duplicates):
* Bug #1499980 “Tool dialogs end up all in one window when opening multiple documents”
  https://bugs.launchpad.net/inkscape/+bug/1499980
* Bug #1540968 “Buggy export png dialog when opening multiple files”
  https://bugs.launchpad.net/inkscape/+bug/1540968

jazzynico (jazzynico)
Changed in inkscape:
status: Confirmed → Triaged
jazzynico (jazzynico)
Changed in inkscape:
milestone: 0.92 → 0.93
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.