Skip to content

GitLab

  • Menu
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 4,872
    • Issues 4,872
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 457
    • Merge requests 457
  • 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 Compiler
  • GHCGHC
  • Issues
  • #247
Closed
Open
Created Aug 02, 2004 by Ghost User@ghostContributor

Assertion failed in GC.c

Instructions:

1. Download the attached archive.
2. tar xzf gens.tar.gz
3. cd gens
4. make
5. make Env/If.so
6. ./gens - <tests

The message I'm getting is:

ASSERTION FAILED: file GC.c, line 1722

When I compile without -debug option, there's a
segfault with no error report. If I do +RTS -G1 -RTS,
the tests keep running longer, but they still crash in
the end.

There's another weird thing, probably unrelated.

./gens-prof +RTS -xc -RTS - <tests

outputs stack frames ending with readFile function
call, like it was throwing an exception and catching it
immediately. After the readFile call, execution
proceeds normally.
Trac metadata
Trac field Value
Version 6.2.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedFixed
Component Runtime System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking