Skip to Content.
Sympa Menu

freetds - RE: [freetds] freetds core dumps

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Lowden, James K" <LowdenJK AT bernstein.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] freetds core dumps
  • Date: Tue, 17 Feb 2004 16:32:34 -0500

> From: Ravi Krishna [mailto:srkrishna AT yahoo.com]
> Sent: February 17, 2004 4:12 PM
> > > From: Ravi Krishna [mailto:srkrishna AT yahoo.com]
> > > Sent: February 17, 2004 12:54 PM
> > >
> > > If I build freetds library with tdsversion set to greater
> than 5.0,
> > > it core dumps.
>
> sorry it was a false alarm.
>
> it core dumps tsql while running it if I set enviroment
> variable TDSVER to 8.0 or 7.0.
>
> $env | grep TDSVER
> TDSVER=8.0
> $ tsql -H 192.168.2.24 -p 1433 -U user_name -P password
>
> locale is "C"
> locale charset is ""
> Arithmetic Exception(coredump)
>
> what I did was to set TDSVER to 8 and not 8.0. It works.
> So it means that TDSVER should be set to 8 and not 8.0

Actually, Ravi, it looks like a bug, for which you found a workaround. We
expect TDSVER=8.0 to work and we expect TDSVER=8 to fail. It might be
specific to Solaris. Could you please try the following in gdb:

$ export TDSVER=8.0
$ gdb tsql
(gdb) set arg -H 192.168.2.24 -p 1433 -U user_name -P password
(gdb) run
[exception message]
(gdb) bt
[interesting stack trace]

I'd like to know what function caused the exception.

--jkl

-----------------------------------------
The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named above. If you are not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, any
review, dissemination, distribution or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the original
message. Please note that we do not accept account orders and/or instructions
by e-mail, and therefore will not be responsible for carrying out such orders
and/or instructions.
If you, as an intended recipient of this commercial e-mail or advertisement,
would not like to receive further e-mail correspondence from the sender,
please "reply" to the sender indicating your wishes.
In the U.S.: 1345 Avenue of the Americas, New York, NY 10105








Archive powered by MHonArc 2.6.24.

Top of Page