bugGnash - The GNU Flash player - Bugs: bug #32536, Abort after bad_alloc

 
 

bug #32536: Abort after bad_alloc

Submitter:  Hicham HAOUARI <hichamhaouari>
Submitted:  Fri 18 Feb 2011 03:15:19 PM UTC
   
 
Category:  core Severity:  5 - Blocker
Release:  master Status:  Fixed
Privacy:  Public Assigned to:  bwy
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 24 Feb 2011 10:28:52 AM UTC, comment #5: 

not that we couldn't stop using the string table...

Sandro Santilli <strk>
Group Member
Thu 24 Feb 2011 10:16:03 AM UTC, comment #4: 

The movie keeps adding new unnamed instances very quickly, which fills up the string table with strings. This is where the (now slowly) increasing memory comes from; it's not a leak any more.

This is a result of AVM2 being unimplemented, and there's nothing much we can do about it (it's also possible for SWFs to use up memory deliberately if they choose).

Benjamin Wolsey <bwy>
Group Member
Thu 24 Feb 2011 12:14:35 AM UTC, comment #3: 

Memory usage keeps growing with small amounts, 100kb every 15 sec or so. So I think the leaking is always there

Hicham HAOUARI <hichamhaouari>
Group Member
Wed 23 Feb 2011 08:43:04 AM UTC, comment #2: 

Memory seems stable to me now.

Sandro Santilli <strk>
Group Member
Fri 18 Feb 2011 03:59:09 PM UTC, comment #1: 

Leaky leaky fonts in TextRecord and TextField. Should be an easy fix.

Benjamin Wolsey <bwy>
Group Member
Fri 18 Feb 2011 03:15:19 PM UTC, original submission:  

original bug report is at https://bugzilla.redhat.com/show_bug.cgi?id=633930


how to reproduce :
1- gnash http://www.shoutcast.com/shoutcast-cdn/flash/basePlayer_V19.swf
2- wait about one minute, see the memory usage increase rate
3- in terminal you would see :

terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Aborted (core dumped)


Hicham HAOUARI <hichamhaouari>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by strk (Posted a comment)
  • -email is unavailable- added by bjacques (Updated the item)
  • -email is unavailable- added by bwy (Updated the item)
  • -email is unavailable- added by hichamhaouari (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-02-24 bwy StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2011-02-18 bjacques CategoryNone core
        Severity3 - Normal 5 - Blocker
        ReleaseNone master
        Assigned toNone bwy
    2011-02-18 bwy StatusNone Ready For Test
    2011-02-18 bwy Summaryabort o Abort after bad_alloc

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code