[GHC] #13501: TH segmentation fault on Linux when calling function from another package

GHC ghc-devs at haskell.org
Thu Mar 30 13:10:28 UTC 2017


#13501: TH segmentation fault on Linux when calling function from another package
-------------------------------------+-------------------------------------
        Reporter:  jmaki             |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.2
      Resolution:                    |             Keywords:
Operating System:  Linux             |         Architecture:  x86_64
 Type of failure:  Compile-time      |  (amd64)
  crash or panic                     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 In contrast, the monolithic object file contains the symbol,
 {{{
 $ objdump -x
 /opt/exp/ghc/roots/master/lib/ghc-8.3.20170329/base-4.10.0.0/HSbase-4.10.0.0.o
 | less
 ...
 SYMBOL TABLE:
 ...
 00000000001b1150 g     O .text  0000000000000045
 base_GHCziBase_return_info
 }}}

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


More information about the ghc-tickets mailing list