syndaemon crashed with SIGSEGV in XCloseDisplay()

Bug #282735 reported by hrushikesh
292
This bug affects 9 people
Affects Status Importance Assigned to Milestone
xserver-xorg-input-synaptics (Ubuntu)
Fix Released
Medium
William Grant
Nominated for Jaunty by Florent

Bug Description

Binary package hint: xfree86-driver-synaptics

Got this message on upgrading to xfree86-driver-synaptics (0.15.2-0ubuntu5) on Intrepid, and rebooting; no other effects observed.

ProblemType: Crash
Architecture: i386
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/bin/syndaemon
NonfreeKernelModules: nvidia
Package: xserver-xorg-input-synaptics 0.15.2-0ubuntu5
ProcAttrCurrent: unconfined
ProcCmdline: syndaemon -t -d
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_IN.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: xfree86-driver-synaptics
StacktraceTop:
 XCloseDisplay () from /usr/lib/libX11.so.6
 ?? ()
 <signal handler called>
 __kernel_vsyscall ()
 write () from /lib/tls/i686/cmov/libc.so.6
Title: syndaemon crashed with SIGSEGV in XCloseDisplay()
Uname: Linux 2.6.27-7-generic i686
UserGroups: adm admin audio cdrom dialout dip disk floppy fuse kvm lpadmin plugdev sambashare video

Tags: apport-crash
Revision history for this message
hrushikesh (hrushikesh) wrote :
William Grant (wgrant)
Changed in xserver-xorg-input-synaptics:
assignee: nobody → wgrant
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Bryce Harrington (bryce) wrote :

Attached is wgrant's ppa with a fix for this issue.

The PPA for testing is at:
http://ppa.launchpad.net/wgrant/ubuntu/pool/main/x/xfree86-driver-synaptics/

Revision history for this message
William Grant (wgrant) wrote :

Please try ~wgrant2 from my PPA. It has significant changes and seems to be a lot more reliable now.

Revision history for this message
William Grant (wgrant) wrote :

~wgrant3 fixes synclient and syndaemon to work properly on amd64. They were previously broken because they include -synaptics' config.h, which includes some server headers.

Revision history for this message
pablomme (pablomme) wrote :

I don't know if this is related, let me know if I should open a new bug.

At random times, the external display of my Acer Aspire One netbook goes black, having seemingly been disabled somehow. Looking at the system logs, it seems that syndaemon segfaults at the precise time this happens (I have seen two occurrences of this):

syndaemon[6033]: segfault at 94 ip b7f7c1b7 sp bfa7fc90 error 4 in libX11.so.6.2.0[b7f67000+eb000]

I am not sure if this is what disables the external monitor or a consequence of something else going wrong.

I invoke syndaemon from the "sessions" dialog with:

syndaemon -d -t -i 1-k

with the intention of preventing accidental taps when typing. For the moment I've disabled the "sessions" entry, but I don't know yet if this stabilizes the external display or not, since the problem happens at random.

Running up-to-date Intrepid, BTW.

Revision history for this message
pablomme (pablomme) wrote :

Indeed my problem was not related; it was bug #193419 playing up, nothing to do with syndaemon. Please ignore my comment above.

Revision history for this message
Elijah (emorriso) wrote :

If i try to install wgrant3 it says a newer version is allready installed, should I just ignore that?

Revision history for this message
alm (alm) wrote :

I often get a seemingly similar crash in syndaemon during shutdown on an up-to-date jaunty install (amd64). I only notice this because apport pops up with a crash report the next time I boot. Is this related or should I let apport file a new bug?

Revision history for this message
Fabien Tassin (fta) wrote :

This happens to me too when I boot my netbook (NC10), not sure if it's a crash on startup or on shutdown though, i'll look closer next time.

I start "syndaemon -d -t -i 2" in my sessions to disable the trackpad while I'm typing.

