-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Importing SVG's in 4.3.dev with commit 73589f6 is crashing #87788
Comments
CC @capnm |
Unfortunately I can't reproduce this myself, I even tested the PR importing a large amount of SVGs (debian 12, Vulkan API 1.3.230 - Forward+): I have now run it again on the current tip 9adb7c7 and didn't see any issue
) If anyone is able to reproduce this, perhaps could try to bisect the mentioned full ThorVG changelog. The most likely would be thorvg/thorvg@cfb6a7e |
@RevoluPowered Hello, I'm wondering if you can use the thread sanitizer to catch any clues? |
If the project is configured to use single threads (i.e. modify [editor]
import/use_multiple_threads=false The SVGs import fine. I'm able to reproduce the crash but I don't think it's related to ThorVG -- the crash happens at different places and due to double frees or some memory corruption. The root cause is most likely a race condition. I stumbled upon a similar issue in #84364 with the same workaround, but it's far easier to reproduce the crash by importing these SVGs. |
@RevoluPowered @Rubonnek I couldn't reproduce this bug on Linux (Mageia 9), but I suspect it's related to #87962 (which I can reproduce) and should be fixed by #88053. Could you test to confirm? |
@akien-mga can confirm -- I can't reproduce the crash described in this issue Edit: there's still some strange things going on under the hood due to the data race in |
Fixes godotengine#87788. Fixes godotengine#87962. (cherry picked from commit 2e32b93)
Tested versions
System information
Linux - Fedora 38 - As up to date as possible
Issue description
When importing SVG files in multiple threads the engine crashes with a realloc() crash, I did try to workaround this but had the same crash
Steps to reproduce
Minimal reproduction project (MRP)
TESTPROJECTREPRO.zip
Images taken from another source, our project files are completely unrelated and they also crash.
The text was updated successfully, but these errors were encountered: