Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks, I have one problem in perl program exe.

For huge inputs, perl file working fine. But it has run as an exe it shows error as below:

--------------------------- agg.exe - Application Error --------------------------- The exception unknown software exception (0xc00000fd) occurred in the +application at location 0x2805ad1c. Click on OK to terminate the program Click on CANCEL to debug the program --------------------------- OK Cancel ---------------------------

Any solution is available for this problem.

Thanks in advance.

Regards,
RIO

Replies are listed 'Best First'.
Re: Reg. Perl file Exe problem
by Anonymous Monk on Aug 03, 2005 at 04:44 UTC
    How is this related to perl?
      I'm guessing the .exe is a compiled Perl script. In any case, I don't see what we can do to help without more info. At a minimum, we'd need all of the following: a minimal script which causes the error, instructions on how to compile it, and instructions on how to run it (including all required input data).

        Hi Monk, Sorry for the confusion, perl program was converted as .exe and it show error while running the .exe with huge inputs. But if I run in perl program, its working fine.

        I have placed the sample code below. I think problem is more than one index file and index file sample also placed below.

        Sample Inputs: 0521343434ind.xml

        <indexEntry> <primaryIE id="ind-pie-i00-184">bilingual education <pg>12, 81&ndash;4 +</pg></primaryIE> <secondaryIE id="ind-pie-i00-185">transitional <pg>55</pg></secondaryI +E> </indexEntry> <indexEntry> <primaryIE id="ind-pie-i00-186">Bilingual Education Act <pg>30</pg></p +rimaryIE> </indexEntry>

        Coding as Follows:

        foreach (@ind) { open (IND,"$fold\/body\/$_") or die ("$_ isnot opened chec +k\n"); local $/; my $ind=<IND>; while ($ind=~/id="(.*?)"/gi) { $indhash{$1}=$_; } close(IND); }

        Whether it may be memory problem. Please Give your suggestion.

        Regards,
        RIO