Skip to content

Godot/live2d crash when loading models other than samples.. #75

@pillowtrucker

Description

@pillowtrucker

Hi!
I've been trying to load https://github.com/n0099/TouhouCannonBall-Live2d-Models/tree/main/Rinnosuke and/or https://github.com/andatoshiki/toshiki-live2d/tree/master/%E4%B8%BA%E7%BE%8E%E5%A5%BD%E7%9A%84%E4%B8%96%E7%95%8C%E7%8C%AE%E4%B8%8A%E7%A5%9D%E7%A6%8F%EF%BC%81Fantastic%20Days/1399100 on linux.
When I load the asset to attach it to the Model node, godot crashes with free(): corrupted unsorted chunks or

Fatal glibc error: malloc.c:2594 (sysmalloc): assertion failed: (old_top == initial_top (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) == 0)

I'm not able to get any more information from gdb because godot exits instead of propagating the error...

When I try the same thing with the Niziiro Mao model, everything works fine...
I'm running godot 4.2.1-stable. I've tried building with llvm and with gcc, but there was no difference.
Any idea what I'm doing wrong ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions