[not reproducible] TS files sometimes crash explorer (1 Viewer)

DreadFury

Portal Pro
June 28, 2009
252
14
Home Country
United States of America United States of America
I not only have remaining files, but I sometimes have files left behind that crash explorer...
These leftover files can not be deleted at all, if I even highlight the file in explorer, then explorer crashes.

I can restart the computer and try again but get the same result.

the only choice I have left is to format the entire drive, which finally removes these rouge files. (.ts files)

I still have one of these files on my main system disk from long ago, I was doing some testing and used a local folder for timeshifting on my system drive.
One of these 'rouge' files appeared, and to this day it is still there, and any attempt to even look at the file crashes explorer...

I don't have logs, and I don't know if it would show anything, but if it happens again and I catch it at the right time, I will provide logs of the last attempt MP tried to do anything with them.

I also can not provide a sample of the file because of the explorer crash problem...

Is this a known issue?
 

tourettes

Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Re: Timeshifting files not being deleted, causing TV to stop working

    I can confirm I have this issue too.
    I not only have remaining files, but I sometimes have files left behind that crash explorer...
    These leftover files can not be deleted at all, if I even highlight the file in explorer, then explorer crashes.

    Make sure haali is not set to generate thumbnails for explorer. Sounds like you are seeing an issue outside the MP.
     

    DreadFury

    Portal Pro
    June 28, 2009
    252
    14
    Home Country
    United States of America United States of America
    Re: Timeshifting files not being deleted, causing TV to stop working

    I can confirm I have this issue too.
    I not only have remaining files, but I sometimes have files left behind that crash explorer...
    These leftover files can not be deleted at all, if I even highlight the file in explorer, then explorer crashes.

    Make sure haali is not set to generate thumbnails for explorer. Sounds like you are seeing an issue outside the MP.


    I will look at the splitter to confirm, but since it was only mp-created ts files repeatedly having this issue, I thought I would mention it.

    Thanks!
     

    DreadFury

    Portal Pro
    June 28, 2009
    252
    14
    Home Country
    United States of America United States of America
    Re: Timeshifting files not being deleted, causing TV to stop working

    I can confirm I have this issue too.
    I not only have remaining files, but I sometimes have files left behind that crash explorer...
    These leftover files can not be deleted at all, if I even highlight the file in explorer, then explorer crashes.

    Make sure haali is not set to generate thumbnails for explorer. Sounds like you are seeing an issue outside the MP.

    After confirming haali wasn't set to generate thumbs, I looking into this deeper.

    The problem lies with tsreader.ax.

    I checked the crash report from explorer and it claimed the fault was in module tsreader.ax.

    So, I went ahead and remove tsreader.ax from the mediaportal directory and the problem vanished.
    I was also able to delete that file that has been stuck for months on my system drive.
    after removing all the files that were the problem, I places tsreader.ax back into the MP directory.

    Why does tsreader hook into explorer? what is it trying to do that makes it lock up and crash?
    Is this related to it doing cleanups?

    By the way, the crash completely wipes the tsreader.log clean and starts over, so I can't provide logs.
    I tried several times and watched as it would completely erase the log and start over.

    I had 10 different logs open in notepad at once for each time i tried, they all were different and didn't contain earlier information, it just shows initialization.

    So to sum up:
    Something appears to be off with tsreader.ax that causes explorer crashes and log wipes.
    This is triggered by highlighting the file in explorer, then tsreader kicks in to do whatever it is doing and BAM.

    Again, this is on random .ts files written from MP only.

    Here is what the tsreader.log shows after it has been wiped:

    Code:
    03-03-2010 02:43:49.741 [7e4]-------------- v1.2.9 ----------------
    03-03-2010 02:43:49.741 [7e4]CTsReaderFilter::ctor
    03-03-2010 02:43:49.741 [7e4]CRTSPClient::Initialize()
    03-03-2010 02:43:49.741 [7e4]CRTSPClient::createClient()
    03-03-2010 02:43:49.741 [7e4]Slow motion video allowed during zapping
    03-03-2010 02:43:49.741 [7e4]Wait for seeking to eof - false - constructor
    03-03-2010 02:43:49.772 [7e4]CTsReaderFilter::Load()
    03-03-2010 02:43:49.772 [7e4]OnNewChannel pat version:-1->1
    03-03-2010 02:43:49.772 [7e4]demux:flushing
    03-03-2010 02:43:49.772 [7e4]demux:set hold audio:1
    03-03-2010 02:43:49.772 [7e4]demux:set hold video:1
    03-03-2010 02:43:49.772 [7e4]demux:set hold subtitle:1
    03-03-2010 02:43:49.772 [7e4]demux:flush audio
    03-03-2010 02:43:49.772 [7e4]demux:flush video
    03-03-2010 02:43:49.772 [7e4]demux:flush subtitle
    03-03-2010 02:43:49.772 [7e4]demux:set hold audio:0
    03-03-2010 02:43:49.772 [7e4]demux:set hold video:0
    03-03-2010 02:43:49.772 [7e4]demux:set hold subtitle:0
    03-03-2010 02:43:49.772 [7e4]New channel found (PAT/PMT/SDT changed)
    03-03-2010 02:43:49.772 [7e4] pcr      pid:   30 
    03-03-2010 02:43:49.772 [7e4] pmt      pid:   20 
    03-03-2010 02:43:49.772 [7e4] video    pid:   30 type: H264
    03-03-2010 02:43:49.772 [7e4] audio    pid:   40 language: UNK type: AC3
    03-03-2010 02:43:49.772 [7e4]Setting initial audio index to : 0
    03-03-2010 02:43:49.772 [7e4]New Audio 129
    03-03-2010 02:43:49.803 [7e4]DeMultiplexer: 30 video format changed: res=720x480 aspectRatio=16:9 fps=62 isInterlaced=0
    03-03-2010 02:43:49.803 [7e4]DeMultiplexer: triggering OnVideoFormatChanged
    03-03-2010 02:43:49.803 [7e4]demux:flushing
    03-03-2010 02:43:49.803 [7e4]demux:set hold audio:1
    03-03-2010 02:43:49.803 [7e4]demux:set hold video:1
    03-03-2010 02:43:49.803 [7e4]demux:set hold subtitle:1
    03-03-2010 02:43:49.803 [7e4]demux:flush audio
    03-03-2010 02:43:49.803 [7e4]demux:flush video
    03-03-2010 02:43:49.803 [7e4]demux:flush subtitle
    03-03-2010 02:43:49.803 [7e4]demux:set hold audio:0
    03-03-2010 02:43:49.803 [7e4]demux:set hold video:0
    03-03-2010 02:43:49.803 [7e4]demux:set hold subtitle:0
    03-03-2010 02:43:49.803 [7e4]start:0 end:441338 49.570000
    03-03-2010 02:43:49.803 [7e4]aud:CompleteConnect()
    03-03-2010 02:43:49.819 [7e4]aud:CompleteConnect() done


    Thanks!
     

    Paranoid Delusion

    Moderation Manager
  • Premium Supporter
  • June 13, 2005
    13,062
    2,978
    Cheshire
    Home Country
    United Kingdom United Kingdom
    Just as a further note, the Dev responsible for Haali, is dropping thumbnail support, as it causes too many side issues, chances are that in future editions this will not be a option any way.
     

    infinite.loop

    Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,163
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    Re: Timeshifting files not being deleted, causing TV to stop working

    Why does tsreader hook into explorer? what is it trying to do that makes it lock up and crash?
    Its all DirectShow.

    Explorer wants to create a thumbail. So it needs to open that ts file.
    To open it you need a splitter. For a mkv, this is the HAALI Splitter, for a *.ts its the TsReader.ax which will be inserted into a DirectShow graph. If you have an other TS splitter filter on your system with a higher merit, then that one would be used (you can change HAALI Spliter merit to achive that)
    Why your explorer.exe then crashes (it does not here on WinXp and W7) is a good question, especially if you can play that ts file without issues inside MP. :confused:
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Re: Timeshifting files not being deleted, causing TV to stop working

    especially if you can play that ts file without issues inside MP. :confused:

    I could be a bug in TsReader.ax that is triggered when explorer is not connecting the audio pin (just a guess). As a workaround TsReader's merit should be changed to "DO NOT USE" (or what was it). It should then make directshow to load up the filter when application explicitly requests it to be used.
     

    infinite.loop

    Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,163
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    Re: Timeshifting files not being deleted, causing TV to stop working

    especially if you can play that ts file without issues inside MP. :confused:

    I could be a bug in TsReader.ax that is triggered when explorer is not connecting the audio pin (just a guess). As a workaround TsReader's merit should be changed to "DO NOT USE" (or what was it). It should then make directshow to load up the filter when application explicitly requests it to be used.
    Well, I would only do that if at least someone is able to reproduce that issue - but noone can so far?
     

    DreadFury

    Portal Pro
    June 28, 2009
    252
    14
    Home Country
    United States of America United States of America
    Re: Timeshifting files not being deleted, causing TV to stop working

    Why does tsreader hook into explorer? what is it trying to do that makes it lock up and crash?
    Its all DirectShow.

    Explorer wants to create a thumbail. So it needs to open that ts file.
    To open it you need a splitter. For a mkv, this is the HAALI Splitter, for a *.ts its the TsReader.ax which will be inserted into a DirectShow graph. If you have an other TS splitter filter on your system with a higher merit, then that one would be used (you can change HAALI Spliter merit to achive that)
    Why your explorer.exe then crashes (it does not here on WinXp and W7) is a good question, especially if you can play that ts file without issues inside MP. :confused:

    This happens on random .ts files, not every single one.
    the problem files do not work in mp and cause timeshift errors constantly in mp.
    "cannot star stream 2.0" etc...

    I already tried altering the merit and even tried to unregister tsreader.ax completely, but it does not show up in any codec lists or in ffds merits anywhere?

    tswriter is there, but there is no sign of tsreader.

    especially if you can play that ts file without issues inside MP. :confused:

    I could be a bug in TsReader.ax that is triggered when explorer is not connecting the audio pin (just a guess). As a workaround TsReader's merit should be changed to "DO NOT USE" (or what was it). It should then make directshow to load up the filter when application explicitly requests it to be used.
    Well, I would only do that if at least someone is able to reproduce that issue - but noone can so far?

    I can on several computers, could it be because of the cards i use and the USA standards the files are being written under?
     

    Users who are viewing this thread

    Top Bottom