|Anonymous | Login | Signup for a new account||2017-09-22 08:26 PDT|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002025||Core Inform||Releasing, bibliographic data, cBlorb||public||2017-08-11 02:27||2017-08-15 22:46|
|Target Version||Fixed in Version|
|Summary||0002025: ni crashes trying to get time of day on latest Linux kernels|
|Description||The ni story compiler for Linux is a statically-linked Linux binary. The 6M62 binary is linked against an older version of glibc that implements the gettimeofday() syscall using the vsyscall mechanism. In the latest Linux kernels, the vsyscall mechanism has been disabled by default for security reasons. As a result, ni will crash right at startup when invoked in any way.|
|Minimal Source Text To Reproduce|
Run ni on a Linux box with kernel 4.11.
|Additional Information||The category of this bug report is obviously wrong. I didn't see an appropriate option.|
The 6L38 binary is linked against an even older version of glibc, and thus works fine.
A workaround for the 6M62 crash is to set vsyscall=emulate kernel option. This has mild security implications, but makes ni work again (tested).
Easiest real fix is to recompile ni with a current glibc.
(If ni were open-sourced that would be ideal, of course.)
Is there some reason ni is stripped? Not doing so would make debugging this kind of thing easier.
|Tags||No tags attached.|
|Effect||(critical) Compiler crashes|
|2017-08-11 02:27||PO8||New Issue|
|2017-08-15 22:46||PO8||Issue Monitored: PO8|
|Copyright © 2000 - 2010 MantisBT Group|