|
|
Choosing A Webhost: |
ODBC driver crash when used with libodbc++: msg#00240db.tds.freetds
Hi, The FreeTDS ODBC driver crashes when used from the isql++ command line tool from libodbc++. The FreeTDS driver also seems to corrupt some of the data returned (compare with the sybase driver below). To reproduce, build libodbc++ 0.2.3 from http://libodbcxx.sourceforge.net/ and run isql++. For example, here is a run with the FreeTDS driver that ends in a core dump, followed by a run with the sybase driver so that you can see the expected results. Cheers, Alex. $ isql++ 'DSN=TRAJANDEVTDS;UID=blackuser;PWD=xxxxxxxx;WKID=julius;' Connected to sql server 12.05.0000 using libtdsodbc.so 0.62.dev.20031029 (ODBC Version 3.0) SQL> select * from sysusers; suid uid gid name environ =========== =========== =========== ==== ==================================== -16391 16391 16391 ha_r <NULL> -16390 16390 16390 dtm_ <NULL> 0 0 0 -16389 16389 16389 repl <NULL> 0 0 0 0 0 0 -16388 16388 16388 navi <NULL> 0 0 0 0 0 0 17 17 17 ? ? -16387 16387 16387 syba <NULL> 0 0 0 0 0 0 17 17 17 ? ? 4 4 4 Segmentation fault (core dumped) $ isql++ 'DSN=TRAJANDEV;UID=blackuser;PWD=xxxxxxxx;WKID=julius;' Connected to SQL Server 12.50.0000 using syodase.so 11.1.1/03.11.0000 (ODBC Version 3.50) SQL> select * from sysusers; suid uid gid name environ =========== =========== =========== ==== ==================================== -16391 16391 16391 ha_r <NULL> -16390 16390 16390 dtm_ <NULL> -16389 16389 16389 repl <NULL> -16388 16388 16388 navi <NULL> -16387 16387 16387 syba <NULL> -16386 16386 16386 oper <NULL> -16385 16385 16385 sso_ <NULL> -16384 16384 16384 sa_r <NULL> -2 0 0 publ <NULL> 45 1 0 dbo <NULL> 46 3 0 blac <NULL> 47 4 0 blac <NULL> 12 rows fetched. -1 rows affected SQL>
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ freetds-Patches-832242 ] Patch for FreeTDS without an ODBC driver manager, SourceForge.net |
|---|---|
| Next by Date: | gdb output for tsql -FreeTDS on Interix, Swapna_Anand |
| Previous by Thread: | [ freetds-Patches-832242 ] Patch for FreeTDS without an ODBC driver manager, SourceForge.net |
| Next by Thread: | gdb output for tsql -FreeTDS on Interix, Swapna_Anand |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |