[mythtv] Strange backtrace from mythtranscode crash

Paul Gardiner lists at glidos.net
Sun Oct 9 16:05:38 UTC 2011


On 01/10/2011 18:36, Jean-Yves Avenard wrote:
> 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)

I've fixed it and opened Ticket #10084 with a link to my git fork
with the relevant commits.

Cheers,
	Paul.


More information about the mythtv-dev mailing list