#5899: RTS crash w/ strange closure type 603975781 on OS X 10.8
-----------------------------------------------------------+----------------
    Reporter:  dylukes                                     |       Owner:       
        
        Type:  bug                                         |      Status:  new  
        
    Priority:  high                                        |   Milestone:  
7.4.2        
   Component:  Runtime System                              |     Version:  
7.4.1        
    Keywords:  rts, strange closure, internal error, os x  |          Os:  
MacOS X      
Architecture:  x86_64 (amd64)                              |     Failure:  
Runtime crash
  Difficulty:  Unknown                                     |    Testcase:       
        
   Blockedby:                                              |    Blocking:       
        
     Related:                                              |  
-----------------------------------------------------------+----------------
Changes (by Irene):

 * cc: ireney.knapp@… (added)


Comment:

 I tried the sample program above:

 {{{
 main = print $ reverse [1,2,3]
 }}}

 GHC 7.4.1 (from the .pkg version of the prebuilt binaries, but it's
 probably identical to the tarball version?) compiled successfully but the
 output crashed; here is the OS X crash report:

 {{{
 Process:         Main [37094]
 Path:            /Users/USER/*/Main
 Identifier:      Main
 Version:         0
 Code Type:       X86-64 (Native)
 Parent Process:  bash [29186]
 User ID:         501

 Date/Time:       2012-03-22 20:24:06.768 -0400
 OS Version:      Mac OS X 10.8 (12A154q)
 Report Version:  10

 Interval Since Last Report:          166904 sec
 Crashes Since Last Report:           12
 Per-App Crashes Since Last Report:   1
 Anonymous UUID:                      15C338D1-9CE8-40B1-8287-60D878AF6A68

 Crashed Thread:  0  Dispatch queue: com.apple.main-thread

 Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
 Exception Codes: KERN_INVALID_ADDRESS at 0x000000022bbe8a30

 VM Regions Near 0x22bbe8a30:
     VM_ALLOCATE            000000010bd00000-000000010be00000 [ 1024K]
 rw-/rwx SM=PRV
 -->
     MALLOC_TINY            00007fc3d8400000-00007fc3d8411000 [   68K]
 rw-/rwx SM=COW

 Application Specific Information:
 objc[37094]: garbage collection is OFF

 Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
 0   Main                                0x000000010bbf0617 stg_ap_pp_fast
 + 31

 Thread 0 crashed with X86 Thread State (64-bit):
   rax: 0x0000000023fff065  rbx: 0x000000010bc0ad58  rcx:
 0x000000010bbf0708  rdx: 0x000000010bd041d8
   rdi: 0x000000010bc21e98  rsi: 0x000000010bc087c0  rbp:
 0x000000010bd05358  rsp: 0x00007fff540c8ab8
    r8: 0x0000000000000001   r9: 0x0000000000000017  r10:
 0x0000000000000001  r11: 0x0000000000000246
   r12: 0x000000010bd041e0  r13: 0x000000010bc21e98  r14:
 0x000000010bc087e0  r15: 0x000000010bd050c0
   rip: 0x000000010bbf0617  rfl: 0x0000000000010202  cr2:
 0x000000022bbe8a30
 Logical CPU: 6

 Binary Images:
        0x10bb33000 -        0x10bc07fef +Main (0)
 <F8E9D66A-B502-3555-B942-53E07F336457> /Users/USER/*/Main
     0x7fff6b733000 -     0x7fff6b7678e7  dyld (209.1) <7F330FEF-C9C5-38D8
 -9C3D-FBDCC0C28BDA> /usr/lib/dyld
     0x7fff868d6000 -     0x7fff869ed827  libobjc.A.dylib (526)
 <C3BAF7E1-9924-3714-9001-C1A97AF7448E> /usr/lib/libobjc.A.dylib
     0x7fff869fa000 -     0x7fff86a46ff7  libauto.dylib (185)
 <EC749301-51DA-3413-97DF-5481A75F974C> /usr/lib/libauto.dylib
     0x7fff86b6b000 -     0x7fff86b70fff  libcompiler_rt.dylib (30)
 <C865130E-E5D7-33E3-8131-2591703C67EB>
 /usr/lib/system/libcompiler_rt.dylib
     0x7fff8717a000 -     0x7fff871e2ff7  libc++.1.dylib (61) <5C289258
 -570C-3D3E-ACAB-88CB1C01804B> /usr/lib/libc++.1.dylib
     0x7fff87b24000 -     0x7fff87b27ff7  libdyld.dylib (209.1)
 <94E58E38-AC20-36DB-A84E-DAFA8D4E41E2> /usr/lib/system/libdyld.dylib
     0x7fff890e7000 -     0x7fff890e8fff  libremovefile.dylib (23)
 <D5F8B6CB-1EE1-3A71-858A-F98362786CD9> /usr/lib/system/libremovefile.dylib
     0x7fff89148000 -     0x7fff8914afff  libquarantine.dylib (48)
 <CC311F4D-83E1-3A88-9328-9FB095DACF32> /usr/lib/system/libquarantine.dylib
     0x7fff898b8000 -     0x7fff898b9fff  libsystem_blocks.dylib (57.2)
 <7014BC27-D424-3E9B-9535-3CAA6C956337>
 /usr/lib/system/libsystem_blocks.dylib
     0x7fff89934000 -     0x7fff8994fff7  libsystem_kernel.dylib
 (2050.2.33) <D93B6B58-F16D-377C-BE81-C4A87BDDF359>
 /usr/lib/system/libsystem_kernel.dylib
     0x7fff89950000 -     0x7fff89951ff7  libsystem_sandbox.dylib (206)
 <A1AB71A9-6E45-3C2A-A890-046185233396>
 /usr/lib/system/libsystem_sandbox.dylib
     0x7fff8a3e6000 -     0x7fff8a3e7ff7  libSystem.B.dylib (169.1)
 <A1FA6BD6-4F77-38E5-891E-9EB347229419> /usr/lib/libSystem.B.dylib
     0x7fff8a52a000 -     0x7fff8a558ff7  libsystem_m.dylib (3022.4)
 <C2BB2EF1-B11D-37DE-AF67-50720171F3A0> /usr/lib/system/libsystem_m.dylib
     0x7fff8a559000 -     0x7fff8a5c0fff  libcommonCrypto.dylib (60007)
 <A95DE414-20D1-3B00-9993-E6B731028556>
 /usr/lib/system/libcommonCrypto.dylib
     0x7fff8c958000 -     0x7fff8c95dfff  libcache.dylib (53) <C94D138A-
 1C5A-3855-ADCC-CAE07A94266C> /usr/lib/system/libcache.dylib
     0x7fff8e589000 -     0x7fff8e656fef  libsystem_c.dylib (825.12.1)
 <626CC4B4-4865-3179-B743-93CEDF4A8802> /usr/lib/system/libsystem_c.dylib
     0x7fff8ec1c000 -     0x7fff8ec23fff  libcopyfile.dylib (89)
 <8E286594-B745-32B5-89FE-0529963AA219> /usr/lib/system/libcopyfile.dylib
     0x7fff8ec4c000 -     0x7fff8ec70ff7  libc++abi.dylib (23) <5E3B1C2D-
 9BD1-391A-884C-1F3A69D2351E> /usr/lib/libc++abi.dylib
     0x7fff8ef3d000 -     0x7fff8ef48fff  libsystem_notify.dylib (98.4)
 <375881A9-6561-31E8-8AAF-0F108C9E52BC>
 /usr/lib/system/libsystem_notify.dylib
     0x7fff8f20c000 -     0x7fff8f20cfff  libkeymgr.dylib (25) <ACF42B1C-
 042B-3F24-9754-545E33EB04D7> /usr/lib/system/libkeymgr.dylib
     0x7fff8f2a1000 -     0x7fff8f2a9ff7  libsystem_dnssd.dylib (379.4)
 <C08FFB68-677D-36DB-A40C-737900E7A76A>
 /usr/lib/system/libsystem_dnssd.dylib
     0x7fff9072b000 -     0x7fff9072cff7  libdnsinfo.dylib (453.12)
 <C61AA787-2517-395E-B7FC-657CEAF80455> /usr/lib/system/libdnsinfo.dylib
     0x7fff90c9b000 -     0x7fff90cbcff7  libxpc.dylib (140.21.1)
 <BDE6735A-54A8-382E-9E46-38132F7D24F4> /usr/lib/system/libxpc.dylib
     0x7fff911a9000 -     0x7fff911b1ff7  liblaunch.dylib (442.7)
 <445D837C-39DB-30B0-8A54-C7F71CC651A2> /usr/lib/system/liblaunch.dylib
     0x7fff91290000 -     0x7fff91292ff7  libunc.dylib (24)
 <645FE7EF-A412-30B3-A570-08DC4A7D34B3> /usr/lib/system/libunc.dylib
     0x7fff912c1000 -     0x7fff912f7ff7  libsystem_info.dylib (406.11)
 <13705DE7-0A3C-33E0-994C-361A36E8596B>
 /usr/lib/system/libsystem_info.dylib
     0x7fff9162c000 -     0x7fff91632fff  libmacho.dylib (823) <4C09D65D-
 BB52-32D4-912C-8B298BA3F65F> /usr/lib/system/libmacho.dylib
     0x7fff92181000 -     0x7fff92196ff7  libdispatch.dylib (228.14)
 <B8EB96A3-6F01-3052-8A88-2010BF33A0E2> /usr/lib/system/libdispatch.dylib
     0x7fff92356000 -     0x7fff92364ff7  libsystem_network.dylib (77.6)
 <DF53A34A-ED8B-30D8-9CDF-025359B047E0>
 /usr/lib/system/libsystem_network.dylib
     0x7fff92365000 -     0x7fff9236bff7  libunwind.dylib (35.1)
 <32CAA2F5-4A69-3DD6-A789-D92D526B5D48> /usr/lib/system/libunwind.dylib
     0x7fff9266f000 -     0x7fff92764fff  libiconv.2.dylib (34)
 <4E5A84D7-2EF1-351A-BC64-95B15597EA88> /usr/lib/libiconv.2.dylib

 External Modification Summary:
   Calls made by other processes targeting this process:
     task_for_pid: 0
     thread_create: 0
     thread_set_state: 0
   Calls made by this process:
     task_for_pid: 0
     thread_create: 0
     thread_set_state: 0
   Calls made by all processes on this machine:
     task_for_pid: 9468
     thread_create: 0
     thread_set_state: 12

 VM Region Summary:
 ReadOnly portion of Libraries: Total=58.6M resident=127.7M(218%)
 swapped_out_or_unallocated=16777216.0T(30040018386944%)
 Writable regions: Total=18.6M written=396K(2%) resident=480K(3%)
 swapped_out=0K(0%) unallocated=18.1M(97%)

 REGION TYPE                      VIRTUAL
 ===========                      =======
 MALLOC                             9396K
 MALLOC guard page                    16K
 STACK GUARD                        56.0M
 Stack                              8192K
 VM_ALLOCATE                        1024K
 __DATA                              800K
 __LINKEDIT                         52.3M
 __TEXT                             6448K
 shared memory                        12K
 ===========                      =======
 TOTAL                             133.5M

 Model: iMac12,2, BootROM IM121.0047.B1F, 4 processors, Intel Core i7, 3.4
 GHz, 4 GB, SMC 1.72f5
 Graphics: AMD Radeon HD 6970M, AMD Radeon HD 6970M, PCIe, 1024 MB
 Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1333 MHz, 0x02FE,
 0x45424A3230554638424353302D444A2D4620
 Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1333 MHz, 0x02FE,
 0x45424A3230554638424353302D444A2D4620
 AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x9A),
 Atheros 9380: 4.0.64.8-P2P
 Bluetooth: Version 4.0.7b30 exported, 2 service, 18 devices, 0 incoming
 serial ports
 Network Service: Wi-Fi, AirPort, en1
 Serial ATA Device: ST31000528AS, 1 TB
 Serial ATA Device: HL-DT-STDVDRW  GA32N
 USB Device: hub_device, 0x0424  (SMSC), 0x2514, 0xfd100000 / 2
 USB Device: Tripp Lite UPS, 0x09ae  (Tripp Lite), 0x2011, 0xfd130000 / 6
 USB Device: Video Capture, 0x0fd9, 0x0037, 0xfd140000 / 5
 USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403,
 0xfd110000 / 4
 USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd120000 / 3
 USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x850b,
 0xfa200000 / 3
 USB Device: hub_device, 0x0424  (SMSC), 0x2514, 0xfa100000 / 2
 USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0xfa110000 / 4
 USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8215,
 0xfa111000 / 7
 FireWire Device: My Book 111D, WD, 800mbit_speed

 }}}

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

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to