INTERACT FORUM

Windows => Television => Topic started by: robt on April 29, 2018, 04:00:09 am

Title: Problem with EPG update in v 24 (MC crashes) [FIXED]
Post by: robt on April 29, 2018, 04:00:09 am
Hi

Since installing 24, I have found on the last few mornings that my server machine is hanging with an error message saying that MC has crashed. MC is set to wake and update the TV epg (over the air - UK Freeview) at 0100 each morning so its waking to do that and then crashing which then prevents the machine from returning to sleep.

I have just tried a manual update and had the same result, it seemed to complete the update and then crashed.
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: Yaobing on April 29, 2018, 08:24:20 am
Send me a log.  I am not seeing any crashes like that, so I wonder whether it is related to DVB over-the-air epg scan.
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: robt on April 29, 2018, 10:15:56 am
Ok, will do.
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: robt on April 29, 2018, 12:03:07 pm
Here is my most recent log including a crash.

https://1drv.ms/t/s!Ai-1deBMEUdip3or3U3QU3K3SVWT (https://1drv.ms/t/s!Ai-1deBMEUdip3or3U3QU3K3SVWT)

Hope you can access this as it was too large to attach to this post.
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: Yaobing on April 29, 2018, 04:22:33 pm
Your log file does not contain any EPG scan related code.  If you restarted after a crash, you should give me "Previous Log.txt" not "Log.txt", or give me both.  Better yet you should send the entire zipped package created by clicking "Report problem..." button.

https://wiki.jriver.com/index.php/Logging
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: robt on April 30, 2018, 12:17:19 am
I had the same situation this morning and tried a reinstall before I read your message.

Ive attached the latest log report but the reinstall may have deleted the relevant section.

Here is what I have, if its not helpful I will generate another later today.

Thanks
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: Yaobing on April 30, 2018, 08:25:13 am
Still incorrect.  You provided logs that were collected after multiple restarts of MC.  All logged events had been lost already.
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: Yaobing on April 30, 2018, 08:28:19 am
Have you tried re-installing MC24?  If you have not, try that first.  Reboot before re-installing, reboot again after re-installation.
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: robt on April 30, 2018, 10:36:50 am
Ok, have tried reinstalling.

Here is a link to todays log, MC was stopped when I returned a few minutes ago.

https://1drv.ms/f/s!Ai-1deBMEUdip3kyAp6ZL10SWJgT (https://1drv.ms/f/s!Ai-1deBMEUdip3kyAp6ZL10SWJgT)
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: Yaobing on April 30, 2018, 04:12:20 pm
OK this time it contains valid log entries.

It shows that TV engine stopped responding during cleanup after EPG scanning.  Unfortunately I am not able to conclude anything more than just that.  I will keep an eye on this.
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: RoderickGI on April 30, 2018, 05:54:03 pm
As you have just installed MC24, do you still have MC23 installed? Have you turned off MC23 starting with Windows? I'm sure you have rebooted the PC since installing MC24, at least after the MC crashes.

I'm thinking both MC23 and MC24 are trying to start an EPG at the same time, or something like that. It is unlikely that both MC23 and MC24 would both keep starting with Windows successfully, but it is possible. Look into that.
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: robt on May 01, 2018, 12:17:37 am
Thanks.

I installed the latest version of 24 last night but same thing, MC had stopped overnight. I have checked and v23 is not running on Windows start, I have both versions set to manually start so I can choose.

I also have 24 running on a NUC (as a client so no epg update) but no issues with that machine. I shall return to v23 for now on the server and wait for updates unless you have any further suggestions?

Happy to supply logs etc if it helps at all.
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: Fangio on May 02, 2018, 10:35:41 am
I normally use EPG Collector, but saw something similar yesterday when I attempted a UK ota epg scan out of interest. I tried it twice. MC crashed during the first scan. I tried again, this time not using the PC during the scan. When I returned to the PC, MC was no longer running. (24.0.20 / 64)
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: Yaobing on May 02, 2018, 04:46:32 pm
Please try this patch:

