bugfluxus - Bugs: bug #32131, string memory leak

 
 

bug #32131: string memory leak

Submitted by:  gabor papp <gabor_papp>
Submitted on:  Fri 14 Jan 2011 03:11:00 PM UTC  
 
Category: NoneSeverity: 4 - Important
Item Group: NoneStatus: Invalid
Privacy: PublicAssigned to: gabor papp <gabor_papp>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 14 Jan 2011 03:11:00 PM UTC, original submission:

passing strings from scheme to c leaks memory.
example:

(define (rnd-str n)
(build-string n (lambda (x) (integer->char (+ 97 (random 26))))))

(every-frame
(begin
(load-texture (rnd-str 16384))
(collect-garbage)))

gabor papp <gabor_papp>
Project MemberIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by gabor_papp (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 17 Jan 2011 09:34:23 AM UTCgabor_pappStatusNone=>Invalid
      Assigned toNone=>gabor_papp
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1