Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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.

Boris


Comment on Re: Debugger problem in 5.10
Select or Download Code
Re^2: Debugger problem in 5.10
by duoxi (Initiate) on Jan 02, 2009 at 15:46 UTC
    Boris,

    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.
      Boris
        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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (17)
As of 2014-07-14 15:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (267 votes), past polls