Well, @Robyt3 has added a check for "invalid unicode" in filenames (https://github.com/ddnet/ddnet/pull/7567). I don't know much about it, but maybe you can try doing a dbg_msg on str before the assert at system.cpp:4556 happens?
-StormAx
after 2 days attemps i still cant fix that, help (edited)