[mythtv] [PATCH] DvbChannel channel change crash
Kenneth Aafløy
lists at kenneth.aafloy.net
Thu Sep 1 00:15:31 UTC 2005
Hi!
Valgrind told me that:
==18266==
==18266== Syscall param ioctl(generic) points to unaddressable byte(s)
==18266== at 0x1D569544: ioctl (in /lib/tls/libc-2.3.5.so)
==18266== by 0x1BF6EF71: DVBChannel::Tune(dvb_channel_t const&, bool)
(dvbchannel.cpp:550)
==18266== Address 0x1 is not stack'd, malloc'd or (recently) free'd
==18266==
==18266== Invalid write of size 4
==18266== at 0x1D0E73C8: QDateTime::currentDateTime()
(in /usr/lib/libqt-mt.so.3.3.4)
==18266== by 0x1BF6EFAB: DVBChannel::Tune(dvb_channel_t const&, bool)
(dvbchannel.cpp:553)
==18266== Address 0xFFFFFF0F is not stack'd, malloc'd or (recently) free'd
==18266==
==18266== Process terminating with default action of signal 11 (SIGSEGV)
==18266== Access not within mapped region at address 0xFFFFFF0F
==18266== at 0x1D0E73C8: QDateTime::currentDateTime()
(in /usr/lib/libqt-mt.so.3.3.4)
==18266== by 0x1BF6EFAB: DVBChannel::Tune(dvb_channel_t const&, bool)
(dvbchannel.cpp:553)
==18266==
which attached patch works around in addition to removing a ugly cast.
Kenneth
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dvbchannel.patch
Type: text/x-diff
Size: 1590 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050901/73fa88c5/dvbchannel.bin
More information about the mythtv-dev
mailing list