Xorg crash after clicking on workspace in inkscape (when touchpad is disabled)

Bug #1081108 reported by Nils Ole Tippenhauer
142
This bug affects 27 people
Affects Status Importance Assigned to Milestone
X.Org X server
Invalid
Medium
xorg-server (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Steps to reproduce on my machine:
1) open inkscape
2) click anywhere on workspace

Result:
X dies, back to login prompt

Expected result:
nothing should happen

Details of my setup:

I did not manage to get an Xorg backtrace yet as I don't have a second maching to do the remote SSH thing.
This bug looks a lot like #1023004, I opened a new one because the old one is "fix released" with no-one assigned to.

The install is fresh on a new laptop. I have since switched to the xorg-bleeding PPA, but this did not fix the problem. I am also now using the trunk PPA of inkscape, without change of behaviour.

Please advise if more information is needed.

Xorg.log:
[ 42260.310] (EE)
[ 42260.310] (EE) Backtrace:
[ 42260.310] (EE) 0: /usr/bin/X (xorg_backtrace+0x36) [0x7f50040ffbd6]
[ 42260.310] (EE) 1: /usr/bin/X (0x7f5003f57000+0x1aca09) [0x7f5004103a09]
[ 42260.310] (EE) 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f500327d000+0xfcb0) [0x7f500328ccb0]
[ 42260.311] (EE) 3: /usr/bin/X (0x7f5003f57000+0x665da) [0x7f5003fbd5da]
[ 42260.311] (EE) 4: /usr/bin/X (0x7f5003f57000+0x5ff43) [0x7f5003fb6f43]
[ 42260.311] (EE) 5: /usr/bin/X (0x7f5003f57000+0x13dd32) [0x7f5004094d32]
[ 42260.311] (EE) 6: /usr/bin/X (0x7f5003f57000+0x55a51) [0x7f5003faca51]
[ 42260.311] (EE) 7: /usr/bin/X (0x7f5003f57000+0x4456a) [0x7f5003f9b56a]
[ 42260.311] (EE) 8: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xed) [0x7f5001f0276d]
[ 42260.312] (EE) 9: /usr/bin/X (0x7f5003f57000+0x448ad) [0x7f5003f9b8ad]
[ 42260.312] (EE)
[ 42260.312] (EE) Segmentation fault at address 0x28
[ 42260.312]
Fatal server error:
[ 42260.312] Caught signal 11 (Segmentation fault). Server aborting
[ 42260.312]
[ 42260.312] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[ 42260.312] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 42260.312] (EE)
[ 42260.328] (II) evdev: Power Button: Close
[ 42260.328] (II) UnloadModule: "evdev"
[ 42260.329] (II) evdev: Video Bus: Close
[ 42260.329] (II) UnloadModule: "evdev"
[ 42260.329] (II) evdev: Sleep Button: Close
[ 42260.329] (II) UnloadModule: "evdev"
[ 42260.330] (II) evdev: Integrated Camera: Close
[ 42260.330] (II) UnloadModule: "evdev"
[ 42260.330] (II) evdev: AT Translated Set 2 keyboard: Close
[ 42260.331] (II) UnloadModule: "evdev"
[ 42260.331] (II) evdev: TPPS/2 IBM TrackPoint: Close
[ 42260.332] (II) UnloadModule: "evdev"
[ 42260.332] (II) evdev: ThinkPad Extra Buttons: Close
[ 42260.332] (II) UnloadModule: "evdev"
[ 42260.333] (II) UnloadModule: "synaptics"
[ 42260.333] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 42260.356] Server terminated with error (1). Closing log file.

lsb_release -d
Description: Ubuntu 12.10

 apt-cache policy inkscape-trunk
inkscape-trunk:
  Installed: 1:0.48+devel+11885+32~quantal1
  Candidate: 1:0.48+devel+11885+32~quantal1
  Version table:
 *** 1:0.48+devel+11885+32~quantal1 0
        500 http://ppa.launchpad.net/inkscape.dev/trunk/ubuntu/ quantal/main amd64 Packages
        100 /var/lib/dpkg/status

