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=42 101>. 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=42101 a> Summary: SSL SHM cache dies with bus errors on sparc when compiled with Sun CC Product: Apache httpd-2 Version: 2.2.4 Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: mod_ssl AssignedTo: bugshttpd.apache.org ReportedBy: alex.kiernangmail.com Using Sun CC (Sun C 5.8 Patch 121015-04 2007/01/10) using these options: -fast -g -xs -v -xstrconst -xtarget=ultra3 -xarch=v8plusa At line 1221 of ssl_scache_shmcb.c in Apache 2.2.24 we get a bus error. The problem is that given this struct: typedef struct { time_t expires; unsigned int offset; unsigned char s_id2; unsigned char removed; } SHMCBIndex; Which is stored in shared memory at offset 0xfe42afba (the idx variable) For the code: (idx->s_id2 == id[1]) && !idx->removed the compiler generates ld [%l2 + 8], %o0 (i.e. add 8 to %l2, dereference it and store the result in %o0) in order to retrieve s_id2 and removed in one operation, only %l2 isn't naturally aligned so you get a bus error. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=ema il ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. ------------------------------------------------------------ --------- To unsubscribe, e-mail: bugs-unsubscribehttpd.apache.org For additional commands, e-mail: bugs-helphttpd.apache.org
about | contact Other archives ( Real Estate discussion Medical topics )
Mailing lists
Newsgroups
RFC archive