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

A few days ago I found a neat stock application in this node so I preceded to download the code and run with it a bit(at this time I was running active state perl 5.6 for win32...). I started using PPM to search for the appropriate modules, more specifically the GD, GD::Graph, and GD::Text modules. To my dismay I couldn't find the GD::Text module with ppm to install. So I decided it was time to upgrade to ppm version 3.x and why not just upgrade to perl 5.8 while I'm at it. So everything's upgraded got the 'cool' GD::Text module installed going to run that cool stock casino program, and whamo a "wonderful" little dialog pops up onto my screen"perl.exe - Application Error
The instruction at "0x01d6a113" referenced memory at "0x00000006". The memory could not be "read"" So Perl.exe didn't like something and just bombed, the error is also here. I posted a question at the ASPN mail listing and Chunlou recommned that I post the question here! So I am wondering if any other Monks have encountered such problem, and if there is any resolution to it, or am I at the mercy of Active State?

update (broquaint): changed absolute links into shortcuts

  • Comment on Active State Perl 5.8 Application Error

Replies are listed 'Best First'.
Re: Active State Perl 5.8 Application Error
by BrowserUk (Patriarch) on Jul 26, 2003 at 05:02 UTC

    FYI. I tried the code from Stocks, Perl & Gambling Game without errors. My setup was:

    This is perl, v5.8.0 built for MSWin32-x86-multi-thread (with 1 registered patch, see perl -V for more detail) Copyright 1987-2002, Larry Wall Binary build 802 provided by ActiveState Corp. http://www.ActiveState. +com Built 00:54:02 Nov 8 2002 Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5 source ki +t. Complete documentation for Perl, including FAQ lists, should be found +on this system using `man perl' or `perldoc perl'. If you have access to + the Internet, point your browser at http://www.perl.com/, the Perl Home Pa +ge. P:\test>perl58 -c -MUsed stock.pl8 d:/Perl/lib/AutoLoader.pm : 5.59 d:/Perl/lib/Carp.pm : 1.01 d:/Perl/lib/Config.pm : N/A d:/Perl/lib/Cwd.pm : 2.06 d:/Perl/lib/DynaLoader.pm : 1.04 d:/Perl/lib/Exporter.pm : 5.566 d:/Perl/lib/Exporter/Heavy.pm : 5.566 d:/Perl/lib/Fcntl.pm : 1.04 d:/Perl/lib/File/Spec.pm : 0.83 d:/Perl/lib/File/Spec/Unix.pm : N/A d:/Perl/lib/File/Spec/Win32.pm : N/A d:/Perl/lib/FileHandle.pm : 2.01 d:/Perl/lib/IO.pm : 1.20 d:/Perl/lib/IO/File.pm : 1.09 d:/Perl/lib/IO/Handle.pm : 1.21 d:/Perl/lib/IO/Seekable.pm : 1.08 d:/Perl/lib/POSIX.pm : 1.05 d:/Perl/lib/SelectSaver.pm : 1.00 d:/Perl/lib/Symbol.pm : 1.04 d:/Perl/lib/Time/Local.pm : 1.04 d:/Perl/lib/XSLoader.pm : 0.01 d:/Perl/lib/auto/POSIX/autosplit.ix : N/A d:/Perl/lib/auto/POSIX/load_imports.al : N/A d:/Perl/lib/base.pm : 1.03 d:/Perl/lib/constant.pm : 1.04 d:/Perl/lib/integer.pm : 1.00 d:/Perl/lib/overload.pm : 1.00 d:/Perl/lib/strict.pm : 1.02 d:/Perl/lib/vars.pm : 1.01 d:/Perl/lib/warnings.pm : 1.00 d:/Perl/lib/warnings/register.pm : 1.00 d:/Perl/site/lib/GD.pm : 2.07 * d:/Perl/site/lib/GD/Graph.pm : 1.43 * d:/Perl/site/lib/GD/Graph/Data.pm : N/A d:/Perl/site/lib/GD/Graph/Error.pm : N/A d:/Perl/site/lib/GD/Graph/axestype.pm : N/A d:/Perl/site/lib/GD/Graph/colour.pm : N/A d:/Perl/site/lib/GD/Graph/lines.pm : N/A d:/Perl/site/lib/GD/Graph/utils.pm : N/A d:/Perl/site/lib/GD/Text.pm : 0.86 * d:/Perl/site/lib/GD/Text/Align.pm : N/A d:/Perl/site/lib/HTTP/Date.pm : 1.44 d:/Perl/site/lib/HTTP/Headers.pm : 1.43 d:/Perl/site/lib/HTTP/Message.pm : 1.25 d:/Perl/site/lib/HTTP/Request.pm : 1.30 d:/Perl/site/lib/HTTP/Response.pm : 1.36 d:/Perl/site/lib/HTTP/Status.pm : 1.26 d:/Perl/site/lib/LWP.pm : 5.65 d:/Perl/site/lib/LWP/Debug.pm : N/A d:/Perl/site/lib/LWP/MemberMixin.pm : N/A d:/Perl/site/lib/LWP/Protocol.pm : 1.39 d:/Perl/site/lib/LWP/UserAgent.pm : 2.003 d:/Perl/site/lib/URI.pm : 1.19 d:/Perl/site/lib/URI/Escape.pm : 3.20 d:/Perl/site/lib/Used.pm : 0.01 stock.pl8 syntax OK

    The modules I've marked (*) are the most lightly candidates for being at a different level I think.


    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller

      Good note, I tried running the perl -c with no avail, however I did get a response from ASPN someone pointed out a new/different version GD from a repository that I had not seen. So I removed my current GD and subsequent libs and installed the ones that I was pointed to and, Vualla! no more error! Thanks for your insight! FYI: Here is the repository http://theoryx5.uwinnipeg.ca/ppms/GD.ppd
      ~djbiv