[mythtv] libqt versions

Ian Latter ian.latter at midnightcode.org
Fri Jan 12 06:19:51 UTC 2007


Hello,


Quick question;

  Will myth 0.20 run on qt4?


Long question;

  Ironically, last weekend I had an odd brown out that pulsed
the power in the place enough to reboot most of my 
equipment.  I lost files stored on the frontend and last night I
realised that, with a little investigation, my recent commflagging
problems had probably come from a database corruption that
had gone unnoticed, but probably occurred in the same event.
  (Jesse, the mysql prescribed "mysqlcheck -r mythconverge" 
worked fine for me).

  I have consequently spent much additional time in my mysql
and myth backend logs, and this afternoon, mythbackend 
crashed between log checks with the following glibc trace;

2007-01-12 14:44:12.379 EITScanner: Added 8 EIT Events
2007-01-12 14:45:47.067 MainServer::HandleAnnounce Monitor
2007-01-12 14:45:47.072 adding: jupiter2 as a client (events: 0)
2007-01-12 14:45:47.073 MainServer::HandleAnnounce Monitor
2007-01-12 14:45:47.074 adding: jupiter2 as a client (events: 1)
*** glibc detected *** /usr/bin/mythbackend: malloc(): memory corruption (fast): 0x08299c77
***
======= Backtrace: =========
/lib/libc.so.6[0xb1ae55]
/lib/libc.so.6(__libc_malloc+0x7e)[0xb1bd2e]
/usr/lib/libstdc++.so.6(_Znwj+0x27)[0x3c8d27]
/usr/lib/qt-3.3/lib/libqt-mt.so.3(_ZN7QGArray7newDataEv+0x1e)[0x439a8d1e]
/usr/lib/qt-3.3/lib/libqt-mt.so.3(_ZN7QGArrayC2Ev+0x2d)[0x439a90bd]
/usr/lib/qt-3.3/lib/libqt-mt.so.3(_ZN13QRegExpEngineC1ERK7QStringb+0x115)[0x439c5e15]
/usr/lib/qt-3.3/lib/libqt-mt.so.3[0x439c6195]
/usr/lib/qt-3.3/lib/libqt-mt.so.3(_ZNK7QRegExp13prepareEngineEv+0xc2)[0x439c6c42]
/usr/lib/qt-3.3/lib/libqt-mt.so.3(_ZNK7QRegExp21prepareEngineForMatchERK7QString+0x22)
[0x439c6f92]
/usr/lib/qt-3.3/lib/libqt-mt.so.3(_ZNK7QRegExp6searchERK7QStringiNS_9CaretModeE+0x2f)
[0x439c717f]
/usr/lib/qt-3.3/lib/libqt-mt.so.3(_ZNK7QRegExp6searchERK7QStringi+0x33)[0x439c7263]
/usr/lib/qt-3.3/lib/libqt-mt.so.3(_ZN9QSqlQuery7prepareERK7QString+0x333)[0x4394a4b3]
/usr/lib/libmyth-0.20.so.0(_ZN9MSqlQuery7prepareERK7QString+0x61)[0x43fb9c51]
/usr/bin/mythbackend[0x8068952]
[0x32a57a8]
======= Memory map: ========
[... etc ...]

  While crashes are typical, this log entry doesn't appear to
be.

  I was going to valgrind mythbackend in the hopes of 
catching the memory fault, but I figured that I might be able 
to upgrade my way out of this - as that trace makes it look 
like this (particular) crash was a libqt memory handling
fault -- assuming that mythbackend didn't pass a dodgy 
buffer to that SqlQueryPrepare code ...  hmm .. maybe I 
should still run valgrind.

  There was recent posting RE libqt 4 and support for qt 3 .. 
but it was about wide Linux distribution support.  Can I run 
Myth 0.20 on a qt4 library set without fear or favour?

  I currently run qt packages of "1:3.3.7-0.1.fc6", which 
seem to be the latest available to me for the v3 series. I can 
get into a qt4 at "4.2.1-3.fc6".


Thanks,



--
Ian Latter
Late night coder ..
http://midnightcode.org/


More information about the mythtv-dev mailing list