Closed
Bug 36272
Opened 24 years ago
Closed 23 years ago
RFE: Crash (SIGSEGV) in plugin code should be catched...
Categories
(Core Graveyard :: Plug-ins, enhancement, P3)
Core Graveyard
Plug-ins
Tracking
(Not tracked)
VERIFIED
WONTFIX
Future
People
(Reporter: roland.mainz, Unassigned)
References
Details
(Keywords: helpwanted)
I don't know if this is possible on all platforms, but... RFE: A SIGSEGV etc. (e.g. crash) on plugin-code should be catched instead of crashing the whole browser. Any suggestions how to implement this (on WinXX??, Unix) ? How does GDB do the trick ?
This bug is not about specific crash. I am not sure the crash keyword is appropriate here.
Status: NEW → ASSIGNED
Target Milestone: --- → M19
Reporter | ||
Comment 3•24 years ago
|
||
Well... the browser crashes due malicious foreign plugins... and there may be a fix for this, right ?
Comment 4•24 years ago
|
||
Eliminating crash keyword; it's inappropriate here as it's only used to mark specific crashers for high priority fix. I doubt this is even technically possible; how is one native binary (the browser) supposed to intercept a crash occurring within another native binary (the plugin)? Marking FUTURE and helpwanted and reassigning to nobody@mozilla.org.
Assignee: av → nobody
Status: ASSIGNED → NEW
Keywords: crash → helpwanted
Target Milestone: M19 → Future
Reporter | ||
Comment 5•24 years ago
|
||
Both GDB and /usr/dt/bin/dtlogin (CDE's version of xdm) seems to support this...
Comment 7•24 years ago
|
||
On Unix-like systems, you could arrange to catch SIGSEGV and SIGBUS (maybe even SIGILL?), but you'd be making a wish that the bad address that crashed the plugin didn't indicate worse corruption that would soon crash the browser. And you would want to keep track, and put the plugin on a sick-list, to be avoided after more than a few (if not after the first) crashes. /be
gdb (and, I suspect, dtlogin) are dealing with different processes, and plugins run in-process for us. I'm removing the |crash| keyword, because there's no specific crash referenced, and a crash in a plugin is like a crash due to a bug in GTK: there's not much we can do to prevent it. (I'm tempted to WONTFIX it, but if nothing else we should get it off the crash triage radar.)
Keywords: crash
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WONTFIX
Comment 10•23 years ago
|
||
Looks like after long talks and discussions with many people we have nofix here.
Comment 11•23 years ago
|
||
*** Bug 94532 has been marked as a duplicate of this bug. ***
Reporter | ||
Comment 12•23 years ago
|
||
IE5/6 supports this "feature". Why can't we do the same ?
There's no way to recover safely from an arbitrary memory error on Unix, that I know of. How would you have us solve this problem? How does IE 5/6, that you would have us take as proof of this "feature"'s viability, solve this problem? (I've had bad ActiveX take out IE 5 and 6 on me, so I think you're unclear on the situation, but I'll give you the benefit of the doubt.)
Comment 14•23 years ago
|
||
I'm slightly confused by this bug which is resolved ALL/ALL WONTFIX. I seem to recall using mozilla recently on w32 and having a plugin crash, mozilla told me about it and i then went about my business. The discussion here seems to be Unix [x11] oriented as such i think we should change it to PC:Linux. Can anyone point to the magic that made PC:Windows98 do something else? Or was i halucinating?
Updated•2 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•