[mythtv] free(): invalid pointer: in mythfrontend

Martin Long martin.long at rozel.net
Sat Sep 16 17:45:31 UTC 2006


Hi,

Getting some problems with mythfrontend - this is the latest from the
.20 branch. Frontend log as below:

Fontconfig warning: line 151: invalid edit binding "same"
Fontconfig warning: line 157: invalid edit binding "same"
Fontconfig warning: line 163: invalid edit binding "same"
Fontconfig error: "conf.d", line 1: no element found
2006-09-16 17:55:11.867 Using runtime prefix = /usr
2006-09-16 17:55:11.879 DPMS is disabled.
2006-09-16 17:55:11.907 New DB connection, total: 1
2006-09-16 17:55:11.912 Connected to database 'mythconverg' at host:
localhost
2006-09-16 17:55:11.915 Total desktop dim: 640x480, with 1 screen[s].
2006-09-16 17:55:11.920 Using screen 0, 640x480 at 0,0
2006-09-16 17:55:12.147 Current Schema Version: 1160
2006-09-16 17:55:12.148 mythfrontend version: 0.20.20060828-3
www.mythtv.org
2006-09-16 17:55:12.149 Enabled verbose msgs:  important general
2006-09-16 17:55:12.902 Total desktop dim: 640x480, with 1 screen[s].
2006-09-16 17:55:12.905 Using screen 0, 640x480 at 0,0
2006-09-16 17:55:12.906 Switching to square mode (Iulius)
*** glibc detected *** free(): invalid pointer: 0xbff2a664 ***
Aborted


I've done some debugging and narrowed it down to the MythMainWindow
constructor. I'm getting debug output before calling this, but nothing
inside it, so I'm guessing it's during the initialisation of QWidget,
here: 


MythMainWindow::MythMainWindow()
              : QWidget(NULL, "mainWindow")

Anyone have any ideas. This just started happening. I'd been playing
about with the RT thread priority, then reverted the source back to SVN,
then this happened. 

Obviously I don't have the QWidget source to debug this, but I guess
that should be my next step. 

The only changes I've made are to apply the
ringBufferSwitchRaceConditionFix.diff patch, and also my own patch to
increase the font sizes (my TV has VGA). However, I've just confimed,
I've undone these patches, and compared with SVN, and it still behaves
the same. 

Anyone have any ideas?

Martin



More information about the mythtv-dev mailing list