Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BIZARRE copy of code #955

p5pRT opened this issue Dec 15, 1999 · 1 comment

BIZARRE copy of code #955

p5pRT opened this issue Dec 15, 1999 · 1 comment


Copy link

p5pRT commented Dec 15, 1999

Migrated from (status was 'resolved')

Searchable as RT1902$

Copy link

p5pRT commented Dec 15, 1999


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.

- 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

I would be grateful for better diagnosis what exactly this error message

-- Marcin.Kasperski<at>, Marcin.Kasperski<at>
-- 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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

1 participant