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 458
    • Merge requests 458
  • 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
  • #19676
Closed
Open
Created Apr 09, 2021 by parsonsmatt@trac-parsonsmatt

heap overflow / PAP object on ghc 8.10.4

Summary

I'm running the esqueleto:test;sqlite test suite, which loads a SQLite database in memory. I'm getting test failures with SomeAsyncException heap overflow as well as the following output:

Registering library for esqueleto-3.4.2.0..
esqueleto> test (suite: sqlite)


SQLite specific tests
  random_
sqlite: internal error: PAP object (0x42000684a0) entered!
    (GHC version 8.10.4 for x86_64_unknown_linux)
    Please report this as a GHC bug:  https://www.haskell.org/ghc/reportabug

esqueleto> Test suite sqlite failed

Steps to reproduce

$ git clone git@github.com:bitemyapp/esqueleto
$ git checkout 9026dbea3f0cedf796adb138f579b0b971f97e03
$ stack build --test --stack-yaml stack-8.10.yaml --file-watch esqueleto:test:sqlite

Expected behavior

I'd expect the tests to pass, since no behavior changes are present.

Using stackage-lts-17.2 with GHC 8.10.3 succeeds, which makes me think this is a regression.

Environment

  • GHC version used: 8.10.4

Optional:

  • Operating System: UBuntu 20.04
  • System Architecture: x86_64
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking