JavaScript animation, CGI and a nasty CoreDump

[email protected] ("Dave K") Wed, 27 Mar 2002 22:04:42 -0500
Newsgroups perl.javascript
Message-ID <[email protected]>
This looks to be a new list! Hi all I hope you don't mind a newbie question
that may be OT.
Environment: WinNT(sp5)  Apache(1.3.20) ActiveState perl Cygwin (perl there
too) CGI  DBI and MySQL
In the MySql database I have 132 images stored, cgi-bin has a perl script
(using CGI and DBI) that is the target for an img tag:
<img src="fetch.pl?id=15"> and a second perl script that produces an html
page with fetched images embedded in it ( via the img tag above and the
fetch.pl script) so that when the html page is loaded fetch.pl is called and
an image is returned to the page. I did this to make managing the images
easier. Worked like a charm. The next step was to animate the images (using
javascript). To demonstrate the feasibility I wrote a 'static' page with
html and javascript. If I double click on the 'static' page, after a few
seconds it loads and the animation takes off. If I use CGI to dynamically
write the page with animation the NT box dumps core. I can run the the cgi
script that generates a page that is the same as the 'static' page by piping
the second script's output to a .html  file and double clicking it produces
good results, but linking to it or running the second script as a cgi script
dumps core. Finally the question! Has anybody else seen this kind of
behavior and is there any help to be had with the perl JavaScript package?
TIA