FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Bugs
   Software Bugs
(Moderator: fry)
   P5 Crashing Safari?
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: P5 Crashing Safari?  (Read 460 times)
skloopy

WWW
P5 Crashing Safari?
« on: Apr 14th, 2004, 1:25am »

This is for 59. It seems like p5 sketches are crashing safari at just random times or when there's two on the screen at once, but it's not always two. I'm not sure if it happens on PCs either, but it does crash other mac browsers much more easily. The applets are on http://elfman.vendetta.com/ryan but they don't do anything unusual, just drawing graphics and getting mouse input and linking and changing the cursor.
 
fry


WWW
Re: P5 Crashing Safari?
« Reply #1 on: Apr 14th, 2004, 1:50am »

i assume you mean 69, not 59? i just tried the pages and couldn't get any crashing (latest osx and safari on a dual g4)
 
skloopy

WWW
Re: P5 Crashing Safari?
« Reply #2 on: Apr 14th, 2004, 2:36am »

Yeah oops.. Okay that's good to know it works on the g4.. I'm gonna keep playing with it and see if i can get more specific.
 
Thanks Fry!
 
fry


WWW
Re: P5 Crashing Safari?
« Reply #3 on: Apr 26th, 2004, 2:57pm »

any more luck (non-luck) with this? is it still causing trouble?
 
skloopy

WWW
Re: P5 Crashing Safari?
« Reply #4 on: Apr 28th, 2004, 8:53pm »

Hi Ben sorry I didn't see your post earlier. The crashing was happening on a G5 with the old Java installed (the one with the old icon) I've been using it with my comp which is a G5 too, but with the new java and it seems to be fine, so I'm guessing it's the old java. I can't really test it tho because as far as I know there's no way to downgrade to a lower java version, and I don't have access to a lot of computers right now..
 
Okay I think i kinda figured it out.. I tried using Firefox, which uses an older version of java. It seems to happen when there has been more than one sketch open or loaded rapidlyI havn't been able to get it to happen with any one thing specifically, but if you keep clicking around in different sections loading different sketches, it'll evenually crash. :\
 
skloopy

WWW
Re: P5 Crashing Safari?
« Reply #5 on: Apr 28th, 2004, 9:03pm »

Okay I think I narrowed it down. It seems to happen in Safari with the newest Java also, but It only happens when you switch back and forth between a lot of sketches quickly AND one of the sketches was exported from an older version of Processing (The NO WAR sketch and the Inker sketch). As far as I can tell it doesn't hurt with the new 69 applets
 
I guess that just means I need to re-export em..
« Last Edit: Apr 28th, 2004, 9:04pm by skloopy »  
fry


WWW
Re: P5 Crashing Safari?
« Reply #6 on: Apr 28th, 2004, 10:09pm »

ah, ok.. good.. there are a bunch of changes to threading in 69 to make things run happier on osx, so it's better if it's pre-69 stuff, since that means it got nabbed. that code might still need work tho so if you find other weirdness, please post.
 
skloopy

WWW
Re: P5 Crashing Safari?
« Reply #7 on: May 21st, 2004, 10:35pm »

Sorry to zombie this post but I've been noticing the crashing happening again, but now that i've updated everything to 69, i know it's not a version issue.. It still seems like it only happens when more than one applet is open. Beyond that I can't think of anything else that is causing it. Both applets have framerate caps on them usually 30fps to 40fps. I dunno if that makes a difference.
 
 
flight404

WWW Email
Re: P5 Crashing Safari?
« Reply #8 on: May 29th, 2004, 6:17pm »

I have been noticing a bit of crashiness with Safari as well.  But I think it is how Safari handles Java applets in general... not specific to Processing.  I have had similar crashes with non-processing created java applets so maybe it is simply because Safari is still on such an early version number.
 
 
fry


WWW
Re: P5 Crashing Safari?
« Reply #9 on: Jun 11th, 2004, 6:52pm »

yeah, so apple changed threading and gui updating between java 1.3 and java 1.4, and i also tweaked a bunch of things with the same between rev 68 and rev 69. however, i was mostly targeting java 1.4, even though i think they're using 1.3 as default in safari, which may cause a non-optimal sort of situation.
 
if anyone can get this to replicate/cause trouble consistently, i'd love to get it fixed. it's really tough to tell whether it's p5 or just java bugginess (there's plenty of bugginess in apple's osx java.. oy..) but reports are helpful.
 
Pages: 1 

« Previous topic | Next topic »