[GHC] #16066: internal error: PAP object entered!

GHC ghc-devs at haskell.org
Wed Dec 19 16:52:13 UTC 2018


#16066: internal error: PAP object entered!
----------------------------------+----------------------------------------
        Reporter:  dnspies        |                Owner:  (none)
            Type:  bug            |               Status:  new
        Priority:  normal         |            Milestone:
       Component:  Compiler       |              Version:  8.4.4
      Resolution:                 |             Keywords:
Operating System:  iOS            |         Architecture:  Unknown/Multiple
 Type of failure:  Runtime crash  |            Test Case:
      Blocked By:                 |             Blocking:
 Related Tickets:                 |  Differential Rev(s):
       Wiki Page:                 |
----------------------------------+----------------------------------------

Comment (by dnspies):

 I pushed the failing return call much closer to the top to make it clear
 that it's not a lazy evaluation thing:

 Now it's happening here:
 https://github.com/dspies-
 leapyear/persistwrap/blob/c6923216c126e9125e4ce80a33bd4e416b3922c7/persistwrap/src/PersistWrap/Persisted.hs#L44

 When I run it I get:


 {{{
 Progress 9/10: persistwrap-0.1.0.0test/Driver.hs
   widget
     Widget
       should get back what you put in: Before: <foreign key: abc>
 STM returning <foreign key: abc>
 persistwrap-test: internal error: PAP object entered!
     (GHC version 8.4.4 for x86_64_apple_darwin)
     Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug
 }}}

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16066#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list