X crash when using touch screen on Freescale MX51 in Karmic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xf86-input-evtouch (Ubuntu) |
Fix Released
|
Undecided
|
Zhang Lily | ||
Lucid |
Won't Fix
|
Undecided
|
Unassigned | ||
Maverick |
Won't Fix
|
Undecided
|
Unassigned | ||
Natty |
Fix Released
|
Undecided
|
Zhang Lily |
Bug Description
[Impact]
A bug in the implementation of the -evtouch driver's input configuration can lead to crashes due to failing to detect the end-of-list marker for the configuration options list.
[Development Solution]
Patch incorporated into -evtouch in natty.
[Stable Solution]
We carry the same upstream version of -evtouch in lucid, maverick, and natty, so the same patch can be used in all three versions without modification.
[Test Case]
See original report
[Regression Potential]
I think basically none. This is clearly incorrect code.
The scope of a regression would be quite constrained as well, since -evtouch is used only for a focused class of hardware.
[Original Report]
HW configuration: MX51 EVK board
SW configuration:
1. Install xserver-
2. Add fdi file by "vi /usr/share/
<?xml version="1.0" encoding=
<deviceinfo version="0.2">
<device>
<match key="info.product" contains="mxc_ts">
<merge key="input.
</match>
</device>
</deviceinfo>
3. reboot the board, X crash. The backtrace is as follows:
Program received signal SIGSEGV, Segmentation fault.
0x402edae4 in strlen () from /lib/libc.so.6
(gdb) backtrace
#0 0x402edae4 in strlen () from /lib/libc.so.6
#1 0x00096a4c in xf86optionListC
#2 0x0008f8d8 in xf86CollectInpu
#3 0x42d46b0c in EVTouchPreInit (drv=<value optimized out>, dev=0x329b88,
flags=<value optimized out>) at evtouch.c:1167
#4 0x000861c8 in ?? ()
#5 0x000861c8 in ?? ()
However if i down-grade xserver-
So what's the possible difference cause this issue?
tags: | added: karmic |
tags: | added: patch |
description: | updated |
Changed in xf86-input-evtouch (Ubuntu Lucid): | |
status: | New → Fix Committed |
Changed in xf86-input-evtouch (Ubuntu Maverick): | |
status: | New → Fix Committed |
Changed in xf86-input-evtouch (Ubuntu Maverick): | |
status: | Fix Committed → Won't Fix |
[This is an automatic notification.]
Hi Zhang,
This bug was reported against an earlier version of Ubuntu, can you
test if it still occurs on Lucid?
Please note we also provide technical support for older versions of
Ubuntu, but not in the bug tracker. Instead, to raise the issue through
normal support channels, please see:
http:// www.ubuntu. com/support
If you are the original reporter and can still reproduce the issue on
Lucid, please run the following command to refresh the report:
apport-collect 511491
If you are not the original reporter, please file a new bug report, so
we can work with you as the original reporter instead (you can reference
bug 511491 in your report if you think it may be related):
ubuntu-bug xorg
If by chance you can no longer reproduce the issue on Lucid or if you
feel it is no longer relevant, please mark the bug report 'Fix Released'
or 'Invalid' as appropriate, at the following URL:
https:/ /bugs.launchpad .net/ubuntu/ +bug/511491