perl get crash when using ClearCase::CtCmd::exec

M

Maverick Ieong

Hi, there
I have install perl 5.8.3 and module ClearCase::CtCmd, (1.3.1)
version, when I ran the following code:

use ClearCase::CtCmd;
@test = ClearCase::CtCmd("lsvob");

It got a windows dialog said the Perl Command line Interpreteris
crash ask me to click send. When I click on the detail link I found
there is a appcompat.txt generate on my Temp folder and the contains
the following:
Any idea? TIA. I am using windows XP, SP1, if I typed the command
"lsvob" on cleartool, it does shows all the vobs.

<?xml version="1.0" encoding="UTF-16"?>
<DATABASE>
<EXE NAME="perl.exe" FILTER="GRABMI_FILTER_THISFILEONLY">
<MATCHING_FILE NAME="perl.exe" SIZE="41015" CHECKSUM="0xCD715891"
BIN_FILE_VERSION="5.8.3.809" BIN_PRODUCT_VERSION="5.8.3.809"
PRODUCT_VERSION="Build 809" FILE_DESCRIPTION="Perl Command Line
Interpreter" COMPANY_NAME="ActiveState, a division of Sophos"
PRODUCT_NAME="ActivePerl" FILE_VERSION="5,8,3,809"
ORIGINAL_FILENAME="perl.exe" INTERNAL_NAME="perl.exe"
LEGAL_COPYRIGHT="Copyright 1987-2004, Larry Wall, Binary build by
ActiveState, a division of Sophos, http://www.ActiveState.com"
VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004"
VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0"
LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="5.8.3.809"
UPTO_BIN_PRODUCT_VERSION="5.8.3.809" LINK_DATE="02/03/2004 08:29:46"
UPTO_LINK_DATE="02/03/2004 08:29:46" VER_LANGUAGE="English (United
States) [0x409]" />
</EXE>
<EXE NAME="libatriaks.dll" FILTER="GRABMI_FILTER_THISFILEONLY">
<MATCHING_FILE NAME="libatriaks.dll" SIZE="296928"
CHECKSUM="0x5265D468" MODULE_TYPE="WIN32" PE_CHECKSUM="0x4BC9D"
LINKER_VERSION="0x0" LINK_DATE="05/03/2004 16:38:18"
UPTO_LINK_DATE="05/03/2004 16:38:18" />
</EXE>
<EXE NAME="kernel32.dll" FILTER="GRABMI_FILTER_THISFILEONLY">
<MATCHING_FILE NAME="kernel32.dll" SIZE="930304"
CHECKSUM="0xCBCCF8A9" BIN_FILE_VERSION="5.1.2600.1106"
BIN_PRODUCT_VERSION="5.1.2600.1106" PRODUCT_VERSION="5.1.2600.1106"
FILE_DESCRIPTION="Windows NT BASE API Client DLL"
COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft® Windows®
Operating System" FILE_VERSION="5.1.2600.1106 (xpsp1.020828-1920)"
ORIGINAL_FILENAME="kernel32" INTERNAL_NAME="kernel32"
LEGAL_COPYRIGHT="© Microsoft Corporation. All rights reserved."
VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004"
VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0xE7ED3"
LINKER_VERSION="0x50001" UPTO_BIN_FILE_VERSION="5.1.2600.1106"
UPTO_BIN_PRODUCT_VERSION="5.1.2600.1106" LINK_DATE="08/29/2002
10:40:40" UPTO_LINK_DATE="08/29/2002 10:40:40" VER_LANGUAGE="English
(United States) [0x409]" />
</EXE>
</DATABASE>
 
A

A. Sinan Unur

(e-mail address removed) (Maverick Ieong) wrote in
Hi, there
I have install perl 5.8.3 and module ClearCase::CtCmd, (1.3.1)
version, when I ran the following code:

use ClearCase::CtCmd;
@test = ClearCase::CtCmd("lsvob");

It got a windows dialog said the Perl Command line Interpreteris
crash ask me to click send. When I click on the detail link I found
there is a appcompat.txt generate on my Temp folder and the contains
the following:
Any idea?

I don't know anything about the package you mention and I don't have the
faintest idea what Rational ClearCase is.

Looking at the documentation for the module shows no usage examples similar
the one you show above.

Rather, it looks like you need to invoke a sub with a four-letter name in
the ClearCase::CtCmd package rather than calling a sub named CtCmd in the
ClearCase package.

<SNIP>Windows crash information</SNIP>

Oh, by the way, you should

use strict;
use warnings;

and definitely read the posting guidelines for this group.

Sinan.
 
M

Maverick Ieong

Sorry, I mis-type, I was supposed to do a lsvob command, but it crash.

use ClearCase::CtCmd;
@test = ClearCase::CtCmd::exec("lsvob");

Let me try to use restrict and warning, but I doubt it will solve my problem.
http://search.cpan.org/~ratl/CtCmd-1.03/CtCmd.pm

Pretty much I invoke any ClearCase::CtCmd::exec command it died right away..
I have Clearcase 2002.05.00+ install.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top