Closed Bug 7311 Opened 26 years ago Closed 26 years ago

Crash when opening file in browser

Categories

(Core :: XPCOM, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: ppandit, Assigned: dp)

Details

Using debug build from today (5-28-99 apprunner.exe 1:53 p.m.) 1. Start apprunner 2. Start messenger 3. Open a newsgroup 4. Back in browser do File->Open 5. press the "Select File" button ==> Get a crash with the error (unhandled exception in apprunner.exe (xpcom.dll) The call stack is below: nsFileSpecImpl::AddRef(nsFileSpecImpl * const 0x09e3b190) line 41 + 39 bytes nsFileSpecImpl::AggregatedQueryInterface(nsFileSpecImpl * const 0x09e3b190, const nsID & {...}, void * * 0x0012e534) line 52 nsFileSpecImpl::QueryInterface(nsFileSpecImpl * const 0x09e3b190, const nsID & {...}, void * * 0x0012e534) line 41 + 27 bytes NS_NewFileSpec(nsIFileSpec * * 0x0012e534) line 771 nsBrowserAppCore::OpenWindow(nsBrowserAppCore * const 0x081f4380) line 1148 + 33 bytes BrowserAppCoreOpenWindow(JSContext * 0x09dbeeb0, JSObject * 0x00df2870, unsigned int 0, long * 0x093ece1c, long * 0x0012e608) line 653 + 12 bytes js_Invoke(JSContext * 0x09dbeeb0, unsigned int 0, int 0) line 650 + 26 bytes js_Interpret(JSContext * 0x09dbeeb0, long * 0x0012ee34) line 2199 + 15 bytes js_Invoke(JSContext * 0x09dbeeb0, unsigned int 0, int 0) line 666 + 13 bytes js_Interpret(JSContext * 0x09dbeeb0, long * 0x0012f61c) line 2199 + 15 bytes js_Invoke(JSContext * 0x09dbeeb0, unsigned int 1, int 0) line 666 + 13 bytes js_CallFunctionValue(JSContext * 0x09dbeeb0, JSObject * 0x093ddd10, long 155049240, unsigned int 1, long * 0x0012f748, long * 0x0012f750) line 735 + 15 bytes JS_CallFunctionValue(JSContext * 0x09dbeeb0, JSObject * 0x093ddd10, long 155049240, unsigned int 1, long * 0x0012f748, long * 0x0012f750) line 2437 + 29 bytes nsJSEventListener::HandleEvent(nsIDOMEvent * 0x09e24230) line 97 + 34 bytes nsEventListenerManager::HandleEvent(nsIPresContext & {...}, nsEvent * 0x0012fa14, nsIDOMEvent * * 0x0012f894, unsigned int 3, nsEventStatus & nsEventStatus_eIgnore) line 561 + 21 bytes nsGenericElement::HandleDOMEvent(nsIPresContext & {...}, nsEvent * 0x0012fa14, nsIDOMEvent * * 0x0012f894, unsigned int 1, nsEventStatus & nsEventStatus_eIgnore) line 770 nsHTMLButtonElement::HandleDOMEvent(nsHTMLButtonElement * const 0x09e1816c, nsIPresContext & {...}, nsEvent * 0x0012fa14, nsIDOMEvent * * 0x00000000, unsigned int 1, nsEventStatus & nsEventStatus_eIgnore) line 373 + 31 bytes nsEventStateManager::CheckForAndDispatchClick(nsEventStateManager * const 0x09e241c0, nsIPresContext & {...}, nsMouseEvent * 0x0012fc74, nsEventStatus & nsEventStatus_eIgnore) line 573 + 31 bytes nsEventStateManager::PostHandleEvent(nsEventStateManager * const 0x09e241c0, nsIPresContext & {...}, nsGUIEvent * 0x0012fc74, nsIFrame * 0x09e24040, nsEventStatus & nsEventStatus_eIgnore, nsIView * 0x09df01c0) line 168 + 24 bytes PresShell::HandleEvent(PresShell * const 0x09df1b64, nsIView * 0x09df01c0, nsGUIEvent * 0x0012fc74, nsEventStatus & nsEventStatus_eIgnore) line 2027 + 43 bytes nsView::HandleEvent(nsView * const 0x09df01c0, nsGUIEvent * 0x0012fc74, unsigned int 28, nsEventStatus & nsEventStatus_eIgnore, int & 0) line 833 nsViewManager::DispatchEvent(nsViewManager * const 0x09df03e0, nsGUIEvent * 0x0012fc74, nsEventStatus & nsEventStatus_eIgnore) line 1737 HandleEvent(nsGUIEvent * 0x0012fc74) line 67 nsWindow::DispatchEvent(nsWindow * const 0x09df00b4, nsGUIEvent * 0x0012fc74, nsEventStatus & nsEventStatus_eIgnore) line 412 + 10 bytes nsWindow::DispatchWindowEvent(nsGUIEvent * 0x0012fc74) line 433 nsWindow::DispatchMouseEvent(unsigned int 301, nsPoint * 0x00000000) line 2936 + 15 bytes ChildWindow::DispatchMouseEvent(unsigned int 301, nsPoint * 0x00000000) line 3085 nsWindow::ProcessMessage(unsigned int 514, unsigned int 0, long 5636458, long * 0x0012fe38) line 2298 + 24 bytes nsWindow::WindowProc(HWND__ * 0x00010244, unsigned int 514, unsigned int 0, long 5636458) line 483 + 27 bytes USER32! DispatchMessageWorker@8 + 135 bytes USER32! DispatchMessageA@4 + 11 bytes nsAppShell::Run() line 70 nsAppShellService::Run(nsAppShellService * const 0x00c0c030) line 403 main(int 1, char * * 0x00bd1500) line 483 + 12 bytes mainCRTStartup() line 338 + 17 bytes KERNEL32! BaseProcessStart@4 + 64 bytes
Status: NEW → ASSIGNED
I see the crash. It was something to do with my change. I am looking at it.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
h-208-12-39-138 # cvs commit -m "Fixed crasher bug# 7311 by removing aggregation . Both constructors need to take an additional parameter that will initialize th e outer need to happen. Doing the bigger change of introducing aggregation later " cvs commit: Examining . Checking in nsFileSpecImpl.cpp; /cvsroot/mozilla/xpcom/io/nsFileSpecImpl.cpp,v <-- nsFileSpecImpl.cpp new revision: 3.3; previous revision: 3.2 done Checking in nsFileSpecImpl.h; /cvsroot/mozilla/xpcom/io/nsFileSpecImpl.h,v <-- nsFileSpecImpl.h new revision: 1.3; previous revision: 1.2 done
Fixed in debug build 6-1-99 Par
Status: RESOLVED → VERIFIED
marking verified per Par's comments from 6/1
You need to log in before you can comment on or make changes to this bug.