[confirm] Crash if HDMI signal is lost while playing Live TV (1 Viewer)

kkozma

Portal Pro
February 16, 2009
189
6
Dayton, OH
Home Country
United States of America United States of America
This is very easy to re-produce on a system where the TV is connected to the PC via HDMI. Start playing Live TV and turn your TV off. MP will crash every single time without fail. I do not have videos configured in my MP install but I do have moving pictures set up so I tested the internal player with that. MP does not crash while playing a video, but it hangs indefinitely and I had to stop the task to get out of MP.

This is not the first time I've seen a very similar issue. It goes all the way back to MP 1.0. Tourettes fixed it for me back then by creating a new core.dll which stopped playback in the event that the HDMI signal was lost.

The logs titled with the suffix of DEBUG MODE were created with no plugins installed and should show where mp crashed when I switched inputs. The logs titled with SKIN MODE as a suffix is what happens when playing a video.
 

kkozma

Portal Pro
February 16, 2009
189
6
Dayton, OH
Home Country
United States of America United States of America
I did fill all that stuff out but I didn't realize it had to be enabled.

I'll do that now, but for the sake of the discussion, this is purely an Intel machine. Core i3 530 Clarkdale for graphics and sound.
 

kkendall

Portal Pro
April 24, 2007
864
16
44
Gouda
Home Country
Netherlands Netherlands
I experience the same here!
My girlfriend often goes to bed later than me so I thought she did something wrong, until I noticed that everytime MP had crashed the next morning, a frozen tv frame was showing.
So this post here made me realize that that is the case with me too. When we go to bed we always turn off the tv with the button on the tv (so no juice anymore for my tv). If my amp is still on you can hear the sound thats playing when a piece of hardware is detached.
If MP is still running live tv when turning the tv off, the next morning it's crashed and frozen on a tv frame.
 

kkozma

Portal Pro
February 16, 2009
189
6
Dayton, OH
Home Country
United States of America United States of America
I experience the same here!
My girlfriend often goes to bed later than me so I thought she did something wrong, until I noticed that everytime MP had crashed the next morning, a frozen tv frame was showing.
So this post here made me realize that that is the case with me too. When we go to bed we always turn off the tv with the button on the tv (so no juice anymore for my tv). If my amp is still on you can hear the sound thats playing when a piece of hardware is detached.
If MP is still running live tv when turning the tv off, the next morning it's crashed and frozen on a tv frame.

I noticed that both of us are using SAF for TV whereas Ray is using the Microsoft codec... I wonder if that makes a difference? I can't test right now, but I will after work.
 

Paranoid Delusion

Moderation Manager
  • Premium Supporter
  • June 13, 2005
    13,062
    2,978
    Cheshire
    Home Country
    United Kingdom United Kingdom
    I noticed that both of us are using SAF for TV whereas Ray is using the Microsoft codec.

    The graph in your logs say M$ for video, ffdshow for audio.

    Not sure what is happening, but if it only ever happens when TV is turned off, then it may well be hardware\driver related or its windows service, if it has one.

    Your mediaportal log just dies whilst disposing graph without shutting down as normal, last thing tverser log shows is

    2010-06-21 19:20:33.119057 [TS_File_Cleanup(4)]: card: delete timeshift files G:\Timeshift\live2-0.ts
    2010-06-21 19:20:33.121057 [TS_File_Cleanup(4)]: card: trying to delete G:\Timeshift\live2-0.ts.tsbuffer
    2010-06-21 19:20:38.121343 [TS_File_Cleanup(4)]: card: delete timeshift files G:\Timeshift\live2-0.ts
    2010-06-21 19:20:38.122343 [TS_File_Cleanup(4)]: card: trying to delete G:\Timeshift\live2-0.ts.tsbuffer
    2010-06-21 19:20:43.122629 [TS_File_Cleanup(4)]: card: delete timeshift files G:\Timeshift\live2-0.ts
    2010-06-21 19:20:43.123629 [TS_File_Cleanup(4)]: card: trying to delete G:\Timeshift\live2-0.ts.tsbuffer

    Which I take is the frozen picture seen.

    There is no error log and even tvserver error log is empty :confused:
     

    kkozma

    Portal Pro
    February 16, 2009
    189
    6
    Dayton, OH
    Home Country
    United States of America United States of America
    I figured it out! It's ffdshow audio causing it. I have mine configured for HD audio passthrough of DD, DTS, TrueHD, DTS MA, etc etc. If I disable that and my HDMI signal is lost, MP behaves as expected in that playback is stopped.

    So, I'm pretty sure this won't have much to do with MP itself more than a bug with ffdhsow, although I could be wrong maybe there's a more graceful way of stopping playback or something.

    I'm going to load the latest SAF and see if this is something that's been addressed. If not, I'll head over to doom9 and report it there.

    No dice on the latest version of SAF...
     

    kkendall

    Portal Pro
    April 24, 2007
    864
    16
    44
    Gouda
    Home Country
    Netherlands Netherlands
    maybe also report it in the SAF forum section? :) Maybe they can figureout a workaround
     

    Users who are viewing this thread

    Top Bottom