Opening document properties crashes Inkscape

Bug #1238142 reported by Edd Barrett on 2013-10-10
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
High
Unassigned

Bug Description

Hi,

This bug seems to apply toatleast inkscape inkscape-0.48.4 and inkscape-0.48.2 on OpenBSD-current/amd64 and possibly others too.

Upon opening the "Document properties" dialog, Inkscape will crash. A trace is attached.

I would tell you the name of the icon that it is trying to load, but it seems the name is wrapped up in glib goo:

#9 0x00000010c6e7bda5 in DockItem (this=0x12ea47ae10, dock=Variable "dock" is not available.
) at ui/widget/dock-item.cpp:51
51 _icon_pixbuf = iconTheme->load_icon(icon_name, width);
Current language: auto; currently c++
(gdb) p icon_name
$1 = (const Glib::ustring &) @0x7f7ffffd1140: {static npos = 18446744073709551615, string_ = {static npos = 18446744073709551615,
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
      _M_p = 0x12ea477898 "gtk-properties"}}}

I thought this could be related to #1125620, but the patch seems to have been committed a while ago.

FWIW I have the following icon themes installed:
gnome-icon-theme-3.10.0p0 base icon theme for GNOME
gnome-icon-theme-symbolic-3.10.0p0 base icon theme extension for special UI contexts
hicolor-icon-theme-0.12p2 fallback theme of the icon theme specification

Thanks

Edd Barrett (vext01) wrote :
su_v (suv-lp) wrote :

> I thought this could be related to #1125620, but the patch
> seems to have been committed a while ago.

Bug #1125620 was specific to Windows development snapshot builds (inkscape trunk & win32 devlibs), and did not affect current or older stable Inkscape versions (neither on Windows nor on other platforms).

Your issue looks very similar to
- Bug #658055 “inkscape crashes when opening document properties”
  <https://bugs.launchpad.net/inkscape/+bug/658055>
though that one was fixed with the release of Inkscape 0.48.1(2011-01-28).

tags: added: crash ui
su_v (suv-lp) on 2013-10-10
Changed in inkscape:
importance: Undecided → High
Edd Barrett (vext01) wrote :

I have isolated this to an issue with using tango icon theme. Although I don't use a desktop environment like KDE/GNOME (I'm running awesome WM), I do have a .gtkrc-2.0 which contains the following line:

    gtk-icon-theme-name = "Tango"

If I comment this line, I am able to use the document properties dialog. Inkscape should work with any icon theme?

Cheers

Edd Barrett (vext01) wrote :

And tango is not installed, so this is probably your bug. Inkscape crashes if it is told to use a non-existent icon theme.

su_v (suv-lp) wrote :

Can't reproduce the crash in a non-GNOME enviroment (OS X) with either variation (Tango icon theme installed & used, not installed but referenced in the gtkrc file), with various versions of GTK2, gtkmm and GLib (up to the latest GTK+ 2.24.21 and GLib 2.38.0).

Papoj Thamjaroenporn (papojt) wrote :

This affects me too. I am compiling Inkscape 0.48.x (not sure at this point how to determined specific "x") on OS X Mavericks, using clang. Right after I open Inkscape if I open Document Properties it will crash right away. The variants I use are python27 and x11.

Papoj Thamjaroenporn (papojt) wrote :

Just found out that it is 0.48.99 that I have installed.

su_v (suv-lp) wrote :

<off-topic>
> I am compiling Inkscape 0.48.x (not sure at this point
> how to determined specific "x")

0.48.x is the stable series (in MacPorts: port 'inkscape'), x is the number of the bugfix release (currently: 0.48.4, planned: 0.48.5). The stable 'inkscape' port in MacPorts doesn't precisely reflect the upstream version though (because 0.48.4 as is fails to build with clang): MacPorts installs 0.48.4 plus all changes in the stable release branch since the release of 0.48.4).

> Just found out that it is 0.48.99 that I have installed.

'0.48.99' is MacPorts' versioning scheme for Inkscape trunk (port inkscape-devel), not equal to upstream. Inkscape trunk itself identifies as '0.48+devel' with the revision number appended:

$ inkscape -V
Inkscape 0.48+devel r13272 (Apr 6 2014)

The current portfile in MacPorts is at r13261:
> set bzr_rev 13261
<https://trac.macports.org/browser/trunk/dports/graphics/inkscape-devel/Portfile>

</off-topic>

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments