httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 49437] apache and mod_auth_basic segmentation fault
Date Fri, 09 Jul 2010 18:35:34 GMT

Alexey Asemov <> changed:

           What    |Removed                     |Added
             Status|NEEDINFO                    |NEW

--- Comment #4 from Alexey Asemov <> 2010-07-09 14:35:30 EDT ---
I found the reason and the (probable) solution.

It's related to the ThreadStackSize. I am using reduced TSS (131072 bytes, to
be precise) to reduce memory footprint of the frontend. The crypt_data
structure is just too large to fit on stack (it is more than 131072 bytes in

While increasing TSS is a viable option, I still do think keeping several tens
of kilobytes of temporary data on stack sounds nonsense. So, I made a patch to
malloc the structure insted (feel free to correct me there if something more
effective can be used instead of malloc).

Attaching a patch.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message