Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: "Calder, Erick" <ECalder at westernasset dot com>
Subject: bcp_init crashes perl
Date: Dec 27 2004 7:12PM

a non-denominational season's greeting to everyone,

I've downloaded and installed sybperl and am experiencing a perl crash when running one of the sample programs.  The message I get is an OK dialogue with the following:

	"Perl.lexe has generated errors and will be closed by Windows.  You will need to restart the 
	program. An error log is being created."

here's the program I run:

> use Sybase::BCP;
> $bcp = new Sybase::BCP 'developer1', 'xmas', 'udevgdr2';
> $bcp->config(INPUT => 'tst.bcp',
>     OUTPUT => 'wa.dbo.ec_tst',
>     SEPARATOR => '|'
>     );
> $bcp->run;

I've traced the problem inside of the ->run() and have found that it is bcp_init() that crashes perl.  I'm running on:

> Microsoft Windows 2000 - 5.00.2195 SP4
> ActiveState Perl v5.8.4 built for MSWin32-x86-multi-thread
> $Id:,v 1.31 2001/08/09 00:02:06 mpeppler Exp $
> $Id:,v 1.39 2002/01/11 23:50:29 mpeppler Exp $

with using Open Client 12.5, against:

> Adaptive Server Enterprise/ 10491 ESD1/Sun_svr4/OS 5.5.1/FBO/Mon Jul 15 06:54:22 2002

what can I do to fix this?

1,000 thanks - erick

E-mail sent through the Internet is not secure. Western Asset therefore recommends that you do not send any confidential or sensitive information to us via electronic mail, including social security numbers, account numbers, or personal identification numbers. Delivery, and or timely delivery of Internet mail is not guaranteed. Western Asset therefore recommends that you do not send time sensitive or action-oriented messages to us via electronic mail.