[GHC] #13501: TH segmentation fault on Linux when calling function from another package
GHC
ghc-devs at haskell.org
Thu Mar 30 13:27:34 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):
Hmmm, looking back at `GHC/Base.o`,
{{{
$ objdump -x /opt/exp/ghc/ghc-master/libraries/base/dist-
install/build/GHC/Base.o | less
...
SYMBOL TABLE:
...
0000000000000050 l .text.base_GHCziBase_zgzg_info 0000000000000000
c5Mf_info
0000000000000000 l d .data.base_GHCziBase_return_closure
0000000000000000 .data.base_GHCziBase_return_closure
0000000000000000 l d .text.base_GHCziBase_return_info
0000000000000000 .text.base_GHCziBase_return_info
0000000000000050 l .text.base_GHCziBase_return_info
0000000000000000 c5Mx_info
0000000000000000 l d .data.base_GHCziBase_fail_closure
0000000000000000 .data.base_GHCziBase_fail_closure
0000000000000000 l d .text.base_GHCziBase_fail_info 0000000000000000
.text.base_GHCziBase_fail_info
...
0000000000000018 g O .text.base_GHCziBase_zgzg_info 0000000000000045
base_GHCziBase_zgzg_info
0000000000000000 g O .data.base_GHCziBase_return_closure
0000000000000000 base_GHCziBase_return_closure
0000000000000018 g O .text.base_GHCziBase_return_info
0000000000000045 base_GHCziBase_return_info
0000000000000000 g O .data.base_GHCziBase_fail_closure
0000000000000000 base_GHCziBase_fail_closure
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13501#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list