64 bit crash

I made a program that works well when built as 32 bit, but when I build it as 64 bit I get the following error message:
*** Error in `./xrtf’: free(): invalid next size (fast): 0x000000000154de10 ***

Other 64 bit applications work well. What’s going wrong?

nothing.

Could you identify what the code executes while this happens?

Could be a memory management problem in Xojo runtime, something with declares or a plugin.

This happens when the program starts

hard to say without more than just a single error message

can you make a simple project to replicate?

No, it’s only with one (kinda complexed) project.

I think I found the problem. I’m using the BigUndo module in my project. When I remove it the programs runs fine.