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,410
    • Issues 5,410
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 604
    • Merge requests 604
  • 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
  • #22965
Closed
Open
Issue created Feb 12, 2023 by L29Ah@L29Ah

ghc-9.2.6 segfaults in initCapability()

Summary

(gdb) bt
#0  0x00007fe955f81bbf in initCapability (cap=0xe569d0, i=2) at rts/Capability.c:275
#1  0x00007fe955f820ac in moreCapabilities (from=1, to=to@entry=8) at rts/Capability.c:444
#2  0x00007fe955f97476 in setNumCapabilities (new_n_capabilities=8) at rts/Schedule.c:2308
#3  0x00007fe959a7f283 in ?? () from /usr/lib64/ghc-9.2.6/bin/../ghc-9.2.6/libHSghc-9.2.6-ghc9.2.6.so
#4  0x00000042104158b0 in ?? ()
#5  0x0000000000000000 in ?? ()

70999283 looks sus, 9.2.5 behaves well. @bgamari

Steps to reproduce

Gentoo's build system does it like that: /usr/bin/ghc -hide-all-packages -package Cabal -package base -package binary -package bytestring -package containers -package deepseq -package directory -package exceptions -package filepath -package haskeline -package mtl -package parsec -package pretty -package process -package stm -package template-haskell -package terminfo -package text -package time -package transformers -package unix -package xhtml --make /var/tmp/portage/dev-haskell/text-1.2.5.0/work/text-1.2.5.0/Setup.lhs -j9 +RTS -A256M -qb0 -RTS -threaded -dynamic -o setup

Environment

  • GHC version used: 9.2.6

Optional:

  • Operating System: Gentoo GNU/Linux
  • System Architecture: amd64
Edited Feb 12, 2023 by L29Ah
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking