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,248
    • Issues 5,248
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 572
    • Merge requests 572
  • 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
  • #21708
Closed
Open
Issue created Jun 08, 2022 by JH Le@Abastro

Compiled program with GHC9.2.2 often causes "internal error: evacuate: strange closure type xxx"

Summary

I cannot come up with a good title, so please bear with me with the title. I've been using XMonad with GHC 9.0.2 fine, but when I updated it to GHC9.2.2, it often crashes. It sometimes leave the following message, while sometimes silently crashes.

xmonad-x86_64-linux: internal error: evacuate: strange closure type 0
    (GHC version 9.2.2 for x86_64_unknown_linux)
    Please report this as a GHC bug:  https://www.haskell.org/ghc/reportabug
Aborted (core dumped)

(The closure type depends time to time)

Happens with the most bare-bone XMonad instance. I am lost on how to skin it down further. Reporting this to GHC, since this specifically happens with GHC9.2.2. All previous versions work fine. Any directions to diagnose which part is causing the issue?

Steps to reproduce

  1. Install XMonad as dynamically linked
  2. Run with the default configuration
  3. (At least on my end) performing some action leads to a crash from time to time

Expected behavior

internal error: evacuate: strange closure type 0 should not happen.

Environment

  • GHC version used: 9.2.2

Optional:

  • Operating System: Ubuntu 20.04.4 LTS, 64-bit, Linux
  • System Architecture: x86-64
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking