[rt.cpan.org #53914] Bug report for Win32::API::Callback

[email protected] ("Cosimo Streppone via RT")
Newsgroups perl.libwin32
Message-ID <[email protected]>
Fri Mar 23 13:02:58 2012: Request 53914 was acted upon.
Transaction: Correspondence added by COSIMO
       Queue: Win32-API
     Subject: Bug report for Win32::API::Callback
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: [email protected]
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=53914 >


On Mon Feb 20 10:15:13 2012, JDHEDDEN wrote:
> On 2012-02-14 14:35:12, DOUGW wrote:
> > On Sun Aug 28 16:02:10 2011, COSIMO wrote:
> > > On Wed Sep 08 04:40:17 2010, [email protected] wrote:
> > > > 2010/9/8 Reini Urban <[email protected]>:
> > > 
> > > Took me almost a year to come back to this bug.
> > > I have now included the test script under the Callback/t folder.
> > 
> > I get a failure (actually a crash) on Callback/t/04_rt_53914.t 
during
> > GenerateConsoleCtrlEvent(1, 0).
> > 
> > All other tests pass.
> > For 32-bit Strawberry perl 5.14.2 on a 64-bit machine.
> 
> I get similar results with perl 5.10.1 from the Cygwin distribution: 
> Perl crashes (leaves stackdump), and the RXVT window it's running in 
closes.

All the reports I got so far, or those that I have managed to keep 
track of in my email, are from users of 64-bit Windows, but running a 
32 bit perl.

My guess is that in this case a Win32::API->Import() with "L" as type 
considers "L" as 32 bits, while on the native machine is 64 bits. Is 
this the case? Can we do something?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.