httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50978] New: Segfault on method=POST request
Date Sun, 27 Mar 2011 11:46:35 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50978

           Summary: Segfault on method=POST request
           Product: Apache httpd-2
           Version: 2.2.17
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: All
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: colbec@start.ca


Using fresh install of Opensuse 11.4, kernel 2.6.38, httpd 2.2.17.
Compile of httpd with --enable-so for use with PHP appears to work correctly.

With the following HTML code

<html>
<p>crash test</p>
<p>
<form action='phpcrashtest.html' method='POST'>
<input type='submit' name='button' value='submit' />
</form>
</p>
<p>ended</p>
</html>

The page initially loads correctly, but clicking the submit button with
method=POST causes segmentation fault in httpd. method=GET works correctly.

Using httpd -X to restrict to one process and tracking with gdb:

(gdb) backtrace
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb75d7a08 in accept4 () from /lib/libc.so.6
#2  0xb76ea411 in apr_socket_accept (new=0xbfb123cc, sock=0x80d3758, 
    connection_context=0x83655a8) at network_io/unix/sockets.c:210
#3  0x080ad9cc in unixd_accept (accepted=0xbfb1242c, lr=0x80d3738, 
    ptrans=0x83655a8) at unixd.c:506
#4  0x080ab920 in child_main (child_num_arg=<value optimized out>)
    at prefork.c:643
#5  0x080abc9f in make_child (s=0x80d9ce0, slot=0) at prefork.c:707
#6  0x080ac4fc in ap_mpm_run (_pconf=0x80d50a8, plog=0x81131a0, s=0x80d9ce0)
    at prefork.c:983
#7  0x080693fc in main (argc=2, argv=0xbfb12774) at main.c:739

I have reinstalled OS, kernel and httpd several times, result is consistent.
Opensuse 11.3 installation was not a problem, Apache httpd worked correctly. I
have opened the issue on Opensuse forums but no feedback.

I have marked this a major issue since when working with method=POST in PHP,
the segfault can result in Apache trying to serve up PHP code in plain text
format. Suggestions appreciated to get more information.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message