Skip to Content.
Sympa Menu

freetds - Re: [freetds] make check results/errors

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Knut Behrends <knb AT gfz-potsdam.de>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] make check results/errors
  • Date: Fri, 06 Feb 2009 09:48:59 +0100

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Hi Knut,
>
> I'm very interested in your experience, and I'm happy to get good libtool
> rpath advice.
> Regards,

Hi James,
my current assignments don't leave me enough time, and my C programming
skills are too rusty at this time to submit patches to the freetds code.

I am more of an interested end user. This is why I didn't try CVS head
because I rarely use the gnu autotools and last time didn't really
figure out how to generate a working configure-script for the freetds
package.

Concerning dblib test t001:


./t0001
found gmt83.tempdb for disadm in "../../../PWD"
Starting .
About to logon as "disadm"
About to open "gmt83"
Using database "tempdb"
Segmentation Fault (core dumped)


dblib test t0001 dumped core. See attachemnt for the freetds.log for
this test. Alternatively I can send you the 3.2 MB core file if you wish
(don't know if this can be useful).


Knut





- --
____________________________________________________________________________

Knut Behrends Phone: +49 (0) 331 288 1688
Potsdam 14473 KeyID: 0xF22CACEF (PGP Public Key)
____________________________________________________________________________
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkmL+XsACgkQcfWHNfIsrO8hEwCeP63OVdZQI9YYFVtZDdGR7++K
zoIAnjt65zUrvDIT0TBNsDFz00VIKvIm
=9vmY
-----END PGP SIGNATURE-----
09:43:13.215855 19307 (log.c:196):Starting log file for FreeTDS 0.83.dev.20090104
	on 2009-02-06 09:43:13 with debug flags 0xffff.
09:43:13.215995 19307 (iconv.c:337):tds_iconv_open(2a000, ISO-8859-1)
09:43:13.216031 19307 (iconv.c:78):Using trivial iconv
09:43:13.216142 19307 (iconv.c:197):local name for ISO-8859-1 is ISO-8859-1
09:43:13.216176 19307 (iconv.c:197):local name for UTF-8 is UTF-8
09:43:13.216205 19307 (iconv.c:197):local name for UCS-2LE is UCS-2LE
09:43:13.216233 19307 (iconv.c:197):local name for UCS-2BE is (null)
09:43:13.216261 19307 (iconv.c:365):setting up conversions for client charset "ISO-8859-1"
09:43:13.216290 19307 (iconv.c:367):preparing iconv for "ISO-8859-1" <-> "UCS-2LE" conversion
09:43:13.216353 19307 (iconv.c:404):preparing iconv for "ISO-8859-1" <-> "UCS-2LE" conversion
09:43:13.216411 19307 (iconv.c:407):tds_iconv_open: done
09:43:13.216446 19307 (net.c:217):Connecting to 139.17.166.183 port 1433 (TDS version 8.0)
09:43:13.216764 19307 (net.c:273):tds_open_socket: connect(2) returned "Operation now in progress"
09:43:13.217252 19307 (net.c:313):tds_open_socket() succeeded
09:43:13.217289 19307 (util.c:162):Changed query state from DEAD to IDLE
09:43:13.217351 19307 (login.c:768):quietly sending TDS 7+ login packet
09:43:13.217506 19307 (token.c:314):tds_process_login_tokens()
09:43:13.219234 19307 (net.c:652):Received packet
0000 04 01 01 6d 00 38 01 00-e3 1b 00 01 06 74 00 65 |...m.8.. .....t.e|
0010 00 6d 00 70 00 64 00 62-00 06 6d 00 61 00 73 00 |.m.p.d.b ..m.a.s.|
0020 74 00 65 00 72 00 ab 60-00 45 16 00 00 02 00 25 |t.e.r..` .E.....%|
0030 00 43 00 68 00 61 00 6e-00 67 00 65 00 64 00 20 |.C.h.a.n .g.e.d. |
0040 00 64 00 61 00 74 00 61-00 62 00 61 00 73 00 65 |.d.a.t.a .b.a.s.e|
0050 00 20 00 63 00 6f 00 6e-00 74 00 65 00 78 00 74 |. .c.o.n .t.e.x.t|
0060 00 20 00 74 00 6f 00 20-00 27 00 74 00 65 00 6d |. .t.o.  .'.t.e.m|
0070 00 70 00 64 00 62 00 27-00 2e 00 05 47 00 4d 00 |.p.d.b.' ....G.M.|
0080 54 00 38 00 33 00 00 00-00 e3 08 00 07 05 09 04 |T.8.3... ........|
0090 d0 00 00 00 e3 17 00 02-0a 75 00 73 00 5f 00 65 |........ .u.s._.e|
00a0 00 6e 00 67 00 6c 00 69-00 73 00 68 00 00 ab 64 |.n.g.l.i .s.h...d|
00b0 00 47 16 00 00 01 00 27-00 43 00 68 00 61 00 6e |.G.....' .C.h.a.n|
00c0 00 67 00 65 00 64 00 20-00 6c 00 61 00 6e 00 67 |.g.e.d.  .l.a.n.g|
00d0 00 75 00 61 00 67 00 65-00 20 00 73 00 65 00 74 |.u.a.g.e . .s.e.t|
00e0 00 74 00 69 00 6e 00 67-00 20 00 74 00 6f 00 20 |.t.i.n.g . .t.o. |
00f0 00 75 00 73 00 5f 00 65-00 6e 00 67 00 6c 00 69 |.u.s._.e .n.g.l.i|
0100 00 73 00 68 00 2e 00 05-47 00 4d 00 54 00 38 00 |.s.h.... G.M.T.8.|
0110 33 00 00 00 00 ad 36 00-01 71 00 00 01 16 4d 00 |3.....6. .q....M.|
0120 69 00 63 00 72 00 6f 00-73 00 6f 00 66 00 74 00 |i.c.r.o. s.o.f.t.|
0130 20 00 53 00 51 00 4c 00-20 00 53 00 65 00 72 00 | .S.Q.L.  .S.e.r.|
0140 76 00 65 00 72 00 00 00-00 00 08 00 02 f8 e3 13 |v.e.r... ........|
0150 00 04 04 34 00 30 00 39-00 36 00 04 34 00 30 00 |...4.0.9 .6..4.0.|
0160 39 00 36 00 fd 00 00 00-00 00 00 00 00          |9.6..... .....|

09:43:13.220061 19307 (token.c:318):looking for login token, got  e3(ENVCHANGE)
09:43:13.220094 19307 (token.c:110):tds_process_default_tokens() marker is e3(ENVCHANGE)
09:43:13.220136 19307 (dblib.c:325):db_env_chg(2a000, 1, master, tempdb)
09:43:13.220170 19307 (token.c:318):looking for login token, got  ab(INFO)
09:43:13.220200 19307 (token.c:110):tds_process_default_tokens() marker is ab(INFO)
09:43:13.220231 19307 (token.c:2528):tds_process_msg() reading message from server
09:43:13.220270 19307 (token.c:2601):tds_process_msg() calling client msg handler
09:43:13.220299 19307 (dbutil.c:86):_dblib_handle_info_message(28e70, 2a000, ffbfe7d8)
09:43:13.220329 19307 (dbutil.c:87):msgno 5701: "Changed database context to 'tempdb'."
09:43:13.220372 19307 (token.c:2614):tds_process_msg() returning TDS_SUCCEED
09:43:13.220403 19307 (token.c:318):looking for login token, got  e3(ENVCHANGE)
09:43:13.220432 19307 (token.c:110):tds_process_default_tokens() marker is e3(ENVCHANGE)
09:43:13.220462 19307 (token.c:2359):tds_process_env_chg(): 5 bytes of collation data received
09:43:13.220491 19307 (token.c:2360):tds->collation was
0000 00 00 00 00 00         -                        |.....|

09:43:13.220537 19307 (iconv.c:1018):setting server single-byte charset to "CP1252"
09:43:13.220597 19307 (iconv.c:484):tds_iconv_info_init: use memcpy to convert "ISO-8859-1"->"CP1252"
09:43:13.220630 19307 (token.c:2370):tds->collation now
0000 09 04 d0 00 00         -                        |.....|

09:43:13.220672 19307 (token.c:318):looking for login token, got  e3(ENVCHANGE)
09:43:13.220702 19307 (token.c:110):tds_process_default_tokens() marker is e3(ENVCHANGE)
09:43:13.220737 19307 (dblib.c:325):db_env_chg(2a000, 2, , us_english)
09:43:13.220769 19307 (token.c:318):looking for login token, got  ab(INFO)
09:43:13.220798 19307 (token.c:110):tds_process_default_tokens() marker is ab(INFO)
09:43:13.220828 19307 (token.c:2528):tds_process_msg() reading message from server
09:43:13.220865 19307 (token.c:2601):tds_process_msg() calling client msg handler
09:43:13.220894 19307 (dbutil.c:86):_dblib_handle_info_message(28e70, 2a000, ffbfe7d8)
09:43:13.220924 19307 (dbutil.c:87):msgno 5703: "Changed language setting to us_english."
09:43:13.220955 19307 (token.c:2614):tds_process_msg() returning TDS_SUCCEED
09:43:13.220984 19307 (token.c:318):looking for login token, got  ad(LOGINACK)
09:43:13.221019 19307 (token.c:318):looking for login token, got  e3(ENVCHANGE)
09:43:13.221050 19307 (token.c:110):tds_process_default_tokens() marker is e3(ENVCHANGE)
09:43:13.221086 19307 (token.c:2417):changing block size from 4096 to 4096
09:43:13.221116 19307 (dblib.c:325):db_env_chg(2a000, 4, 4096, 4096)
09:43:13.221147 19307 (token.c:318):looking for login token, got  fd(DONE)
09:43:13.221176 19307 (token.c:110):tds_process_default_tokens() marker is fd(DONE)
09:43:13.221207 19307 (token.c:2279):tds_process_end: more_results = 0
		was_cancelled = 0
		error = 0
		done_count_valid = 0
09:43:13.221239 19307 (token.c:2295):tds_process_end() state set to TDS_IDLE
09:43:13.221268 19307 (token.c:2310):                rows_affected = 0
09:43:13.221296 19307 (token.c:395):leaving tds_process_login_tokens() returning 1
09:43:13.221330 19307 (mem.c:603):tds_free_all_results()
09:43:13.221360 19307 (util.c:162):Changed query state from IDLE to QUERYING
09:43:13.221390 19307 (write.c:136):tds_put_string converting 19 bytes of "set textsize 64512 "
09:43:13.221453 19307 (write.c:164):tds_put_string wrote 38 bytes
09:43:13.221484 19307 (util.c:162):Changed query state from QUERYING to PENDING
09:43:13.221515 19307 (net.c:767):Sending packet
0000 01 01 00 2e 00 00 00 00-73 00 65 00 74 00 20 00 |........ s.e.t. .|
0010 74 00 65 00 78 00 74 00-73 00 69 00 7a 00 65 00 |t.e.x.t. s.i.z.e.|
0020 20 00 36 00 34 00 35 00-31 00 32 00 20 00       | .6.4.5. 1.2. .|

09:43:13.221686 19307 (token.c:497):tds_process_tokens(2a000, ffbfe8ec, ffbfe8e8, 0x100)
09:43:13.221722 19307 (util.c:162):Changed query state from PENDING to READING
09:43:13.222447 19307 (net.c:652):Received packet
0000 04 01 00 11 00 38 01 00-fd 00 00 be 00 00 00 00 |.....8.. ........|
0010 00                     -                        |.|

09:43:13.222525 19307 (token.c:512):processing result tokens.  marker is  fd(DONE)
09:43:13.222558 19307 (token.c:2279):tds_process_end: more_results = 0
		was_cancelled = 0
		error = 0
		done_count_valid = 0
09:43:13.222590 19307 (token.c:2295):tds_process_end() state set to TDS_IDLE
09:43:13.222618 19307 (util.c:162):Changed query state from READING to IDLE
09:43:13.222647 19307 (token.c:2310):                rows_affected = 0
09:43:13.222675 19307 (util.c:110):logic error: cannot change query state from IDLE to PENDING
09:43:13.222705 19307 (token.c:497):tds_process_tokens(2a000, ffbfe8ec, ffbfe8e8, 0x100)
09:43:13.222735 19307 (token.c:500):tds_process_tokens() state is COMPLETED
09:43:13.222769 19307 (dblib.c:237):dblib_add_connection(ff37e418, 2a000)
09:43:13.222811 19307 (dblib.c:722):dbloginfree(29658)
09:43:13.222898 19307 (dblib.c:1331):dbuse(28cc0, tempdb)
09:43:13.222938 19307 (dblib.c:1247):dbcmd(28cc0, use tempdb)
09:43:13.223005 19307 (dblib.c:1254):dbcmd() bufsz = 0
09:43:13.223049 19307 (dblib.c:1302):dbsqlexec(28cc0)
09:43:13.223081 19307 (dblib.c:6725):dbsqlsend(28cc0)
09:43:13.223111 19307 (mem.c:603):tds_free_all_results()
09:43:13.223141 19307 (util.c:162):Changed query state from IDLE to QUERYING
09:43:13.223170 19307 (write.c:136):tds_put_string converting 10 bytes of "use tempdb"
09:43:13.223202 19307 (write.c:164):tds_put_string wrote 20 bytes
09:43:13.223230 19307 (util.c:162):Changed query state from QUERYING to PENDING
09:43:13.223260 19307 (net.c:767):Sending packet
0000 01 01 00 1c 00 00 01 00-75 00 73 00 65 00 20 00 |........ u.s.e. .|
0010 74 00 65 00 6d 00 70 00-64 00 62 00             |t.e.m.p. d.b.|

09:43:13.223395 19307 (dblib.c:4534):dbsqlok(28cc0)
09:43:13.224128 19307 (net.c:652):Received packet
0000 04 01 00 9d 00 38 01 00-e3 1b 00 01 06 74 00 65 |.....8.. .....t.e|
0010 00 6d 00 70 00 64 00 62-00 06 74 00 65 00 6d 00 |.m.p.d.b ..t.e.m.|
0020 70 00 64 00 62 00 ab 60-00 45 16 00 00 01 00 25 |p.d.b..` .E.....%|
0030 00 43 00 68 00 61 00 6e-00 67 00 65 00 64 00 20 |.C.h.a.n .g.e.d. |
0040 00 64 00 61 00 74 00 61-00 62 00 61 00 73 00 65 |.d.a.t.a .b.a.s.e|
0050 00 20 00 63 00 6f 00 6e-00 74 00 65 00 78 00 74 |. .c.o.n .t.e.x.t|
0060 00 20 00 74 00 6f 00 20-00 27 00 74 00 65 00 6d |. .t.o.  .'.t.e.m|
0070 00 70 00 64 00 62 00 27-00 2e 00 05 47 00 4d 00 |.p.d.b.' ....G.M.|
0080 54 00 38 00 33 00 00 01-00 e3 08 00 07 05 09 04 |T.8.3... ........|
0090 d0 00 00 00 fd 00 00 e2-00 00 00 00 00          |........ .....|

09:43:13.224495 19307 (dblib.c:4568):dbsqlok() not done, calling tds_process_tokens()
09:43:13.224525 19307 (token.c:497):tds_process_tokens(2a000, ffbfeb14, ffbfeb10, 0x6914)
09:43:13.224557 19307 (util.c:162):Changed query state from PENDING to READING
09:43:13.224586 19307 (token.c:512):processing result tokens.  marker is  e3(ENVCHANGE)
09:43:13.224615 19307 (token.c:110):tds_process_default_tokens() marker is e3(ENVCHANGE)
09:43:13.224652 19307 (dblib.c:325):db_env_chg(2a000, 1, tempdb, tempdb)
09:43:13.224684 19307 (token.c:512):processing result tokens.  marker is  ab(INFO)
09:43:13.224714 19307 (token.c:110):tds_process_default_tokens() marker is ab(INFO)
09:43:13.224743 19307 (token.c:2528):tds_process_msg() reading message from server
09:43:13.224781 19307 (token.c:2601):tds_process_msg() calling client msg handler
09:43:13.224811 19307 (dbutil.c:86):_dblib_handle_info_message(28e70, 2a000, ffbfe938)
09:43:13.224842 19307 (dbutil.c:87):msgno 5701: "Changed database context to 'tempdb'."
09:43:13.224871 19307 (token.c:2614):tds_process_msg() returning TDS_SUCCEED
09:43:13.224900 19307 (token.c:512):processing result tokens.  marker is  e3(ENVCHANGE)
09:43:13.224929 19307 (token.c:110):tds_process_default_tokens() marker is e3(ENVCHANGE)
09:43:13.224960 19307 (token.c:2359):tds_process_env_chg(): 5 bytes of collation data received
09:43:13.224988 19307 (token.c:2360):tds->collation was
0000 09 04 d0 00 00         -                        |.....|

09:43:13.225034 19307 (iconv.c:1018):setting server single-byte charset to "CP1252"
09:43:13.225064 19307 (token.c:2370):tds->collation now
0000 09 04 d0 00 00         -                        |.....|

09:43:13.225107 19307 (token.c:512):processing result tokens.  marker is  fd(DONE)
09:43:13.225137 19307 (token.c:2279):tds_process_end: more_results = 0
		was_cancelled = 0
		error = 0
		done_count_valid = 0
09:43:13.225167 19307 (token.c:2295):tds_process_end() state set to TDS_IDLE
09:43:13.225195 19307 (util.c:162):Changed query state from READING to IDLE
09:43:13.225224 19307 (token.c:2310):                rows_affected = 0
09:43:13.225253 19307 (util.c:110):logic error: cannot change query state from IDLE to PENDING
09:43:13.225285 19307 (dblib.c:4605):dbsqlok() end status was success
09:43:13.225314 19307 (dblib.c:1602):dbresults(28cc0)
09:43:13.225343 19307 (dblib.c:1608):dbresults: dbresults_state is 5 (_DB_RES_SUCCEED)
09:43:13.225374 19307 (dblib.c:1591):dbresults returning 1 (SUCCEED)
09:43:13.225402 19307 (dblib.c:5718):dbcanquery(28cc0)
09:43:13.225430 19307 (token.c:497):tds_process_tokens(2a000, ffbfeb84, 0, 0x108)
09:43:13.225460 19307 (token.c:500):tds_process_tokens() state is COMPLETED



Archive powered by MHonArc 2.6.24.

Top of Page