apt-cache policy xserver-xorg-core
xserver-xorg-core:
  Installed: 2:1.13.0+git20120920.70e57668-0ubuntu0ricotz
  Candidate: 2:1.13.0+git20120920.70e57668-0ubuntu0ricotz
  Version table:
 *** 2:1.13.0+git20120920.70e57668-0ubuntu0ricotz 0
        500 http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu/ quantal/main amd64 Packages
        100 /var/lib/dpkg/status
     2:1.13.0-0ubuntu6 0
        500 http://ch.archive.ubuntu.com/ubuntu/ quantal/main amd64 Packages

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: xorg 1:7.7+1ubuntu4
ProcVersionSignature: Ubuntu 3.5.0-18.29-generic 3.5.7
Uname: Linux 3.5.0-18-generic x86_64
ApportVersion: 2.6.1-0ubuntu6
Architecture: amd64
Date: Tue Nov 20 14:09:10 2012
InstallationDate: Installed on 2012-11-15 (5 days ago)
InstallationMedia: Xubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.1)
MarkForUpload: True
SourcePackage: xorg
Symptom: display
Title: Xorg crash
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Nils Ole Tippenhauer (noleti) wrote :
bugbot (bugbot)
tags: added: xubuntu
tags: added: edgers
Revision history for this message
Nicolas Gambardella Le Novere (n-lenovere) wrote :

I experience the same since my upgrade to Quantal. My machine is a Thinkpad T410 with Kubuntu

xserver-xorg-core:
  Installed: 2:1.13.0-0ubuntu6
inkscape:
  Installed: 0.48.3.1-1ubuntu6

