gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-dev] Not enough storage was allocated to hold the appended data!


From: strk
Subject: [Gnash-dev] Not enough storage was allocated to hold the appended data!
Date: Tue, 18 Nov 2008 21:55:20 +0100

I've naively fixed the previous problem by avoiding the
stack allocation of Elemtn.
Now, next problem is amf::Buffer throwing this exception:

Not enough storage was allocated to hold the appended data!

#5  0x00007ff7e3b9518a in __cxa_throw () from /usr/lib/libstdc++.so.6
#6  0x00007ff7e4291220 in amf::Buffer::append (this=0x62c8a0,
    data=<value optimized out>, nbytes=<value optimized out>) at buffer.cpp:208
#7  0x00007ff7e42912e9 in amf::Buffer::operator+= (this=0x62c8a0,
    buf=<value optimized out>) at buffer.cpp:350
#8  0x00007ff7e4289372 in amf::AMF::encodeElement (address@hidden)
    at amf.cpp:526
#9  0x00007ff7e4295212 in amf::Element::encode (this=0x62c900)
    at element.cpp:402
#10 0x00007ff7e4510d41 in gnash::RTMPClient::encodeConnect (

>From the code I understand amf::Buffer::append does NOT
do reallocation. Is caller responsible for reallocations
then ? Which Buffer method should caller use to reallocate ?

--strk; 

 ()   ASCII Ribbon Campaign
 /\   Keep it simple! 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]