Bug#662112: keytouch-editor segfaults on receiving KEY_NUMERIC_1

March 04th, 2012 - 02:40 am ET by sacrificial-spam-address | Report spam
Package: keytouch-editor
Version: 1:3.2.0~beta-3
Architecture: i386

When I click "new" and press a remote control key mapped to
513 # KEY_NUMERIC_1
keytouch-editor segfaults. Other keys I've tried, not in the
KEY_NUMERIC_x range, work as expected.

An strace log beginning at the read of the input device follows.

select(1024, [5], NULL, NULL, {0, 1000}) = 1 (in [5], left {0, 998})
read(5, "-\2SO#H\1\0\4\0\4\0\0\0\0-\2SO%H\1\0\1\0\1\2\1\0\0\0-\2SO%H\1\0\0\0\0\0\0\0\0\0-\2SO(H\1\0\1\0\1\2\0\0\0\0-\2SO(H\1\0\0\0\0\0\0\0\0\0", 1024) = 80
write(4, "\1\0\0\0\0\0\0\0", 8) = 8
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"+\6\1\0", 4}, {NULL, 0}, {"", 0}], 3) = 4
poll([{fd=3, events=POLLIN}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
recv(3, "\1\2c\17\0\0\0\0\21\2\200\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096, 0) = 32
recv(3, 0x8aa4fa0, 4096, 0) = -1 EAGAIN (Resource temporarily unavailable)
recv(3, 0x8aa4fa0, 4096, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"+\6\1\0", 4}, {NULL, 0}, {"", 0}], 3) = 4
poll([{fd=3, events=POLLIN}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
recv(3, "\1\2d\17\0\0\0\0\21\2\200\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096, 0) = 32
recv(3, 0x8aa4fa0, 4096, 0) = -1 EAGAIN (Resource temporarily unavailable)
recv(3, 0x8aa4fa0, 4096, 0) = -1 EAGAIN (Resource temporarily unavailable)
write(4, "\1\0\0\0\0\0\0\0", 8) = 8
close(5) = 0
access("/usr/share/keytouch-editor/pixmaps/icon.png", F_OK) = 0
open("/usr/share/keytouch-editor/pixmaps/icon.png", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_sizeB54, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf1e1a000
read(5, "\211PNG\32\0\0\0IHDR\0\0\0 \0\0\0 \10\6\0\0\0szz\364\0\0\0\6bKGD\0\377\0\377\0\377\240\275\247\223\0\0\0\tpHYs\0\0\v\21\0\0\v\21\1\177d_\221\0\0\0\7tIME\7\324\f\31\22\24:Z\232xt\0\0\20+IDATx\1\1 \20\337\357\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096
gettimeofday({1330840109, 104462}, NULL) = 0
gettimeofday({1330840109, 104548}, NULL) = 0
gettimeofday({1330840109, 104575}, NULL) = 0
gettimeofday({1330840109, 104598}, NULL) = 0
gettimeofday({1330840109, 104617}, NULL) = 0
gettimeofday({1330840109, 104635}, NULL) = 0
gettimeofday({1330840109, 104654}, NULL) = 0
gettimeofday({1330840109, 104671}, NULL) = 0
gettimeofday({1330840109, 104687}, NULL) = 0
gettimeofday({1330840109, 104712}, NULL) = 0
gettimeofday({1330840109, 104730}, NULL) = 0
gettimeofday({1330840109, 104748}, NULL) = 0
gettimeofday({1330840109, 104769}, NULL) = 0
gettimeofday({1330840109, 104786}, NULL) = 0
gettimeofday({1330840109, 104802}, NULL) = 0
gettimeofday({1330840109, 104819}, NULL) = 0
gettimeofday({1330840109, 104835}, NULL) = 0
gettimeofday({1330840109, 104851}, NULL) = 0
gettimeofday({1330840109, 104867}, NULL) = 0
gettimeofday({1330840109, 104884}, NULL) = 0
gettimeofday({1330840109, 104900}, NULL) = 0
gettimeofday({1330840109, 104916}, NULL) = 0
gettimeofday({1330840109, 104932}, NULL) = 0
gettimeofday({1330840109, 104948}, NULL) = 0
gettimeofday({1330840109, 104964}, NULL) = 0
gettimeofday({1330840109, 104980}, NULL) = 0
gettimeofday({1330840109, 104996}, NULL) = 0
gettimeofday({1330840109, 105012}, NULL) = 0
gettimeofday({1330840109, 105028}, NULL) = 0
gettimeofday({1330840109, 105044}, NULL) = 0
gettimeofday({1330840109, 105060}, NULL) = 0
gettimeofday({1330840109, 105076}, NULL) = 0
gettimeofday({1330840109, 105092}, NULL) = 0
gettimeofday({1330840109, 105108}, NULL) = 0
gettimeofday({1330840109, 105124}, NULL) = 0
gettimeofday({1330840109, 105140}, NULL) = 0
gettimeofday({1330840109, 105156}, NULL) = 0
gettimeofday({1330840109, 105172}, NULL) = 0
gettimeofday({1330840109, 105188}, NULL) = 0
gettimeofday({1330840109, 105204}, NULL) = 0
gettimeofday({1330840109, 105219}, NULL) = 0
gettimeofday({1330840109, 105235}, NULL) = 0
gettimeofday({1330840109, 105251}, NULL) = 0
gettimeofday({1330840109, 105267}, NULL) = 0
gettimeofday({1330840109, 105284}, NULL) = 0
gettimeofday({1330840109, 105300}, NULL) = 0
gettimeofday({1330840109, 105316}, NULL) = 0
gettimeofday({1330840109, 105332}, NULL) = 0
gettimeofday({1330840109, 105348}, NULL) = 0
gettimeofday({1330840109, 105364}, NULL) = 0
gettimeofday({1330840109, 105380}, NULL) = 0
gettimeofday({1330840109, 105396}, NULL) = 0
gettimeofday({1330840109, 105412}, NULL) = 0
gettimeofday({1330840109, 105428}, NULL) = 0
gettimeofday({1330840109, 105444}, NULL) = 0
gettimeofday({1330840109, 105460}, NULL) = 0
gettimeofday({1330840109, 105476}, NULL) = 0
gettimeofday({1330840109, 105492}, NULL) = 0
gettimeofday({1330840109, 105508}, NULL) = 0
gettimeofday({1330840109, 105523}, NULL) = 0
gettimeofday({1330840109, 105539}, NULL) = 0
gettimeofday({1330840109, 105556}, NULL) = 0
gettimeofday({1330840109, 105571}, NULL) = 0
gettimeofday({1330840109, 105587}, NULL) = 0
gettimeofday({1330840109, 105603}, NULL) = 0
gettimeofday({1330840109, 105619}, NULL) = 0
gettimeofday({1330840109, 105636}, NULL) = 0
gettimeofday({1330840109, 105651}, NULL) = 0
gettimeofday({1330840109, 105667}, NULL) = 0
gettimeofday({1330840109, 105683}, NULL) = 0
gettimeofday({1330840109, 105699}, NULL) = 0
_llseek(5, 0, [0], SEEK_SET) = 0
read(5, "\211PNG\32\0\0\0IHDR\0\0\0 \0\0\0 \10\6\0\0\0szz\364\0\0\0\6bKGD\0\377\0\377\0\377\240\275\247\223\0\0\0\tpHYs\0\0\v\21\0\0\v\21\1\177d_\221\0\0\0\7tIME\7\324\f\31\22\24:Z\232xt\0\0\20+IDATx\1\1 \20\337\357\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096
read(5, "\223\0\0\0\t\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0"..., 4096) = 158
close(5) = 0
munmap(0xf1e1a000, 4096) = 0
SIGSEGV (Segmentation fault) @ 0 (0)
+++ killed by SIGSEGV +++



To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 1 replyReplies Make a reply

Replies

#1 Luke Cycon
March 04th, 2012 - 06:20 pm ET | Report spam

Thanks for the detailed bug report!

I will look into the issue myself, although keytouch and -editor are
slowly falling out of sync with the development headers they depend
on.

As you can see in bug #635665, I have already requested Keytouch's
removal from the archives given its non-functional status. My
rationale for not removing -editor at the same time boiled down to
"What if someone still has a working version of keytouch? May as well
keep -editor there for them"

Upstream seems to have vanished without a trace, so I will ask anyone
who comes across this bug report and want to take a crack at the
problem to go ahead and do so.

Please add to this if you find anymore non-functional keys

Thanks!
Luke






To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact

Similar topics