Jump to content
trevordl

Photo 1.8 fails to load net runtime error

Recommended Posts

44 minutes ago, Mark Ingram said:

Even with the font shortcuts in place? i.e. they aren't affecting startup?

So, you ran Photo 4 times, and it crashed every time at startup (when the splash screen was up?) and on the 5th time it started OK?

That's correct, it took several attempts before it would run but closing it down after it worked,  it would crash again. 

Trevor

Share this post


Link to post
Share on other sites
13 hours ago, grunnvms said:

If possible, I would like to know if the problem could be reproduced with my fonts directory.

I haven't be able to replicate with your fonts - the developers are still investigating.

Share this post


Link to post
Share on other sites
2 hours ago, grunnvms said:

Would sending crashdump information help the developers?

 

I think they have all the info they need at the moment. I'm hoping to have an update soon but if we need any additional information from you, I will let you know. 

Share this post


Link to post
Share on other sites

Im getting the same error codes on all three application as

Application: Designer.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
   at <Module>.Affinity.TextBaseTarget.GetFontStyles(Kernel.Font*, Story.FontResolution, std.vector<Kernel::Font,std::allocator<Kernel::Font> >*, UInt64*)
   at Serif.Interop.Persona.UserInterface.FontFamilyComboBoxContextBarItem.BuildFontsList()
   at Serif.Interop.Persona.UserInterface.FontFamilyComboBoxContextBarItem..ctor()
   at Serif.Interop.Persona.Data.CharacterDataSource..ctor(Serif.Interop.Persona.Services.IServiceProvider)
   at Serif.Affinity.UI.Studio.CharacterPage..ctor()

Exception Info: System.Reflection.TargetInvocationException
   at System.RuntimeTypeHandle.CreateInstance(System.RuntimeType, Boolean, Boolean, Boolean ByRef, System.RuntimeMethodHandleInternal ByRef, Boolean ByRef)
   at System.RuntimeType.CreateInstanceSlow(Boolean, Boolean, Boolean, System.Threading.StackCrawlMark ByRef)
   at System.Activator.CreateInstance(System.Type, Boolean)
   at System.Activator.CreateInstance(System.Type)
   at Serif.Affinity.Services.PageService.EnsurePage(System.Type)
   at Serif.Affinity.UI.AffinityWindow.AttachPages(Serif.Interop.Persona.Workspaces.IWorkspace, Boolean)
   at Serif.Affinity.UI.AffinityWindow.set_CurrentWorkspace(Serif.Interop.Persona.Workspaces.IWorkspace)
   at Serif.Affinity.Services.WindowService.ShowMainWindow()
   at Serif.Affinity.Application+<>c__DisplayClass53_0.<OnServicesInitialised>b__2()
   at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
   at System.Windows.Threading.DispatcherOperation.Wait(System.TimeSpan)
   at System.Windows.Threading.Dispatcher.InvokeImpl(System.Windows.Threading.DispatcherOperation, System.Threading.CancellationToken, System.TimeSpan)
   at System.Windows.Threading.Dispatcher.Invoke(System.Action, System.Windows.Threading.DispatcherPriority, System.Threading.CancellationToken, System.TimeSpan)
   at System.Windows.Threading.Dispatcher.Invoke(System.Action)
   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.Threading.ThreadHelper.ThreadStart()

--------------------------------------------------------------------------------------------------------

Application: Photo.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
   at <Module>.Kernel.FontCache.GetFontTraitsName(Kernel.StringT<enum Kernel::TEncUtf8>*, Kernel.Font*)
   at Serif.Interop.Persona.UserInterface.ManagedFontStyle.get_DisplayName()
   at Serif.Interop.Persona.UserInterface.FontFamilyComboBoxContextBarItem+FamilyComboBoxContextBarItem..ctor(Serif.Interop.Persona.UserInterface.ManagedFont)
   at Serif.Interop.Persona.UserInterface.FontFamilyComboBoxContextBarItem.BuildFontsList()
   at Serif.Interop.Persona.UserInterface.FontFamilyComboBoxContextBarItem..ctor()
   at Serif.Interop.Persona.Data.CharacterDataSource..ctor(Serif.Interop.Persona.Services.IServiceProvider)
   at Serif.Affinity.UI.Studio.CharacterPage..ctor()

