on-internet
← Community

How to investigate " Attempt to free unreferenced scalar"

Stack Overflow ·

A Perl script (which uses a load of locally-written modules, and is under active development) has just started producing sporadic Attempt to free unreferenced scalar: SV 0xa6e685c, Perl interpreter: 0x96d9008 during global destruction. messages. This are always repeatable, in the sense that a particular sequence of commands always produces the message if it ever does, but I've not managed to isolate a simple or stand-alone case which elicits it. In particular, I haven't yet seen it when running the script from the Perl debugger (I can get it when debugging a script which uses IPC::Open3 to run

Comments

Sign in or sign up to comment and upvote.

No comments yet.