Closed Bug 202619 Opened 23 years ago Closed 16 years ago

crashes on launch if /Library/Internet Plug-Ins/LV7NPlugin is present (from National Instruments LabVIEW 7 beta) [@ nsPluginFile::FreePluginInfo]

Categories

(Core Graveyard :: Plug-ins, defect)

PowerPC
macOS
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: nathanlim, Assigned: peterlubczynski-bugs)

References

Details

(Keywords: crash)

Crash Data

Attachments

(3 files, 2 obsolete files)

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.4b) Gecko/20030411 Chimera/0.7+ Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.4b) Gecko/20030411 Chimera/0.7+ Great broswer! Love the tabs! However, all the versions I've tried (i.e. 0.5, 0.6, 0.7, and one of the nightly builds from the last week or so) crash on launch (i.e. I never see the browser window- just the splash screen and then crash to Talkback) when I have the /Library/Internet Plug-Ins/LV7NPlugin present. This file is installed (I think) when you install National Instruments' (see www.ni.com) LabVIEW 7 beta. The software is not yet available to the public, but I can email a copy of the plug-in to anyone who wants to crash Camino on launch <grin>! :-) I have submitted several talkback reports. The most recent two are: TB232825E TB238415M Oh yes! Almost forgot to mention that I also use Mozilla 1.2 which seems to have no problem whatsoever. If need be, I could upgrade the Mozilla and try that. I suppose I should upgrade anyway, eh? But where do I find time to download the latest Mozilla on a 26.4k modem when I have Camino bugs to chase down! :-) Seriously though, great job guys! Keep it up! :-) :-) Reproducible: Always Steps to Reproduce: 1. copy LV7NPlugin (available from mailto:nathanlim@mac.com) to /Library/Internet Plug-Ins/LV7NPlugin 2. Launch Camino 3. watch splash screen come up Actual Results: watch Camino crash and burn... Talkback launches Expected Results: continue to launch and display a browser window I have submitted several talkback reports. The most recent two are: TB232825E TB238415M
When this attachment is placed in your /Library/Internet Plug-Ins directory, Camino will crash on launch. The attachment is installed when Nationa Instruments' (www.ni.com) LabVIEW 7 beta software is installed on OS X. You may want to change owner to root after placing the file in the Internet Plug-ins folder.
Nathan, after installing your attachment file into "~/Library/Internet Plug-Ins" and launching FizzillaMach/2003-04-19-08-trunk, I don't see anything new listed in <about:plugins>. Do you see anything shown there in Mozilla for this plug-in? (<about:plugins> seems to be broken in Camino at the moment; see my bug 202714.) You may want to try MacBinary-encoding that plug-in file and attach it again. Reassigning to Camino/Plug-Ins for the moment since that's what this bug was initially reported against.
Keywords: crash
Product: Browser → Camino
QA Contact: bmartin → petersen
Whiteboard: Retrieve TB238415M
Version: Trunk → unspecified
Don't know why the last attachment didn't work. This should crash Camino on launch when placed in the /Library/Internet Plug-ins folder (you'll never see the browser window).
Attachment #121059 - Attachment is obsolete: true
Previous attachments didn't work. This one is MacBinary encoded and should cause a Camino crash when unencoded and placed in the /Library/Internet Plug-ins folder.
Attachment #121482 - Attachment is obsolete: true
Comment on attachment 121488 [details] LV7NPlugin causing Camino crash I verified that downloading, unencoding and placing this Bugzilla attachment in /Library/Internet Plug-ins will cause a Camino crash on launch (see Talkback TB242265X)
Attachment #121488 - Attachment mime type: application/macbinary → application/x-macbinary
Confirmed using Camino/2003-04-22-05, crashing at nsPluginFile::FreePluginInfo.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: crashes on launch if /Library/Internet Plug-Ins/LV7NPlugin is present (from National Instruments LabVIEW 7 beta) → crashes on launch if /Library/Internet Plug-Ins/LV7NPlugin is present (from National Instruments LabVIEW 7 beta) [@ nsPluginFile::FreePluginInfo]
Whiteboard: Retrieve TB238415M
Note that comment 6's crash also generated TB242280W. Also reproduced using FizzillaMach/2003-04-22-08-trunk, generating TB242281M and the same stack as attachment 121492 [details]. Reassigning to Browser/Plug-Ins.
Product: Camino → Browser
QA Contact: cpetersen0953 → bmartin
Version: unspecified → Trunk
Possible dup of bug 199212.
*** Bug 199212 has been marked as a duplicate of this bug. ***
Attached patch possible patch?Splinter Review
Looks like none of the code in nsPluginsDirDarwin.cpp, FreePluginInfo was protected against free'ing null. Here's a patch that just copies the code from the UNIX implementation that should fix the crash, han't tested it yet though.
Comment on attachment 121560 [details] [diff] [review] possible patch? okay, looks good, requesting reviews....
Attachment #121560 - Flags: superreview?(sfraser)
Attachment #121560 - Flags: review?(jkeiser)
Attachment #121560 - Flags: approval1.4b?
Comment on attachment 121560 [details] [diff] [review] possible patch? This still isn't a good fix. We have to make sure that new/delete, malloc/free and NSPR alloc/free functions are matched up. p2cstrdup() calls new[]. fMimeTypeArray, fExtensionArray and fMimeDescriptionArray are also allocated with new[]. I think this code needs a lot of cleanup. Reassign the bug to me if you want me to do that.
Attachment #121560 - Flags: superreview?(sfraser) → superreview-
ok, thanks Simon!
Assignee: peterlubczynski → sfraser
Attachment #121560 - Flags: review?(jkeiser)
Attachment #121560 - Flags: approval1.4b?
Sorry, won't be able to get to this.
Assignee: sfraser → peterlubczynski
*** Bug 196471 has been marked as a duplicate of this bug. ***
Flags: blocking1.5b?
Was this patch tested and known to fix something? delete and delete[] are null-safe, so I'm a little puzzled.
Jay, can you help us determine how widespread is this problem for Mac Mozilla?
Flags: blocking1.5b? → blocking1.5?
This is pretty high on the Mac topcrash list. Bryner, can you help us here? Peterl, do you have cycles to spare for looking into this?
With no patch in sight I don't think we're going to block for this. Drivers would consider a reviewed patch.
Flags: blocking1.5? → blocking1.5-
Do any of you still use LabVIEW on Mac? Would be nice to know if this bug still exists when using up-to-date versions of Firefox and LabVIEW.
Whiteboard: [needs retesting on Mac with LabVIEW]
I am still using LabVIEW on the Mac. However, I am now using a MacBook Pro (Intel) instead of a G4 based laptop. I have LabVIEW 8.2, 8.5, 8.6 and a beta version of LabVIEW 2009 installed. I launched Camino Version 1.6.8 (1.8.1.22 2009061519) and Firefox Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2 without any problem.
Great, thanks Nate!
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
Whiteboard: [needs retesting on Mac with LabVIEW]
Crash Signature: [@ nsPluginFile::FreePluginInfo]
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: