On Thu, Feb 17, 2005 at 09:03:07AM +0000, Tom Hughes wrote:
> In message <[EMAIL PROTECTED]>
> Nick Craig-Wood <[EMAIL PROTECTED]> wrote:
>
> > On Wed, Feb 16, 2005 at 03:34:08PM +0200, Antti Siiskonen wrote:
> >> debugged with njamd or most tools so I can't find the real reason for
> >> this segfault. Any help still appreciated.
> >
> > 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 seems that I can't repeat the same spontaneous segfault under
valgrind. However after some fiddling with live tv valgrind said:
==22813== Thread 9:
==22813== Mismatched free() / delete / delete []
==22813== at 0x1B903579: operator delete(void*)
(vg_replace_malloc.c:156)
==22813== by 0x1BD59AC6: DVBRecorder::~DVBRecorder()
(dvbrecorder.cpp:100)
==22813== by 0x1BD0AB9E: TVRec::TeardownRecorder(bool)
(tv_rec.cpp:752)
==22813== by 0x1BD09E92: TVRec::HandleStateChange() (tv_rec.cpp:629)
==22813== Address 0x1D4E1E58 is 0 bytes inside a block of size 188
alloc'd
==22813== at 0x1B903246: operator new[](unsigned)
(vg_replace_malloc.c:139)
==22813== by 0x1BD5949F: DVBRecorder::DVBRecorder(DVBChannel*)
(dvbrecorder.cpp:88)
==22813== by 0x1BD0A2CA: TVRec::SetupRecorder(RecordingProfile&)
(tv_rec.cpp:688)
==22813== by 0x1BD095E7: TVRec::HandleStateChange() (tv_rec.cpp:555)
Also mythtv log says a lot of these
2005-02-17 17:39:45.007 DVB#0 ERROR - Reading Section.
(75) Value too large for defined data type
which I didn't see before (without valgrind).
--
//Antti
_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users