@wgrant, trying your xserver-xorg-input-synaptics_1.0.0-0ppa1 now.

Revision history for this message
jread2 (jerry-jread) wrote :

I also invoke syndaemon in sessions with the command:

syndaemon -i 1 -d -t -K

Revision history for this message
xrayA4T (xraya4t) wrote :

I start up syndaemon from Startup Programs (Sessions) and noticed that syndaemon does not crash if I log out and log back in. I then changed it to delay 30s before starting up and it has not crashed. I attempted to do this by : sleep 30 && syndaemon -d -t -i 2 but syndaemon was not runnign after a login so I created a script and run that script on startup:
#!/bin/sh
sleep 30
syndaemon -t -d -i 2

Will update if it crashes again.

Revision history for this message
Fabien Tassin (fta) wrote :

@wgrant: /wrt comment #9, the version in your PPA crashes too.
It's a crash on shutdown, reported by apport at the next boot.

Revision history for this message
William Grant (wgrant) wrote :

The fixed package was there almost 6 months ago now - it's not there any more.

However, the new upstream version has it fixed, and I'll put that in my PPA in a few days.

Revision history for this message
Mariner09 (smcmackin) wrote : Re: [Bug 282735] Re: syndaemon crashed with SIGSEGV in XCloseDisplay()

Will,

Does the newer version require anything special for the syndaemon script
like the -s or possibly the fdi file to allow SHMConfig usage?

Shannon

On Fri, Mar 27, 2009 at 10:33 PM, William Grant <email address hidden>wrote:

> The fixed package was there almost 6 months ago now - it's not there any
> more.
>
> However, the new upstream version has it fixed, and I'll put that in my
> PPA in a few days.
>
> --
> syndaemon crashed with SIGSEGV in XCloseDisplay()
> https://bugs.launchpad.net/bugs/282735
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>
> Status in “xserver-xorg-input-synaptics” source package in Ubuntu: In
> Progress
>
> Bug description:
> Binary package hint: xfree86-driver-synaptics
>
> Got this message on upgrading to xfree86-driver-synaptics (0.15.2-0ubuntu5)
> on Intrepid, and rebooting; no other effects observed.
>
> ProblemType: Crash
> Architecture: i386
> DistroRelease: Ubuntu 8.10
> ExecutablePath: /usr/bin/syndaemon
> NonfreeKernelModules: nvidia
> Package: xserver-xorg-input-synaptics 0.15.2-0ubuntu5
> ProcAttrCurrent: unconfined
> ProcCmdline: syndaemon -t -d
> ProcEnviron:
>
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
> LANG=en_IN.UTF-8
> SHELL=/bin/bash
> Signal: 11
> SourcePackage: xfree86-driver-synaptics
> StacktraceTop:
> XCloseDisplay () from /usr/lib/libX11.so.6
> ?? ()
> <signal handler called>
> __kernel_vsyscall ()
> write () from /lib/tls/i686/cmov/libc.so.6
> Title: syndaemon crashed with SIGSEGV in XCloseDisplay()
> Uname: Linux 2.6.27-7-generic i686
> UserGroups: adm admin audio cdrom dialout dip disk floppy fuse kvm lpadmin
> plugdev sambashare video
>

Revision history for this message
William Grant (wgrant) wrote : Re: [Bug 282735] Re: syndaemon crashed with SIGSEGV in XCloseDisplay()

On Sat, 2009-03-28 at 15:36 +0000, Mariner09 wrote:
> Will,
>
> Does the newer version require anything special for the syndaemon script
> like the -s or possibly the fdi file to allow SHMConfig usage?

No. The new upstream version requires SHMConfig for nothing at all.

--
William Grant

Revision history for this message
Bryce Harrington (bryce) wrote :

wgrant, anything here that needs uploaded for inclusion in Jaunty?

Revision history for this message
cfogelberg (cgf-syntilect) wrote :

