Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

gdb output for tsql -FreeTDS on Interix: msg#00241

db.tds.freetds

Subject: gdb output for tsql -FreeTDS on Interix

Hi All,

Found lots of help in freetds archives...thanks a lot for
maintaining them.

I am reading through the "iconv" related archives, so far very little sunk
in. Sure would try and read more on that..

Bill,

Thanks for mentioning the debugger. Got few more options to use with gdb
from the list.

Script created for TSQL


Script started on Wed Oct 29 17:23:42 2003
Script flushing every 30 seconds
$ gdb tsql
GNU gdb 2002-11-11-cvs
Copyright 2002 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-pc-interix3"...
(gdb) r -S CCR23MSG2F08 -U sa -P freetds -p 1433 -I
/dev/fs/C/SFU/usr/examples/fr
eetds-0.62.dev.20030410/freetds.conf
Starting program:
/dev/fs/C/SFU/usr/examples/freetds-0.62.dev.20030410/src/apps/
tsql -S CCR23MSG2F08 -U sa -P freetds -p 1433 -I
/dev/fs/C/SFU/usr/examples/freetds-0.62.dev.20030410/freetds.conf
locale is "POSIX:POSIX:POSIX:POSIX:POSIX:POSIX"
charset is "ASCII"
option is S
option is U
option is P
option is p
option is I
abt to open connection
CONFIG.C:login server name CCR23MSG2F08
host name=ctpmcgindran,srv name=CCR23MSG2F08
here the val is ctpmcgindran
logfile specfd =/tmp/freetds.log and hnam=ctpmcgindran
end of new code
before 7 send login
abt to put the string of the host
ctpmcgindran
bpc is 0 ,str=ctpmcgindran ,len=12
tsql: Assertion failed: "bpc", file write.c, line 128

Program received signal SIGABRT, Aborted.
0x77f8917a in ?? ()
(gdb) bt
#0 0x77f8917a in ?? ()
#1 0x77d815f2 in abort () from /usr/lib/libc.so.3.5
#2 0x77d82bb9 in _assert () from /usr/lib/libc.so.3.5
#3 0x00416b0e in tds_put_string ()
#4 0x00406c5e in tds7_send_login ()
#5 0x00405913 in tds_connect ()
#6 0x004024ef in main (argc=11, argv=0x10904) at tsql.c:484
(gdb) l
484 if (!connect_info || tds_connect(tds, connect_info) ==
TDS_FAIL)
{
485 tds_free_connect(connect_info);
486 fprintf(stderr, "There was a problem connecting to
the s
erver\n");
487 exit(1);
488 }
489 tds_free_connect(connect_info);
490 /* give the buffer an initial size */
491 bufsz = 4096;
492 mybuf = (char *) malloc(bufsz);
493 mybuf[0] = '\0';
(gdb) kill
Kill the program being debugged? (y or n) y
(gdb) quit
$ exit
Script done on Wed Oct 29 17:27:11 2003



Many Thanks
Swapna



**************************************************************************
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
hardware.arm.at...    cms.citadel.dev...    video.gstreamer...    java.facelets.u...    misc.basics.qna...    web.wiki.instik...    network.uip.use...    xdg.devel/2003-...    tex.bibtex.bibd...    finance.quotesp...    ietf.zeroconf/2...    redhat.blinux.g...    suse.db2/2003-0...    php.phpesp/2004...    uml.devel/2003-...    gnome.labyrinth...    qnx.openqnx.dev...    boot-loaders.gr...    db.dataperfect....    audio.audacity....    linux.uclinux.m...    editors.j.devel...    os.openbsd.tech...    kde.users.multi...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive 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

Navigation