httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: segfault ap_save_brigage in the latest 2.0
Date Mon, 27 Sep 2004 12:28:49 GMT
Joe Orton wrote:
> On Sun, Sep 26, 2004 at 07:45:24PM -0400, Stas Bekman wrote:
> 
>>I get the following segfault with the latest cvs 2.0 branch:
>>
>>#0  0x080eaed2 in ap_save_brigade (f=0x9541448, saveto=0x9541488,
>>    b=0xbfffebd4, p=0x9550ba8) at util_filter.c:539
>>539         APR_BRIGADE_CONCAT(*saveto, *b);
> 
> 
> Is this triggered in the mod_perl test suite or something?

Yup, I can reliably (90% of runs) reproduce that with prefork mpm by 
running this sequence:
t/TEST t/filter/out_str_reverse.t t/apr/table.t t/filter/out_str_req_mix.t 
t/api/sub_request.t t/api/aplog.t t/modperl/merge.t

>>(gdb) p (**saveto)->list
>>$4 = {next = 0x206e7553, prev = 0x20706553}
>>(gdb) dump_brigade b
> 
> 
> You have to "dump_brigade *b" in ap_save_brigade since it's a
> pointer-to-a-pointer-to-a-brigade structure, can you post that output?

(gdb) dump_brigade *b
dump of brigade 0x9550be0
    | type     (address)    | length | data addr  | contents 
  | rc
--------------------------------------------------------------------------------
  0 | Cannot access memory at address 0x20726f6e

-- 
__________________________________________________________________
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

Mime
View raw message