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,866
    • Issues 4,866
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 461
    • Merge requests 461
  • 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
  • #14521
Closed
Open
Created Nov 24, 2017 by OlivierSohn@trac-OlivierSohn

Infinite loop at runtime

Hello,

For this program : https://github.com/OlivierSohn/hamazed/tree/repro-ghc-14521-A

The expected output is:

Before rendering animations
animation is rendered
After rendering animations

What I observe is when compiling with ghc 8.0.2 or 8.2.2, with optimizations:

Before rendering animations

I found several ways to circumvent the bug, and documented each one in the source code.

Can someone take a look? Is my program an invalid program that was not detected by the compiler?

Thank you, Olivier

Edited Mar 10, 2019 by OlivierSohn
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking