[Issue 17956] New: core.memory unittest failure (possibly glibc 2.26 specific)
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Oct 31 13:55:40 UTC 2017
https://issues.dlang.org/show_bug.cgi?id=17956
Issue ID: 17956
Summary: core.memory unittest failure (possibly glibc 2.26
specific)
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: major
Priority: P1
Component: druntime
Assignee: nobody at puremagic.com
Reporter: ibuclaw at gdcproject.org
Unittester started failing locally, the only change is that I upgraded to the
newest Ubuntu OS release. Which bumped the glibc version from 2.24 to 2.26.
---
│ void* z = pureMalloc(size_t.max - 2); // won't affect `errno`
│ assert(errno == fakePureGetErrno()); // errno shouldn't change
├───> assert(z is null);
---
I've raised a bug against glibc
(https://sourceware.org/bugzilla/show_bug.cgi?id=22375)
However this test should be fixed, pureMalloc(long.max-2) maybe?
--
More information about the Digitalmars-d-bugs
mailing list