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

GHC ghc-devs at haskell.org
Mon Oct 5 21:52:37 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 (Linker)  |              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 Rev(s):
--------------------------------------------+------------------------------

Comment (by erikd):

 Tried once again to debug this using GDB.

 {{{
 $ gdb --args inplace/bin/ghc-stage2 +RTS -V0 -RTS --interactive
 (gdb) break main

 (gdb) break main
 Breakpoint 1 at 0x93cd8
 (gdb) r
 Starting program: /home/erikd/Git/ghc-upstream/inplace/lib/bin/ghc-stage2
  -B/home/erikd/Git/ghc-upstream/inplace/lib +RTS -V0 -RTS --interactive
 [Thread debugging using libthread_db enabled]
 Using host libthread_db library "/lib/arm-linux-
 gnueabihf/libthread_db.so.1".

 Breakpoint 1, 0x00093cd8 in main ()
 (gdb) while 1
  >x/i $pc
  >stepi
  >end
 }}}

 and it crashes in a at least 3 or 4 different ways on different runs, none
 of them even remotely like the way it crashes outside GDB.

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


More information about the ghc-tickets mailing list