Ticket Change Details
Not logged in
Overview

Artifact ID: d0325a7a0a93635e3c175410156fc2978d001969
Ticket: da3e0fb4b9241b55073a73d7b0cff5ad511e7835
"out of memory" error via apache cgi-bin.
User & Date: anonymous 2011-05-10 13:30:16
Changes

  1. comment changed to:
    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
    
  2. foundin changed to: "8f41b2fa75 onwards"
  3. private_contact changed to: "7d42fc55d7da05139a841a32bcc23997f91bbdbb"
  4. severity changed to: "Important"
  5. status changed to: "Open"
  6. title changed to: ""out of memory" error via apache cgi-bin."
  7. type changed to: "Code_Defect"