2023.05.22 10:24 AM
Hello there,
I have recently encountered issues using the Kx C++ interface with an application I develop in the Qt framework after upgrading from Qt 5.15.2 to 6.4.2 (which also involved upgrading the Mingw version from 8.1.0 to 11.2.0. In my application I am using the most recent versions of k.h and w64/c_static.lib from the KxSystems GitHub. After doing the upgrade, the program compiles, builds and starts fine however on the very first call to a method defined in k.h:
ktn(KS, 0)
the entire application crashes with a SIGSEGV error. Since I don't have access to the source for the ktn method I cannot pinpoint where the crash is occurring.
For reference, I am able to run the application without any errors with this set up (C++ 14):
I am experiencing the crash when I try to start the application after rebuilding with this setup (C++ 17):
Is there any known compatibility issues with the C++ interface and the versions I am using above?
Thank you
EMEA
Tel: +44 (0)28 3025 2242
AMERICAS
Tel: +1 (212) 447 6700
APAC
Tel: +61 (0)2 9236 5700
KX. All Rights Reserved.
KX and kdb+ are registered trademarks of KX Systems, Inc., a subsidiary of FD Technologies plc.