httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <>
Subject Re: 2.03-dev-rc3 (was Re: 5.6.1 segfaults during perl tests)
Date Fri, 11 Jun 2004 15:02:21 GMT

>>but I guess the reason it fails 
> Wait- does the patch you submitted still fail to compile or complete
> the tests?  

it compiles.  the glue tests core dump all over the place.  sorry for the

> If so, please provide more details.  

(gdb) thread 3
[Switching to thread 3 (process 9176)]#0  0x08078101 in ap_get_module_config
(cv=0x0, m=0xbb6480) at util_debug.c:105
105         return ((void **)cv)[m->module_index];
(gdb) bt
#0  0x08078101 in ap_get_module_config (cv=0x0, m=0xbb6480) at util_debug.c:105
#1  0x00328fcf in mpxs_Apache__RequestRec_content_type (my_perl=0x9837fd0,
r=0x99fd468, type=0x9a52fe4)
    at Apache__RequestRec.h:23
#2  0x003295f7 in XS_Apache__RequestRec_content_type (my_perl=0x9837fd0,
cv=0x9a00fd4) at RequestRec.xs:37
#3  0x00b03615 in Perl_pp_entersub (my_perl=0x9837fd0) at pp_hot.c:2854
#4  0x00ae095f in Perl_runops_debug (my_perl=0x9837fd0) at dump.c:1442
#5  0x00a8a86c in S_call_body (my_perl=0x9837fd0, myop=0xbe8e3710,
is_eval=0) at perl.c:2285
#6  0x00a8a3da in Perl_call_sv (my_perl=0x9837fd0, sv=0x9873774, flags=4) at
#7  0x00a6afe2 in modperl_callback (my_perl=0x9837fd0, handler=0x9a20350,
p=0x99fd430, r=0x99fd468, s=0x976fe48,
    args=0x98250a8) at modperl_callback.c:99
#8  0x00a6b949 in modperl_callback_run_handlers (idx=6, type=4, r=0x99fd468,
c=0x0, s=0x976fe48, pconf=0x0, plog=0x0,
    ptemp=0x0, run_mode=MP_HOOK_RUN_FIRST) at modperl_callback.c:268
[lots more calls snipped]

>>is because the apr_off_t is larger (which I didn't realize - I thought
>>they were both ints).
> It depends on your LARGEFILE setting, since off_t's are usually used
> to represent the seek pointer of a file.  If you're not using
> LARGEFILES, they may both be ints, in which case apr_size_t 
> can represent larger numbers (being unsigned).

I'm not sure if it's the same issue, but we went a few rounds over in
mod_perl land with joe orton on something similar.  the (very long) thread
starts here:

the most interesting part (which you probably already know) is here

I really didn't understand most of it, but joe and stas worked something out
for the mod_perl build system IIRC.  maybe that needs to happen here as well?


View raw message