You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2011/04/05 17:07:11 UTC

DO NOT REPLY [Bug 51022] New: Segmentation fault on PUT request

https://issues.apache.org/bugzilla/show_bug.cgi?id=51022

           Summary: Segmentation fault on PUT request
           Product: Apache httpd-2
           Version: 2.2.17
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_actions
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: iron@ironiq.hu


If using PUT method i get a segmentation fault. I added "Script PUT
/puthandler.php" to the config. The given puthandler.php does only a basic
thing: opens stdin for read and writes out the data to output. I tried even
with a simple perl CGI, the result is the same:

[Tue Apr 05 16:43:11 2011] [notice] child pid 12335 exit signal Aborted (6)

The given process' gdb backtrace and strace output is attached.

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


DO NOT REPLY [Bug 51022] Segmentation fault on PUT request

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51022

--- Comment #4 from Krisztian VASAS <ir...@ironiq.hu> 2011-04-05 12:10:03 EDT ---
(In reply to comment #3)
> Your gdb backtrace shows an orderly abort (and means you compiled with DEBUG
> defined but without symbolic information - strange).  There should be a message
> about the failed assertion in your error log.  Immediately preceding messages
> could also be relevant.

Yes, you are right. I compiled with DEBUG, but that was also strange for me
that the symbols were missing. And yes, i found the message in the errorlog,
here it is:

[Tue Apr 05 16:56:41 2011] [crit] [Tue Apr 05 16:56:41 2011] file
http_filters.c, line 523, assertion "totalread >= 0" failed

And i forgot to mention that the file i tried was the output of the "cal"
command.

If you need more information, just tell me

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


DO NOT REPLY [Bug 51022] Segmentation fault on PUT request

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51022

--- Comment #2 from Krisztian VASAS <ir...@ironiq.hu> 2011-04-05 11:15:52 EDT ---
Created an attachment (id=26856)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26856)
put error gdb backtrace

This is the gdb bt output

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


DO NOT REPLY [Bug 51022] Segmentation fault on PUT request

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51022

Nick Kew <ni...@webthing.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #3 from Nick Kew <ni...@webthing.com> 2011-04-05 12:05:48 EDT ---
Your gdb backtrace shows an orderly abort (and means you compiled with DEBUG
defined but without symbolic information - strange).  There should be a message
about the failed assertion in your error log.  Immediately preceding messages
could also be relevant.

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


DO NOT REPLY [Bug 51022] Segmentation fault on PUT request

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51022

Krisztian VASAS <ir...@ironiq.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

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


DO NOT REPLY [Bug 51022] Segmentation fault on PUT request

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51022

--- Comment #5 from Krisztian VASAS <ir...@ironiq.hu> 2011-04-08 09:10:14 EDT ---
Is there any news? If you need more info, just tell me what do i have to do for
this.

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


DO NOT REPLY [Bug 51022] Segmentation fault on PUT request

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51022

--- Comment #1 from Krisztian VASAS <ir...@ironiq.hu> 2011-04-05 11:12:19 EDT ---
Created an attachment (id=26855)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26855)
put error strace output

This is the strace output, different process but the same error.

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