Closed Bug 45519 Opened 26 years ago Closed 26 years ago

crash when launching netcenter from sidebar what's related

Categories

(Core :: DOM: Navigation, defect, P3)

defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: asa, Assigned: asa)

Details

(Keywords: crash, Whiteboard: [nsbeta2+])

when I atempt to launch netcenter from the what's related sidebar panel I crash on mac and win32. Steps to repro: 1. open browser 2. visit mozilla.org 3. double click on Computers...internet in what's related panel 4. double click on netcenter link. results: crash expected results: opens netcenter webpage in browser content pane. tested with 071408 mozilla builds on Mac OS9 and winNT
I was able to crash by doing the following: * launch browser (in my case to about:blank) * click the bookmark/icon for mozilla.org on the toolbar * go to what's related tab in sidebar * double-click the Computers...Internet / W3C item * make a bookmark to that page (http://directory.netscape.com/Computers/Programming/Internet/W3C_DOM) * Quit On relaunch this is how I can crash: * open new browser window * select w3c bookmark * change url in location editfield to "http://www.netcenter.com/" * press return to load url <crash>
Here's the stack trace on Win32. mHistoryState has been deleted, and someone is trying to use it at: http://lxr.mozilla.org/mozilla/source/layout/html/base/src/nsPresShell.cpp#2953 cc'ing nisheeth and pollman, who know this code. ns_if_addref(nsILayoutHistoryState * 0x03190a60) line 1090 + 15 bytes PresShell::CaptureHistoryState(PresShell * const 0x02fa42f0, nsILayoutHistoryState * * 0x0012f758, int 0x00000001) line 2953 + 21 bytes nsDocShell::PersistLayoutHistoryState(nsDocShell * const 0x030d3150) line 3467 + 52 bytes nsDocShell::Embed(nsDocShell * const 0x030d3170, nsIContentViewer * 0x030efb40, const char * 0x0036efe4, nsISupports * 0x00000000) line 2219 nsWebShell::Embed(nsWebShell * const 0x030d3170, nsIContentViewer * 0x030efb40, const char * 0x0036efe4, nsISupports * 0x00000000) line 588 nsDocShell::CreateContentViewer(nsDocShell * const 0x030d3150, const char * 0x0012f904, nsIChannel * 0x02f912a0, nsIStreamListener * * 0x0012f958) line 2376 + 32 bytes nsDSURIContentListener::DoContent(nsDSURIContentListener * const 0x030d3070, const char * 0x0012f904, int 0x00000000, const char * 0x1009fbf0 gCommonEmptyBuffer, nsIChannel * 0x02f912a0, nsIStreamListener * * 0x0012f958, int * 0x0012f8e8) line 100 + 33 bytes nsDocumentOpenInfo::DispatchContent(nsIChannel * 0x02f912a0, nsISupports * 0x00000000) line 359 + 109 bytes nsDocumentOpenInfo::OnStartRequest(nsDocumentOpenInfo * const 0x02f90740, nsIChannel * 0x02f912a0, nsISupports * 0x00000000) line 233 + 16 bytes nsHTTPFinalListener::OnStartRequest(nsHTTPFinalListener * const 0x02f97220, nsIChannel * 0x02f912a0, nsISupports * 0x00000000) line 1157 InterceptStreamListener::OnStartRequest(InterceptStreamListener * const 0x03135f20, nsIChannel * 0x02f912a0, nsISupports * 0x00000000) line 1140 nsHTTPServerListener::FinishedResponseHeaders() line 1082 + 48 bytes nsHTTPServerListener::OnDataAvailable(nsHTTPServerListener * const 0x030f5f70, nsIChannel * 0x030ea9e4, nsISupports * 0x02f912a0, nsIInputStream * 0x030f676c, unsigned int 0x00000000, unsigned int 0x00001f77) line 427 + 8 bytes nsOnDataAvailableEvent::HandleEvent(nsOnDataAvailableEvent * const 0x030f6220) line 401 + 47 bytes nsStreamListenerEvent::HandlePLEvent(PLEvent * 0x030f6e00) line 97 + 12 bytes PL_HandleEvent(PLEvent * 0x030f6e00) line 587 + 10 bytes PL_ProcessPendingEvents(PLEventQueue * 0x010eaf00) line 528 + 9 bytes _md_EventReceiverProc(HWND__ * 0x00f6052a, unsigned int 0x0000c09b, unsigned int 0x00000000, long 0x010eaf00) line 1043 + 9 bytes USER32! 77e71250() 010eaf00()
Component: Browser-General → Embedding: Docshell
Keywords: crash, nsbeta2
my stack trace from talknback build looks like this: nsSHEntry::GetLayoutHistoryState [d:\builds\seamonkey\mozilla\xpfe\components\shistory\src\nsSHEntry.cpp, line 132] nsDocShell::Embed [d:\builds\seamonkey\mozilla\docshell\base\nsDocShell.cpp, line 2245] nsWebShell::Embed [d:\builds\seamonkey\mozilla\webshell\src\nsWebShell.cpp, line 588] nsDocShell::CreateContentViewer [d:\builds\seamonkey\mozilla\docshell\base\nsDocShell.cpp, line 2381] nsDSURIContentListener::DoContent [d:\builds\seamonkey\mozilla\docshell\base\nsDSURIContentListener.cpp, line 101] nsDocumentOpenInfo::DispatchContent [d:\builds\seamonkey\mozilla\uriloader\base\nsURILoader.cpp, line 362] nsDocumentOpenInfo::OnStartRequest [d:\builds\seamonkey\mozilla\uriloader\base\nsURILoader.cpp, line 234] nsHTTPFinalListener::OnStartRequest [d:\builds\seamonkey\mozilla\netwerk\protocol\http\src\nsHTTPResponseListener.cpp, line 1153] InterceptStreamListener::OnStartRequest [d:\builds\seamonkey\mozilla\netwerk\cache\mgr\nsCachedNetData.cpp, line 1140] nsHTTPServerListener::FinishedResponseHeaders [d:\builds\seamonkey\mozilla\netwerk\protocol\http\src\nsHTTPResponseListener.cpp, line 1091] nsHTTPServerListener::OnDataAvailable [d:\builds\seamonkey\mozilla\netwerk\protocol\http\src\nsHTTPResponseListener.cpp, line 428] nsOnDataAvailableEvent::HandleEvent [d:\builds\seamonkey\mozilla\netwerk\base\src\nsAsyncStreamListener.cpp, line 407] nsStreamListenerEvent::HandlePLEvent [d:\builds\seamonkey\mozilla\netwerk\base\src\nsAsyncStreamListener.cpp, line 106] PL_HandleEvent [d:\builds\seamonkey\mozilla\xpcom\threads\plevent.c, line 588] _md_EventReceiverProc [d:\builds\seamonkey\mozilla\xpcom\threads\plevent.c, line 1045] USER32.dll + 0x1820 (0x77e71820)
CC'ing Radha - did your recent checkin fix this bug?
My recent checkin ie., 20 minutes ago could have fixed the last stack trace that Asa Dotzler provided at 7/14/00 14:02
Putting on [nsbeta2+] radar for beta2 fix.
Whiteboard: [nsbeta2+]
Doesn't crash for me with Radha's latest fix. Marking this WORKSFORME.
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → WORKSFORME
This is working for me as well. tested on Mac mozilla debug build from about 5PM today on OS9
verified with 071708 mozilla builds on mac and win32
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.