[unixODBC-support] Segmentation Fault when using isql with IBM DB2 drivers

Martin J. Evans martin.evans at easysoft.com
Tue Jul 18 16:27:11 BST 2006


On 18-Jul-2006 Brian Schonecker wrote:
> Does this help at all?
> 

It might, it fell over in libdb2.so - the DB2 driver.

A stack dump might be slightly more helpful. Repeat your gdb session but type
where after it segfaults and send output.

Martin
--
Martin J. Evans
Easysoft Ltd, UK
http://www.easysoft.com

> 
> db2inst1 at opportunity:~> gdb /usr/local/bin/isql
> GNU gdb 6.3
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "i586-suse-linux"...Using host libthread_db
> library "/lib/tls/libthread_db.so.1".
> 
> (gdb) r -v dsnt
> Starting program: /usr/local/bin/isql -v dsnt
> [Thread debugging using libthread_db enabled]
> [New Thread 1076039360 (LWP 26089)]
> +---------------------------------------+
>| Connected!                            |
>|                                       |
>| sql-statement                         |
>| help [tablename]                      |
>| quit                                  |
>|                                       |
> +---------------------------------------+
> SQL> select * from sysadm.tmktest
> +----------------+------------------+-------------------+---------------------
> ----------------------------------------+
>| QON_COMPANY_CDE| QON_QUOTE_DIV_NBR| QON_NEXT_QUOTE_NBR| QON_QUOTE_DIV_NAM   
>| |
> +----------------+------------------+-------------------+---------------------
> ----------------------------------------+
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 1076039360 (LWP 26089)]
> 0x406e8875 in CLI_scrolGetaRow2 () from /usr/IBMdb2/V7.1/lib/libdb2.so
> (gdb) quit
> The program is running.  Exit anyway? (y or n) y
> 
> 
> 
> _______________________________________________
> unixODBC-support mailing list
> unixODBC-support at easysoft.com
> http://mail.easysoft.com/mailman/listinfo/unixodbc-support



More information about the unixODBC-support mailing list