[mythtv] free(): invalid pointer: in mythfrontend
martin.long at rozel.net
Sat Sep 16 18:01:41 UTC 2006
Oh... forgot to mention, about 1 in 10 times it starts correctly.
Thought it might be a race condition, but I reckon there probably no
other threads yet here right?
From: Martin Long [mailto:martin.long at rozel.net]
Sent: 16 September 2006 18:46
To: 'Development of mythtv'
Subject: free(): invalid pointer: in mythfrontend
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:
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
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 ***
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,
: 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
Anyone have any ideas?
More information about the mythtv-dev