fchan

discussion

Does Fchan crash Safari for anyone else?

Pages:1
1Report
dang bunni at 7 Mar 2007: 23:33

Whenever I click 'submit' on fchan.meing Safari 2.0.4 (MacOS 10.4.8, PowerPC) Safari just hangs and starts using all availible CPU. I have to Force Quit it and reload. In order to post here, I have to load up a different browser.

Anyone else have this problem?

2Report (sage)
at 8 Mar 2007: 06:44

Same here with all versionssince 1.x, though it wasn't always like that. Safari had no problems back in the early history of Fchan. I suspect some obscure php interaction is causing it,  possibly deadlocking on some expected client/server response or transaction of some sort, but haven't really looked closely into it.

I sometimes get  "endlessly loading" pages on other php driven sites that require a "Stop transfer!" before the page renders, usually when a non-parent site or tracker is involved, though not a lockup. That's where the suspicion comes from. I haven't really dug into it as I run some non-standard plug-ins and additions in Safari and they might play a role (and because I'm lazy).

Oddly enough, it only shows up in the "other" sections when attempting to comment or upload on the images threads. The report function and posts in /dis work fine.

3Report
at 8 Mar 2007: 14:08

My bet is bad javascript which causes the engine to hang itself somehow. The same problem exists with konqueror. Which happens to use the same browser-engine.

5Report
at 9 Mar 2007: 17:47

it's not bad javascript, it's a bug in the javascript interpreter, that messes up when a certain, completely spec-compliant command is used. try switching to opera or whatever else browsers exist for the mac.

6Report
at 11 Mar 2007: 22:56

>>5
Just out of curiosity, do you know which command causes the problem?

7Report
at 12 Mar 2007: 09:26

iirc, it's caused by this bit in the post form:
onsubmit="return checkCheckBox(this)"
this means that before actually submitting the browser should run the js and then submit based on the result of the js. safari seems to get confused there and tries to do both at the same time or something...

8Report (sage)
at 12 Mar 2007: 10:16

Looks like a call to a perl script rather than Java for the (db?) entry processing (server side for slotting things into place, I'd guess). The logic flow on the submit function looks a little whonky to my eye and which might be causing the POST to choke- or vice-versa, but I'm not the one doing maintenance and didn't dig round much.

I'd put it down to "everyone following the specifications except for the bug."

9Report(capped)
Xenofur at 13 Mar 2007: 18:27

http://www.w3schools.com/jsref/jsref_onsubmit.asp
and
http://www.htmlcodetutorial.com/forms/_FORM_onSubmit.html

should explain.

12Add Reply
Name Sage? - captcha =
First Page - Last 40 - Entire Thread

Powered by: Shiichan Version 3956
The contents of this page are asserted to be in the public domain by the posters.
The administrators claim no responsibility for thread content.
Manage