You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I embed perl in some application. For a long time it worked correctly
but after some minor code changes it stopped: program just crashed with
exit code 255 and message
BIZARRE copy of code
It costed me good few hours to deduce that the error has been caused by
the fact that I allocated (from C side) perl variable to mirror some
subroutine and tried to copy that variable to some other variable.
Suggestions:
- please, make this error message cleaner, for instance:
Forbidden attempt to copy code reference detected
(for some time I thought that I destroyed perl internal structures in
some way and that this message detects some 'invalid code')
- please die instead of exiting, so one can catch the error and handle
it
I would be grateful for better diagnosis what exactly this error message
means.
-- Marcin.Kasperski<at>softax.com.pl, Marcin.Kasperski<at>bigfoot.com
-- Moje poglądy są moimi poglądami, nikogo poza mną nie reprezentują.
-- ------------------------------------------------------------------
-- Osoba jest omegalizacją ewolucji uniwersalnej na określonym
-- odcinku etapowym (Teilhard de Chardin)
Migrated from rt.perl.org#1902 (status was 'resolved')
Searchable as RT1902$
The text was updated successfully, but these errors were encountered: