[mythtv-users] mythbackend crashes every 6-7 hours

Gavin Hurlbut gjhurlbu at gmail.com
Mon Nov 1 23:50:27 UTC 2010


==23546== 1,063,660,288 bytes in 1,038,841 blocks are possibly lost in
loss record 4,125 of 4,125
==23546==    at 0x402760A: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==23546==    by 0x5E29F1A: qMalloc(unsigned int) (in
/usr/lib/libQtCore.so.4.6.3)
==23546==    by 0x5E7DEAE: QString::realloc(int) (in
/usr/lib/libQtCore.so.4.6.3)
==23546==    by 0x5E7EB65: QString::resize(int) (in /usr/lib/libQtCore.so.4.6.3)
==23546==    by 0x5E81CB2: QString::expand(int) (in /usr/lib/libQtCore.so.4.6.3)
==23546==    by 0x5E81E02: QString::insert(int, QChar const*, int) (in
/usr/lib/libQtCore.so.4.6.3)
==23546==    by 0x5EA52C2:
QAbstractFileEngineIterator::currentFilePath() const (in
/usr/lib/libQtCore.so.4.6.3)
==23546==    by 0x5EA5371:
QAbstractFileEngineIterator::currentFileInfo() const (in
/usr/lib/libQtCore.so.4.6.3)
==23546==    by 0x5EFB4F9: ??? (in /usr/lib/libQtCore.so.4.6.3)
==23546==    by 0x5EB3906: ??? (in /usr/lib/libQtCore.so.4.6.3)
==23546==    by 0x5EB3AAC: QDirIterator::next() (in /usr/lib/libQtCore.so.4.6.3)
==23546==    by 0x5EAFC36: QDir::entryInfoList(QStringList const&,
QFlags<QDir::Filter>, QFlags<QDir::SortFlag>) const (in
/usr/lib/libQtCore.so.4.6.3)
==23546==

OK.  I have a question.

Your video directory (as configured non-storage group)...  does it
have any symlinks in it that would possibly cause a cycle...  or do
you have many many files?   It seems you are in an infinite loop
filling memory.

This is not normal :)

If you are not sure what I mean...  then do:

find /data2 -type l > /tmp/data2.txt

And then check each of the reported links.  If any of them are -> . or
-> .. or the like, that could be a serious issue.


More information about the mythtv-users mailing list