Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]Crash: .inochi-creator\autosaves\texture.png \creator-project.lock: Access is denied. #378

Open
2 tasks done
Kitten4u opened this issue Jul 21, 2024 · 1 comment
Open
2 tasks done
Labels
Bug Something isn't working Good first issue Good for newcomers Needs verification Needs to be verified whether fixed or not
Milestone

Comments

@Kitten4u
Copy link

Validations

  • I have checked for similar bug reports and could not find any.
  • I have tested and confirmed that this is an issue in an official branded build.

Describe the bug

The program crashed. I've attached the crash dump below. I expect the program to not crash.

Reproduction

The program crashed while I was working. Based on the timing, and the text in the crash dump, I believe it happens when Inochi Creator tries to autosave. I get the same error when I try to save manually, but the program does not crash.

texture.png is a texture I exported from the model in order to modify. I just used the default name, and I do that on every model I've worked on. Not sure if that makes a difference.

texture.png seems to have gotten corrupted or something because I can't open it in Krita anymore either.

System Architecture

None

Operating System

Windows

Version

Latest version on the site

Logs

Crash Dump ``` === Args State ===

=== Exception ===
std.file.FileException@std\file.d(885): C:\Users\Kitten4u\AppData\Roaming.inochi-creator\autosaves\texture.png \creator-project.lock: Access is denied.

0x00007FF72C037113 in ImGuiInputTextState_GetSelectionStart
0x00007FF72C036E44 in ImGuiInputTextState_GetSelectionStart
0x00007FF72C03695D in ImGuiInputTextState_GetSelectionStart
0x00007FF72C02A5C1 in ImGuiInputTextState_GetSelectionStart
0x00007FF72C017DBE in ImGuiInputTextState_GetSelectionStart
0x00007FF72BFDEF10 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)
0x00007FF72BECB273 in igImAbs_Float
0x00007FF72BEF2D49 in igImAbs_Float
0x00007FF72BEF275A in igImAbs_Float
0x00007FF72BEF2473 in igImAbs_Float
0x00007FF72BF4D4EA in ImGuiDockNode_IsSplitNode
0x00007FF72BF4D3A1 in ImGuiDockNode_IsSplitNode
0x00007FF72C01ECA5 in ImGuiInputTextState_GetSelectionStart
0x00007FF72C01E95B in ImGuiInputTextState_GetSelectionStart
0x00007FF72C01EC06 in ImGuiInputTextState_GetSelectionStart
0x00007FF72C0DB0B0 in ImGui_ImplOpenGL3_Shutdown
0x00007FFB48E97344 in BaseThreadInitThunk
0x00007FFB4A0C26B1 in RtlUserThreadStart

</details>

[inochi-creator-crashdump.txt](https://github.com/user-attachments/files/16324591/inochi-creator-crashdump.txt)


### Additional Context

_No response_
@Kitten4u Kitten4u added Bug Something isn't working Triage PR/Issue needs to be triaged. labels Jul 21, 2024
@LunaTheFoxgirl LunaTheFoxgirl added Good first issue Good for newcomers and removed Triage PR/Issue needs to be triaged. labels Jul 21, 2024
@LunaTheFoxgirl LunaTheFoxgirl added this to the 0.8 milestone Jul 21, 2024
@LunaTheFoxgirl
Copy link
Member

This crash is caused by the path handling code, I am leaving this as a good first issue for anyone interested in contributing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Good first issue Good for newcomers Needs verification Needs to be verified whether fixed or not
Projects
None yet
Development

No branches or pull requests

3 participants