EladBahar-5100 avatar image
0 Votes"
EladBahar-5100 asked HuiLiu-MSFT commented

WPF application crash on start up (64 bit)


We have a WPF application that crashes on startup for some of our users
trying a sample 'hello world' WPF application also crashes
running 32 WPF bit applications works fine, only 64 bit is crashing.
trying to repair .net framework did not work.
(i can supply dump file if needed)

the exception:
Unhandled exception at 0x00007FFE39857271 (clr.dll) in Overwolf.exe.8160.dmp: 0xC0000005: Access violation reading location 0xFFFFFFFFFFFFFFFF.

the callstack

> clrjit.dll!00007ffe36709f41() Unknown

clrjit.dll!00007ffe366ebee0() Unknown
clrjit.dll!00007ffe366ed523() Unknown
clrjit.dll!00007ffe366e6c82() Unknown
clrjit.dll!00007ffe366d6098() Unknown
[Managed to Native Transition]
PresentationFramework.dll!System.Windows.Application.Resources.set(System.Windows.ResourceDictionary value) Unknown
System.Xaml.dll!MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(object inst, System.Xaml.XamlMember property, object value) Unknown
System.Xaml.dll!System.Xaml.XamlObjectWriter.Logic_ApplyPropertyValue(MS.Internal.Xaml.Context.ObjectWriterContext ctx, System.Xaml.XamlMember prop, object value, bool onParent) Unknown
System.Xaml.dll!System.Xaml.XamlObjectWriter.Logic_DoAssignmentToParentProperty(MS.Internal.Xaml.Context.ObjectWriterContext ctx) Unknown
System.Xaml.dll!System.Xaml.XamlObjectWriter.Logic_CreateAndAssignToParentStart(MS.Internal.Xaml.Context.ObjectWriterContext ctx) Unknown
System.Xaml.dll!System.Xaml.XamlObjectWriter.WriteStartMember(System.Xaml.XamlMember property) Unknown
PresentationFramework.dll!System.Windows.Markup.WpfXamlLoader.TransformNodes(System.Xaml.XamlReader xamlReader, System.Xaml.XamlObjectWriter xamlWriter, bool onlyLoadOneNode, bool skipJournaledProperties, bool shouldPassLineNumberInfo, System.Xaml.IXamlLineInfo xamlLineInfo, System.Xaml.IXamlLineInfoConsumer xamlLineInfoConsumer, MS.Internal.Xaml.Context.XamlContextStack<System.Windows.Markup.WpfXamlFrame> stack, System.Windows.Markup.IStyleConnector styleConnector) Unknown
PresentationFramework.dll!System.Windows.Markup.WpfXamlLoader.Load(System.Xaml.XamlReader xamlReader, System.Xaml.IXamlObjectWriterFactory writerFactory, bool skipJournaledProperties, object rootObject, System.Xaml.XamlObjectWriterSettings settings, System.Uri baseUri) Unknown
PresentationFramework.dll!System.Windows.Markup.WpfXamlLoader.LoadBaml(System.Xaml.XamlReader xamlReader, bool skipJournaledProperties, object rootObject, System.Xaml.Permissions.XamlAccessLevel accessLevel, System.Uri baseUri) Unknown
PresentationFramework.dll!System.Windows.Markup.XamlReader.LoadBaml(System.IO.Stream stream, System.Windows.Markup.ParserContext parserContext, object parent, bool closeStream) Unknown
Client.Launcher.App.InitializeComponent() Unknown

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,@EladBahar-5100. What is the system environment where the project crashes? Does the crashed project reference another project (wpfApp1.dll)? Could you provide more detailed steps and project environment?
It may be related to your VisualStudio IDE and machine configuration.
From this VS IDE, I suggest you can try the following steps to troubleshooting this crash issue.

Step1: I suggest you could try to execute the following commands check the crash issue.

devenv.exe /safemode

devenv.exe /resetsettings

devenv.exe /resetskippkgs

Step2:It is suggested that you can close some processes such as antivirus software or firewall on the development machine, and then check the crash problem again.

Step3:I suggest you can restart the development machine, and then clean the development machine to improve CPU or memory storage.

Step4: If the above suggestions still could not help you, maybe you will need to repair/re-install your VS 2010 and then open your WPF project again check the crash issue.

From this development machine propermance configure, I suggest you can compare the configuration of the development machines.

0 Votes 0 ·

this is not developer machine, some random user.

no VS installed (windows 10 by the way, up to date).

0 Votes 0 ·

Hi,@ EladBahar-5100. I can't know the exact problem and the reason. Is it possible to check the difference between the environment and configuration where the project is running? Such as 32-bit/64-bit for device and project releases.

0 Votes 0 ·

0 Answers