Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Debugger problem in 5.10

by borisz (Canon)
on Jan 02, 2009 at 15:14 UTC ( #733773=note: print w/replies, xml ) Need Help??

in reply to Debugger problem in 5.10

I guess you thaw/retrieve data that was freezed/storedwith another perl or another architecture. Just remove all old data that was serialized with the other computer and use the portable nfreeze/nstore instead of freeze/store next time.

Replies are listed 'Best First'.
Re^2: Debugger problem in 5.10
by duoxi (Initiate) on Jan 02, 2009 at 15:46 UTC

    thanks. I did think of this and deleted all previously created archives. Also, I am not using freeze/thaw. I am using the following calls:
    Storable::lock_store Storable::lock_retrieve
    Again, the code works fine when run in normal mode. But when I get to lock_store in the debugger, it core dumps (actually, somewhere inside the Storable routine)...
      Then use lock_nstore and do not rely on any data stored another way, ported to your new computer. Not in a config file not via a database ,... and so on.
        I am sorry but I do not understand. I am not porting stored data. The data is newly created on the new computer. I just use Storable for serialization of a temporary storage area. There is no movement of data between machines. The data stored is created on the same computer it is stored, and it is again read on the same computer. D.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2021-09-27 10:16 GMT
Find Nodes?
    Voting Booth?

    No recent polls found