After upgrading from 1.0.1 to 1.1.3, WMC crashes

An evolving, supported alternative to Rovi
Forum rules
★ Download the latest EPG123 here: https://garyan2.github.io/ <> Setup guide here: https://garyan2.github.io/install.html
User avatar
garyan2

Posts: 7438
Joined: Fri Nov 27, 2015 7:23 pm
Location:

HTPC Specs: Show details

#21

Post by garyan2 » Tue Mar 14, 2017 10:58 pm

IT Troll wrote:Just a wild stab in the dark. Could it be the episode/series images? That it something which EPG123 adds over the Rovi. Perhaps an underlying problem on the system manifests whilst trying to display these images.

Would in be possible to strip the image references prior to import as a test?
I kind of thought along the same lines which is why I suggested emptying the internet explorer cache. There is no easy method to remove the image references from the mxf file, and even then, you would have to start from scratch again. The image references may be removed from the mxf file, but it is still in the database from the last import.

Also, the image used in the guide is the same image used in the details, and WMC had problems using Rovi without EPG123 data.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

User avatar
IT Troll

Posts: 1172
Joined: Sun Nov 27, 2011 9:42 am
Location: Edinburgh, UK

HTPC Specs: Show details

#22

Post by IT Troll » Tue Mar 14, 2017 11:46 pm

So clearing the cache would delete all the images so there is nothing to display? Or would Media Center just download them again?

It does sound like some third-party viewer or filter is getting in the way to me.
Are you a Recorded TV HD user or want to give it a try? Check out the new community-made update; Recorded TV HD v2.1.1

User avatar
garyan2

Posts: 7438
Joined: Fri Nov 27, 2015 7:23 pm
Location:

HTPC Specs: Show details

#23

Post by garyan2 » Tue Mar 14, 2017 11:53 pm

They would have to be downloaded again which I why I wouldn't expect it to make a difference.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

User avatar
Scallica

Posts: 2797
Joined: Mon Jun 06, 2011 7:09 pm
Location: USA!

HTPC Specs: Show details

#24

Post by Scallica » Thu Mar 16, 2017 6:38 pm

garyan2 wrote:I haven't found anything to lead to a root cause with epg123... considering mine and everyone else's success. This may simply be a WMC, .NET, Windows thing. Was there anything special about the specific listing crashing with just the Rovi data?

My next suggestion would be to clear the Internet Explorer cache (WMC uses it for downloaded images), but I wouldn't expect any difference.

There are quite a few suggestions here, as well.

Pretty much everything I've found focuses on DirectX, video codecs and drivers, .NET frameworks and some have only been resolved by uninstalling WMC and resinstalling.
When using Rovi, the crash only happens when clicking on SOME new listings (5pm news). With EPG123/SD, every listing causes a crash. However, I don't think this is an EPG123 issue at all.

I tried reinstalling WMC several times, uninstalling .Net Framework 4.6.2 as well as all of the suggestions in the link you provided, no luck. I am going to try a clean install of Windows.
HTPC Enthusiast / Forum Moderator - TGB.tv Code of Conduct

User avatar
STC

Posts: 6808
Joined: Mon Jun 06, 2011 4:58 pm
Location:

HTPC Specs: Show details

#25

Post by STC » Sat Mar 18, 2017 10:41 pm

Remember to stir anti-clockwise.
By the Community, for the Community. 100% Commercial Free.

Want decent guide data back? Check out EPG123

User avatar
IT Troll

Posts: 1172
Joined: Sun Nov 27, 2011 9:42 am
Location: Edinburgh, UK

HTPC Specs: Show details

#26

Post by IT Troll » Thu Mar 23, 2017 10:41 pm

I just had a similar crash whilst browsing through the guide. At the same time, my router had lost Internet connectivity. So, I believe this is further evidence towards this being an image download issue. After a quick router reboot my Internet was back and the guide once again worked as expected.

Perhaps other interruptions in the image retrieval process can cause EHShell.exe to crash. Possibly even something like overzealous security software which blocks access whilst it scans the download?

Anyway here are the Event Log entries:

Code: Select all

