[mythtv-users] DVD Playback crashing in 0.24-fixes -- workaround

Mark Lord mythtv at rtr.ca
Mon Apr 2 03:14:08 UTC 2012


On 12-04-01 02:32 PM, Jim Stichnoth wrote:
> On Sun, Apr 1, 2012 at 11:19 AM, Mark Lord <mythtv at rtr.ca> wrote:
>>
>> The crashes happen with/without VDPAU, and there have been many tickets
>> (from others) reporting the issue, but no resolution.
>>
>> I suspect a race between MythDVDPlayer::GetBookmark() and other parts of the player.
>> Saving bookmarks doesn't seem to cause trouble, just retrieving the first one
>> on resume of playback.  This leads to internal heap corruption in libc++,
>> and then subsequent crashes in unrelated sections of code.
>>
>> The code there does seem simple enough.  Some experienced C++ eyeballs
>> ought to be able to spot the bug.
> 
> Mark,
> 
> I've seen several of these tickets, but I can't reproduce the crashing
> on my system (either because I'm running Master instead of 0.24, or
> more likely because of some difference on my system).  If you can
> reproduce the crash reliably, could you try running valgrind on it?
> Something like:
>     valgrind --leak-check=yes mythfrontend ...

Well, that was amusing.  Valgrind literally complained of hundreds of errors
just in mythfrontend startup before the mainmenu got displayed.
At which point mythfrontend crashed back the desktop, without me ever
pushing a button or even getting close to the DVD player.

I wonder if "The Devs" ever run this on a beta/rc version before release?

Cheers


More information about the mythtv-users mailing list