[GHC] #7684: cgrun071 segfaults

GHC ghc-devs at haskell.org
Fri Sep 6 18:56:02 CEST 2013


#7684: cgrun071 segfaults
----------------------------------+----------------------------------
        Reporter:  tibbe          |            Owner:
            Type:  bug            |           Status:  new
        Priority:  normal         |        Milestone:  7.8.1
       Component:  Compiler       |          Version:  7.7
      Resolution:                 |         Keywords:
Operating System:  MacOS X        |     Architecture:  x86_64 (amd64)
 Type of failure:  Runtime crash  |       Difficulty:  Unknown
       Test Case:  cgrun071       |       Blocked By:
        Blocking:                 |  Related Tickets:
----------------------------------+----------------------------------

Comment (by leroux):

 Here's the disassembly and the backtrace so that you can find the caller.

 [https://dl.dropboxusercontent.com/u/21651328/cgrun071-gcc42-fails.S
 cgrun071 disassembly] (Can't attach it here because it's ~20MB)

 {{{
 (gdb) bt
 #0  0x000000010027f74b in hs_popcnt8 ()
 #1  0x000000010000475a in c1gz_info ()
 Previous frame inner to this frame (gdb could not unwind past this frame)
 }}}

 Hope that helps.

 Also, I probably should have included this in my last comment.
 {{{
 (gdb) run
 Starting program: /Users/leroux/Dropbox/src/ghc/ghc-
 validate/testsuite/tests/codeGen/should_run/cgrun071
 Reading symbols for shared libraries +++..............................
 done
 OK

 Program received signal EXC_BAD_ACCESS, Could not access memory.
 Reason: 13 at address: 0x0000000000000000
 0x000000010027f74b in hs_popcnt8 ()
 }}}

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




More information about the ghc-tickets mailing list