[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl-dev
Subject:    Re: ModPerl-Registry t/basic.t crashes Apache
From:       Stas Bekman <stas () stason ! org>
Date:       2004-07-14 9:09:57
Message-ID: 40F4F865.3060008 () stason ! org
[Download RAW message or body]

Philippe M. Chiasson wrote:
[...]
>> Philippe, where are you with this $bb->cleanup issue?
> 
> 
> Well, things are indeed strange. I've just updated httpd an hour ago and I
> can still reproduce the problem here, on my work machine. At home, on my
> other almost identical linux box (both Fedora Core 2), I can't get it to
> happen. Very strange indeed. The current stacktrace I get is exactly the
> same, and the corrupted memory values are still the same.
> 
> (gdb) print *b
> $1 = {p = 0x8512858, list = {next = 0x1, prev = 0x1011007}, bucket_alloc 
> = 0x861cd28}
> (gdb) print *(b->bucket_alloc)
> $2 = {pool = 0x0, allocator = 0x0, freelist = 0x0, blocks = 0x0}
> (gdb) print *(b->p)
> $3 = {parent = 0x8681394, child = 0x8, sibling = 0x13, ref = 0xb, 
> cleanups = 0x58, allocator = 0xff1,
>   subprocesses = 0xc3a5e50, abort_fn = 0xc3a3dd8, user_data = 0x0, tag = 
> 0x0, nodes = 0xa84bdb4,
>   file_line = 0xc3a4964 <Address 0xc3a4964 out of bounds>, 
> creation_flags = 32, stat_alloc = 0,
>   stat_total_alloc = 176471476, stat_clear = 205146472, owner = 64, 
> mutex = 0x0}
> 
> The bucket allocator exists, but seems to be NULLed, and that can't be a 
> good sign.
> The pool in the bb also looks somewhat corrupted.
> 
> Apart from this, I don't quite have the time to trace thru this at this 
> time.
> 
> Thoughts ?

It's hard to tell anything w/o being able to reproduce the problem.

For now I've committed the slower implementation, which doesn't call 
cleanup().

If you get time later on to trace it please do so, thanks!

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic