inkscape crashes when opening document properties
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Inkscape |
Fix Released
|
High
|
Jon A. Cruz | ||
| inkscape (Arch Linux) |
New
|
Undecided
|
Unassigned | ||
| inkscape (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
| Maverick |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
Opening "Document properties" dialog crashes inkscape on KDE4 (Kubuntu Maverick) with Oxygen iconset
Iconset "GNOME" causes no problems.
Other iconset downloaded for test "Hycons" crashed Inkscape on launch.
Software:
Inkscape 0.48.0 r9654 (Sep 20 2010)
== Ubuntu stable release update (SRU) notes ==
* IMPACT/
* DETAILS OF FIX: The bug is fixed in the latest upstream version of Inkscape (0.48.1), which is a bug-fix only release. This version has been released in Natty as inkscape_
* PATCH DETAILS: The upstream patch has been attached to this report (see 9745_9744.diff). This patch fixes the single issue described in this report, and introduces no additional changes.
* TEST CASE: Apply Oxygen icon set and open "Document Properties" dialog. Inkscape crashes.
* REGRESSION POTENTIAL: As far as I know, no new bugs have been reported concerning the "Document properties" dialog in 0.48.1 since this patch was applied.
-- Alex Valavanis
Second crash (Hycons icon set) seems related to
Bug #651678 in Inkscape: "anjuta crashes with assertion failure on startup"
<https:/
Same here: fresh install of Kubuntu Maverick; after installing Inkscape from the Repositories, I started it, clicked on document properties and Inskape crashes. Every time.
@Liviu - which icon set/theme are you using?
I am running KDE 3.5 (Kunbuntu), and I had this problem too. Changing the GTK widget theme seems to have resolved the issue for me.
System Settings > Application Appearance > GTK+ Appearance > Widget Style
I changed it from "QtCurve" to "New Wave" and inkscape no longer crashes when opening the Document Properties.
@~suv: I am using the default Kubuntu theme, Oxygen.
Just changed the gtk+ appearance to raleigh and now Inkscape crashed immediately after starting, saying that "Inkscape encountered an internal error ad will close now".
@Liviu - that's bug #651678 (see its duplicate bug #656416) - obviously related, but possibly needs to be addressed separately.
Same here, getting a crash whenever I open the properties on the ubuntu-mono-light .svg icons.
But I can go into the xml file through inkscape and make the necessary changes; it's just too many extra steps to be useful.
Using Kubuntu 10.10 (KDE 4.5.2) I had the same problem. These steps resolved the issue(s) for me:
Setting GTK+ widget style to Clearlooks (resolves crash at document properties)
Installing package: gnome-icon-theme (resolves crash at start)
@mrvanes: thank you! This solved the problem and now I can continue my work. One note: I had to install the package gnome-themes-
Confirm @mrvanes and @J Lorieau (thanks folks!) on Kubuntu 10.10 changing the GTK+ widget style prevents the crash. However, at least with Clearlooks, one starts to see some odd misplaced screen details. Opening a document and just moving around the cursor fills the surrounding units/dimension frame with triangular position tracking markers. That is, it fails to remove the markers from where the cursor corresponded previously.
@noah - the ruler updating issue is tracked in bug #627134 in Inkscape: "Ghosts of pointer's past (ruler refreshing problem)"
<https:/
Also happening on up to date Arch Linux with Inkscape 0.48.0 r9654 and KDE 4.5.2. Changing gtk style from Oxygen to something else fixes problem, as does changing icon theme from Oxygen to Gnome.
I have Arch Linux with kde 4, oxygen theme and inkscape 0.48 the solution is install gnome-icon-theme, maybe delete the foldier /home/user/
On Fri, Oct 15, 2010 at 3:43 PM, DiegoSG <email address hidden> wrote:
> I have Arch Linux with kde 4, oxygen theme and inkscape 0.48 the
> solution is install gnome-icon-theme, maybe delete the foldier
> /home/user/
>
That's not a solution. I like the looks of my desktop the way it is.
Same problem with maverick 64 bits. Changing theme for GTK applications (I just tried with Raleigh) is a good workaround.
Using the shortcut for the same action:
(inkscape:14323): glibmm-CRITICAL **:
unhandled exception (type Glib::Error) in signal handler:
domain: gtk-icon-
code : 0
what : Icon 'gtk-properties' not present in theme
and you notice that the root of the issue is that gtk-properties (or any gtk- icon) is not present on the Oxygen iconset either on the oxygen-
Since there is no fallback set, it crashes.
Probably the solution should be provided by qtcurve, since it intends to be a mimics the kde style on gtk applications. Indeed, it should provide alternative for the gtk- icons.
If I symlink document-
Using qtcurve and oxygen iconset.
On Mon, Oct 18, 2010 at 6:35 PM, asrail <email address hidden> wrote:
> and you notice that the root of the issue is that gtk-properties (or any gtk- icon) is not present on the Oxygen iconset either on the oxygen-
> Since there is no fallback set, it crashes.
>
> Probably the solution should be provided by qtcurve, since it intends to
> be a mimics the kde style on gtk applications. Indeed, it should provide
> alternative for the gtk- icons.
>
> If I symlink document-
> Using qtcurve and oxygen iconset.
Good work. I'll see if that works for me.
symlinking worked for me as well. Thanks!
I installed a GTK theme called oxygen-molecule and it fixed the problem.
I had the same problem in Kubuntu 10.10. After a few guys have pointed out symlinking here's a very easy command which works around the problem:
ln -s /usr/share/
This will just tell inkscape to use the document-
(note that the ~/.config.... is in the same line as the ln -s...)
Kubuntu users using QtCurve, just run 'sudo apt-get install gnome-icon-theme' and in the QtCurve settings uder Avanced Settings make sure that the field Gtk icons [ ] Use KDE equivalent isn't checked.
This workaround fixes and the starting of the application, and the document properties window.
Could anyone test if Inkscape still crashes on opening the document properties dialog if it uses the attached icons file? It contains a new (fallback) icon with id="gtk-properties" - possibly inkscape takes it from its own icon file if not found among the stock icons provided by the icon theme. Test proposed by Jon Cruz in #inkscape (irc).
To use the new icons file:
- replace '/usr/share/
- don't forget to backup the original first
hi ~suv,
i replaced the icons.svg file, but it still crashes here
i replaced the icons.svg file, but it still crashes here
I can confirm that it still crashes. I think we're on the right track,
though. If I paste oxygen's 16x16 "document-
/usr/share/
document properties dialog works as expected.
I've been in contact with the qtcurve developer. System icons should
be getting mapped via ~/.config/
carries its own icons, ignores the mapping file (for some reason), and
has no fallback.
Craig
On Sat, Oct 23, 2010 at 7:52 AM, Craig <email address hidden> wrote:
> I can confirm that it still crashes. I think we're on the right track,
> though. If I paste oxygen's 16x16 "document-
> /usr/share/
> document properties dialog works as expected.
>
> I've been in contact with the qtcurve developer. System icons should
> be getting mapped via ~/.config/
> carries its own icons, ignores the mapping file (for some reason), and
> has no fallback.
>
> Craig
>
Should have said "I can confirm that inkscape still crashes when
opening the document properties dialog" (just to be clear).
What Inkscape does is install it's own icons as fallback versions for what it has, then later on asks GTK via its standard loading mechanism to load the given icon by string name. From that point it's up to GTK and the themes involved to resolve things and return the proper one. Sounds like it could be a change in GTK or elsewhere, since the Inkscape code has not changed.
On Sat, Oct 23, 2010 at 12:02 PM, Jon A. Cruz <email address hidden> wrote:
> What Inkscape does is install it's own icons as fallback versions for
> what it has, then later on asks GTK via its standard loading mechanism
> to load the given icon by string name. From that point it's up to GTK
> and the themes involved to resolve things and return the proper one.
> Sounds like it could be a change in GTK or elsewhere, since the Inkscape
> code has not changed.
It seems like the correct behavior would be to display the dialog
without an icon if one is not available. Why does Inkscape crash as
the result of a simple, single missing 16x16 icon? (This is not just
the dialog that's crashing).
This is happening on a default Kubuntu 10.10 setup. I love Inkscape
and think its a great piece of software. I should be able to run it on
a straight kde setup, though regardless of the theme.
Could someone with a mostly unaltered system try this command and see
if it makes any difference on their system:
sudo gtk-update-
Mine's been messed around with so much, I can't tell if its this or
some other change (or a combination).
Inkspace crashed on Kubuntu 10.10 with the following error message in the console:
(inkscape:5743): glibmm-CRITICAL **:
unhandled exception (type Glib::Error) in signal handler:
domain: gtk-icon-
code : 0
what : Icon 'gtk-properties' not present in theme
terminate called after throwing an instance of 'Gtk::IconTheme
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.
Aborted
After "sudo gtk-update-
terminate called after throwing an instance of 'Gtk::IconTheme
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.
Aborted
On Sun, Oct 24, 2010 at 9:20 AM, Michael Binder
> After "sudo gtk-update-
>
> terminate called after throwing an instance of 'Gtk::IconTheme
>
> 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.
> Aborted
>
Just to be sure - did the command return with:
gtk-update-
If not could you run it with "-f" for force, ie :
sudo gtk-update-
Thanks,
Craig
Another simple system-wide workaround:
sudo ln -sv /usr/share/
/usr/share/
sudo gtk-update-
Craig's workaround in #40 worked fine for me. Kubuntu Maverick.
Also affects Inkscape 0.48 and current trunk on Mac OS X after upgrading to GTK+ 2.22 (via MacPorts).
Possible workaround with MacPorts: install the port 'gnome-icon-theme' and add the following line to '~/.gtkrc-2.0':
gtk-icon-theme-name = "gnome"
Please test whether r9909 of trunk fixes this specific problem (crash after opening document properties dialog). Crashes related to the recent files manager have a different cause and are not be fixed yet.
Fix (r9909) tested and confirmed with Inkscape 0.48+devel r9912 (GTK+ 2.22.1) on OS X 10.5.8, using no specific icon theme (or explicitly set 'gtk-icon-
I tried the fix by Craig in #40 and didn't work for me on Kubuntu 10.10.
I get:
$ gdb inkscape
GNU gdb (GDB) 7.2-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://
Reading symbols from /usr/bin/
(gdb) run
Starting program: /usr/bin/inkscape
[Thread debugging using libthread_db enabled]
terminate called after throwing an instance of 'Gtk::IconTheme
Program received signal SIGABRT, Aborted.
0x00007fffef7d8ba5 in raise (sig=<value optimised out>) at ../nptl/
64 ../nptl/
in ../nptl/
(gdb) bt
#0 0x00007fffef7d8ba5 in raise (sig=<value optimised out>) at ../nptl/
#1 0x00007fffef7dc6b0 in abort () at abort.c:92
#2 0x00007ffff00166bd in __gnu_cxx:
#3 0x00007ffff0014906 in ?? () from /usr/lib/
#4 0x00007ffff0014933 in std::terminate() () from /usr/lib/
#5 0x00007ffff0014a3e in __cxa_throw () from /usr/lib/
#6 0x00007ffff7a38a3f in Gtk::IconThemeE
#7 0x00007ffff6baab92 in Glib::Error:
#8 0x00007ffff7a37f9d in Gtk::IconTheme:
Committed in the 0.48.x branch, revision 9735.
I am a KDE user, and just noticed that using oxygen-gtk[1] (a very recent project that really does a great job on making GTK+ apps feel like Qt apps) fixes the problem. It brings along some weird behaviors on widgets (maybe they don't exist anymore with the last commit), but everything works fine and I see no crashes at all.
Switching back to QtCurve causes the crash to happen.
Confirmed that the change in r9909 is a temporary work-around, and that the true fix is to determine if the icon lives in the IconTheme or as a Stock item. Instead of try/catch a simple check of IconTheme:
Fixed in trunk revision 9745. Now shows the correct icon for document properties, not the generic fallback.
Fix backported to the 0.48.x branch as revision 9937.
Fix confirmed with Inkscape 0.48+devel r9938 on OS X 10.5.8
(up-to-date MacPorts with gtk2 @2.22.1, glib2 @2.26.1)
Related revisions:
inkscape trunk: 9937
inkscape 0.48.x: 9745
The following workaround worked; just as advertised above (Thanks!) :
I ran these in konsole:
1. cd /usr/share/
2. sudo ln -s document-
3. sudo gtk-update-
Now inkscape behaves as it should.
This bug was fixed in the package inkscape - 0.48.1-0ubuntu1
---------------
inkscape (0.48.1-0ubuntu1) natty; urgency=low
* New upstream version (LP: #710619). Fixes several Ubuntu bugs:
- Node editing causes segmentation fault (LP: #544599)
- Cursor position markers are not cleared from rulers (LP: #627134)
- Crashes when opening document properties (LP: #658055)
- Export to XCF error with default template (LP: #485032)
- Editing a connector in a transformed group returns it to original
position (LP: #533897)
- Ungrouping objects changes position of arrow lines (LP: #552289)
- Will not save XCF file (LP: #642417)
- XCF export fails when exporting from unsaved document (LP: #650890)
* Drop all patches: Applied upstream
* debian/rules: Disable chmod on debian/patches/* in clean rule (no patches used)
-- Alexander Valavanis <email address hidden> 2011年2月01日 12:53:34 +0000
When will this fix be released for Maverick (10.10), seeing as that was the version against which the bug was reported, and Maverick is still supported. :)
Hi Joshua,
I will start work on a stable release update (SRU) today, hopefully. It takes a while for SRUs to be processed, because any mistakes can affect a vast number of people, so please keep an eye on this report for updates!
Subscribing ubuntu-sru to determine whether this is an acceptable issue/patch for an SRU. I will create a debdiff later today (I'm working in Windows 7 at the moment, I'm afraid!).
- inkscape_0.48.0-1ubuntu1.2.debdiff Edit (3.6 KiB, text/plain)
Finally got round to creating a debdiff (attached)
Test build queued in PPA:
Successful PPA builds on i386 & amd64. The PPA package is now available for testing.
Finally got round to testing this in a clean Kubuntu Maverick 32-bit virtual machine. The bug disappears with the attached inkscape_
@Sponsors - please consider an upload to maverick-proposed
Thanks for your contribution. Uploaded inkscape 0.48.0-1ubuntu1.2 to maverick-proposed.
Accepted inkscape into maverick-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https:/
This update fixed it for me. Thanks!
removed: verification-needed
I'm running inkscape 0.48 on kubungu 10.10 (package version Version: 0.48.0-1ubuntu1.1) and this bug still persists.
@GreatBunzinni - Yes, that is correct. Please try enabling the maverick-backports repository, and upgrade to package version 0.48.0-1ubuntu1.2. That should fix the problem for you.
This bug was fixed in the package inkscape - 0.48.0-1ubuntu1.2
---------------
inkscape (0.48.0-1ubuntu1.2) maverick-proposed; urgency=low
* Backport upstream patch 03-fix-
prevent a crash when opening the document properties dialog in
KDE (LP: #658055)
-- Alex Valavanis <email address hidden> 2011年3月19日 02:31:12 +0100