[unixODBC-support] Is the unixodbc driver MT safe.

Aditya Bhasin aditya.bhasin at openwave.com
Thu Mar 17 20:05:52 GMT 2005


Question, is the driver MT safe ?

 

I run my program with a single thread and it works fine. Run it with 50 and
it cores.

 

Here is the stack trace

 

Program terminated with signal 11, Segmentation fault.

(gdb) where

#0  0x00fd3bf6 in thread_protect () from /usr/lib/libodbc.so.1

#1  0x00faa438 in SQLError () from /usr/lib/libodbc.so.1

#2  0x0804a935 in TQuery::printError (this=0xbffe77d0, log=

      {fp = 0x0, logLevel = 4}, rc=0, henv=0x87ace18, hdbc=0x8839e60, 

    hstmt=0x8bd4ab0) at query.cpp:346

#3  0x0804a3c1 in TQuery::execWrite (this=0xbffe77d0, henv=0x87ace18, 

    hdbc=0x8839e60, log={fp = 0x0, logLevel = 4},

 

 

thanks,

 

aditya

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-support/attachments/20050317/06b7246b/attachment.html>


More information about the unixODBC-support mailing list