Skip to Content.
Sympa Menu

freetds - Re: [freetds] Segmentation fault in DBLIB - SETUSER/SETPWD

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Frediano Ziglio" <freddy77 AT gmail.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Segmentation fault in DBLIB - SETUSER/SETPWD
  • Date: Wed, 19 Sep 2007 13:46:21 +0200

2007/9/18, Amanda Wise <awise AT idtdna.com>:
>
> In reference to my previous email, I found the link to the original topic
> from July 2003.
>
> https://lists.ibiblio.org/sympa/arc/freetds/2003q3/013444.html
>
> I have narrowed down the problem to the following places using GDB:
>
> For SETUSER:
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1208211776 (LWP 30863)]
> tds_dstr_copy (s=0x6373748a, src=0xbffd0700 "XXXXX\t") at tdsstring.c:126
>
> 126 if (*s != (DSTR) &tds_str_empty)
> #0 tds_dstr_copy (s=0x6373748a, src=0xbffd0700 "XXXXX\t")
> at tdsstring.c:126
> #1 0x00325e2a in tds_set_user (tds_login=0x63737462,
> username=0xbffd0700 "XXXXX\t") at login.c:94



tds_login == 0x63737462 ???
"cstb" ??? where does this pointer came??

#2 0x003106ec in dbsetlname (login=0xbffd0500, value=0xbffd0700 "XXXXX\t",
> which=2) at dblib.c:441
> #3 0x0804f0a9 in DBConnection::connect (this=0xbffd0500)
> at DBConnection.cpp:59
> #4 0x0805d8b0 in main (argc=1, argv=0xbffd0d94) at Main_parse.cpp:16



freddy77




Archive powered by MHonArc 2.6.24.

Top of Page