Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jan 2010 16:12:04 GMT
From:      Fabiano Caixeta Duarte <fcd.listas@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/142790: Segmentation fault on isql -b
Message-ID:  <201001131612.o0DGC4Xm056061@www.freebsd.org>
Resent-Message-ID: <201001131620.o0DGK1Tm087652@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         142790
>Category:       ports
>Synopsis:       Segmentation fault on isql -b
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 13 16:20:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Fabiano Caixeta Duarte
>Release:        FreeBSD 7.0-RELEASE-p12
>Organization:
USP
>Environment:
FreeBSD pandora.fearp.usp.br 7.0-RELEASE-p12 FreeBSD 7.0-RELEASE-p12 #5: Fri Dec 11 11:48:35 BRST 2009     root@pandora.fearp.usp.br:/usr/obj/usr/src/sys/PANDORA  i386
>Description:
Using isql from unixODBC-2.2.14_2 gives me segmentation fault.

(gdb) core isql.core
Core was generated by `isql'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libodbc.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libodbc.so.1
Reading symbols from /usr/local/lib/libiconv.so.3...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /lib/libreadline.so.7...(no debugging symbols found)...done.
Loaded symbols for /lib/libreadline.so.7
Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /lib/libncurses.so.7...(no debugging symbols found)...done.
Loaded symbols for /lib/libncurses.so.7
Reading symbols from /usr/local/lib/nss_ldap.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/nss_ldap.so.1
Reading symbols from /usr/local/lib/libldap-2.3.so.2...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libldap-2.3.so.2
Reading symbols from /usr/local/lib/liblber-2.3.so.2...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/liblber-2.3.so.2
Reading symbols from /usr/local/lib/libsasl2.so.2...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libsasl2.so.2
Reading symbols from /usr/lib/libcom_err.so.4...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libcom_err.so.4
Reading symbols from /usr/lib/libssl.so.5...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libssl.so.5
Reading symbols from /lib/libcrypto.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libcrypto.so.5
Reading symbols from /usr/local/lib/libtdsodbc.so...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libtdsodbc.so
Reading symbols from /usr/local/lib/libodbcinst.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libodbcinst.so.1
Reading symbols from /lib/libthr.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x0804b587 in ?? ()
[New Thread 0x28436100 (LWP 100349)]

(gdb) bt
#0  0x0804b587 in ?? ()
#1  0x28417000 in ?? ()
#2  0x00002328 in ?? ()
#3  0x282fe400 in _CurrentRuneLocale () from /lib/libc.so.7
#4  0xbfbfe9b7 in ?? ()
#5  0xfffffffd in ?? ()
#6  0xbfbfe9bf in ?? ()
#7  0xfffffffd in ?? ()
#8  0x068acf04 in ?? ()
#9  0x08048a96 in ?? ()
#10 0x2807c800 in ?? ()
#11 0xbfbfe770 in ?? ()
#12 0x00000006 in ?? ()
#13 0x28417000 in ?? ()
#14 0x00000005 in ?? ()
#15 0x00000000 in ?? ()
#16 0xbfbfe9b0 in ?? ()
#17 0xbfbfe9b7 in ?? ()
#18 0xbfbfe9bf in ?? ()
#19 0x28414000 in ?? ()
#20 0x00002328 in ?? ()
#21 0x00002328 in ?? ()
#22 0x00000000 in ?? ()
#23 0x00000000 in ?? ()
#24 0x00000000 in ?? ()
#25 0x08048768 in ?? ()
#26 0x08048a96 in ?? ()
#27 0x280548d7 in dlopen () from /libexec/ld-elf.so.1
#28 0x080491d9 in ?? ()
#29 0x00000000 in ?? ()
#30 0x00000000 in ?? ()
#31 0xbfbfe8ac in ?? ()
#32 0x080491d9 in ?? ()
#33 0x00000005 in ?? ()
#34 0xbfbfe8b4 in ?? ()
#35 0xbfbfe8cc in ?? ()
#36 0x00000000 in ?? ()
#37 0x28053650 in dlclose () from /libexec/ld-elf.so.1
#38 0x00000005 in ?? () 
>How-To-Repeat:
echo $SQL | isql -b <db> <id> <pwd>
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001131612.o0DGC4Xm056061>