lxinput crashed with SIGSEGV in XkbUseExtension()

Bug #725194 reported by Marián Kadaňka
148
This bug affects 24 people
Affects Status Importance Assigned to Milestone
lxinput (Ubuntu)
Fix Released
Medium
Julien Lavergne
Natty
Fix Released
Undecided
Unassigned

Bug Description

SRU explanation :
1. This bug makes lxinput unable to modify any settings, and segfault on any change made.
2. The bug was fixed in version 0.3.0-0ubuntu5 version in Oneiric, confirmed by several people. This revision contains only the fix for this bug.
3. Diff available here : https://launchpadlibrarian.net/74830173/lxinput_0.3.0-0ubuntu4_0.3.0-0ubuntu5.diff.gz
4. TEST CASE : Start lxinput, try to change any settings, restart lxinput and see that the settings have not changed.
5. I can't see any possible regression worst than the current state of the package.

Original bug report :
Binary package hint: lxinput

Crash on cancelling "Keyboard and Mouse" dialog window.

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: lxinput 0.3.0-0ubuntu3
ProcVersionSignature: Ubuntu 2.6.38-5.32-generic 2.6.38-rc6
Uname: Linux 2.6.38-5-generic i686
Architecture: i386
Date: Fri Feb 25 20:05:25 2011
ExecutablePath: /usr/bin/lxinput
InstallationMedia: Lubuntu 11.04 "Natty Narwhal" - i386 (20101203)
ProcCmdline: lxinput
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SegvAnalysis:
 Segfault happened at: 0x65a911 <XkbUseExtension+833>: mov %eax,0x20(%edx)
 PC (0x0065a911) ok
 source "%eax" ok
 destination "0x20(%edx)" (0x00000021) not located in a known VMA region (needed writable region)!
SegvReason: writing NULL VMA
Signal: 11
SourcePackage: lxinput
StacktraceTop:
 XkbUseExtension () from /usr/lib/libX11.so.6
 XkbSetAutoRepeatRate () from /usr/lib/libX11.so.6
 ?? ()
 __libc_start_main () from /lib/libc.so.6
 ?? ()
Title: lxinput crashed with SIGSEGV in XkbUseExtension()
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Marián Kadaňka (marian.kadanka) wrote :
visibility: private → public
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 XkbUseExtension (dpy=0x88750b0, major_rtrn=0x0, minor_rtrn=0x0) at ../../../src/xkb/XKBUse.c:651
 XkbSetAutoRepeatRate (dpy=0x88750b0, deviceSpec=256, timeout=500, interval=30) at ../../../src/xkb/XKBCtrls.c:59
 main (argc=1, argv=0xbf96d444) at lxinput.c:314

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in lxinput (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
Revision history for this message
Eliah Kagan (degeneracypressure) wrote :

I'm able to reproduce this bug on an up-to-date Lubuntu Natty amd64 system (obtained by installing a command-line only Natty amd64 Beta 1 from the alternate install CD and then installing the package lubuntu-desktop), with lxinput 0.3.0-0ubuntu4.

tags: added: amd64
Revision history for this message
Eliah Kagan (degeneracypressure) wrote :

Since the stack trace looks OK, I'm able to reproduce this, and there are (separately from that) three bugs automatically marked duplicates of this bug by the "Apport retracing service" bot, I'm changing this bug's status from New to Confirmed.

Changed in lxinput (Ubuntu):
status: New → Confirmed
Revision history for this message
arkanabar (arkanabar) wrote :

I am also having this issue, with up-to-date Lubuntu 11.04 and the 2.6.38-8-generic kernel.

Revision history for this message
DCohen (davidsmail240-beep) wrote :

Me too, same as arkanabar 2011-04-30. Crashes with the same error "Segmentation fault" on any change I make, except switching between the two tabs, or clicking OK. Seems to be the same result whether I try to adjust with the mouse, or tab to a control and then try to use an arrow key/space bar as appropriate.

Julien Lavergne (gilir)
Changed in lxinput (Ubuntu):
status: Confirmed → In Progress
assignee: nobody → Julien Lavergne (gilir)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lxinput - 0.3.0-0ubuntu5

---------------
lxinput (0.3.0-0ubuntu5) oneiric; urgency=low

  * debian/patches/03_gseal_enable_migration.patch:
   - Fix usage of gdk_display_get_default() (LP: #725194)
 -- Julien Lavergne <email address hidden> Fri, 08 Jul 2011 23:40:19 +0200

Changed in lxinput (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
AntumDeluge (antumdeluge) wrote :

Will there be a package release for Natty or do I have to download Oneiric's?

Revision history for this message
Bryan Laur (bjlaur) wrote :

I downloaded Oneiric's and have been using it for about a month without any issue.

Revision history for this message
Phill Whiteside (phillw) wrote :

for those awaiting the bug fix to arrive backwards, please use https://help.ubuntu.com/community/Lubuntu/Documentation/FAQ#Mouse%20Control%20crashes%20in%2011.04 Yes, it is dirty hack, using our dev team stuff, but.... hey it works!

PLEASE do follow it, as you do not want to be running the test area for Oneric in the Natty system. Those instructions will simply give you access to Oneric test area for the v5 of lxinput, and then leave Natty back in charge.

Regards,

Phill.

Julien Lavergne (gilir)
description: updated
Changed in lxinput (Ubuntu Natty):
status: New → Confirmed
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Hello Ladislav, or anyone else affected,

Accepted lxinput into natty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in lxinput (Ubuntu Natty):
status: Confirmed → Fix Committed
tags: added: verification-needed
tags: added: testcase
dino99 (9d9)
Changed in lxinput (Ubuntu Natty):
status: Fix Committed → Fix Released
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.