Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002025Core InformReleasing, bibliographic data, cBlorbpublic2017-08-11 02:272017-08-15 22:46
ReporterPO8 
Assigned To 
PriorityhighSeveritycriticalReproducibilityalways
StatusnewResolutionopen 
Platformx86OSLinuxOS VersionAny
Product Version6M62 
Target VersionFixed in Version 
Summary0002025: ni crashes trying to get time of day on latest Linux kernels
DescriptionThe 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 InformationThe 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.
TagsNo tags attached.
Effect(critical) Compiler crashes
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2017-08-11 02:27 PO8 New Issue
2017-08-15 22:46 PO8 Issue Monitored: PO8


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker