Example programs crash on exit in Release mode but not Debug mode
By anonymous on 2018-10-18 17:27:08 [link]
I downloaded the latest 3.2.4 and built it on Windows with VS2017. When I run the resetdb and simple1 examples in the debug build, everything works, but when run in Release mode the programs work but then crash at the end. Per this thread here, this is likely due to overrunning an array:
The specific error is:
Unhandled exception at 0x00007FFA5436842B (ntdll.dll) in resetdb.exe: 0xC0000374: A heap has been corrupted (parameters: 0x00007FFA543CC6E0).
By tangent on 2018-10-25 07:15:09 and edited on 2018-10-25 07:23:00 [link]
I've tried working on this, but it's complicated by the fact that Visual Studio 2017 doesn't appear to import the VS2008 project files correctly. That makes me assume you're building using hand-built project files.
Regardless, I cannot replicate the behavior you're seeing.
I'm thinking it's time to abandon Bakefile, which then makes me wonder whether I should just call
libtabula "MySQL++ 4.0" or if I should backport its CMake-based build system to MySQL++ 3.x and let
libtabula continue to be an experimental variant of MySQL++.
I'm leaning toward the first option.