Skip to Content.
Sympa Menu

freetds - crash

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Julien Plissonneau Duquene <jpd AT junk.org>
  • To: freetds AT franklin.metalab.unc.edu
  • Subject: crash
  • Date: Thu, 7 Mar 2002 12:20:57 +0000


Hello,

I have been unable to connect to my server this morning. It used to
work fine.

Here is the output from a gdb session.

(gdb) r -Uplissonj -SDEVELOP -Jroman8
Starting program: /home/jpd/src/sqsh-2.1/test/bin/./sqsh -Uplissonj -SDEVELOP
-Jroman8
sqsh-2.1 Copyright (C) 1995-2001 Scott C. Gray
This is free software with ABSOLUTELY NO WARRANTY
For more information type '\warranty'
Password:

Program received signal SIGSEGV, Segmentation fault.
0x400e6e95 in memset () from /lib/libc.so.6
(gdb) ba
#0 0x400e6e95 in memset () from /lib/libc.so.6
#1 0x40022273 in tds_read_packet (tds=0x8079660) at read.c:327
#2 0x40021d55 in tds_get_byte (tds=0x8079660) at read.c:109
#3 0x4001dccc in tds_process_login_tokens (tds=0x8079660) at token.c:182
#4 0x40020e5c in tds_connect (login=0x8077130, locale=0x8077120,
parent=0x807a0d0) at login.c:259
#5 0x4001a6b6 in ct_connect (con=0x807a0d0, servername=0x80775c0 "DEVELOP",
snamelen=2) at ct.c:308
#6 0x0804c551 in cmd_connect (argc=1, argv=0x807a020) at cmd_connect.c:577
#7 0x0805ed05 in jobset_run (js=0x8075ec0, cmd_line=0x8064cb2 "\\connect",
exit_status=0xbffff488) at sqsh_job.c:487
#8 0x080503aa in cmd_loop (argc=1, argv=0x8079f50) at cmd_loop.c:140
#9 0x0805ed05 in jobset_run (js=0x8075ec0,
cmd_line=0x806911c "\\loop $script", exit_status=0xbffff754)
at sqsh_job.c:487
#10 0x0806234c in main (argc=4, argv=0xbffff9c4) at sqsh_main.c:638
#11 0x4008b6cf in __libc_start_main () from /lib/libc.so.6
(gdb) frame 1
#1 0x40022273 in tds_read_packet (tds=0x8079660) at read.c:327
327 memset(tds->in_buf, 0, tds->in_buf_max);
(gdb) p *tds
$1 = {s = 6, major_version = 5, minor_version = 0,
capabilities = "\001\a\003m\177ÿÿÿþ\002\a\000\000\nh\000\000",
broken_dates = 0 '\000', in_buf = 0x0, out_buf = 0x807afd0 "",
in_buf_max = 4294967288, in_pos = 0, out_pos = 8, in_len = 0, out_len = 0,
out_flag = 2 '\002', last_packet = 0 '\000', parent = 0x807a0d0,
res_info = 0x0, comp_info = 0x0, param_info = 0x0, has_status = 0 '\000',
ret_status = 0, msg_info = 0x8079700, state = 0 '\000', rows_affected = 0,
timeout = 0, longquery_timeout = 0, longquery_func = 0, longquery_param =
0,
queryStarttime = 0, env = 0x8079720, num_dyns = 0, cur_dyn_elem = 0,
dyns = 0x0, emul_little_endian = 0, use_iconv = 1, cdto = 0x808e8a0,
cdfrom = 0x8096968, date_fmt = 0x0}




  • crash, Julien Plissonneau Duquene, 03/07/2002
    • <Possible follow-up(s)>
    • Re: crash, Julien Plissonneau Duquene, 03/07/2002

Archive powered by MHonArc 2.6.24.

Top of Page