PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: "Graham Hick" <graham at muntfish dot com>
Subject: RE: sybperl-2.17 *HP-UX* build issue (core dump)
Date: Jul 29 2004 12:34PM

Michael,
This also happened to me on HP-UX 11.0 with perl 5.8.0, and with versions 12.0 and 12.5.1 of the OpenClient libraries.  Output from 2_ct_xblk.t follows.

Sybperl version 2.16 builds fine with either version of OC.

thanks,
Graham

## Sybase 12.0 ##
$ perl -Mblib t/2_ct_xblk.t
1..21
ok 1
Sybperl Version This is sybperl, version 2.17

Sybase::CTlib $Revision: 1.67 $ $Date: 2004/06/11 13:04:09 $

Copyright (c) 1995-2001 Michael Peppler
Portions Copyright (c) 1995 Sybase, Inc.

OpenClient version: Sybase Client-Library/12.0/P/hpux/HP-UX 11.00/1/OPT/Mon Oct  4 12:45:27 1999

ok 2
ok 3
ok 4
2 4 1 36 cs_convert: cslib user api layer: common library error: The result is truncated because the conversion/operation resulted i
n overflow.  Sybase::CTlib=HASH(0x4021ad44)
ok 5
ok 6
ok 7
ok 8
ok 9
0 0 0 0 blk_rowxfer(): blk layer: internal BLK-Library error: Failed in conversion routine - condition overflow.  col = 5 row = 1.
Sybase::CTlib=HASH(0x4021ad44)
ok 10
2 4 1 36 cs_convert: cslib user api layer: common library error: The result is truncated because the conversion/operation resulted i
n overflow.  Sybase::CTlib=HASH(0x4021ad44)
0 0 0 0 blk_rowxfer(): blk layer: internal BLK-Library error: Failed in conversion routine - condition overflow.  col = 3 row = 1.
Sybase::CTlib=HASH(0x4021ad44)
ok 11
2 4 1 36 cs_convert: cslib user api layer: common library error: The result is truncated because the conversion/operation resulted i
n overflow.  Sybase::CTlib=HASH(0x4021ad44)
0 0 0 0 blk_rowxfer(): blk layer: internal BLK-Library error: Failed in conversion routine - condition overflow.  col = 4 row = 1.
Sybase::CTlib=HASH(0x4021ad44)
ok 12
0 0 0 0 blk_rowxfer(): blk layer: internal BLK-Library error: Failed in conversion routine - syntax error.  col = 8 row = 1.  Sybase
::CTlib=HASH(0x4021ad44)
ok 13
ok 14
ok 15
ok 16
ok 17
Bus error(coredump)


## Sybase 12.5.1 ##
$ perl -Mblib t/2_ct_xblk.t
1..21
ok 1
Sybperl Version This is sybperl, version 2.17

Sybase::CTlib $Revision: 1.67 $ $Date: 2004/06/11 13:04:09 $

Copyright (c) 1995-2001 Michael Peppler
Portions Copyright (c) 1995 Sybase, Inc.

OpenClient version: Sybase Client-Library/12.5.1 ASE Edition/P-EBF11364/DRV.12.5.1/hpux/HP-UX 11.0/BUILD1251-004/OPT/Mon Aug 11 09:3
8:13 2003

ok 2
ok 3
ok 4
2 4 1 36 cs_convert: cslib user api layer: common library error: The result is truncated because the conversion/operation resulted i
n overflow.  Sybase::CTlib=HASH(0x40207564)
ok 5
ok 6
ok 7
ok 8
ok 9
0 0 0 0 blk_rowxfer(): blk layer: internal BLK-Library error: Failed in conversion routine - condition overflow.  col = 5 row = 1.
Sybase::CTlib=HASH(0x40207564)
ok 10
2 4 1 36 cs_convert: cslib user api layer: common library error: The result is truncated because the conversion/operation resulted i
n overflow.  Sybase::CTlib=HASH(0x40207564)
0 0 0 0 blk_rowxfer(): blk layer: internal BLK-Library error: Failed in conversion routine - condition overflow.  col = 3 row = 1.
Sybase::CTlib=HASH(0x40207564)
ok 11
2 4 1 36 cs_convert: cslib user api layer: common library error: The result is truncated because the conversion/operation resulted i
n overflow.  Sybase::CTlib=HASH(0x40207564)
0 0 0 0 blk_rowxfer(): blk layer: internal BLK-Library error: Failed in conversion routine - condition overflow.  col = 4 row = 1.
Sybase::CTlib=HASH(0x40207564)
ok 12
0 0 0 0 blk_rowxfer(): blk layer: internal BLK-Library error: Failed in conversion routine - syntax error.  col = 8 row = 1.  Sybase
::CTlib=HASH(0x40207564)
ok 13
ok 14
ok 15
ok 16
ok 17
Memory fault(coredump)





--------
Subject: Re: sybperl-2.17 Solaris 5.8 64 bit build issue (core dump)
From: Michael Peppler 
Date: Thu, 29 Jul 2004 13:32:02 +0200

On Thu, 2004-07-29 at 12:00, Brightman, Martin wrote:
> Hello,
> 
> Installing Sybase::BCP 1.70 we get a core dump and Segmentation Fault during
> the 'make test'. This is a 64 bit build on perl v5.8.0 / SunOS 5.8. Any
> ideas?

What is failing is the blk_xxx() routines:


> t/2_ct_xblk............dubious
> 
>         Test returned status 0 (wstat 139, 0x8b)

It's interesting, because previously I'd only seen this with earlier
versions of OpenClient.

Could you please run

perl -Mblib t/2_ct_xblk.t

and send me the output, as well as the exact EBF of the Sybase libs?

Thanks.

Michael
-- 
Michael Peppler                              Data Migrations, Inc.
mpeppler@peppler.org                       http://www.peppler.org/
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short
or long term contract positions - http://www.peppler.org/resume.html