Inkscape Segfaults X on ArchLinux

Bug #1072389 reported by Ellie Frost
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
High
Unassigned
Arch Linux
New
Undecided
Unassigned
Fedora
Invalid
Undecided

Bug Description

Every time I attempt to do anything meaningful in Inkscape (e.g. selecting a point in an existing drawing), I get a segfault from X.

I'm not certain that this is specifically a bug in Inkscape, but as this is the only application that causes this I figured this would be a good place to start. I'm using Arch Linux, latest kernel, with the Awesome window manager (another likely culprit).

I've attached the section of Xorg.0.log associated with starting inkscape and crashing, and some versions of software on my computer are below. I've used the Arch packaged version of inkscape, and I complied the latest bzr build to see if that fixed the issue (it did not).

sib@westley:~$ uname -a
Linux westley 3.6.2-1-ARCH #1 SMP PREEMPT Fri Oct 12 23:58:58 CEST 2012 x86_64 GNU/Linux

sib@westley:~$ inkscape --version
Inkscape 0.48+devel r11843 custom (Oct 27 2012)

sib@westley:~$ X -version

X.Org X Server 1.13.0
Release Date: 2012-09-05
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.6.2-1-ARCH x86_64
Current Operating System: Linux westley 3.6.2-1-ARCH #1 SMP PREEMPT Fri Oct 12 23:58:58 CEST 2012 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=/dev/mapper/lvm-root ro cryptdevice=/dev/sda3:crypt resume=/dev/mapper/lvm-swap ro quiet
Build Date: 19 October 2012 03:54:56PM

Current version of pixman: 0.26.2
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.

Tags: crash
Revision history for this message
In , Matthew (matthew-redhat-bugs) wrote :

Description of problem:

When I try to draw something in Inkscape, the whole X session crashes.

Version-Release number of selected component (if applicable):

inkscape-0.48.3.1-1.fc18.x86_64
xorg-x11-drv-intel-2.20.10-2.fc18.x86_64

How reproducible:

Always

Steps to Reproduce:
1. In Gnome Shell, run Inkscape.
2. Pick the rectangle tool.
3. Start to draw on the canvas

Actual results:

Crash

Expected results:

Draws rectangle

Additional info:

Thinkpad W530 with Intel IvyBridge

Revision history for this message
Ellie Frost (stillinbeta) wrote :
Revision history for this message
In , Matthew (matthew-redhat-bugs) wrote :

Still with xorg-x11-drv-intel-2.20.12-1.fc18.x86_64

Revision history for this message
Daniel Müllner (muellner) wrote :

Here is some more information from Bug #1073294 (accidental duplicate):

(1)
In addition to the configuration in the original report, the bug also occurs on Archlinux with Xfce (xfwm4 window mananger) and integrated Intel graphics; however, _not_ in an almost identical setting on a different PC with an Nvidia graphics card and nouveau drivers.

(2)
By playing around with the source code, I was able to narrow the problem down to a single GTK call: The crash occurs in sp-canvas.cpp in the function sp_canvas_item_grab, when gdk_pointer_grab is called (line 912 in the current source revision).

Again, Inkscape is the only application that exhibits this problem on my PC, even if Inkscape itself does not crash but the X server. Inkscape itself exits with "inkscape: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0." on the terminal.

su_v (suv-lp)
summary: - Inkscape Segfaults X
+ Inkscape Segfaults X on ArchLinux
tags: added: crash
Changed in inkscape:
importance: Undecided → High
Revision history for this message
su_v (suv-lp) wrote :

Same on Fedora with xorg-x11-drv-intel-2.20.10-2.fc18.x86_64 and xorg-x11-drv-intel-2.20.12-1.fc18.x86_64:
<https://bugzilla.redhat.com/show_bug.cgi?id=868516>

Revision history for this message
su_v (suv-lp) wrote :

Older report about similar crash:
Bug #1023004 “xorg crashes when clicking in inkscape work area”
<https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1023004>

Revision history for this message
su_v (suv-lp) wrote :

Setting status to 'Confirmed' for project 'Inkscape' for now (based on duplicate report), though this is likely an xorg-server or xorg-x11-drv-intel bug, and not one that can be fixed in Inkscape.

Changed in inkscape:
status: New → Confirmed
Revision history for this message
Martin Hundebøll (hundeboll) wrote :

Upgrading linux kernel from 3.6.5 to 3.6.6 solved the issue for me.

