Last modified: 2012-09-27 01:11:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T25926, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 23926 - Vector incompatible with old Netscape
Vector incompatible with old Netscape
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
1.17.x
All All
: Normal normal (vote)
: ---
Assigned To: Trevor Parscal
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-06-12 11:50 UTC by Derk-Jan Hartman
Modified: 2012-09-27 01:11 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Derk-Jan Hartman 2010-06-12 11:50:38 UTC
"For various reasons, I'm stuck with an iBook G3 under System Mac OS 9.2, and I browse with Netscape 7.02. Since the recent changes, I can't access Wikipedia *at all*. Going to www.wikipedia.org gives me the bouquet of languages, but then, clicking on any of them provokes an "error of type 2" crash, and Netscape quits. Same (painful) experience when trying to reach *any* specific Wikipedia page, in any language."

Anyone have some old hardware laying around ? :D
Probably disabling all the jquery stuff on those platforms should fix it.
Comment 1 Krinkle 2010-06-12 12:02:41 UTC
You say *any* specific Wikipedia. Does that include those who haven't switched to Vector, try this link http://en.wikipedia.org/wiki/?useskin=monobook ?
Comment 2 Derk-Jan Hartman 2010-06-12 12:07:45 UTC
i'm quoting a report. i'm not the affected person :D
Comment 3 Lejonel 2010-06-13 18:00:22 UTC
(In reply to comment #1)

I don't have NS 7.02, but I tested a little with NS 7.1 on Windows XP.
Swedish Wikipedia which still use monobook works, and English Wikipedia works when using "?useskin=monobook" or if disabling javascript.
Trying to look at English or French Wikipedia in vector skin with javascript enabled crashes the browser.
Comment 4 Derk-Jan Hartman 2010-06-13 21:37:17 UTC
I have just installed NS 7.2 PPC on my Mac 10.6 Intel system :D
I have the below crashreport, which I think might indicate that we are triggering the following old Mozilla JS bug: https://bugzilla.mozilla.org/show_bug.cgi?id=319683

Thread 7: Crashed (0xb7fffacc, 0x7d8cc59e)
0x0030ce88: @executable_path/libmozjs.dylib : _call_enumerate + 168 
0x0030caf4: @executable_path/libmozjs.dylib : _js_PutCallObject + 48 
0x00312334: @executable_path/libmozjs.dylib : _js_Invoke + 1888 
0x00319204: @executable_path/libmozjs.dylib : _js_Interpret + 26224 
0x003122d0: @executable_path/libmozjs.dylib : _js_Invoke + 1788 
0x00319204: @executable_path/libmozjs.dylib : _js_Interpret + 26224 
0x00312870: @executable_path/libmozjs.dylib : _js_Execute + 496 
0x002f02fc: @executable_path/libmozjs.dylib : _JS_EvaluateUCScriptForPrincipals + 88 
0x02aa787c: /Users/hartman/Desktop/Netscape.app/Contents/MacOS/components/libgklayout.dylib : nsJSContext::EvaluateString(nsAString const&, void*, nsIPrincipal*, char const*, unsigned int, char const*, nsAString&, int*) + 868 
0x02998128: /Users/hartman/Desktop/Netscape.app/Contents/MacOS/components/libgklayout.dylib : nsScriptLoader::EvaluateScript(nsScriptLoadRequest*, nsString const&) + 428 
0x02997d3c: /Users/hartman/Desktop/Netscape.app/Contents/MacOS/components/libgklayout.dylib : nsScriptLoader::ProcessRequest(nsScriptLoadRequest*) + 192 
0x02998b38: /Users/hartman/Desktop/Netscape.app/Contents/MacOS/components/libgklayout.dylib : nsScriptLoader::OnStreamComplete(nsIStreamLoader*, nsISupports*, unsigned int, unsigned int, char const*) + 1864 
0x01a6c14c: /Users/hartman/Desktop/Netscape.app/Contents/MacOS/components/libnecko.dylib : nsStreamLoader::OnStopRequest(nsIRequest*, nsISupports*, unsigned int) + 100 
0x01ad11f0: /Users/hartman/Desktop/Netscape.app/Contents/MacOS/components/libnecko.dylib : nsHttpChannel::OnStopRequest(nsIRequest*, nsISupports*, unsigned int) + 552 
0x01a561d4: /Users/hartman/Desktop/Netscape.app/Contents/MacOS/components/libnecko.dylib : nsInputStreamPump::OnStateStop() + 160 
0x01a55e20: /Users/hartman/Desktop/Netscape.app/Contents/MacOS/components/libnecko.dylib : nsInputStreamPump::OnInputStreamReady(nsIAsyncInputStream*) + 128 
0x00283b64: @executable_path/libxpcom.dylib : nsInputStreamReadyEvent::EventHandler(PLEvent*) + 68 
0x0024307c: @executable_path/libxpcom.dylib : _PL_HandleEvent + 36 
0x00242fa0: @executable_path/libxpcom.dylib : _PL_ProcessPendingEvents + 128 
0x00243484: @executable_path/libxpcom.dylib : __md_EventReceiverProc + 116 
0x90bf381c: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox : DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1524 
0x90bf41d8: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox : SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 456 
0x90bf44b8: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox : _SendEventToEventTargetWithOptions + 72 
0x90beffcc: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox : ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 2500 
0x90bf3c54: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox : DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 2604 
0x90bf41d8: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox : SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 456 
0x90bf4518: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox : _SendEventToEventTarget + 72 
0x90bf00b8: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox : _ToolboxEventDispatcher + 88 
0x90c0dd10: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox : _GetOrPeekEvent + 584 
0x90c0df28: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox : _GetNextEventMatchingMask + 168 
0x90c0e2c8: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox : _WNEInternal + 180 
0x90c0e4bc: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox : _WaitNextEvent + 76 
0x01e86f20: /Users/hartman/Desktop/Netscape.app/Contents/MacOS/components/libwidget_mac.dylib : nsMacMessagePump::GetEvent(EventRecord&) + 116 
0x01e86dfc: /Users/hartman/Desktop/Netscape.app/Contents/MacOS/components/libwidget_mac.dylib : nsMacMessagePump::DoMessagePump() + 48 
0x01e7abf8: /Users/hartman/Desktop/Netscape.app/Contents/MacOS/components/libwidget_mac.dylib : nsAppShell::Run() + 56 
0x00004ad0: /Users/hartman/Desktop/Netscape.app/Contents/MacOS/mozilla-bin : main1(int, char**, nsISupports*) + 1636 
0x00005024: /Users/hartman/Desktop/Netscape.app/Contents/MacOS/mozilla-bin : _main + 316 
0x00001d00: /Users/hartman/Desktop/Netscape.app/Contents/MacOS/mozilla-bin : __start + 380 
0x00001b80: /Users/hartman/Desktop/Netscape.app/Contents/MacOS/mozilla-bin : start + 48 
0x98f8ffbf: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit : _kIOMasterPortDefault + 4026771 

PPC Thread State
srr0: 0x00000000	srr1: 0x00000000		             vrsave: 0x00000000
cr:  0xXXXXXXXX		xer: 0x20000000		 lr: 0x0030ce88		ctr: 0x0033c9b0
r00: 0x0030ce88 	r01: 0xbfffd320 	r02: 0x0000001b 	r03: 0x00000001 	
r04: 0x01812070 	r05: 0xafd9d683 	r06: 0x15512734 	r07: 0x00000015 	
r08: 0x0034cec0 	r09: 0x15e4ead0 	r10: 0x00000000 	r11: 0x15535ac4 	
r12: 0x28442044 	r13: 0x00000000 	r14: 0x01818f60 	r15: 0x026d65b0 	
r16: 0x15e0b760 	r17: 0x1571dd00 	r18: 0x00000000 	r19: 0x00000002 	
r20: 0x00000008 	r21: 0x00000000 	r22: 0x12aea078 	r23: 0x01d9515c 	
r24: 0x00000002 	r25: 0x157acee0 	r26: 0x00311994 	r27: 0x00311968 	
r28: 0xbfffd440 	r29: 0x12aea05c 	r30: 0x163056ec 	r31: 0x0030cdf0
Comment 5 Platonides 2010-06-13 21:50:10 UTC
I don't see any __proto__ in our javascript. Can you isolate the crash to one file?
Comment 6 Bossavit 2010-06-13 22:04:06 UTC
I am the affected person, very incompetent.  I logged in there just to 

(1) confirm that, in answer to

>You say *any* specific Wikipedia. Does that include those who haven't switched
>to Vector, try this link http://en.wikipedia.org/wiki/?useskin=monobook ?

you are right, I *can* access this.  Trying to reach some Wikipedia page from this very panel will then crash Netscape.

(2) express my appreciation.  You guys are awesome.

AB
Comment 7 Platonides 2010-06-13 22:08:43 UTC
If you are logged in, you can set in your preferences that you want to always see pages in monobook.
http://en.wikipedia.org/wiki/Special:Preferences?useskin=monobook

You can even register using ?useskin=monobook urls everywhere, but you may find easier to do that from another computer.
Comment 8 Krinkle 2010-06-13 22:26:44 UTC
Depending on whether this 'problem' can/will be isolated and can be fixed I think it's best to register an account (if you haven't done so already) and set in your preferences under the "Appearance"-tab and choose the "monobook"-skin as your default.

