[mythtv] Strange backtrace from mythtranscode crash

Jean-Yves Avenard jyavenard at gmail.com
Sat Oct 1 17:36:15 UTC 2011


Hi

On 2 October 2011 03:43, Paul Gardiner <lists at glidos.net> wrote:

> Note also the value of "this" for level #1. Anyone seen anything like
> this before? I wonder if something previously has made a random write
> to memory and screwed up the stack maybe. If that were the case, how
> is it best traced?

In
            bufsize += len - freebuf;
            unsigned char *tmpbuf = new unsigned char[bufsize];
            memcpy(tmpbuf, audiobuffer, audiobuffer_len);
            delete [] audiobuffer;
            audiobuffer = tmpbuf;

May be worth tracing bufsize vs audiobuffer_len (though by the look of
things it should always be greater)


More information about the mythtv-dev mailing list