AW: [vdr] *** glibc detected *** double free or corruption
1.4.2-1 Patch
martin
martin at air-maxx.net
Mon Sep 4 19:01:27 CEST 2006
SUCCESS! This was the problem -> @Klaus: can you please incorporate the
changes in the next patch?
Thanks,
Martin
-----Ursprüngliche Nachricht-----
Von: vdr-bounces at linuxtv.org [mailto:vdr-bounces at linuxtv.org] Im Auftrag von
Udo Richter
Gesendet: Montag, 4. September 2006 18:47
An: VDR Mailing List
Betreff: Re: [vdr] *** glibc detected *** double free or corruption 1.4.2-1
Patch
Udo Richter wrote:
I think I've found it:
This is line 1127 of svdrp.c:
cTimer t = *timer;
Although this looks like it calls cTimer::operator=, it actually calls the
default copy constructor of cTimer, because in this case = is not an
assignment, but an initialization. Because of that, the aux field is used by
both objects, thus the double free. Try this line to see if it causes this:
cTimer t;
t = *timer;
Cheers,
Udo
_______________________________________________
vdr mailing list
vdr at linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
More information about the vdr
mailing list