utouch-patched synaptics driver causes X crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Open Input Framework |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
I noticed the following snippet in a lightdm log after an X crash (see below). It sounds to me like grail_open is being called from a signal handler. This would be unsafe because grail_open calls calloc, which is not reentrant [1].
A look at the source shows that grail_open is called from EventDeviceOnHook. I am not familiar with the synaptics protocol, so I don't know if my guess about this being a signal handler is right.
I cannot reliably reproduce the crash, so I don't know how to do any extra debugging. I'll attach the entire logfile for reference.
--
[1] this was recently pointed out to me by Chase Douglas in another bug report related to utouch.
--
*** glibc detected *** /usr/bin/X: corrupted double-linked list: 0x00000000030408f0 ***
======= Backtrace: =========
/lib/x86_
/lib/x86_
/lib/x86_
/usr/local/
/usr/local/
/usr/local/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/bin/
/usr/bin/
/usr/bin/
/usr/bin/
/usr/bin/
/usr/bin/
/lib/x86_
/usr/bin/
Changed in utouch: | |
status: | New → Confirmed |
The utouch stack has moved to the client side of X. The synaptics patch is obsolete now.