Even if the source can be isolated, it's another question whether it can be fixed or not as the issue is, as far as I know, a bug in the old Netscape browser, not in the Vector-code.

If you can't, try updating your browser to a newer version. Since you're likely on an older computer, look for the most recent version of the browser that is compatible with your system.

I know from experience that the Opera browser tends to be fairly good at being compatible with older computers. 

For example, Opera 9.64 works with Mac OS X 10.2 which is pretty cool if you know that OSX 10.2 is from 2003 and Opera 9.64 from March 2009.
Comment 9 Derk-Jan Hartman 2010-06-14 00:09:17 UTC
rm js/js2stopgap/ui.core.js makes Netscape not crash. seeing if i can further pinpoint the problem area.
Comment 10 Derk-Jan Hartman 2010-06-14 00:47:57 UTC
If I remove the $.widget code from ui.core.js the browser no longer crashes. I can't seem to find what specific part of that code makes it crash...
Comment 11 Roan Kattouw 2010-06-14 12:28:42 UTC
(In reply to comment #10)
> If I remove the $.widget code from ui.core.js the browser no longer crashes. I
> can't seem to find what specific part of that code makes it crash...
That would be appreciated. In the meantime, I'll see what I can do towards loading ui.core.js dynamically.

Can you give me the User-Agent string of the affected browser and find out if there's a more recent version of Netscape in which this bug doesn't occur?
Comment 12 Derk-Jan Hartman 2010-06-14 13:54:19 UTC
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2

There are no higher versions of Netscape Navigator 7 and versions of Netscape Navigator 8 for the mac do not exist, so I cannot test those.
I tested Netscape 9.0.0.0 and it does not have the same problem: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.8pre) Gecko/20071015 Firefox/2.0.0.7 Navigator/9.0
Comment 13 Roan Kattouw 2010-06-14 17:13:39 UTC
Fixed in r68003.
Comment 14 Derk-Jan Hartman 2010-06-14 21:20:15 UTC
Confirmed that this is now fixed on the deployed software of Wikipedia.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links