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

Discussion in 'Perl Misc' started by Maverick Ieong, Nov 18, 2004.

  1. 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>
     
    Maverick Ieong, Nov 18, 2004
    #1
    1. Advertising

  2. (Maverick Ieong) wrote in
    news::

    > 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.
     
    A. Sinan Unur, Nov 18, 2004
    #2
    1. Advertising

  3. 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.
     
    Maverick Ieong, Nov 18, 2004
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sherman Willden

    Installing CtCmd on Windows

    Sherman Willden, Jun 26, 2003, in forum: Perl Misc
    Replies:
    4
    Views:
    100
    Sherman Willden
    Jun 30, 2003
  2. Maverick Ieong
    Replies:
    1
    Views:
    201
    Maverick Ieong
    Nov 24, 2004
  3. RyanY

    ClearCase::CtCmd Question

    RyanY, Nov 23, 2005, in forum: Perl Misc
    Replies:
    0
    Views:
    150
    RyanY
    Nov 23, 2005
  4. Replies:
    0
    Views:
    154
  5. Replies:
    4
    Views:
    238
    Andrew DeFaria
    Dec 27, 2006
Loading...

Share This Page