SDBM_File issues?

2004-01-30 Thread Perrin Harkins
Has anyone ever had trouble with SDBM_File not being able to open dbm files created under mod_perl from a command line script? I noticed that apache 1.x seems to include an sdbm library, and I wonder if that is being used by mod_perl, making the dbm file it writes incompatible with the sdbm librar

Re: SDBM_File issues?

2004-01-30 Thread Ged Haywood
Hi Perrin, On Fri, 30 Jan 2004, Perrin Harkins wrote: > Has anyone ever had trouble with SDBM_File not being able to open dbm > files created under mod_perl from a command line script? Stupid question: this isn't the old "first 4k not getting flushed" file locking bug? 73 Ged. -- Reporting

Re: SDBM_File issues?

2004-01-30 Thread Perrin Harkins
On Fri, 2004-01-30 at 18:59, Ged Haywood wrote: > Stupid question: this isn't the old "first 4k not getting flushed" > file locking bug? I don't see how it could be. The mod_perl code unties the file after using it. The message I get is "panic: sv_setpvn called with negative strlen" and it does

Re: SDBM_File issues?

2004-01-30 Thread Ged Haywood
Hi Perrin, On Fri, 30 Jan 2004, Perrin Harkins wrote: > > file locking bug? > > The mod_perl code unties the file after using it. > > The message I get is "panic: sv_setpvn called with negative strlen" Yikes! Misconfigured build, nasty bug, linked with wrong library...?? 73, Ged. -- Repo

Re: SDBM_File issues?

2004-01-30 Thread Stas Bekman
Perrin Harkins wrote: On Fri, 2004-01-30 at 18:59, Ged Haywood wrote: Stupid question: this isn't the old "first 4k not getting flushed" file locking bug? That was an issue with Berkley DB (via DB_File), not SDBM_File, AFAIK. I don't see how it could be. The mod_perl code unties the file after

Re: SDBM_File issues?

2004-01-30 Thread Ged Haywood
Hi guys, On Fri, 30 Jan 2004, Stas Bekman wrote: > I think perl brings in its own SDBM implementation Another one: is mod_ssl involved anywhere? >From mod_ssl-2.8.16-1.3.29/INSTALL NOTE: The --enable-rule=SSL_SDBM option enabled the use of the built-in SDBM library instead of a custom de

Re: SDBM_File issues?

2004-01-30 Thread Perrin Harkins
On Fri, 2004-01-30 at 19:45, Stas Bekman wrote: > I'm not familiar with SDBM guts, but it could be that mod_perl and perl have a > different idea about some data type used by SDBM. like 32/64 bits so LFS could > be an issue. Are you sure it's the same perl? At first I thought it wasn't, but stri

Re: SDBM_File issues?

2004-01-30 Thread Stas Bekman
Perrin Harkins wrote: On Fri, 2004-01-30 at 19:45, Stas Bekman wrote: I'm not familiar with SDBM guts, but it could be that mod_perl and perl have a different idea about some data type used by SDBM. like 32/64 bits so LFS could be an issue. Are you sure it's the same perl? At first I thought i

[mp2] Attempt to free unreferenced scalar: ...

2004-01-30 Thread Beau E. Cox
-8<-- Start Bug Report 8<-- 1. Problem Description: I am trying to port Mason to mod_perl2 w/libapreq2. It seems I have munged it up. When 'stressing' the site (downloading a Mason-enabled uri with wget in a looping shell script), I get lots of Attempt to f

Re: [mp2] Attempt to free unreferenced scalar: ...

2004-01-30 Thread Stas Bekman
Beau E. Cox wrote: -8<-- Start Bug Report 8<-- 1. Problem Description: I am trying to port Mason to mod_perl2 w/libapreq2. It seems I have munged it up. When 'stressing' the site (downloading a Mason-enabled uri with wget in a looping shell script), I get lot