<Events>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Application Error"/>
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2017-03-23T21:29:14.000000000Z"/>
<EventRecordID>45034</EventRecordID>
<Channel>Application</Channel>
<Computer>HTPC</Computer>
<Security/>
</System>
<EventData>
<Data>EHShell.exe</Data>
<Data>6.3.9600.16384</Data>
<Data>5215efc2</Data>
<Data>KERNELBASE.dll</Data>
<Data>6.3.9600.18340</Data>
<Data>57366075</Data>
<Data>e0434352</Data>
<Data>0000000000008a5c</Data>
<Data>1418</Data>
<Data>01d2a12e968f4ed2</Data>
<Data>C:\Windows\eHome\EHShell.exe</Data>
<Data>C:\Windows\system32\KERNELBASE.dll</Data>
<Data>c2cec752-100f-11e7-82c1-305a3a092522</Data>
<Data/>
<Data/>
</EventData>
</Event>
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name=".NET Runtime"/>
<EventID Qualifiers="0">1026</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2017-03-23T21:29:14.000000000Z"/>
<EventRecordID>45033</EventRecordID>
<Channel>Application</Channel>
<Computer>HTPC</Computer>
<Security/>
</System>
<EventData>
<Data>
Application: EHShell.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.ObjectDisposedException Stack: at System.Net.Cache.ForwardingReadStream.EndRead(System.IAsyncResult) at Microsoft.MediaCenter.UI.WebResource.AsyncContentStreamCallback(System.IAsyncResult) at System.Net.LazyAsyncResult.Complete(IntPtr) at System.Net.Cache.ForwardingReadStream.ReadComplete(System.IAsyncResult) at System.Net.LazyAsyncResult.Complete(IntPtr) at System.Net.FixedSizeReader.ReadCallback(System.IAsyncResult) at System.Net.LazyAsyncResult.Complete(IntPtr) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at System.Net.ContextAwareResult.Complete(IntPtr) at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32, UInt32, System.Threading.NativeOverlapped*) at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
</Data>
</EventData>
</Event>
</Events>
Are you a Recorded TV HD user or want to give it a try? Check out the new community-made update; Recorded TV HD v2.1.1

marvin-miller

Posts: 221
Joined: Tue Sep 18, 2012 9:50 pm
Location:

HTPC Specs: Show details

#27

Post by marvin-miller » Thu Mar 23, 2017 10:45 pm

I had a similar issue (media center crashing) and the only recent change was going to EPG 1.3 I reverted back to 1.11 (?) and it hasn't done it since, as far as I can recall.

stuartm

Posts: 721
Joined: Mon Nov 05, 2012 8:05 pm
Location: Longmont, CO

HTPC Specs: Show details

#28

Post by stuartm » Thu Mar 23, 2017 10:59 pm

IT Troll wrote:I just had a similar crash whilst browsing through the guide. At the same time, my router had lost Internet connectivity. So, I believe this is further evidence towards this being an image download issue. After a quick router reboot my Internet was back and the guide once again worked as expected.

Perhaps other interruptions in the image retrieval process can cause EHShell.exe to crash. Possibly even something like overzealous security software which blocks access whilst it scans the download?

Anyway here are the Event Log entries:
This implies that just unplugging your machine from the net may be enough to reproduce I would think.

User avatar
IT Troll

Posts: 1172
Joined: Sun Nov 27, 2011 9:42 am
Location: Edinburgh, UK

HTPC Specs: Show details

#29

Post by IT Troll » Thu Mar 23, 2017 11:11 pm

stuartm wrote:This implies that just unplugging your machine from the net may be enough to reproduce I would think.
I think it perhaps requires a sudden unexpected interruption. Quite difficult to recreate artificially.
Are you a Recorded TV HD user or want to give it a try? Check out the new community-made update; Recorded TV HD v2.1.1

User avatar
garyan2

Posts: 7438
Joined: Fri Nov 27, 2015 7:23 pm
Location:

HTPC Specs: Show details

#30

Post by garyan2 » Fri Mar 24, 2017 3:21 am

Possible. The original problem Scallica was having may have been due to the rebuild of the image links on the SD servers at the time ... basically reset everything so the initial links were to schedules direct for a redirect to the AWS servers. It may have been the redirects which weren't working.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

User avatar
Scallica

Posts: 2797
Joined: Mon Jun 06, 2011 7:09 pm
Location: USA!

HTPC Specs: Show details

#31

Post by Scallica » Tue May 02, 2017 3:00 pm

Scallica wrote:I am going to try a clean install of Windows.
I did a clean install of Windows 7 Pro SP1, then setup WMC with EPG123 v1.1.4. WMC still crashes when I select any listing in the guide. :wtf:
HTPC Enthusiast / Forum Moderator - TGB.tv Code of Conduct

