Fossil SCM

"out of memory" error via apache cgi-bin.

Fixed

da3e0fb4b9241b5… · opened 14 years, 11 months ago

Type
Code_Defect
Priority
Severity
Important
Resolution
Fixed
Subsystem
Created
May 10, 2011 1:30 p.m.

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: The changes to fossil_malloc in [6b382b0818] fixed this.


Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button