I'm getting the same problem. The error in my case occurs when the program is closed or you use TOracleSession.Logoff.
If I got back to the 8.1.5 or 8.1.6 client it works ok. This happens on both my machines 1 WinNT4 SP6 and the other Win2K Sp2.
We are using DOA 3.4.5
Thanks
Dion