Ticket UUID: | da3e0fb4b9241b55073a73d7b0cff5ad511e7835 | ||
Title: | "out of memory" error via apache cgi-bin. | ||
Status: | Fixed | Type: | Code_Defect |
Severity: | Important | Priority: | |
Subsystem: | Resolution: | Fixed | |
Last Modified: | 2011-05-16 08:34:36 | ||
Version Found In: | 8f41b2fa75 onwards | ||
Description & Comments: | |||
After downloading recent src and updating my fossil executable, I am no longer able to use via cgi-bin. I get an 'out of memory' error. All actions appear to work fine at a server level using fossil command line.
I have managed to traced this to the changes made in 8f41b2fa75 (15-Oct-2010) where fossil-malloc() was introduced, and more specifically, the change to the xMalloc function in th_main.c. If this is reverted back to simply use malloc() the problem goes away and the cgi access works as expected. I am using Apache/1.3.33 (Unix) on AIX 5.2.0.0 anonymous added on 2011-05-16 08:34:36 UTC: |