Exception Info: System.Reflection.TargetInvocationException
   at System.RuntimeTypeHandle.CreateInstance(System.RuntimeType, Boolean, Boolean, Boolean ByRef, System.RuntimeMethodHandleInternal ByRef, Boolean ByRef)
   at System.RuntimeType.CreateInstanceSlow(Boolean, Boolean, Boolean, System.Threading.StackCrawlMark ByRef)
   at System.Activator.CreateInstance(System.Type, Boolean)
   at System.Activator.CreateInstance(System.Type)
   at Serif.Affinity.Services.PageService.EnsurePage(System.Type)
   at Serif.Affinity.UI.AffinityWindow.AttachPages(Serif.Interop.Persona.Workspaces.IWorkspace, Boolean)
   at Serif.Affinity.UI.AffinityWindow.set_CurrentWorkspace(Serif.Interop.Persona.Workspaces.IWorkspace)
   at Serif.Affinity.Services.WindowService.ShowMainWindow()
   at Serif.Affinity.Application+<>c__DisplayClass53_0.<OnServicesInitialised>b__2()
   at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
   at System.Windows.Threading.DispatcherOperation.Wait(System.TimeSpan)
   at System.Windows.Threading.Dispatcher.InvokeImpl(System.Windows.Threading.DispatcherOperation, System.Threading.CancellationToken, System.TimeSpan)
   at System.Windows.Threading.Dispatcher.Invoke(System.Action, System.Windows.Threading.DispatcherPriority, System.Threading.CancellationToken, System.TimeSpan)
   at System.Windows.Threading.Dispatcher.Invoke(System.Action)
   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.Threading.ThreadHelper.ThreadStart()

 

----------------------------------------------------------------------------------------------------------------

Application: Publisher.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
   at <Module>.Kernel.FontCache.GetFontTraitsName(Kernel.Font*)
   at Serif.Interop.Persona.UserInterface.ManagedFontStyle.get_DisplayName()
   at Serif.Interop.Persona.UserInterface.FontFamilyComboBoxContextBarItem+FamilyComboBoxContextBarItem..ctor(Serif.Interop.Persona.UserInterface.ManagedFont)
   at Serif.Interop.Persona.UserInterface.FontFamilyComboBoxContextBarItem.BuildFontsList()
   at Serif.Interop.Persona.UserInterface.FontFamilyComboBoxContextBarItem..ctor()
   at Serif.Interop.Persona.Data.CharacterDataSource..ctor(Serif.Interop.Persona.Services.IServiceProvider)
   at Serif.Affinity.UI.Studio.CharacterPage..ctor()

Exception Info: System.Reflection.TargetInvocationException
   at System.RuntimeTypeHandle.CreateInstance(System.RuntimeType, Boolean, Boolean, Boolean ByRef, System.RuntimeMethodHandleInternal ByRef, Boolean ByRef)
   at System.RuntimeType.CreateInstanceSlow(Boolean, Boolean, Boolean, System.Threading.StackCrawlMark ByRef)
   at System.Activator.CreateInstance(System.Type, Boolean)
   at System.Activator.CreateInstance(System.Type)
   at Serif.Affinity.Services.PageService.EnsurePage(System.Type)
   at Serif.Affinity.UI.AffinityWindow.AttachPages(Serif.Interop.Persona.Workspaces.IWorkspace, Boolean)
   at Serif.Affinity.UI.AffinityWindow.set_CurrentWorkspace(Serif.Interop.Persona.Workspaces.IWorkspace)
   at Serif.Affinity.Services.WindowService.ShowMainWindow()
   at Serif.Affinity.Application+<>c__DisplayClass51_0.<OnServicesInitialised>b__2()
   at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
   at System.Windows.Threading.DispatcherOperation.Wait(System.TimeSpan)
   at System.Windows.Threading.Dispatcher.InvokeImpl(System.Windows.Threading.DispatcherOperation, System.Threading.CancellationToken, System.TimeSpan)
   at System.Windows.Threading.Dispatcher.Invoke(System.Action, System.Windows.Threading.DispatcherPriority, System.Threading.CancellationToken, System.TimeSpan)
   at System.Windows.Threading.Dispatcher.Invoke(System.Action)
   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.Threading.ThreadHelper.ThreadStart()

 

I have to just keep trying to load and eventually they will load but this happened in 1.7 aswell

Share this post


Link to post
Share on other sites

Me again :)

@Ddraiggoch @trevordl @grunnvms @Venice27 @AnthonyN I may have already asked this question already but are any of you using a Font Manager? if so, which one? If you don't mind, could you also run Powershell or Command Prompt as an Admin and then run this command:

 reg export “HKCU\Software\Microsoft\Windows NT\CurrentVersion\Fonts” C:\userFontLoc.txt

This will create a text file in the root of C:\ called userFontLoc.txt that will tell us which other locations you have fonts installed too. It's more than likely it will list fonts in C:\Users\<username>\AppData\Local\Microsoft\Windows\Fonts\ but if you could check to see which location(s) are listed and then zip up a copy of these font folders along with the userFontLoc.txt and upload here, that would be very much appreciated.

Again, we're sorry that you're experiencing this issue but our developers are on the case 🚓

Share this post


Link to post
Share on other sites
20 minutes ago, Leigh said:

Me again :)

@Ddraiggoch @trevordl @grunnvms @Venice27 @AnthonyN I may have already asked this question already but are any of you using a Font Manager? if so, which one? If you don't mind, could you also run Powershell or Command Prompt as an Admin and then run this command:


 reg export “HKCU\Software\Microsoft\Windows NT\CurrentVersion\Fonts” C:\userFontLoc.txt

This will create a text file in the root of C:\ called userFontLoc.txt that will tell us which other locations you have fonts installed too. It's more than likely it will list fonts in C:\Users\<username>\AppData\Local\Microsoft\Windows\Fonts\ but if you could check to see which location(s) are listed and then zip up a copy of these font folders along with the userFontLoc.txt and upload here, that would be very much appreciated.

