Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 565552 - x11-drivers/xf86-input-libinput: add CONFIG_CHECK on CONFIG_TIMERFD
Summary: x11-drivers/xf86-input-libinput: add CONFIG_CHECK on CONFIG_TIMERFD
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 579266
  Show dependency tree
 
Reported: 2015-11-12 01:12 UTC by om3i
Modified: 2016-04-24 21:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description om3i 2015-11-12 01:12:22 UTC
Because xf86-input-libinput crashes xorg if timerfd is disabled in kernel config.

xorg strace:
timerfd_create(CLOCK_MONOTONIC, TFD_CLOEXEC|TFD_NONBLOCK) = -1 ENOSYS (Function not implemented) <0.000009>
...
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x80} ---

xorg log:
[   401.229] (EE) Backtrace:
[   401.230] (EE) 0: Xorg (xorg_backtrace+0x4e) [0x5ee60e]
[   401.230] (EE) 1: Xorg (0x400000+0x1f3729) [0x5f3729]
[   401.230] (EE) 2: /lib64/libc.so.6 (0x7f0231af4000+0x33b70) [0x7f0231b27b70]
[   401.230] (EE) 3: /usr/lib64/libinput.so.10 (libinput_log_set_handler+0x0) [0x7f0231500160]
[   401.230] (EE) 4: /usr/lib64/xorg/modules/input/libinput_drv.so (0x7f0232811000+0x6ab1) [0x7f0232817ab1]
[   401.230] (EE) 5: Xorg (0x400000+0x9fda0) [0x49fda0]
[   401.230] (EE) 6: Xorg (InitInput+0xa9) [0x491889]
[   401.230] (EE) 7: Xorg (0x400000+0x4236f) [0x44236f]
[   401.230] (EE) 8: /lib64/libc.so.6 (__libc_start_main+0xf0) [0x7f0231b145f0]
[   401.230] (EE) 9: Xorg (_start+0x29) [0x426dd9]


Reproducible: Always
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2016-04-24 21:07:08 UTC
commit 1db0237eeef3f51ded7202a7750da0c2fea48ec8
Author: Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
Date:   Sun Apr 24 23:04:09 2016 +0200

    x11-drivers/xf86-input-libinput: check for CONFIG_TIMERFD
    
    Bug: https://bugs.gentoo.org/show_bug.cgi?id=565552