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 49437] apache and mod_auth_basic segmentation fault
Date Fri, 09 Jul 2010 18:35:34 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49437

Alexey Asemov <alex@net13.info> changed:

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

--- Comment #4 from Alexey Asemov <alex@net13.info> 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
size).

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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message