Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Prevent object from cloning

by menth0l (Monk)
on Oct 18, 2010 at 09:39 UTC ( [id://865908]=note: print w/replies, xml ) Need Help??


in reply to Re: Prevent object from cloning
in thread Prevent object from cloning

Adding CLONE_SKIP to MyPackage results in abnormal thread termination. This is what i caught using eval:
OIO error: panic: del_backref at C:/Perl/site/lib/Object/InsideOut.pm +line 1305. Package: main File: C:\Development\workspace\ebi.ds.lite\_Scripts\bug.pl Line: 27 Subsequent to the above, the following error also occurred: OIO error: panic: del_backref at C:/Perl/site/lib/Object/InsideOut +.pm line 1883. Package: main File: C:\Development\workspace\ebi.ds.lite\_Scripts\bug.pl Line: 27 Trace begun at C:\Perl\site\lib\Object\InsideOut.pm line 1942 Object::InsideOut::DESTROY('MyPackage=SCALAR(0x1ba3b0c)') called at C: +\Development\workspace\ebi.ds.lite\_Scripts\bug.pl line 27 eval {...} at C:\Development\workspace\ebi.ds.lite\_Scripts\bug.pl lin +e 27 main::th at C:\Development\workspace\ebi.ds.lite\_Scripts\bug.pl line +22 eval {...} at C:\Development\workspace\ebi.ds.lite\_Scripts\bug.pl lin +e 22 Unbalanced string table refcount: (1) for "1" during global destructio +n. Scalars leaked: 1
This class have to be implemented via OIO and i can't fallback on classic hashref based object.

Replies are listed 'Best First'.
Re^3: Prevent object from cloning
by BrowserUk (Patriarch) on Oct 18, 2010 at 17:13 UTC
    Adding CLONE_SKIP to MyPackage results in abnormal thread termination.

    Contact the author of Object::InsideOut and report the bug.

      I have fixed this in OIO v3.72

        Wow!++ That, was fast!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://865908]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-03-19 02:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found