Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: ActivePerl dies in msvcrt.dll under Windows

by hawtin (Prior)
on Nov 28, 2005 at 20:45 UTC ( [id://512365]=note: print w/replies, xml ) Need Help??


in reply to Re: ActivePerl dies in msvcrt.dll under Windows
in thread ActivePerl dies in msvcrt.dll under Windows

Actually no, I can't. I have spent a few days trying to pin it down but when I have found a location and change the script the bug just pops up somewhere else. When I thought that the unichar errors were significant I kept adding checks that packed and unpacked strings, once the check was in place the crash would appear somewhere "nearby".

The behaviour "feels like" a memory corruption in a low level C library. There are also the facts that:

  • the same script runs on both Linux and Solaris with no problems
  • all modules have use strict;use warnings;
  • this problem only appeared after the dll was changed

The script does use XML, encryption, sockets and all sorts of other stuff. I tried to create a simple version that exhibits the behaviour but couldn't. No doubt there is some interaction between those that is causing it.

I did play with both forking and threading in earlier versions, but I failed to create a version that exploited them and remained portable, so I dropped that bit.

  • Comment on Re^2: ActivePerl dies in msvcrt.dll under Windows

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://512365]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-20 06:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found