Again, we're sorry that you're experiencing this issue but our developers are on the case 🚓

Although I was not mentioned in the above user list, I exported the registry keys and uploaded them into your dropbox plus some of the fonts
inside the directories I was able to find. There are also fonts listet which should reside in C:\Program Files\WindowsApps. However, I was unable to access
them and include it, here.
Kind regards

Share this post


Link to post
Share on other sites

I found it. When you select all fonts in the C:\Users\<username>\AppData\Local\Microsoft\Windows\Fonts\ directory, and then click on "install for all users" , they will be copied in the standard fonts directory.

Now I have to find a way to remove them from the C:\Users\<username>\AppData\Local\Microsoft\Windows\Fonts\ directory, and perhaps clear those registry keys.

Share this post


Link to post
Share on other sites
53 minutes ago, joal said:

Although I was not mentioned in the above user list, I exported the registry keys and uploaded them into your dropbox plus some of the fonts
inside the directories I was able to find. There are also fonts listet which should reside in C:\Program Files\WindowsApps. However, I was unable to access
them and include it, here.
Kind regards

Thank you @joal Do you use a Font Manager?

Share this post


Link to post
Share on other sites
42 minutes ago, grunnvms said:

Done.

I'm a bit surprised that these fonts are not in the standard font directory where they belong.

 

Thank you again @grunnvms Do you use a font manager at all?

Share this post


Link to post
Share on other sites

Upload the font i could find and the text file, I did use a Font Manager 30 day trail but that was a long time before getting any problems 2 or 3 years. So not don't use a font manager.

Share this post


Link to post
Share on other sites

 

1 hour ago, Leigh said:

Thank you again @grunnvms Do you use a font manager at all?

No, I don't.

So far I did the following:

  • I selected all fonts in the C:\Users\<username>\AppData\Local\Microsoft\Windows\Fonts\ directory, and then right-clicked on "install for all users".
  • With the registry editor , I removed all font entries (except default of course) from “HKCU\Software\Microsoft\Windows NT\CurrentVersion\Fonts”.
  • Rebooted the PC.
  • Deleted all fonts in the C:\Users\<username>\AppData\Local\Microsoft\Windows\Fonts\ directory.

Now all the fonts are where they belong.

Next step was to rebuild the font cache.

  • With services.msc , stop and disable the "Windows Font Cache Service" , and the "Windows Presentation Foundation Font Cache 3.0.0.0".  (right click - properties)
  • Reboot the PC
  • Make sure you can see Hidden Files and Folders in Explorer !
  • Go to C:\Windows\ServiceProfiles\LocalService\AppData\Local
  • Delete all .dat files starting with Fontcache
  • Open the Fontcache directory
  • Delete everything in that directory, including the Fonts directory.
  • With services.msc , set the start property of the  "Windows Font Cache Service" to automatic and start the service.
  • With services.msc , set the start property of the "Windows Presentation Foundation Font Cache 3.0.0.0" to manual.

There's only one mystery left.

In C:\Users\<username>\AppData\Local\ there is a fontconfig directory, with a cache directory, and all kind of cache files. Haven't figured out what they are used for.

Share this post


Link to post
Share on other sites

my userFontloc shows the following.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Fonts]

I could load Affinity Designer, but not Photo, i tried clearing the fond cache as detailed above and immediately after i managed to load affinity photo once, but then the usse re-appeared and now i cannot load either app. really need this back as part of my workflow.

Share this post


Link to post
Share on other sites

I installed 1.8 again, seems to work now !!!

I can confirm that after the font operations I described in my previous posting, Photo 1.8 works fine. I've used it, restarted it several times, no problems whatsoever. 

Share this post


Link to post
Share on other sites

Good evening, 

I have just uploaded two files trevordl_additional_fonts (these were in the local users/windows/fonts) and also trevordl_extrafonts, these were fonts that were installed in a different location that wasn't shown in the registry key, but installed through FontExpert 2018.

I have just tried running 1.7.3 and that runs fine, but I have the beta 1.8.1.604 and that is working today.

Trevor

Share this post


Link to post
Share on other sites

 The 1.8.1.610 beta build has a potential fix for the issues you've reported. Would any of you be able to install the beta and try it out and see whether it starts OK for you? Thanks for your patience.

 

Share this post


Link to post
Share on other sites

Hi Mark, I have installed the 1.8.1.610 beta build and it works fine! I am really impressed with the speed you sorted this out. I assume there will be an equivalent for Designer too. I look forward to installing the official updates when they are put out.

Cheers

Anthony

Share this post


Link to post
Share on other sites

I have just downloaded the .610 version and that is working fine, I updated my 1.7.3 to 1.8 to see if that still crashed and it does, so at the moment 🙂 Photo is working. This is what makes Serif extra special, they listen to their customers and work to make the program even better! 

Trevor

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

Please note the Annual Company Closure section in the Terms of Use. These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.