Open LilithHafner opened 9 months ago
I can reproduce this, it's a bug in the C++ component. It may take some time to update, as any changes need to be merged with the binary builder build tree. This is a pretty big issue though, thank you for pointing it out.
Fixed by https://github.com/Clemapfel/mousetrap/commit/d12ae02c4ec389ff7374c1f6772aa338b19c15b4, it will take some time to go live since it needs to be reviewed by the binary builder people and uploaded to the registry.
If you're curious, it was because some jpg files do not have an alpha channel, but the texture loading assumed it did, so it went too far into memory and segfaulted when loading the image data.
Ah, yes. A classic.
This code produces a segfault:
Result:
Using a .png works around the issue.