You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Graham Leggett <mi...@sharp.fm> on 2011/11/20 17:02:45 UTC

Segfault in ap_process_http_sync_connection()

Hi all,

Having just brought trunk up to date, I am currently getting the  
following segfault below, not sure if this is related to r1204104?

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x000c5928 in ap_process_http_sync_connection (c=0x11dd1f0) at  
http_core.c:188
188	            cs->state = CONN_STATE_HANDLER;
(gdb) bt
#0  0x000c5928 in ap_process_http_sync_connection (c=0x11dd1f0) at  
http_core.c:188
#1  0x000c5a48 in ap_process_http_connection (c=0x11dd1f0) at  
http_core.c:230
#2  0x000187d5 in ap_run_process_connection (c=0x11dd1f0) at  
connection.c:41
#3  0x00018cac in ap_process_connection (c=0x11dd1f0, csd=0x11dce58)  
at connection.c:202
#4  0x0019e807 in child_main (child_num_arg=0) at prefork.c:697
#5  0x0019e941 in make_child (s=0x10383c8, slot=0) at prefork.c:739
#6  0x0019f036 in prefork_run (_pconf=0x1006018, plog=0x10b2c18,  
s=0x10383c8) at prefork.c:949
#7  0x0001b56d in ap_run_mpm (pconf=0x1006018, plog=0x10b2c18,  
s=0x10383c8) at mpm_common.c:96
#8  0x0000e32f in main (argc=4, argv=0xbffff530) at main.c:777

Regards,
Graham
--


Re: Segfault in ap_process_http_sync_connection()

Posted by Stefan Fritsch <sf...@sfritsch.de>.
On Sun, 20 Nov 2011, Graham Leggett wrote:
>
> Having just brought trunk up to date, I am currently getting the following 
> segfault below, not sure if this is related to r1204104?

Yes it is, I overlooked one use of cs. Fixed in r1204180.