logo       

Sponsor
FREE Network Mapping Tool for Microsoft® Office Visio® Professional 2007
Don't map your network by hand - let LANsurveyor Exx press for Microsoft Visio Professional 2007 automatically create network diagrams for you!

Re: segfault ap_save_brigage in the latest 2.0: msg#00289

apache.mod-perl.devel

Subject: Re: segfault ap_save_brigage in the latest 2.0

Joe Orton wrote:
Let's continue this on dev@perl since it doesn't seem like there's an
httpd bug currently.

On Mon, Sep 27, 2004 at 01:49:29PM -0400, Joe Schaefer wrote:

Joe Orton <jorton@xxxxxxxxxx> writes:

[...]


when it did start up it would segfault consistently when running the
tests you reference like:

#0 pool_clear_debug (pool=0x441, file_line=0x2a95d3fc19 "undefined")
at memory/unix/apr_pools.c:1341
1341 while (pool->child)

...

Does this mp2 patch help?


Yes, that fixed the segfaults triggered by the test cases for me.

joe++,

$subrequest->DESTROY calls ap_destroy_sub_req(r)

the bug was in calling it twice, once directly and once more indirectly. But the problem is that it didn't affect the current request, but some other specific request later on, so if it wasn't for Joe, I'd have lost a way more hair than I did so far. I suppose that double call was corrupting some memory, but it wasn't visible right away. Is it possible for ap_destroy_sub_req(r) to somehow protect from this kind of problem? I suppose that's not quite possible.

Any ideas about how to fix the segfaults at startup time too?

I'll try to reproduce it now.

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


<Prev in Thread] Current Thread [Next in Thread>
Sponsor
FREE Network Mapping Tool for Microsoft® OfficeVisio Professional 2007
Don't map your network by hand - let LANsurveyor Express for Microsoft Visio Professional 2007
automatically create network diagrams for you!
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | sitemap | advertise | OSDir is an inevitable website. super tiny logo