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

GHC ghc-devs at haskell.org
Thu Sep 17 22:37:57 UTC 2015


#10375: arm: ghci hits an illegal instruction
-------------------------------------+-------------------------------------
        Reporter:  erikd             |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  high              |               Milestone:  7.10.3
       Component:  Runtime System    |                 Version:  7.10.1
  (Linker)                           |
      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):

 Turns out the memory region its trying to execute is not actually code.
 Hex dump is:

 {{{
 b6ff0000: 0000 0000 3300 0000 0800 ffb6 0800 0000  ....3...........
 b6ff0010: 0000 0100 0100 0000 4900 4708 f0cd e601  ........I.G.....
 b6ff0020: 696e 7465 7261 6374 6976 653a 4768 6369  interactive:Ghci
 b6ff0030: 312e 5800 3300 0000 3800 ffb6 0800 0000  1.X.3...8.......
 b6ff0040: 0000 0100 0100 0100 4900 4708 f0cd e601  ........I.G.....
 b6ff0050: 696e 7465 7261 6374 6976 653a 4768 6369  interactive:Ghci
 b6ff0060: 312e 5900 790f 0000 6800 ffb6 0f00 2de9  1.Y.y...h.....-.
 b6ff0070: 0000 9fe5 00f0 9fe5 6c00 ffb6 cceb e801  ........l.......
 }}}

 and the instruction that segfaults is at 0xb6ff0024.

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


More information about the ghc-tickets mailing list