I mean debug trace, if it produced. Anyway, I see no good reasons why it crashes. There are many checks in GetFieldName() method to avoid any problems like you see.
I propose two more tests, but it may takes time.
Install on this machine version 5.16. Just to prove that Oracle is working. Alternative is run sqlplus (if it is installed on your machine) and try same statements as you doing in script.
Compile version 5.18 from source. For this you need not only Oracle libraries, but also includes installed on this machine. I suspect, that binary ROOT version was compiled with another InstantClient.
ROOT didn’t produce a debug trace. How do I get it?
sqlplus with the same query works.
Okay, this will take some time.
Is this the flags used to make the binaries: root.cern.ch/root/myconfig/Versi … onfig.html ?
If so, this is the same as 5.16 and should not be a problem.
Exactly this options I have in mind.
Probably, you can skip all irrelevant options like mysql, castor and so on.
It is also good idea to add option “–build debug”.
As I can see from configure options, binary ROOT was compiled with Oracle 10.2.0.2, you are using 10.2.0.3. This looks like buf-fix patch, but may also affect interface and be a reason for your problems.
Turns out the problem was an outdated OCCI as described in here. Needed to download the patched OCCI (10.2.0.3 gcc3.4.3 32bit) from here and install it.