http://qs321.pair.com?node_id=512451


in reply to ActivePerl dies in msvcrt.dll under Windows

Without some example code, I would guess that the data you are feeding the parser does not have a valid UTF-8 signature. I am pretty sure it has nothing to do with the dll you are referring to. Instead it likely a bug not handled very gracefully in one of the routines in one of the modules you require. ( Again, no script, no ideas). Try using Encode to make sure you have the correct encoding on all your strings. Or, try removing all UTF-8 encodings. Did you try running your code in the debugger?

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

Replies are listed 'Best First'.
Re^2: ActivePerl dies in msvcrt.dll under Windows
by hawtin (Prior) on Nov 29, 2005 at 08:55 UTC

    Running normally it works perfectly but under the debugger...

    There are no bugs (or crashes) unless I am running under the debugger. I tried a number of varients of encode/decode and the script also works perfectly on Solaris and Linux (with exactly the same source data)

      I worded that part pooly, I meant the UTF in the debugger, did that look fine too? ( you might examine with pack/unpack ), If it does, then create a bug on ActivePerl's site, it is free and quick to set up an account.
      JamesNC