Inochi2D / inochi-creator

Inochi2D Rigging Application
BSD 2-Clause "Simplified" License
881 stars 48 forks source link

[BUG] Inochi Creator crashed #359

Open Libba opened 6 months ago

Libba commented 6 months ago

Validations

Describe the bug

I was trying to merge the file, then decided to close the window. I tried to replicate it, but it's working normally. Posting the crash dump just in case.

It might've just been too much going in the system.

Reproduction

  1. Open file
  2. File > Merge
  3. Tick on a few buttons on the bottom of the window popup
  4. Close the merge window

System Architecture

x86_64

Operating System

Windows

Version

0.8.5

Logs

No response

Additional Context

=== Args State ===

=== Exception === std.file.FileException@std\file.d(4688): C:\Users\HP\AppData\Roaming.inochi-creator\autosaves\Inochi2D PNGTuber : The system cannot find the path specified.

0x00007FF7FBFD6F33 in ImGuiInputTextState_GetSelectionStart 0x00007FF7FBFD6C64 in ImGuiInputTextState_GetSelectionStart 0x00007FF7FBFD677D in ImGuiInputTextState_GetSelectionStart 0x00007FF7FBFCA3E1 in ImGuiInputTextState_GetSelectionStart 0x00007FF7FBFB7BDE in ImGuiInputTextState_GetSelectionStart 0x00007FF7FBF7FBBE in pure nothrow @nogc @safe mir.numeric.mir_find_root_result!(real).mir_find_root_result mir.numeric.findRootImpl(real, real, real, real, real, real, uint, uint, scope real delegate(real) pure nothrow @nogc @safe, scope bool delegate(real, real) pure nothrow @nogc @safe) 0x00007FF7FBEC84D5 in ImGuiDockNode_IsRootNode 0x00007FF7FBEC83B2 in ImGuiDockNode_IsRootNode 0x00007FF7FBE93608 in igImAbs_Float 0x00007FF7FBE9259D in igImAbs_Float 0x00007FF7FBE923F3 in igImAbs_Float 0x00007FF7FBEED30A in ImGuiDockNode_IsSplitNode 0x00007FF7FBEED1C1 in ImGuiDockNode_IsSplitNode 0x00007FF7FBFBEAC5 in ImGuiInputTextState_GetSelectionStart 0x00007FF7FBFBE77B in ImGuiInputTextState_GetSelectionStart 0x00007FF7FBFBEA26 in ImGuiInputTextState_GetSelectionStart 0x00007FF7FC07AED0 in ImGui_ImplOpenGL3_Shutdown 0x00007FF8C6EF257D in BaseThreadInitThunk 0x00007FF8C878AA48 in RtlUserThreadStart

inochi-creator-crashdump.txt

LunaTheFoxgirl commented 6 months ago

Basically an autosave folder was missing, this crash would be expected due to it not being caught.

This will still be marked as a bug as it'd be better to show an error dialog instead of crashing