Crash in OCILobRead2() when fetching JSON in to SQLT_CLOB
Hello,
I am using Oracle instant client 21.1.0.0.0 and an 21c ATP database in Oracle cloud.
According to the OCI doc:
Section "Compatibility with Client Libraries Prior to Release 21c"
It should be possible to fetch native JSON data into SQLT_CLOB.
But when reading the CLOB data after fetch the row, I get a crash in OCILobRead2().
I have a sample program to reproduce.
Here the stack trace of gdc (my OCI client runs on Linux Debian 10):
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff5256c65 in kpulbc_get_pref_data () from /opt3/dbs/ora/instantclient_21/libclntsh.so.21.1
(gdb) where