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,245
    • Issues 5,245
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 564
    • Merge requests 564
  • 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
  • #15543
Closed
Open
Issue created Aug 20, 2018 by Last G@last-gReporter

Binary crashes under dtrace

When I'm trying to attach to the simple binary with DTrace command (sudo dtrace -n 'pid$1:::' ps aux | grep FibbSlow | grep -v grep | awk '{print $2}' ) it crashes with various outcomes. This happens on both GHC 8.4.3 from stack and manually built ghc from the master branch.

Crashes:

lastg-mbp:t lastg$ ./FibbSlow.master 55
FibbSlow.master: internal error: scavenge: unimplemented/strange closure type 13369548 @ 0x420021abb0^[[B
    (GHC version 8.7.20180817 for x86_64_apple_darwin)
    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
lastg-mbp:t lastg$ ./FibbSlow.stack.8.4 55
FibbSlow.stack.8.4: internal error: scavenge_one: strange object 13369548
    (GHC version 8.4.3 for x86_64_apple_darwin)
    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
Abort trap: 6
lastg-mbp:t lastg$ ./FibbSlow.stack.8.4 55
FibbSlow.stack.8.4: internal error: scavenge_one: strange object 13369548
    (GHC version 8.4.3 for x86_64_apple_darwin)
    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
Abort trap: 6
lastg-mbp:t lastg$ ./FibbSlow.stack.8.4 55
Segmentation fault: 11

Source code for the binary: https://gist.github.com/last-g/cfddab60a8520eb51214ef2a7bc48ec2

Trac metadata
Trac field Value
Version 8.4.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
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