#3279: Segmentation fault in reactive program
------------------------------+---------------------------------------------
 Reporter:  Baughn            |          Owner:                
     Type:  bug               |         Status:  new           
 Priority:  normal            |      Milestone:                
Component:  Compiler          |        Version:  6.11          
 Severity:  normal            |     Resolution:                
 Keywords:                    |       Testcase:                
       Os:  Unknown/Multiple  |   Architecture:  x86_64 (amd64)
------------------------------+---------------------------------------------
Comment (by int-e):

 Apparently {{{stg_sel_ret_0_upd_info}}} is called with an
 {{{stg_dummy_ret_closure}}} argument. Where does it come from?
 {{{RaiseAsync.c}}}?
 {{{
 > ghc --version
 The Glorious Glasgow Haskell Compilation System, version 6.10.3
 > gdb ./crash -ex 'break stg_sel_ret_0_upd_info' -ex 'run' -ex 'c 477' -ex
 'i r'
 GNU gdb 6.8
 Copyright (C) 2008 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later
 <http://gnu.org/licenses/gpl.html>
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
 and "show warranty" for details.
 This GDB was configured as "i686-pc-linux-gnu"...
 Breakpoint 1 at 0x8142e8c
 Starting program: /var/home/bf3/t/reactive/crash
 [Thread debugging using libthread_db enabled]
 [New Thread 0xb7ecb6c0 (LWP 10828)]
 [Switching to Thread 0xb7ecb6c0 (LWP 10828)]

 Breakpoint 1, 0x08142e8c in stg_sel_ret_0_upd_info ()
 Current language:  auto; currently asm
 Will ignore next 476 crossings of breakpoint 1.  Continuing.
 <Imp NoBound 2.0,1.0>
 <Imp NoBound 2.5,2.0>
 <Imp NoBound 3.2,3.0>
 <Imp NoBound 3.7,4.0>
 "never-never"
 <Imp NoBound 2.0,()>
 <Imp NoBound 2.5,()>

 Breakpoint 1, 0x08142e8c in stg_sel_ret_0_upd_info ()
 eax            0xb7dcb4c8       -1210272568
 ecx            0xb7d00000       -1211105280
 edx            0xb7d01960       -1211098784
 ebx            0x81819c8        135797192
 esp            0xbffbe8ac       0xbffbe8ac
 ebp            0xb7cf2fa4       0xb7cf2fa4
 esi            0x817edc8        135785928
 edi            0xb7dcc314       -1210268908
 eip            0x8142e8c        0x8142e8c <stg_sel_ret_0_upd_info>
 eflags         0x246    [ PF ZF IF ]
 cs             0x73     115
 ss             0x7b     123
 ds             0x7b     123
 es             0x7b     123
 fs             0x0      0
 gs             0x33     51
 (gdb) x $esi & -4
 0x817edc8 <stg_dummy_ret_closure>:      0x08142d4c
 (gdb) ni 8
 Program received signal SIGSEGV, Segmentation fault.
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3279#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to