Closed Bug 12344 Opened 25 years ago Closed 25 years ago

Crash when closing the editor window

Categories

(Core :: XUL, defect, P3)

PowerPC
Mac System 8.5
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: sfraser_bugs, Assigned: hyatt)

Details

(Keywords: crash)

I'm seeing a crash in today's build when I close an editor window. I don't have
to type or anything to get the crash. I suspect that it may be related to hyatt's
broadcaster changes. The stack looks like:

 Calling chain using A6/R1 links
  Back chain  ISA  Caller
  00000000    PPC  1FBF3B60
  0B8D0380    PPC  1FBF2F54  main+00060
  0B8D0330    PPC  1FBF27A4  main1(int, char**)+00E98
  0B8D0190    PPC  1D75E7D0  nsAppShellService::Run()+00020
  0B8D0150    PPC  1D5E5B7C  nsAppShell::Run()+00050
  0B8D00D0    PPC  1D5E6920  nsMacMessagePump::DoMessagePump()+00044
  0B8D0080    PPC  1D5E6B24  nsMacMessagePump::DispatchEvent(int, EventRecord*)+
00084
  0B8D0030    PPC  1D5E7160  nsMacMessagePump::DoMouseDown(EventRecord&)+00408
  0B8CFF40    PPC  1D5E794C
nsMacMessagePump::DispatchOSEventToRaptor(EventRecord&, GrafPort
*)+0004C
  0B8CFEF0    PPC  1D5E0EF8  nsMacMessageSink::DispatchOSEvent(EventRecord&,
GrafPort*)+00048
  0B8CFEB0    PPC  1D5DA4B4  nsMacWindow::HandleOSEvent(EventRecord&)+0004C
  0B8CFE50    PPC  1D5DAC34  nsMacEventHandler::HandleOSEvent(EventRecord&)+000B0
  0B8CFE00    PPC  1D5DC580  nsMacEventHandler::HandleMouseDownEvent(EventRecord&
)+00128
  0B8CFD40    PPC  1D5C2EB4  nsWindow::Destroy()+0008C
  0B8CFD00    PPC  1D5C5990  nsWindow::ReportDestroyEvent()+00074
  0B8CFC90    PPC  1D5C56B0  nsWindow::DispatchWindowEvent(nsGUIEvent&)+00028
  0B8CFC50    PPC  1D5C55BC  nsWindow::DispatchEvent(nsGUIEvent*, nsEventStatus&
)+000A8
  0B8CFC00    PPC  1D761B04  nsWebShellWindow::HandleEvent(nsGUIEvent*)+000E8
  0B8CFB80    PPC  1D761924  nsWebShellWindow::Close()+00038
  0B8CFB30    PPC  1D36DE94  nsWebShell::Destroy()+001BC
  0B8CFAA0    PPC  1D2170E8  DocumentViewerImpl::Release()+00070
  0B8CFA60    PPC  1D217618  DocumentViewerImpl::~DocumentViewerImpl()+002C8
  0B8CFA00    PPC  1D3E3D6C  XULDocumentImpl::Release()+00070
  0B8CF9C0    PPC  1D3E311C  XULDocumentImpl::~XULDocumentImpl()+00788
  0B8CF930    PPC  1D3F80BC  RDFElementImpl::Release()+00070
  0B8CF8F0    PPC  1D3F7838  RDFElementImpl::~RDFElementImpl()+001E8
  0B8CF830    PPC  1D3FC8BC  RDFElementImpl::SetParent(nsIContent*)+00180
  0B8CF6D0    PPC  1D7B2F1C  nsDebug::PreCondition(const char*, const char*,
const char*, int
)+00040

(note that this is an assertion, but it crashes soon after).
Status: NEW → ASSIGNED
Target Milestone: M11
I haven't seen this crash since checking in the fix to init some members of the
XUL broadcasters array to null. So that may have fixed it.
ckritzer, is this still occuring?
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
resolving as fixed
QA Contact: ckritzer → sfraser
Assigning to originator per new organizational structure.
QA Contact: sfraser → ckritzer
Changing QA Contact back to ckritzer@netscape.com
BULK MOVE: Changing component from XUL to XP Toolkit/Widgets: XUL.  XUL 
component will be deleted.
Component: XUL → XP Toolkit/Widgets: XUL
Massive QA Contact update.
QA Contact: ckritzer → jrgm
Adding crash keyword
Keywords: crash
Verified fixed.
Status: RESOLVED → VERIFIED
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.