Skip to Content.
Sympa Menu

freetds - Re: [freetds] Need some help connectiing to MSSQL with tsql

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Edmundo Robles L." <erobles AT sensacd.com.mx>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Need some help connectiing to MSSQL with tsql
  • Date: Wed, 26 Nov 2008 13:26:08 -0600

in the prompt shell
first do:

gdb tsql core

after that, input the word 'where' in the gdb prompt '(gdb)'



Ing. Edmundo Robles Lopez.
Analista Programador.

--




-----Original Message-----
From: freetds-bounces AT lists.ibiblio.org on behalf of Vince ODea
Sent: Wed 11/26/2008 1:02 PM
To: FreeTDS Development Group
Subject: Re: [freetds] Need some help connectiing to MSSQL with tsql

Hi James,

None of the other tools work either. They all core dump.
How do I get a "Backtrace" or run tsql under gdb?

Cheers
Vince




________________________________
From: James K. Lowden <jklowden AT freetds.org>
To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
Sent: Tuesday, November 25, 2008 3:02:39 PM
Subject: Re: [freetds] Need some help connectiing to MSSQL with tsql

Vince ODea wrote:
>
> # TDSVER=7.0 /usr/local/freetds/bin/tsql -H X.X.X.X -p 20482 -U User
> # -P Pass
> locale is "C C C C C C"
> locale charset is "roman8"
> Memory fault(coredump)

Please try to get a backtrace either from the .core file or by running
tsql under gdb, to discover the function that failed. It shouldn't be
possible to engender a memory fault under any circumstances.

The problem might lie in tsql itself. Not all libtds functions check
their inputs, because that's considered the responsibility of the API
layer. You might want to try one of the other tools: bsqldb, fisql,
freebcp, and see how they behave.

--jkl
_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds




_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds

<<winmail.dat>>




Archive powered by MHonArc 2.6.24.

Top of Page