Skip to content

runtime/race: Race detector test fails on grsec kernels #6787

@gopherbot

Description

@gopherbot

by wizeman@wizy.org:

What steps will reproduce the problem?
1. Install Linux kernel patched with security enhancements from grsecurity.net
2. Run the race detector tests

What is the expected output?

Success

What do you see instead?

# Testing race detector.
==9105== ERROR: Failed to allocate 0x400000 (4194304) bytes at address 0x130800000000
(12)
==9105== ERROR: Failed to allocate 0x80000 (524288) bytes at address 0x600000000000 (12)
FATAL: ThreadSanitizer can not mmap thread trace
FAIL    flag    0.010s


Which version are you using?  (run 'go version')

1.1.2

Please provide any additional information below.

It seems to be a similar issue to the one fixed here:

https://golang.org/cl/5650072/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions