Re: Devel::Cover error from Storable

2004-12-30 Thread Kevin Scaldeferri
Following up on this for the sake of archives... Ultimately, I found that when I upgraded Storable to 1.13 this stopped happening. This seems to be true regardless of whether Devel::Cover uses the lock_ versions of the Storable subroutines, although that may be just luck. -kevin

Re: Devel::Cover error from Storable

2004-12-09 Thread Steve Peters
On Thu, Dec 09, 2004 at 09:34:18AM -0800, Kevin Scaldeferri wrote: > My unit test suite recently started spitting out this error when run > under Devel::Cover. It runs normally and successfully without. Has > anyone seen this before: > > > Magic number checking on storable file failed at ..

Re: Devel::Cover error from Storable

2004-12-09 Thread Kevin Scaldeferri
On Dec 9, 2004, at 2:32 PM, Paul Johnson wrote: On Thu, Dec 09, 2004 at 02:06:39PM -0800, Kevin Scaldeferri wrote: My latest theory was that my forked processes were stomping on each other and corrupting the stored data structure. So I replaced the calls to nstore and retrieve with lock_nstore and

Re: Devel::Cover error from Storable

2004-12-09 Thread Paul Johnson
On Thu, Dec 09, 2004 at 02:06:39PM -0800, Kevin Scaldeferri wrote: > My latest theory was that my forked processes were stomping on each > other and corrupting the stored data structure. So I replaced the > calls to nstore and retrieve with lock_nstore and lock_retrieve in > DB.pm and Structur

Re: Devel::Cover error from Storable

2004-12-09 Thread Kevin Scaldeferri
On Dec 9, 2004, at 11:21 AM, Paul Johnson wrote: Whether this is related to your main problem I can't tell, though I have have seen that warning plenty of times before but never encountered your main problem. Yeah, it's probably unrelated. My latest theory was that my forked processes were stomp

Re: Devel::Cover error from Storable

2004-12-09 Thread Tels
-BEGIN PGP SIGNED MESSAGE- Moin, On Thursday 09 December 2004 19:16, Kevin Scaldeferri wrote: > On Dec 9, 2004, at 9:50 AM, Steve Peters wrote: > > On Thu, Dec 09, 2004 at 09:34:18AM -0800, Kevin Scaldeferri wrote: > >> My unit test suite recently started spitting out this error when run

Re: Devel::Cover error from Storable

2004-12-09 Thread Paul Johnson
On Thu, Dec 09, 2004 at 11:07:21AM -0800, Kevin Scaldeferri wrote: > Running some of the tests outside of the harness though, I see a couple > more messages which were hidden before: > > Devel::Cover: Can't find file "../../lib/Storable.pm": ignored. > > I'm pretty confused about where that's c

Re: Devel::Cover error from Storable

2004-12-09 Thread Kevin Scaldeferri
On Dec 9, 2004, at 10:16 AM, Kevin Scaldeferri wrote: Hmm... if there were two versions of Storable installed, and Devel::Cover initially found one, and then later IPC::Shareable somehow caused the other to be loaded instead, that might cause this... I will go investigate that possibility. No

Re: Devel::Cover error from Storable

2004-12-09 Thread Kevin Scaldeferri
On Dec 9, 2004, at 9:50 AM, Steve Peters wrote: On Thu, Dec 09, 2004 at 09:34:18AM -0800, Kevin Scaldeferri wrote: My unit test suite recently started spitting out this error when run under Devel::Cover. It runs normally and successfully without. Has anyone seen this before: Magic number checking

Devel::Cover error from Storable

2004-12-09 Thread Kevin Scaldeferri
My unit test suite recently started spitting out this error when run under Devel::Cover. It runs normally and successfully without. Has anyone seen this before: Magic number checking on storable file failed at ../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/_retrieve.al) line