Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Really Odd Bug With LWP and Device::SerialPort

by Anonymous Monk
on Nov 30, 2016 at 20:46 UTC ( [id://1176976]=note: print w/replies, xml ) Need Help??


in reply to Really Odd Bug With LWP and Device::SerialPort

This is an old issue, but apparently still active. But I don't think it is an issue with the SerialPort modules at all.

I started getting "Win32::API:Call: parameter X had a buffer overflow" errors in a large project that has been alive for years. It was quite easy to see what had changed recently: I had started using Encode::decode() to read UTF-8-encoded strings.

It looks to me that the problem is with Win32::API. It cannot handle UTF-8 strings properly. I have filed a bug here.

This could easily be the same problem. On linux side, it would then be a completely different bug, but still likely caused by the same utf-8 confusion.

  • Comment on Re: Really Odd Bug With LWP and Device::SerialPort

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (2)
As of 2024-04-24 04:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found