Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 5,405
    • Issues 5,405
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 598
    • Merge requests 598
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell CompilerGlasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #19421
Closed
Open
Issue created Feb 23, 2021 by John Ky@newhoggyReporter

internal error: m32_allocator_init: Failed to map

Summary

This occurred:

doctests: mmap 131072 bytes at (nil): Cannot allocate memory
doctests: Try specifying an address with +RTS -xm<addr> -RTS
doctests: internal error: m32_allocator_init: Failed to map
    (GHC version 8.10.3 for x86_64_unknown_linux)
    Please report this as a GHC bug:  https://www.haskell.org/ghc/reportabug

Example: https://github.com/input-output-hk/cardano-ledger-specs/pull/2147/checks?check_run_id=1958123589

Steps to reproduce

Fork and build:

https://github.com/input-output-hk/cardano-ledger-specs/pull/2147/commits/694a33f04a27b53b0cb57e42f3ad0affbed26625

Expected behavior

Error should not occur.

Environment

  • GHC version used: ghc-8.10.3
  • Cabal version used: cabal-3.4.0.0
  • Operating System: ubuntu-latest on Github Runner
  • System Architecture: Intel
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking