In message <[EMAIL PROTECTED]>
Nick Craig-Wood <[EMAIL PROTECTED]> wrote:
> On Wed, Feb 16, 2005 at 03:34:08PM +0200, Antti Siiskonen wrote:
>> I compiled libmysqlclient with debug symbols on and did some more
>> digging with various debugging tools and google and to me it seems that
>> someone is calling free() twice. Mythbackend is too large to be
>> debugged with njamd or most tools so I can't find the real reason for
>> this segfault. Any help still appreciated.
>
> You could try valgrind. I valgrind-ed our largest product at work (a
> few hundred thousand lines of C++) which nothing has ever been able to
> do before. It didn't run very quickly but it did work and I found all
> sorts of nasties. Unfortunately I'm not sure valgrind works very well
> with threaded programs.
It should work fine with threaded programs. The CVS code might be
better as it uses the system threading library instead of replacing
it.
Tom
--
Tom Hughes ([EMAIL PROTECTED])
http://www.compton.nu/
_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users