https://www.dropbox.com/s/e0remd17niexllk/JRTelevision.zip?dl=0

(download, unzip, copy dll to MC24 64-bit installation folder)
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: robt on May 03, 2018, 12:19:44 am
Have installed and started an epg update.

I will report result later today.

Thanks
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: Fangio on May 03, 2018, 10:25:02 am
With the new dll, MC closes itself as it approaches the end of the scan. Showing '119 of 126 complete' before it closed.
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: robt on May 03, 2018, 11:23:50 am
With the new dll, MC closes itself as it approaches the end of the scan. Showing '119 of 126 complete' before it closed.

Same result for me. I installed the new .dll and rebooted. When I arrived home MC had stopped with error message. I restarted and a manual epg update ran, I didnt watch but a few minutes later I found MC had stopped again.

Log files here https://1drv.ms/u/s!Ai-1deBMEUdip3ymbmkqjiA56dES (https://1drv.ms/u/s!Ai-1deBMEUdip3ymbmkqjiA56dES)
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: zonared on May 03, 2018, 03:21:49 pm
Installed new DLL, same result, still crashes towards or at the end of the scan. :(

log here: https://drive.google.com/open?id=1WEzGcBoHM1JPV6xK7ZXSiPo9rMslcUnX (https://drive.google.com/open?id=1WEzGcBoHM1JPV6xK7ZXSiPo9rMslcUnX)
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: Yaobing on May 03, 2018, 03:39:10 pm
Please try this again:

https://www.dropbox.com/s/ajk8kmvdnq5rfls/JRTelevision.zip?dl=0

This will likely hang too, but I hope additional logging will give me some info.
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: robt on May 03, 2018, 04:07:56 pm
As anticipated MC did crash.

Here is the log file

https://1drv.ms/u/s!Ai-1deBMEUdip30F32WpSiBS4Q5V (https://1drv.ms/u/s!Ai-1deBMEUdip30F32WpSiBS4Q5V)
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: robt on May 04, 2018, 10:39:37 am
Yaobing

I edited my last entry and you may not have been notified so, here is a new entry. Log available...
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: zonared on May 04, 2018, 03:28:04 pm
yes it crashed, my log also below:

https://drive.google.com/open?id=1yQNFjBD0_vEdplfop_4KkKvfg4OEgHz3 (https://drive.google.com/open?id=1yQNFjBD0_vEdplfop_4KkKvfg4OEgHz3)
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: jmone on May 04, 2018, 03:59:02 pm
I also have this issue (MC Crashes at towards the end of loading the EPG).  My Log is attached as well (note: I have 2 x EPG loads, one from ICETV and one from DVB-T Scanning).  It appears to be the DVB-T part that causes the crash for me.
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: Yaobing on May 04, 2018, 06:27:39 pm
Thank you all for the logs.  All of them indicate that the program got stuck at exactly the same spot.  That is good since we have some consistency.  The bad news is I don't understand why it happended  :-[ :-[ :-[

It hung when it tried to delete an array of TV channels.

Please try this one, I made some changes (https://www.dropbox.com/s/ti3azj5k8v3ov6r/JRTelevision.zip?dl=0).
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: jmone on May 04, 2018, 06:47:26 pm
Still crashes.  Log attached.
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: JimH on May 04, 2018, 06:52:57 pm
I'm suspicious of security updates in Win 10.
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: tzr916 on May 04, 2018, 10:17:57 pm
No problems with EPG here.
USA comcast, mc2xml with Sch Dir.
Windows 10 64 Pro v1803, Defender, all updates.
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: RoderickGI on May 04, 2018, 10:20:14 pm
No problem using EPG Collector and an XMLTV load either.

It sounds like it is just the OTA EPG collection that fails.
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: Yaobing on May 04, 2018, 10:40:20 pm
So far this is only an issue with OTA EPG scanning in DVB land.  I have only tested ATSC OTA EPG scanning on Windows 7.  I don't know whether there is a problem on Windows 10.  The three people reporting problems (from UK and Australia) all use Windows 10.
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: Yaobing on May 06, 2018, 08:02:32 am
I tested on a Windows 10 machine.  No crash.  So it must be DVB only.

Does it happen with earlier builds of MC24 for you guys?
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: robt on May 06, 2018, 09:50:48 am
For me, yes it has crashed since the first public builds of v24.

Would you like me to turn off the epg update for a bit and see if the crashes stop?
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: JimH on May 06, 2018, 11:29:36 am
In my opinion, it's clearly related to the EPG update.  Turning it off should result in no crashes.
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: Yaobing on May 06, 2018, 03:49:32 pm
What Jim said about turning EPG off. 

Did it not happen at all with MC23?  Maybe something I did at the beginning of MC24.

Nathan, can you test the first few MC24 beta builds please?
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: jmone on May 06, 2018, 03:57:12 pm
FYI - I turned off the DVB-T EPG Collection yesterday and MC did not crash.  I too "think" it was a MC24 thing but I had other crashes issues that Bob has just fixed!  I'll go back through the MC24 Builds and see when it started....
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: jmone on May 06, 2018, 04:19:33 pm
It starts crashing with 24.0.16 (24.0.15 is Fine)
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: jmone on May 06, 2018, 04:23:44 pm
I'm around today if you need anything tested but then off for a few weeks.
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: JimH on May 06, 2018, 04:28:47 pm
Antarctica?
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: jmone on May 06, 2018, 04:31:28 pm
Amazon
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: jmone on May 06, 2018, 04:35:03 pm
As in the Jungle not the Company!

We are going for 5 days in the Andean Mountains, and 5 Days in the Amazon Jungle.
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: JimH on May 06, 2018, 04:46:54 pm
Nice trip.  I hope you all enjoy it.  Send a couple of pictures.
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: Yaobing on May 07, 2018, 06:09:19 pm
Please try this DLL (https://www.dropbox.com/s/sf901p3zwzznigk/JRTelevision.zip?dl=0)
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: robt on May 08, 2018, 12:13:53 am
Done and testing...
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: jmone on May 08, 2018, 01:57:38 am
Run a couple of EPG OTA DVB-T scans with this DLL and all seems good (no crash) for me! :)
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: sjhilton on May 08, 2018, 04:25:05 am
Same for me - no crashes and no errors showing up in event viewer. Thanks for fixing this!
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: Fangio on May 08, 2018, 05:30:12 am
Three OTA EPG scans completed and no crashes (UK DVB-T2). Thanks for the fix.
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: Yaobing on May 08, 2018, 09:24:19 am
Thanks for testing and helping me track down the problem.

It turns out to be a bug that had existed ever since DVB EPG Scanning was introduced.  It was however masked by another bug.  The crash did not happen prior to build 16 because the other bug caused cleanup code to be skipped.
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: robt on May 08, 2018, 11:22:12 am
Just to confirm, my server has updated twice today without issue and is running nicely.

Congratulations and thanks  :)
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: zonared on May 09, 2018, 04:21:36 pm
Thanks you very much, nice work. Fixed for me too.

Will this come out in the next update or do we have to remember to copy over this DLL after the update?
Title: Re: Problem with EPG update in v 24 (MC crashes)
Post by: jmone on May 09, 2018, 05:01:30 pm
It's included in the latest update (out now).  You just need to install it (no need to delete the trial DLL etc).
Title: Re: Problem with EPG update in v 24 (MC crashes) [FIXED]
Post by: JimH on May 09, 2018, 05:17:32 pm
The Latest build is here:
https://yabb.jriver.com/interact/index.php/topic,115860.0.html