Wed Dec 19 00:55:54 2012: Request 82090 was acted upon.
Transaction: Correspondence added by BULKDD
       Queue: Win32-API
     Subject: Win32::IPHelper::GetNetworkParams X64 crash
   Broken in: (no value)
    Severity: Normal
       Owner: Nobody
  Requestors: nlnetl...@cpan.org
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=82090 >


On Tue Dec 18 10:29:26 2012, NLNETLABS wrote:
> Hi,
> 
> I have this crash when doing Win32::IPHelper::GetNetworkParams({}) on
> 64bit ActiveState perl:
> 
> Problem signature:
>   Problem Event Name: APPCRASH
>   Application Name:   perl.exe
>   Application Version:        5.14.2.1402
>   Application Timestamp:      4e8f83bc
>   Fault Module Name:  Iphlpapi.DLL
>   Fault Module Version:       6.1.7601.17514
>   Fault Module Timestamp:     4ce7c6da
>   Exception Code:     c0000005
>   Exception Offset:   0000000000008a64
>   OS Version: 6.1.7601.2.1.0.400.8
> 
> It is in Iphlpapi.dll, so something goes wrong with the IPHelper call to
> GetNetworkParams within Iphlpapi.dll. And then it has to be something
> with the function arguments handling (a pointer to a struct and a length
> pointer), because other Win32::IPHelper functions are working fine.
> 
> B.t.w. de problem does not occur with 32 bits ActiveState perl or 32 or
> 64bit Strawberry Perl. Only with 64bits ActiveState perl. 

What version of Win32::API are you using? What compiler did you use to
compiler Win32::API for your 64 bit ActivePerl?

I tried your code on x64 ActivePerl 5.14.2 ActivePerl Build 1402
[295342] with VC 2008 and Win32::API 0.74 on Server 2003. No crash.

Reply via email to