Skip to Content.
Sympa Menu

freetds - Re: [freetds] Freepascal with FreeTDS/UnixODBC The saga continues

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Scott Johnson" <scomps AT purplewire.org>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Freepascal with FreeTDS/UnixODBC The saga continues
  • Date: Thu, 22 Jul 2004 21:48:08 -0400

*This message was transferred with a trial version of CommuniGate(tm) Pro*
Once again, more exhaustive searching solved it. In this case, the
assertion was tripped by freepascal.

It needed {$LINKLIB "c"} as the first line of the program code (I'm
posting this so future folks might find it in the archives)

--Scott

PS. Sorry for all the mails


----- Original Message -----
From: "Scott Johnson" <scomps AT purplewire.org>
To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
Sent: Thursday, July 22, 2004 9:34 PM
Subject: [freetds] Freepascal with FreeTDS/UnixODBC The saga continues


> *This message was transferred with a trial version of CommuniGate(tm) Pro*
> *This message was transferred with a trial version of CommuniGate(tm) Pro*
> Here I go again :)
>
> As part of my project, I have to run this on a server at my job. It's a
> debian linux machine with the 2.6 kernel. I've installed and configured
> exactly the same packages (freetds and unixodbc). Attempted to run
exactly
> the same freepascal program that we got working on my home testbed, and it
> failed with a different error during SQLConnect..
>
> Inconsistency detected by ld.so: dl-minimal.c: 134: realloc: Assertion
`ptr
> == alloc_last_block' failed!
>
> I'm not sure if it's freetds that tripped the assertion, but since it's in
> essentially the same format I assumed it is.
>
> I've included the dump log. Any suggestions here would be a big help.
> Thanks again.
>
> Starting log file for FreeTDS 0.63.dev.20040718
> on 2004-07-22 20:46:33 with debug level 99.
> names for ISO-8859-1: ISO-8859-1
> names for UTF-8: UTF-8
> names for UCS-2LE: UCS-2LE
> names for UCS-2BE: UCS-2BE
> iconv to convert client-side data to the "ISO-8859-1" character set
> 20:46:33.588849 tds_iconv_info_init: converting "ISO-8859-1"->"UCS-2LE"
> 20:46:33.589109 tds_iconv_info_init: converting "ISO-8859-1"->"UCS-2LE"
> 20:46:33.589248 Connecting to 10.10.10.51 port 1433, TDS 7.0.
> 20:46:33.590385 tds_put_string converting 8 bytes of "cservice"
> 20:46:33.590545 tds_put_string wrote 16 bytes
> 20:46:33.590624 tds_put_string converting 2 bytes of "sa"
> 20:46:33.590701 tds_put_string wrote 4 bytes
> 20:46:33.590777 tds_put_string wrote 0 bytes
> 20:46:33.590846 tds_put_string converting 6 bytes of "SYBASE"
> 20:46:33.590923 tds_put_string wrote 12 bytes
> 20:46:33.590992 tds_put_string wrote 0 bytes
> 20:46:33.591085 tds_put_string converting 10 bytes of "us_english"
> 20:46:33.591531 tds_put_string wrote 20 bytes
> 20:46:33.591611 tds_put_string converting 8 bytes of "VISTA_NW"
> 20:46:33.591690 tds_put_string wrote 16 bytes
> 20:46:33.591857 tds_process_login_tokens()
> Received header @ 20:46:33.593275
> 0000 04 01 01 c8 00 36 01 00- |.....6..|
>
>
> Received packet @ 20:46:33.593478
> 0000 e3 1f 00 01 08 56 00 49-00 53 00 54 00 41 00 5f |.....V.I .S.T.A._|
> 0010 00 4e 00 57 00 06 6d 00-61 00 73 00 74 00 65 00 |.N.W..m. a.s.t.e.|
> 0020 72 00 ab 7a 00 45 16 00-00 02 00 27 00 43 00 68 |r..z.E.. ...'.C.h|
> 0030 00 61 00 6e 00 67 00 65-00 64 00 20 00 64 00 61 |.a.n.g.e .d. .d.a|
> 0040 00 74 00 61 00 62 00 61-00 73 00 65 00 20 00 63 |.t.a.b.a .s.e. .c|
> 0050 00 6f 00 6e 00 74 00 65-00 78 00 74 00 20 00 74 |.o.n.t.e .x.t. .t|
> 0060 00 6f 00 20 00 27 00 56-00 49 00 53 00 54 00 41 |.o. .'.V .I.S.T.A|
> 0070 00 5f 00 4e 00 57 00 27-00 2e 00 10 56 00 45 00 |._.N.W.' ....V.E.|
> 0080 4e 00 55 00 53 00 5c 00-53 00 51 00 4c 00 5f 00 |N.U.S.\. S.Q.L._.|
> 0090 53 00 45 00 52 00 56 00-45 00 52 00 00 00 00 e3 |S.E.R.V. E.R.....|
> 00a0 17 00 02 0a 75 00 73 00-5f 00 65 00 6e 00 67 00 |....u.s. _.e.n.g.|
> 00b0 6c 00 69 00 73 00 68 00-00 ab 7a 00 47 16 00 00 |l.i.s.h. ..z.G...|
> 00c0 01 00 27 00 43 00 68 00-61 00 6e 00 67 00 65 00 |..'.C.h. a.n.g.e.|
> 00d0 64 00 20 00 6c 00 61 00-6e 00 67 00 75 00 61 00 |d. .l.a. n.g.u.a.|
> 00e0 67 00 65 00 20 00 73 00-65 00 74 00 74 00 69 00 |g.e. .s. e.t.t.i.|
> 00f0 6e 00 67 00 20 00 74 00-6f 00 20 00 75 00 73 00 |n.g. .t. o. .u.s.|
> 0100 5f 00 65 00 6e 00 67 00-6c 00 69 00 73 00 68 00 |_.e.n.g. l.i.s.h.|
> 0110 2e 00 10 56 00 45 00 4e-00 55 00 53 00 5c 00 53 |...V.E.N .U.S.\.S|
> 0120 00 51 00 4c 00 5f 00 53-00 45 00 52 00 56 00 45 |.Q.L._.S .E.R.V.E|
> 0130 00 52 00 00 00 00 e3 0f-00 03 05 69 00 73 00 6f |.R...... ...i.s.o|
> 0140 00 5f 00 31 00 01 00 00-e3 0b 00 05 04 31 00 30 |._.1.... .....1.0|
> 0150 00 33 00 33 00 00 e3 0f-00 06 06 31 00 39 00 36 |.3.3.... ...1.9.6|
> 0160 00 36 00 30 00 39 00 00-ad 36 00 01 07 00 00 00 |.6.0.9.. .6......|
> 0170 16 4d 00 69 00 63 00 72-00 6f 00 73 00 6f 00 66 |.M.i.c.r .o.s.o.f|
> 0180 00 74 00 20 00 53 00 51-00 4c 00 20 00 53 00 65 |.t. .S.Q .L. .S.e|
> 0190 00 72 00 76 00 65 00 72-00 00 00 00 00 08 00 02 |.r.v.e.r ........|
> 01a0 f8 e3 13 00 04 04 34 00-30 00 39 00 36 00 04 34 |......4. 0.9.6..4|
> 01b0 00 30 00 39 00 36 00 fd-00 00 00 00 00 00 00 00 |.0.9.6.. ........|
>
>
> 20:46:33.594719 looking for login token, got e3(ENVCHANGE)
> 20:46:33.594804 tds_process_default_tokens() marker is e3(ENVCHANGE)
> tds_get_string: reading 16 from wire to give 8 to client.
> tds_get_string: reading 12 from wire to give 6 to client.
> 20:46:33.595059 looking for login token, got ab(INFO)
> 20:46:33.595136 tds_process_default_tokens() marker is ab(INFO)
> tds_get_string: reading 78 from wire to give 39 to client.
> tds_get_string: reading 32 from wire to give 16 to client.
> 20:46:33.595366 looking for login token, got e3(ENVCHANGE)
> 20:46:33.595444 tds_process_default_tokens() marker is e3(ENVCHANGE)
> tds_get_string: reading 20 from wire to give 10 to client.
> 20:46:33.595575 looking for login token, got ab(INFO)
> 20:46:33.595650 tds_process_default_tokens() marker is ab(INFO)
> tds_get_string: reading 78 from wire to give 39 to client.
> tds_get_string: reading 32 from wire to give 16 to client.
>
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds





Archive powered by MHonArc 2.6.24.

Top of Page