kdb+ w32 crashes in x64 UTF-8 codepage

Hi all,

I’ve only started to observe this problem recently. I’m seeking some ideas on how I could possible debug this problem.

I have two computers here: Windows 10 64-bit  /  Windows 7 64-bit

Both machines produce the exact same behaviour – kdb+ crashes right after the following steps:


>q

KDB+ 3.4 2016.06.14 Copyright (C) 1993-2016 Kx Systems

w32/ 4()core 4095MB flying flying-thinkpad 10.123.15.123 NONEXPIRE


Welcome to kdb+ 32bit edition

For support please see http://groups.google.com/d/forum/personal-kdbplus

Tutorials can be found at http://code.kx.com/wiki/Tutorials

To exit, type \

To remove this startup msg, edit q.q

q)\chcp

“Active code page: 936”

q)“?”

“\271\372”

q)

With codepage 936 (GB18030). So far so good. But…

q)\chcp 65001

“Active code page: 65001”

q)\chcp

“Active code page: 65001”

q)“?”


e:>

As you can see above, right after I switch to codepage 65001 (UTF-8), the exact same Chinese string causes kdb+ to crash.

I’m having a hard time figuring out what exactly is wrong here. Whatever that I was doing above looks pretty innocent, but it keeps breaking my system due to kdb+ crashing. Any pointer on how I could debug/resolve this is appreciated!

Thanks,

Flying