bugbot (bugbot)
affects: xorg (Ubuntu) → xorg-server (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xorg-server (Ubuntu):
status: New → Confirmed
Revision history for this message
Nicolas Gambardella Le Novere (n-lenovere) wrote :

After reading that the bug was fixed on ArchLinux by an upgrade of xorg, I upgraded xserver-org-core

xserver-xorg-core:
  Installed: 2:1.13.0-0ubuntu6.1

No success. Still crashes. This is terrible for me. I am in the middle of revising the specifications of a graphical language. Inkscape is basically the software I use the most after firefox and thunderbird.

Revision history for this message
Nils Ole Tippenhauer (noleti) wrote :

My workaround with special PPAs works now!

After the last round of upgrades to the special PPAs of inkscape and xorg, the problem seems to have disappeared - I can click into workspace without crashing Inkscape

inkscape-trunk:
  Installed: 1:0.48+devel+11922+32~quantal1

xserver-xorg-core:
  Installed: 2:1.13.0.901+git20121123+server-1.13-branch.c0e68f8e-0ubuntu0ricotz~quantal

Please let me know if you need further testing/info

Revision history for this message
Nils Ole Tippenhauer (noleti) wrote :

@ Nicolas: try converting to the xorg-edgers PPA:

https://launchpad.net/~xorg-edgers/+archive/ppa

essentially just add this repository:
ppa:xorg-edgers/ppa

and you will get a set of latest xorg-related packets

Revision history for this message
Tuomas (tuma+sec) wrote :

Copy&paste from wrong, old bug report (2012-12-03): last week (28th November) I was using inkscape without problems. I tried to downgrade all ubuntu packages that were upgraded last week, but without success. Now it does not work at all. My workaround is to use inkscape through VNC.

Moreover, it seems not to be nvidia driver specific, but appears with nouveau drivers as well.
xserver-xorg-video-nouveau version 1.0.2-0ubuntu3, Ubuntu 12.10.

Revision history for this message
Nicolas Gambardella Le Novere (n-lenovere) wrote :

Thanks to Nils (#6). edgers did the trick. I hope the fix will flow downstream soon. I am a bit nervous using this ppa :-/

Revision history for this message
Johannes Schmitz (johschmitz) wrote :

I have the same problem with 12.10 fresh installation on my Thinkpad X220. It is not nvidia specific as I am on an Intel GPU.

Revision history for this message
Tomasz Suszko (susz-ok) wrote :

It appears also on Xubuntu 12.10, 32-bit, Dell Inspiron 7520.

Several days worked properly and, maybe after kind of automatic update, failed.

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

> Several days worked properly and, maybe after kind of automatic update, failed.

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>

Revision history for this message
Nils Ole Tippenhauer (noleti) wrote :

I might be related, but as far a I remember I did not have problems with gimp.
I have the touchpad disabled permanently (do not remember how exactly) and only use trackpoint.

Is everyone affected here using a laptop? Nicolas, Johannes, Tomasz and me are apparently. Maybe this reflects popularity of laptops, or it indicates that there is a correlation :)

Revision history for this message
Thomas Radeke (rahdick) wrote :

I'm affected as well, using a Dell Inspiron 1720 notebook with Mint 14 MATE. After reading ~suv's comment and the linked one, I had a hunch what might be causing the crash on my system: I'm running touchpad-indicator to disable my touchpad while a mouse is attached. The crash does indeed not occur when the touchpad is active - but as soon as I disable it and click anywhere in Inkscape, xorg will crash just as before.

Revision history for this message
Nils Ole Tippenhauer (noleti) wrote :

I investigated my setup a bit more for reference wrt touchpad:
Afaik, the lenovo X1 carbon does not have a hardware key to disable the touchpad, I used the Xubuntu settings manager to disable the touchpad. Thus, I only had the touchpad disabled in software when experiencing the bug. As I cannot reproduce the bug currently (due to xorg-edgers ppa), I cannot experiment more on this right now. I removed the ppa, but apt is not offering a downgrade of the packages, so I don't know how to revert to the buggy state. Please let me know if I can provide more useful information

Revision history for this message
Chris Cuming (ccuming) wrote :

I am experiencing this bug on a Lenovo Thinkpad Edge 420. I have the touchpad disabled via the Xubuntu settings manager, and I have not upgraded X using the ppa, so my machine is in the right state for debugging. I experience the same problem as everyone else: X crashes immediately when I click the Inkscape workspace. What system information do we need/commands do I need to run in order to provide useful debugging output?

Revision history for this message
AleksanderAdamowski (aadamowski) wrote :

I experience the same problem if I disable the touchpad using Xinput using this script:

#!/bin/sh
for device in 'PS/2 Mouse' 'ImPS/2 Generic Wheel Mouse' 'AlpsPS/2 ALPS GlidePoint'; do
  /usr/bin/xinput set-prop "$device" 'Device Enabled' 0
done

It's then enough to launch Inkscape and click on the empty workspace to have X crash. The stacktrace in Xorg log is the same (even the relative address offsets are identical).

If I disable the touchpad then reenable it using this script, I can use Inkscape safely:

#!/bin/sh
for device in 'PS/2 Mouse' 'ImPS/2 Generic Wheel Mouse' 'AlpsPS/2 ALPS GlidePoint'; do
  /usr/bin/xinput set-prop "$device" 'Device Enabled' 1
done

Revision history for this message
celiapgt (sixxties0207) wrote :

Hi, I'm not that techie as you are. But try hard.

I experienced the same crash when clicking on working area in Inkscape. After I read what you had reported about a possible connection between the touchpad and this bug, I disabled the touchpad-indicator that freezes my touchpad. Then I started Inkscape, and no crash of Xorg.

I also have a laptop (Toshiba Satellite C845).
Ubuntu 12.10 Gnome-Shell 3.6.2
Inkscape 0.48.3.1 r9886 (29 January 2013)

Celia

Revision history for this message
mlavikai (marko-lavikainen-netkoti) wrote :

I can also confirm in my Asus Zenbook UX31A that Inkscape crashes while using external mouse, but only if I have disabled touchpad through keyboard (fn+F9)

Revision history for this message
GT (gleppert) wrote :

Is it somehow possible to increase the bug heat somehow? This is a terrible bug. In my opinion, it is THE worst case bug that can happen. Open a SVG, click in Inkscape and all crashes.

In fact, this week I lost work due to this bug. I wanted to quickly change something small in an SVG with Inkskape. ** Poff ** My work in LibreOffice, gone, too.

System: Ubuntu 12.10, 64-bit, Inkscape version that comes with Ubuntu, Thinkpad X220, Intel graphic chip.

Revision history for this message
NKjoep (nkjoep) wrote :

Hi,

I'm running ubuntu 12.10 32bit with an Acer Aspire (Intel® Core™ i5-3317U CPU @ 1.70GHz × 4, Intel® Ivybridge Mobile x86/MMX/SSE2)

I can confirm that if you try to use inkscape with disabled touchpad the whole Xorg crashes.

It's a bad bug. How may I help?

summary: - Xorg crash after clicking on workspace in inkscape
+ Xorg crash after clicking on workspace in inkscape (when touchpad is
+ disabled)
Revision history for this message
Hakan KZL (hakkan-k) wrote :

hi,

this bug affects me as follows:

1. click in inkskape anywhere -> X dies, back to login prompt
2. press space key in GIMP -> X dies, back to login prompt
          note: i can use GIMP without pressing space key.

hardware:
thinkpad x100e AMD cpu/gpu

versions:

xserver-xorg-core 2:1.13.0-0ubuntu6.1
Gimp 2.8.2-1ubuntu1.1
inkskape 0.48.3.1-1ubuntu6.1

Revision history for this message
In , Nils Ole Tippenhauer (noleti) wrote :

This is a replication of a bug at launchpad, which currently affects 20 users[1].

I am opening here in hope for possible feedback from devs. Please note that the bug potentially was fixed in the development versions (see below).

Short summary:
In inkscape, simply clicking on the workspace will crash Xorg, and throw the user back to login screen. For a detailed error message, please refer to the launchpad bug.
This bug seems to be related to disabled touchpads - all affected users used laptops. Enabling the previously disabled touchpad will prevent the crash. For some users, disabling the touchpad via software would not cause the crash, while for others there was no difference. Due to this correlation with input hardware, a bug in inkscape itself seems unlikely.

The bug disappeared with switching to the xorg-edgers ppa in Ubuntu, but it is unclear exactly why.
The bug was still present in the following xorg-edgers package og xserver-xorg-core:
2:1.13.0+git20120920.70e57668-0ubuntu0ricotz
and disappeared in
2:1.13.0.901+git20121123+server-1.13-branch.c0e68f8e-0ubuntu0ricotz~quantal

As very similar issues were reported before in launchpad[2] and declared fixed, there might be an underlying root cause which is still open.

Links:
[1]: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1081108
[2]: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1023004

Revision history for this message
In , Peter Hutterer (peter-hutterer) wrote :

Please, if you already know that the bug was present in 1.13.0 and not anymore in 1.13.0.901, check the git log between those versions. It would have likely taken you less time than filing a new bug.

*** This bug has been marked as a duplicate of bug 54934 ***

Revision history for this message
Hakan KZL (hakkan-k) wrote :

Note:

Xorg crashes only when touchpad disabled.

i confirmed there is no problem when touchpad enabled. (both Gimp and inkscape)

Revision history for this message
Nils Ole Tippenhauer (noleti) wrote :

Thanks Hakan for this confirmation.

@all:
I posted a related bug at X.org's bugtracker. Peter Hutterer confirmed that this bug was most likely resolved in the git-version of X.org in late 2012. The original bug report was:
https://bugs.freedesktop.org/show_bug.cgi?id=54934

There are two workarounds for everyone who is affected:
- Activate touchpad again
- Install X.org from the edgers ppa (see comment #6)

At this point, there is no need for additional confirmations of this bug unless one of these two suggestions does not resolve the problem. Thank you all for your contribution, and of course most Peter Hutterer for fixing the bug originaly.

I'm setting this to fix released for now

Changed in xorg-server (Ubuntu):
status: Confirmed → Fix Released
Changed in xorg-server:
importance: Unknown → Medium
status: Unknown → Invalid
Revision history for this message
Simonas (simonas-belickas) wrote :

Nils Ole Tippenhauer (#6) post saved me, my 12.10 Ubuntu was crashing unpredictably, after adding that repository and update no crash in weeks!

Revision history for this message
inkubator (alen-voloder) wrote :

I'm also affected.
When I click anywhere in GIMP while my touchpad is disabled and I'm back to login screen.

Ubuntu 12.04, HP ProBook 6570b

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.