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 2006/09/13 15:49:34 UTC

DO NOT REPLY [Bug 40497] New: - No data sent when a specific line appears inside a html file

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40497>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40497

           Summary: No data sent when a specific line appears inside a html
                    file
           Product: Apache httpd-2
           Version: 2.2.2
          Platform: HP
               URL: http://not externally reachable, send email to see error
        OS/Version: HP-UX
            Status: NEW
          Severity: normal
          Priority: P2
         Component: worker
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: hanno.borns@hp.com


Hi,

Server version: Apache/2.2.3
Server built:   Aug 31 2006 17:33:21

Very interesting effect: When a particular string appears inside an html file,
Apache returns nothing and closes the connection.

Without this particular string the page gets delivered.
Only the string inside an html file gets delivered as well.

Data ...

index_only_tag.html:
---
<script language="javascript" type="text/javascript"
src="http://portal.hp.com/lib/navigation/header.js"></script>
---

-> Result: Tag appears in output

index_works.html:
---
<html>
  <head>
    <title>Batchnet Gateway</title>
    <link rel="stylesheet" type="text/css"
href="http://portal.hp.com/lib/navigation/css/homepages-v5.css"/>
  </head>
  <body>
    
  </body>
</html>
---

-> Result: Content is sent

index_fails.html:
---
<html>
  <head>
    <title>Batchnet Gateway</title>
    <link rel="stylesheet" type="text/css"
href="http://portal.hp.com/lib/navigation/css/homepages-v5.css"/>
  </head>
  <body>
    <script language="javascript" type="text/javascript"
src="http://portal.hp.com/lib/navigation/header.js"></script>
  </body>
</html>
---

-> Result: Nothing sent, connection closed.

I am more than clueless what else to check, so considering this a potential bug.

The Apache installation on that this appears cannot be exposed to the internet.
If you want to see it, please drop me an email and I can share a screen to see it.

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

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


DO NOT REPLY [Bug 40497] - No data sent when a specific line appears inside a html file

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40497>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40497





------- Additional Comments From hanno.borns@hp.com  2006-09-13 14:44 -------
I had tried to get the page using wget which resulted in the same problem.

When trying with telnet, the behavior was the same odd thing.

However, your proposal with the directives EnableMMAP Off
and EnableSendfile Off in the httpd.conf helped; - the problem is resolved.

The drives serving these files are directly attached to the system, not 
mounted over the network or so.

In case the configure command would need to be adjusted, the OS this problem 
appeared on is "HP-UX isoit666 B.11.11 U 9000/800 601319351 unlimited-user 
license".

In case you need any other information like patch level or compiler versions 
please let me know and I will try to supply.

Thanks for the very fast response!

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

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


DO NOT REPLY [Bug 40497] - No data sent when a specific line appears inside a html file

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40497>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40497





------- Additional Comments From hanno.borns@hp.com  2006-09-13 15:06 -------
I am not sure if it is a 32 bit build but reading the debugger line (ILP32) 
I'd guess it is 32 bit.

[isoit666]apache/bin $ what httpd
httpd:
        $Revision: 92453-07 linker linker crt0.o B.11.30 010914 $
        HP92453-02A.11.00 HP-UX SYMBOLIC DEBUGGER (END.O ILP32) $Revision: 
75.04 $

If you have any other command that I should execute to determine this, please 
let me know.

I never compiled 2.0 on this machine, 2.2.3 was the very first build here. If 
I should compile 2.0 please let me know, I can give it a try if that would 
help to tackle a problem.

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

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


DO NOT REPLY [Bug 40497] - No data sent when a specific line appears inside a html file

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40497>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40497





------- Additional Comments From jorton@redhat.com  2006-09-13 14:56 -------
- is this a 32-bit build?
- did you have this problem with 2.0.x? 

The large file support in 2.2 means that different code paths are being exercised.

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

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


DO NOT REPLY [Bug 40497] - sendfile appears broken (hp-ux)

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40497>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40497


nick@webthing.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW
            Summary|No data sent when a specific|sendfile appears broken (hp-
                   |line appears inside a html  |ux)
                   |file                        |




------- Additional Comments From nick@webthing.com  2007-10-07 18:04 -------
OP has answered all the relevant questions.  Updating summary in case it crosses
anyone's radar.

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

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


DO NOT REPLY [Bug 40497] - No data sent when a specific line appears inside a html file

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40497>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40497


rpluem@apache.org changed:

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




------- Additional Comments From rpluem@apache.org  2006-09-13 14:30 -------
Have you tried this only with a browser or also with a plain telnet connection?
The only thing I could think of that this could have something to do with Apache
itself is a problem with sendfile or mmap on HP-UX. Please add the following
directives to your httpd.conf and have a look if the problem is still there once
you restarted the apache:

EnableMMAP Off
EnableSendfile Off

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

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


DO NOT REPLY [Bug 40497] - sendfile appears broken (hp-ux)

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40497>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40497


trawick@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED




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

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


DO NOT REPLY [Bug 40497] - sendfile appears broken (hp-ux)

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40497>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40497


trawick@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE




------- Additional Comments From trawick@apache.org  2007-10-08 03:36 -------
fixed in current 2.2.x tarballs (since fixed in current apr 1.2.x)


*** This bug has been marked as a duplicate of 42261 ***

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

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


DO NOT REPLY [Bug 40497] - No data sent when a specific line appears inside a html file

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40497>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40497





------- Additional Comments From rpluem@apache.org  2006-09-13 19:21 -------
I assume that you added both directives at once as I suggested. Could you please
retry with only one of them used (so only EnableMMAP Off or EnableSendfile Off
added to the httpd.conf). This would help to discover if the problem is with
sendfile or MMAP or both.

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

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


DO NOT REPLY [Bug 40497] - No data sent when a specific line appears inside a html file

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40497>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40497





------- Additional Comments From hanno.borns@hp.com  2006-09-14 08:50 -------
Yes, I added both at a time.

With the following setting it works:

---
#EnableMMAP off
EnableSendfile off
---

The same thing toggled like this doesn't work:

---
EnableMMAP off
#EnableSendfile off
---

So it appears not MMAP is the problem but Sendfile.

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

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