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,253
    • Issues 4,253
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 397
    • Merge Requests 397
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #8116

Closed
Open
Opened Aug 06, 2013 by kazu-yamamoto@trac-kazu-yamamoto

Segfault/panic of 32bit GHCi on Mac

32bit GHCi on Mac causes segfault/panic:

With GHC 7.6.3:

> :m Data.Complex
[Prelude Data.Complex]
> ((-2) :+ 0)**(1.5 :+ 0)
zsh: segmentation fault  ghci

With GHC head:

> :m Data.Complex
> ((-2) :+ 0)**(1.5 :+ 0)
ghc: panic! (the 'impossible' happened)
  (GHC version 7.7.20130805 for i386-apple-darwin):
	Loading temp shared object failed: dlopen(/var/folders/k0/548g5xg90jjfbrj5j09nvwv80000gq/T/ghc124_0/ghc124_0.dylib, 9): Library not loaded: /Users/kazu/work/ghc/libraries/base/dist-install/build/libHSbase-4.7.0.0-ghc7.7.20130805.dylib
  Referenced from: /var/folders/k0/548g5xg90jjfbrj5j09nvwv80000gq/T/ghc124_0/ghc124_0.dylib
  Reason: image not found

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

64bit GHCi does not cause this problem. Any GHCi on Linux and FreeBSD do not cause this problem.

If the code is compiled with 32bit GHC on Mac, it works fine.

Trac metadata
Trac field Value
Version 7.6.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: ghc/ghc#8116