Revision history for this message
Daniel Müllner (muellner) wrote :

Not for me, though. The problem is still there with Linux kernel 3.6.6.

Revision history for this message
Ellie Frost (stillinbeta) wrote :

I also upgraded to 3.6.6 and have not seen resolution of this bug. I tried both the packaged version of Inkscape and a compiled bzr checkout.

Revision history for this message
Daniel Müllner (muellner) wrote :

Today's Arch Linux update did the trick for me, and Inkscape works again! Was it one of the following package updates?

upgraded xorg-server-common (1.13.0-3 -> 1.13.0-4)
upgraded xorg-server (1.13.0-3 -> 1.13.0-4)

Revision history for this message
Martin Hundebøll (hundeboll) wrote :

Daniel Müllner:
Hmm... At somepoint is stopped working for me again, but todays updates in Arch Linux also did the trick for me. Yes, guess it's related to the xorg-packages...

Revision history for this message
Ellie Frost (stillinbeta) wrote :

I can also confirm that the latest Arch updates fixed this bug. Let's just pretend it never happened and hope it doesn't happen again?

Revision history for this message
Daniel Müllner (muellner) wrote :

Let's do that. As for me, this bug report can be closed now. Thanks to ~suv in the Inkscape bug team for her/his attention.

Revision history for this message
su_v (suv-lp) wrote :

Thanks for all the feedback, much appreciated. Closing this report as 'Invalid' for project 'Inkscape' for now - feel free to reopen if it reoccurs, and sorry that I wasn't able to help with getting it reported upstream to e.g. xorg-server (or possibly xorg-x11-drv-intel).

Changed in inkscape:
status: Confirmed → Invalid
Revision history for this message
In , Emily (emily-redhat-bugs) wrote :

I'm getting the same behavior in Fedora 18, but with every tool. Any interaction with the Inkscape canvas crashes X.

However, it only happens in a Gnome session with my user. Inkscape functions normally for other users and on in other desktop environments.

I'm on a Thinkpad X220t with SandyBridge.

Revision history for this message
In , Dave (dave-redhat-bugs) wrote :

can we get the Xorg log file for a crash?

/var/log/Xorg.0.log.old in theory.

Revision history for this message
In , Emily (emily-redhat-bugs) wrote :

Created attachment 654337
Xorg log from a crash

Revision history for this message
In , Matthew (matthew-redhat-bugs) wrote :

Yes, it is definitely any interaction, not just the rectangle tool. Sorry for not being clear.

Revision history for this message
In , Matthew (matthew-redhat-bugs) wrote :

Created attachment 654816
Another Xorg.0.log from a crash

Revision history for this message
In , Peter (peter-redhat-bugs) wrote :

Created attachment 658427
Log of this problem on Lenovo Thinkpad X1 Carbon

I'm seeing the same thing on my X1 Carbon booted with UEFI.

Revision history for this message
In , Emily (emily-redhat-bugs) wrote :

This is fixed for me with an update yesterday. I'm not sure which package fixed it, as I got updates for neither gnome or inkscape, but I suspect it was the new kernel - 3.6.9

Revision history for this message
In , Matthew (matthew-redhat-bugs) wrote :

(In reply to comment #8)
> This is fixed for me with an update yesterday. I'm not sure which package
> fixed it, as I got updates for neither gnome or inkscape, but I suspect it
> was the new kernel - 3.6.9

No such luck for me. Same behavior with kernel-3.6.9-4.fc18, xorg-x11-drv-intel-2.20.14-1.fc18.

Revision history for this message
In , Matthew (matthew-redhat-bugs) wrote :

Crashes in Gnome and in XFCE (both with and without display compositor enabled) but oddly seesm to be no problem in KDE.

Revision history for this message
In , Matthew (matthew-redhat-bugs) wrote :

Okay, *now* it works for me.

kernel-3.6.11-3.fc18 and xorg-x11-drv-intel-2.20.16-1.fc18

Revision history for this message
In , Adam (adam-redhat-bugs) wrote :

Closing per comment #11.

Revision history for this message
su_v (suv-lp) wrote :

Possibly one of the actual triggers is still the same as what is described in this comment of (older) bug #1021517 ("crash depends on the fn-f8 combo to activate/disable the touchpad"):
<https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1021517/comments/55>

Changed in fedora:
importance: Unknown → Undecided
status: Unknown → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.