[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Javascripts causing segmentation faults.



Greeting all:

I wrote a web version of "Bubble Wrap" as a demo to test some Javascript
routines.  The script works fine for many pops, but eventually, the script
will crash the Netscape browser (with a segmentation fault).  The crash
seems to be due to memory allocation, but I'm not sure.  When I increase
the number of bubbles per sheet, less pops are needed to crash Netscape.
I looked all over my script and could not find any errors.  You can try
out the demo, and look at the source, at:

	http://www.convoke.com/tiug/bubblewrap.html

You can also increase the number of bubbles per sheets, by changing
variables "M" & "N", which are the number of bubbles per row and
column respectively.  My apology for the clink noise when you pop
the bubbles, I couldn't find any popping sound files.  :-(

     BTW, I am running the "unknown-386BSD" version of Netscape 2.0
on a NetBSD 1.1 (Unix) PC.  And Netscape only seems to crash with my
script.  Does this script crash Netscape on other platforms?

Thanks in advance.  Sincerely, Alicia.
__                                                 ________
 Name: Alicia da Conceicao                        /_______/ (T)oronto
Email: alicia@dolphin.eric.on.ca                 //      /  (I)nternet
         &  alicia@convoke.com                  //      /   (U)sers
NGO's: Dolphin Network (Root) & TIUG (Web)     /|           (G)roup
Where: Toronto, Ontario, Canada, Earth, Sol,  //| o     ___
         Cygnus Arm, Milky Way, Local Group, // | | | | |O/  __
         Coma Super-cluster, Universe           | | |_| |/  |\ \____  Dolphin
Quote: "Gravity is the response of matter         ______/   | \_    \ Network
         to the loneliness of space."             | __ /     \    o  \
 Help: Save dolphins, boycott *ALL* tuna!         || //       \       \
  Try: Toronto Internet Users Group new Web       ||//         \_      \
         Site at: "http://www.convoke.com/tiug";   | /          / |       \_____
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|/~~~~~~~~~~~~~~~~~~~~~~~~~~~