User avatar
garyan2

Posts: 7438
Joined: Fri Nov 27, 2015 7:23 pm
Location:

HTPC Specs: Show details

#32

Post by garyan2 » Wed May 03, 2017 12:50 am

Scallica wrote:
Scallica wrote:I am going to try a clean install of Windows.
I did a clean install of Windows 7 Pro SP1, then setup WMC with EPG123 v1.1.4. WMC still crashes when I select any listing in the guide. :what the heck:
NOT.A.CLUE. :wtf: :crazy:
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

User avatar
garyan2

Posts: 7438
Joined: Fri Nov 27, 2015 7:23 pm
Location:

HTPC Specs: Show details

#33

Post by garyan2 » Wed May 03, 2017 3:03 am

Scallica, what's your lineup? I'm going to setup a VM and try to duplicate.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

User avatar
Scallica

Posts: 2797
Joined: Mon Jun 06, 2011 7:09 pm
Location: USA!

HTPC Specs: Show details

#34

Post by Scallica » Fri May 05, 2017 8:04 pm

I figured out what was causing the crash. My firewall's security services was preventing WMC from accessing one of Microsoft's servers. :crazy:
HTPC Enthusiast / Forum Moderator - TGB.tv Code of Conduct

stuartm

Posts: 721
Joined: Mon Nov 05, 2012 8:05 pm
Location: Longmont, CO

HTPC Specs: Show details

#35

Post by stuartm » Fri May 05, 2017 9:00 pm

That's disconcerting. What happens to all of us using WMC when Microsoft shuts down this server? Do you know what it was being accessed for?
One of the reasons I went to EPG123 was to break any dependency on Microsoft.

User avatar
Scallica

Posts: 2797
Joined: Mon Jun 06, 2011 7:09 pm
Location: USA!

HTPC Specs: Show details

#36

Post by Scallica » Fri May 05, 2017 9:36 pm

stuartm wrote:That's disconcerting. What happens to all of us using WMC when Microsoft shuts down this server? Do you know what it was being accessed for?
One of the reasons I went to EPG123 was to break any dependency on Microsoft.
Rest easy. I went to Tasks-->Settings-->General-->Automatic Download Options and unchecked both boxes. Now it works great :thumbup:
HTPC Enthusiast / Forum Moderator - TGB.tv Code of Conduct

stuartm

Posts: 721
Joined: Mon Nov 05, 2012 8:05 pm
Location: Longmont, CO

HTPC Specs: Show details

#37

Post by stuartm » Fri May 05, 2017 10:10 pm

Cool, good to know, Thanks
Glad to hear you finally got it all working.

User avatar
garyan2

Posts: 7438
Joined: Fri Nov 27, 2015 7:23 pm
Location:

HTPC Specs: Show details

#38

Post by garyan2 » Sat May 06, 2017 12:16 am

Hmmmm... I've actually encouraged everyone to keep the boxes checked (at least the first one) to download the extended movie information and DVD/CD meta. I've never had a problem.

Gonna have to rethink that recommendation, I guess.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

User avatar
IT Troll

Posts: 1172
Joined: Sun Nov 27, 2011 9:42 am
Location: Edinburgh, UK

HTPC Specs: Show details

#39

Post by IT Troll » Sun May 07, 2017 3:43 pm

Glad to hear you go to the bottom of this. The firewall being the cause has some synergy with the crash I experienced whilst my router had a funny turn. I guess WMC doesn't handle unexpected networking issues so well.

Strange that the problem was apparently worse with EPG123 guide data though. Do you still get the episode/series images with those boxes unchecked?
Are you a Recorded TV HD user or want to give it a try? Check out the new community-made update; Recorded TV HD v2.1.1

User avatar
garyan2

Posts: 7438
Joined: Fri Nov 27, 2015 7:23 pm
Location:

HTPC Specs: Show details

#40

Post by garyan2 » Sun May 07, 2017 3:57 pm

Actually, phrasing like that it makes sense why EPG123 was worse. In order to show actor roles in series episodes, I had to flag (turn on) the extended actor information for all the programs. It looks like having that flag set forces WMC to make a call to the internets and attempt to fill that information. Normal WMC behavior would be to do that for movies 1 time only. With EPG123, it would be doing it for movies and episodes always.

I wonder if there is a way to change that behavior?
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

Post Reply