Skip to Content.
Sympa Menu

freetds - RE: Core Dump on HPUX 11.00 --with-tdsver=7.0, 4.2 is OK

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Mark Strong" <mstrong AT concentrix.com.au>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: RE: Core Dump on HPUX 11.00 --with-tdsver=7.0, 4.2 is OK
  • Date: Fri, 8 Mar 2002 13:05:16 +1100

One last piece of info (before I forget all about TDS 7.0 and go back to
4.2)

----------------------------------------------------------------------------
---
mstrong@testbed$ echo $TDSVER
70
mstrong@testbed$ ./.libs/t0006
t0006.c: Test SYBREAL, SYBFLT8 values
Entered tds_try_login()
Trying read_login_info()
Setting login parameters
Connecting to database
Starting SYBREAL tests
INSERT test_table (id, val) VALUES (0, 1.1)
INSERT test_table (id, val) VALUES (1, 12345678)
INSERT test_table (id, val) VALUES (2, 0.012345678)
INSERT test_table (id, val) VALUES (3, 1.2345679e+20)
INSERT test_table (id, val) VALUES (4, 1.2345679e-20)
Attempting to convert unknown source type 38
col 0 is
Attempting to convert unknown source type 109
col 1 is
Bus error(coredump)
mstrong@testbed$ export TDSVER=42
mstrong@testbed$ echo $TDSVER
42
mstrong@testbed$ ./.libs/t0006
t0006.c: Test SYBREAL, SYBFLT8 values
Entered tds_try_login()
Trying read_login_info()
Setting login parameters
Connecting to database
Starting SYBREAL tests
INSERT test_table (id, val) VALUES (0, 1.1)
INSERT test_table (id, val) VALUES (1, 12345678)
INSERT test_table (id, val) VALUES (2, 0.012345678)
INSERT test_table (id, val) VALUES (3, 1.2345679e+20)
INSERT test_table (id, val) VALUES (4, 1.2345679e-20)
col 0 is 0
col 1 is 1.1
col 0 is 1
col 1 is 1.234568e+07
col 0 is 2
col 1 is 0.01234568
col 0 is 3
col 1 is 1.234568e+20
col 0 is 4
col 1 is 1.234568e-20
Starting SYBFLT8 tests
INSERT test_table (id, val) VALUES (0, 1.1)
INSERT test_table (id, val) VALUES (1, 1.23456789012346e+15)
INSERT test_table (id, val) VALUES (2, 0.0123456789012346)
INSERT test_table (id, val) VALUES (3, 1.23456789012346e+20)
INSERT test_table (id, val) VALUES (4, 1.23456789012346e-20)
INSERT test_table (id, val) VALUES (5, 1.23456789012346e+200)
INSERT test_table (id, val) VALUES (6, 1.23456789012346e-200)
col 0 is 0
col 1 is 1.1
col 0 is 1
col 1 is 1.23456789012346e+15
col 0 is 2
col 1 is 0.0123456789012346
col 0 is 3
col 1 is 1.23456789012346e+20
col 0 is 4
col 1 is 1.23456789012346e-20
col 0 is 5
col 1 is 1.23456789012346e+200
col 0 is 6
col 1 is 1.23456789012346e-200
Entered tds_try_logout()

---------------------------------------------------------------------------

Here's a TDSDUMP file (only of the tdsver 7.0 section of the test, the 4.2
section
works fine so you won't want to see that).

Regards
Mark Strong


-----Original Message-----
From: bounce-freetds-135006 AT franklin.oit.unc.edu
[mailto:bounce-freetds-135006 AT franklin.oit.unc.edu]On Behalf Of Mark
Strong
Sent: Thursday, 7 March 2002 11:23
To: TDS Development Group
Subject: [freetds] Core Dump on HPUX 11.00 --with-tdsver=7.0, 4.2 is OK


Hey guys getting this under HPUX

gmake check-TESTS
gmake[4]: Entering directory `/home/mstrong/freetds/src/tds/unittests'
t0001.c: Testing login, logout
PASS: t0001
t0002.c: Test basic submit query, results
PASS: t0002
t0003.c: Testing DB change -- 'use tempdb'
PASS: t0003
t0004.c: Test large (>512 bytes) queries
PASS: t0004
t0005.c: Test large (>512 bytes) replies
PASS: t0005
t0006.c: Test SYBREAL, SYBFLT8 values
/bin/sh: 24147 Bus error(coredump)
FAIL: t0006

Only with tds ver 7.0, 4.2 is OK

Tried 0.53 and Current, both the same. (works OK under Linux, testing to
the same MS SQL 7.0 server with tds ver 7.0).

Anyone know how to fix this?


Thanks

Mark Strong

---
You are currently subscribed to freetds as: [mstrong AT concentrix.com.au]
To unsubscribe, forward this message to
$subst('Email.Unsub')

Attachment: 70.log
Description: Binary data




Archive powered by MHonArc 2.6.24.

Top of Page