in reply to Re: perl +xs : crash after some time
in thread perl +xs : crash after some time
I'm on Windows 10, but without the anniversary update (and I have no options on update plan)
In fact if I run the code given here Re^6: Win32::API and keyboard hook, I can crash perl after some/many keystrokes.
The error messages is emit at the call of the perl sub:
Attempt to change a readonly variableor
Odd number of elements in hash assignmentI pass a sub reference to be called by the c hook function, and it's the code that receive the parameters from the c function that crash:
sub { my ($cup, $code, $alt, $ext) = @_; .... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: perl +xs : crash after some time
by stevieb (Canon) on Nov 03, 2017 at 21:43 UTC |