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=29873>. 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=29873 crash in ldap cache function util_ald_create_cache ------- Additional Comments From [EMAIL PROTECTED] 2004-07-06 10:02 ------- This seems to be an alignment issue. The optimized build on Solaris uses the 'std' assembly instruction to store the apr_time_t values into the structure. However, the memory block returned by apr_rmm_calloc is not always aligned to an 8-byte boundary. When the structure is not aligned, this instruction will crash the program with a bus error. I have verified this by adding code to util_ald_create_cache that will try to reallocate the block if it's not aligned and this does cure the crash. But it does not solve the underlying problem that apr_rmm_calloc will allocate unaligned memory blocks. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
