Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
GHC
GHC
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,390
    • Issues 4,390
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 373
    • Merge Requests 373
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #14521

Closed
Open
Opened 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
Assignee
Assign to
8.2.3
Milestone
8.2.3
Assign milestone
Time tracking
None
Due date
None
Reference: ghc/ghc#14521