[GHC] #10375: arm: ghci hits an illegal instruction

GHC ghc-devs at haskell.org
Tue May 26 03:31:33 UTC 2015


#10375: arm: ghci hits an illegal instruction
-------------------------------------+---------------------------------
        Reporter:  erikd             |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:  7.10.2
       Component:  GHCi              |                 Version:  7.10.1
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:  arm
 Type of failure:  GHCi crash        |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+---------------------------------

Comment (by erikd):

 By hacking `configure.ac` I managed to build GHC with `-fsanitize=address`
 passed to GCC.

 Absolutely, positively, 100% certain that something is wrong:

 {{{
 $ inplace/bin/ghc-stage2 --interactive
 ASAN:SIGSEGV
 =================================================================
 ==7051==ERROR: AddressSanitizer: SEGV on unknown address 0x00000000 (pc
 0x00000000 sp 0xbeffe5f0 bp 0x37dffd15 T0)

 AddressSanitizer can not provide additional info.
 SUMMARY: AddressSanitizer: SEGV ??:0 ??
 }}}

 `ghc-stage2` compiled with AddressSanitizer on `x86_64/linux` does not do
 the above.

 Unfortunately, while AddressSanitizer has found a problem, it doesn't
 provide any new information. I suspect it doesn't know enough about GHC's
 run time and calling conventions.

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


More information about the ghc-tickets mailing list