#7362: GHC generated DLL does not work on Windows XP/Server 2003
---------------------------+------------------------------------------------
 Reporter:  Michael Marte  |          Owner:              
     Type:  bug            |         Status:  new         
 Priority:  normal         |      Component:  Build System
  Version:  7.4.1          |       Keywords:              
       Os:  Windows        |   Architecture:  x86         
  Failure:  Other          |       Testcase:              
Blockedby:                 |       Blocking:              
  Related:                 |  
---------------------------+------------------------------------------------
 When loading a DLL generated with the Haskell Platform 2012.2.0.0 into a
 C++ client, the client hangs on Windows XP/Server 2003 in a Windows NT
 kernel function:

 {{{
 ntoskrnl.exe!IoIs32bitProcess+0x25
 ntoskrnl.exe!FsRtlAddBaseMcbEntry+0x82
 ntoskrnl.exe!FsRtlInsertPerStreamContext+0x48e
 ntoskrnl.exe!_snwprintf+0x1c
 ntoskrnl.exe!KeInitializeQueue+0x3b
 ntoskrnl.exe!KeDelayExecutionThread+0x1c7
 ntoskrnl.exe!FsRtlInsertPerStreamContext+0x48e
 ntoskrnl.exe!SePrivilegeObjectAuditAlarm+0x240f
 ntoskrnl.exe!MmFreeContiguousMemory+0x90d
 wow64cpu.dll+0x42d9
 wow64cpu.dll+0x40e5
 wow64.dll+0x6a5a
 wow64.dll+0x97f4
 wow64.dll+0x9886
 wow64cpu.dll+0x3980
 wow64win.dll+0x6fe0
 ntdll.dll+0x1c846
 ntdll.dll+0x57f16
 kernel32.dll+0x751f2
 EU_561_2006_12_12.dll+0xc7bbc
 }}}

 (The stack trace was created with Process Explorer. The last frame was
 created by our DLL.)

 The same DLL works fine on newer Windows versions.

 The problem does not occur when building the DLL with the Haskell Platform
 2011.4.0.0.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7362>
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