Re: earlier comment by xrayA4T (https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-synaptics/+bug/282735/comments/11):

I have adopted this approach on my Dell XPS M1330 running updated Jaunty beta 9.04 64 bit. I use the following shell script to start syndaemon on logon (added via Startup Applications in System|Preferences):

#!/bin/bash
sleep 30
syndaemon -i 0.7 -d -t -K -S

I just did a sudo apt-get update and sudo apt-get upgrade after the gnome-screensaver started segfaulting, and syndaemon crashed after I rebooted.

Christo

Revision history for this message
Florent (florent.x) wrote :

This bug is 6 months old, and it is still a problem for many people:
  "This bug has 18 duplicates"

I will try to switch to the PPA of William.

Revision history for this message
Mariner09 (smcmackin) wrote : Re: [Bug 282735] Re: syndaemon crashed with SIGSEGV in XCloseDisplay()

I've been on the PPA now for a couple of weeks and have not had any issues
like this...

On Wed, Apr 15, 2009 at 4:59 AM, FloX <email address hidden> wrote:

> This bug is 6 months old, and it is still a problem for many people:
> "This bug has 18 duplicates"
>
> I will try to switch to the PPA of William.
>
> --
> syndaemon crashed with SIGSEGV in XCloseDisplay()
> https://bugs.launchpad.net/bugs/282735
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>
> Status in “xserver-xorg-input-synaptics” source package in Ubuntu: In
> Progress
>
> Bug description:
> Binary package hint: xfree86-driver-synaptics
>
> Got this message on upgrading to xfree86-driver-synaptics (0.15.2-0ubuntu5)
> on Intrepid, and rebooting; no other effects observed.
>
> ProblemType: Crash
> Architecture: i386
> DistroRelease: Ubuntu 8.10
> ExecutablePath: /usr/bin/syndaemon
> NonfreeKernelModules: nvidia
> Package: xserver-xorg-input-synaptics 0.15.2-0ubuntu5
> ProcAttrCurrent: unconfined
> ProcCmdline: syndaemon -t -d
> ProcEnviron:
>
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
> LANG=en_IN.UTF-8
> SHELL=/bin/bash
> Signal: 11
> SourcePackage: xfree86-driver-synaptics
> StacktraceTop:
> XCloseDisplay () from /usr/lib/libX11.so.6
> ?? ()
> <signal handler called>
> __kernel_vsyscall ()
> write () from /lib/tls/i686/cmov/libc.so.6
> Title: syndaemon crashed with SIGSEGV in XCloseDisplay()
> Uname: Linux 2.6.27-7-generic i686
> UserGroups: adm admin audio cdrom dialout dip disk floppy fuse kvm lpadmin
> plugdev sambashare video
>

Revision history for this message
William Grant (wgrant) wrote :

Fixed upstream, and now in Karmic.

Changed in xserver-xorg-input-synaptics (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
FokkerCharlie (charlie-andrews) wrote :

Hi

Unfortunately, this causes a serious problem on my laptop.

As I have mentioned in various places, the Acer 5920 (G) laptop includes a set of Media Keys that are recognised by Ubuntu as another touchpad. It seems that these media keys are recognised as the first touchpad, and are the target of any tweaks or settings (eg by gsynaptics).

Using your package results in tapping (but not scrolling via the right-hand-side of the touchpad) being disabled. As there are 2 touchpads, and the touchpad settings appearing to target the media keys, this combination could result in an unusable touchpad in Karmic. There are plenty of people with similar laptops, so I think it's very important that we address this issue- either by facilitating changing settings of both 'touchpads' or reverting to previous behaviour.

Any ideas?
Charlie

Revision history for this message
mohrtutchy (mohr-tutchy) wrote :

Hi FokkerCharlie, I found a workaround for our problem. We need to write a fdi file for hal.

See here
http://ubuntuforums.org/showthread.php?p=7535907#post7535907

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.