Hypothesis: SVs are owned by the tread in which they were created. When a thread exits, any SVs it owns are freed.
By the way, using a string buffer to store a pointer is a waste. An IV is guaranteed to be big enough. Or you can use the PV itself (using SvPV_set) if you set LEN to zero.
In reply to Re^3: semi-panic: attempt to dup freed string?
by ikegami
in thread semi-panic: attempt to dup freed string?
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |