You mention in this thread this is to connect to DB2. It reminds me of a problem i had at a large company using DB2 for LUW.
The database and the corporate approved drivers were different versions, causing more than one interesting crash. One case (due to a bug in my code) returned an index out of range error, but when called from VB brought down the server! DB2 can be temperamental. How the calling program mattered, i do not know.
Because of this strange error, i would suggest that you check that the versions match up between server and client.