2shady4u / godot-sqlite

GDExtension wrapper for SQLite (Godot 4.x+)
MIT License
922 stars 81 forks source link

Immediate crash on install: *** stack smashing detected ***: terminated #187

Open AimiIsFat opened 6 days ago

AimiIsFat commented 6 days ago

Environment:

Issue description: Project immediately crashed on install. Re-opening the project causes it to crash immediately as well.

Running Godot from the terminal shows just one single line on the crash. *** stack smashing detected ***: terminated

Steps to reproduce:

Additional context A pre-built version of voxel tools can be found here: https://github.com/Zylann/godot_voxel/releases/tag/v1.3.0

2shady4u commented 4 days ago

Hello @AimiIsFat

Currently, I don't have a native Linux machine available to test this. Could you confirm that this is also happens without having the voxel plugin installed?

AimiIsFat commented 4 days ago

I just tested it with a couple different versions of Godot.

I forgot to mention that the custom version I'm using is also double precision.

Here's the test results:

I believe the issue is related to double precision, since voxel tools apparently doesn't affect whether it crashes or not.

2shady4u commented 4 days ago

Hi @AimiIsFat,

Seeing as you are seemingly using double precision Godot, you'll have to use a double precision version of the godot-sqlite library as well. I have compiled a linux version with double precision here: https://github.com/2shady4u/godot-sqlite/actions/runs/11001156952

Could you tell me if that solves your issue?

AimiIsFat commented 4 days ago

Thanks. How do I use these files?

EDIT: Think I figured it out since it seems to be running fine now. Are Mac and Windows versions available (assuming they are needed for other OSes to edit or play the game)?

2shady4u commented 3 days ago

You can easily build a double precision windows binary. For Mac I am not sure what it takes to get a binary that allows double precision