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 43943] New: - SHMCB crash due to misalignment and GCC 4 optimization
Date Thu, 22 Nov 2007 22:47:58 GMT
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=43943>.
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=43943

           Summary: SHMCB crash due to misalignment and GCC 4 optimization
           Product: Apache httpd-2
           Version: 2.0.61
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Keywords: PatchAvailable
          Severity: normal
          Priority: P2
         Component: mod_ssl
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: rainer.jung@kippdata.de


This is the same issue as BZ 38838, but here for Apache 2.0.
It has been fixed for httpd 2.2 in March 2006 with

http://svn.apache.org/viewvc?view=rev&revision=382799

The same patch fixes it for httpd 2.0.

The problem was noticed with httpd 2.0.61 compiled with gcc 4.1.2.

The memset() used in shmcb_safe_clear() got compiled as

0xfe2d726c <ssl_scache_shmcb_store+732>:        clr  [ %l1 ]
0xfe2d7270 <ssl_scache_shmcb_store+736>:        clr  [ %l1 + 4 ]
0xfe2d7274 <ssl_scache_shmcb_store+740>:        clr  [ %l1 + 8 ]

and the address in the register is not aligned for clr:

l1             0xfe435c17       -29139945

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


Mime
View raw message