Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > perl get crash when using ClearCase::CtCmd::exec

Reply
Thread Tools

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

 
 
Maverick Ieong
Guest
Posts: n/a
 
      11-18-2004
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>
 
Reply With Quote
 
 
 
 
A. Sinan Unur
Guest
Posts: n/a
 
      11-18-2004
http://www.velocityreviews.com/forums/(E-Mail Removed) (Maverick Ieong) wrote in
news:(E-Mail Removed) om:

> 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.
 
Reply With Quote
 
 
 
 
Maverick Ieong
Guest
Posts: n/a
 
      11-18-2004
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.

> 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.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Perl threads + HTTPS = Crash :( Dan Perl Misc 3 10-16-2007 01:27 PM
perl crash on sucking $socket into array imahacker@the-pentagon.com Perl Misc 5 01-07-2005 10:47 AM
ClearCase 05.00 using ClearCase::CtCmd::exec crash perl 5.8.3 Maverick Ieong Perl Misc 1 11-24-2004 10:32 PM
CRASH - DirectX End-User runtime - CRASH - What to to ? reply@newsgroup.please Computer Support 1 01-05-2004 02:55 PM



Advertisments