Crash to desktop with AccessViolationException
The game occasionally crashes when opening a recipe from the craft list via Allagan Tools.
Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at Craftimizer.Windows.RecipeNote.CalculateShouldOpen()
at Craftimizer.Windows.RecipeNote.Update()
at Dalamud.Interface.Windowing.Window.DrawInternal(WindowDrawFlags, Dalamud.Interface.Windowing.Persistence.WindowSystemPersistence)
at Dalamud.Interface.Windowing.WindowSystem.Draw()
at Dalamud.Utility.EventHandlerExtensions.HandleInvoke(System.Action)
at Dalamud.Utility.EventHandlerExtensions.InvokeSafely(System.Action)
at Dalamud.Interface.UiBuilder.OnDraw()
at Dalamud.Interface.Internal.InterfaceManager.Display()
at ImGuiScene.RawDX11Scene.Render()
at Dalamud.Interface.Internal.InterfaceManager.DxgiSwapChainPresentDetour(TerraFX.Interop.DirectX.IDXGISwapChain*, UInt32, UInt32)
at Dalamud.Game.Framework.HandleFrameworkUpdate(FFXIVClientStructs.FFXIV.Client.System.Framework.Framework*)
I can't find any other log message from the time of the crash.
This issue is sporadic and I don't know how to reproduce it consistently.
I don't have any addon named RecipeNote or WKSRecipeNotebook installed (since that is what CalculateShouldOpen checks).
I also don't have the options to auto-suggest a macro or use community macros enabled.
Have been experiencing this issue frequently when using Artisan to craft lists of items. Having to chase down the error messages in event viewer as there is no crash report given by the application.
Description: The process was terminated due to an unhandled exception. Exception Info: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Stack: at System.Runtime.ExceptionServices.InternalCalls.<RhpSfiInit>g____PInvoke|0_0(System.Runtime.StackFrameIterator*, Void*, Int32, Boolean*) at System.Runtime.ExceptionServices.InternalCalls.<RhpSfiInit>g____PInvoke|0_0(System.Runtime.StackFrameIterator*, Void*, Int32, Boolean*) at System.Runtime.EH.DispatchEx(System.Runtime.StackFrameIterator ByRef, ExInfo ByRef) at System.Runtime.EH.RhThrowHwEx(UInt32, ExInfo ByRef) at Craftimizer.Windows.RecipeNote.CalculateShouldOpen() at Craftimizer.Windows.RecipeNote.Update() at Dalamud.Interface.Windowing.Window.DrawInternal(WindowDrawFlags, Dalamud.Interface.Windowing.Persistence.WindowSystemPersistence) at Dalamud.Interface.Windowing.WindowSystem.Draw() at Dalamud.Utility.EventHandlerExtensions.InvokeSafely(System.Action) at Dalamud.Interface.UiBuilder.OnDraw() at Dalamud.Interface.Internal.InterfaceManager.Display() at Dalamud.Interface.Internal.InterfaceManager.DxgiSwapChainPresentDetour(TerraFX.Interop.DirectX.IDXGISwapChain*, UInt32, UInt32) at Dalamud.Game.Framework.HandleFrameworkUpdate(FFXIVClientStructs.FFXIV.Client.System.Framework.Framework*)
I have had this error occur when constructing crafting lists, either self made or produced by automation when visiting my Company Workshop.
I have noticed less crashes but ones of similar errors when simply using Craftimizer to craft a stack of items that aren't on lists.
I do not use the retainer addon, merely Craftimizer/Artisan
Do you use SimpleTweaks? If so, which crafting related tweaks do you have enabled?
Hi, so sorry for late reply - Gmails slow to notify me of stuff.
I do use SimpleTweaks, the only setting I found that I have ticked when searching 'craft' was 'Improved Crafting Action Tooltips'
I hope this helps
I was also using SimpleTweaks. With 'Improved Crafting Action Tooltips' and 'Improved Crafting Log' enabled.