Segmentation fault - 64bit - websockets

Dear kdb community,

I am running identical q scripts on 2 parallel kdb engines, that feed data from websockets. One is a 64bit package on a 64bit computer. The other a 32bit package on a 32bit computer. The 32bit script runs without any errors. The 64bit script runs for about 5 minutes before exiting with a segmentation fault.

I’m not at liberty to post the full code on this forum but does anybody have an idea why there would be a segmentation fault on a 64bit system and not 32bit? If not, is it possible to run the 32bit kbd package on a 64bit system?

Faithfully,

Alexander

Hi Alexander,


the same release of kdb+ for 32 and 64bit should behave the same (address-space permitting). Neither should crash!

Please consider the following:


https://code.kx.com/q/about/kxtechnology/#reporting-bugs-in-kx-products


if you see a stack-trace printed during the crash, please include that in any email to us.


In the meantime, yes, you can run 32bit processes on a 64bit OS, assuming the relevant multiarch libs are in place.

thanks

Thank you Charles,

Here was what was printed in the console during the crash.

Sorry, this application or an associated library has encountered a fatal error and will exit.
If known, please email the steps to reproduce this error to tech@kx.com
with a copy of the kdb+ startup banner.
Thank you.
q() [0x47a9c1]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x110c0) [0x7f9451fb40c0]
/lib/x86_64-linux-gnu/libc.so.6(+0x399c58) [0x7f9451f9dc58]
./streamorders.sh: line 12:  7609 Segmentation fault      q feed/loadexchanges.q -p 5000

Faithfully,

Alexander