Closed Bug 92816 Opened 24 years ago Closed 24 years ago

N610 crash clicking Back Fwd buttons in quick succession on bugzilla page [@ nsTimer::~nsTimer]

Categories

(Core :: DOM: Navigation, defect)

All
Windows NT
defect
Not set
critical

Tracking

()

VERIFIED FIXED

People

(Reporter: shrir, Assigned: radha)

References

()

Details

(Keywords: crash, topcrash)

Crash Data

Attachments

(1 file)

windows branch 0727 steps: 1 go to this page 2 Under 'Status', select "unconfirmed, new, assigned, reopened' 3 select 'QA Contact' and enter an email address in the textfield 4 Scroll down to the textfield titled 'Keyword' and enter "rel" inside the textfield 5 Click on 'Submit Query" button and as soon as you see the "keyword error message" , click BACK and then FWD button in the browser should crash. Checked this on 98 and win2k stack : Stack Signature 0x03b663ec 5fdae1bf Bug ID Trigger Time 2001-07-30 11:02:31 User Comments Build ID 2001072700 Product ID Netscape6.10 Platform ID Win32 Stack Trace 0x03b663ec nsAppShellService::Run [d:\builds\seamonkey\mozilla\xpfe\appshell\src\nsAppShellService.cpp, line 426] netscp6.exe + 0x16f0 (0x004016f0) netscp6.exe + 0x11b8 (0x004011b8) netscp6.exe + 0x3397 (0x00403397) KERNEL32.dll + 0x1ba06 (0x77f1ba06)
Summary: crash clicking back Fwd buttons on bugzilla page → crash clicking Back Fwd buttons on bugzilla page
Shrir - was this reproducible on a build before the 26th? Want to see if this bug has always been there or showed up after Darin's branch fix.
let me try... *installing older build now*
I can reproduce on 0724 branch build too. so might not be a regression.
I'm presuming, this is in the branch. From the stack trace it doesn't look like it is in the Session History component. The crash is in the event loop. I'm pulling the branch now.
updated summary. To be able to repro this bug 100%, after clicking the BACK button, without waiting for the contents of the page to appear, click FORWARD button almost immediately...
Summary: crash clicking Back Fwd buttons on bugzilla page → crash clicking Back Fwd buttons in quick succession on bugzilla page
ok , crashed on cnn.com too this time. This is happening! Happned while I was rechecking bug 93445 newer and fresher stack trace: Stack Signature nsTimer::~nsTimer 03469498 Bug ID Trigger Time 2001-08-03 12:47:30 User Comments back fwd .BOOM~~ Build ID 2001080210 Product ID MozillaTrunk Platform ID Win32 Stack Trace nsTimer::~nsTimer [d:\builds\seamonkey\mozilla\widget\timer\src\windows\nsTimer.cpp, line 123] nsTimer::`scalar deleting destructor' nsTimer::Release [d:\builds\seamonkey\mozilla\widget\timer\src\windows\nsTimer.cpp, line 94] nsTimerManager::FireNextReadyTimer [d:\builds\seamonkey\mozilla\widget\timer\src\windows\nsTimerManager.cpp, line 119] nsAppShell::Run [d:\builds\seamonkey\mozilla\widget\src\windows\nsAppShell.cpp, line 118] nsAppShellService::Run [d:\builds\seamonkey\mozilla\xpfe\appshell\src\nsAppShellService.cpp, line 425] netscp6.exe + 0x174d (0x0040174d) netscp6.exe + 0x121a (0x0040121a) netscp6.exe + 0x368f (0x0040368f) KERNEL32.dll + 0x1ba06 (0x77f1ba06)
Severity: normal → critical
cc'ing dcone and rpotts who may be familiar with recent changes in the event loop and timer code.
I just fixed a problem with this in printing, and the problem was that the nsDocumentViewer was being destroyed before printing was finished using it. So I refcounted my use of the DocumentViewer, and and made sure in the Destroy method that printing was finished before it cleaned up. Sounds like a simular problem, different battle.
see bug 90060 for more information on what happened with that bug.
Adding stack signature to summary for future talkback tracking.
Summary: crash clicking Back Fwd buttons in quick succession on bugzilla page → crash clicking Back Fwd buttons in quick succession on bugzilla page [@ nsTimer::~nsTimer]
Summary: crash clicking Back Fwd buttons in quick succession on bugzilla page [@ nsTimer::~nsTimer] → N610 crash clicking Back Fwd buttons in quick succession on bugzilla page [@ nsTimer::~nsTimer]
shrir, can you try this in latest builds? Thanks,
I just tried with the current build on Win98(2001081003) and I was able to reproduce although I had to get a little aggressive on the back/fwd clicking. My stack was shorter but similar. I was unable to repro this after many tries with a 2001080901 Linux build btw. Stack Trace: 0x11433c91 nsAppShellService::Run [d:\builds\seamonkey\mozilla\xpfe\appshell\src\nsAppShellService.cpp, line 425] NETSCP6.EXE + 0x174d (0x0040174d) NETSCP6.EXE + 0x121a (0x0040121a) NETSCP6.EXE + 0x368f (0x0040368f) KERNEL32.DLL + 0x1b537 (0xbff8b537) KERNEL32.DLL + 0x1b3e9 (0xbff8b3e9) KERNEL32.DLL + 0x19dac (0xbff89dac)
seems like this is windows only... linux is like Chevy Blazer...
Adding crash and topcrash keywords. Lots of folks comment on getting this crash going to the cnn homepage. Some are seeing this one when they press 'Back' during a print job. Comments below.
Keywords: crash, topcrash
Attached file Talkback user Comments
dcone, Looking thro' the comments, it seems to be happening while priting and Priting followed by a back. What are the possible places I can put a breakpoint to catch this one. What should I be looking for? Thanks,
there were problems with printing and hitting the back button, but those have been fixed. The first problem was due to the document being switched out from under the printjob.. printing was still using the document, back button was hit and document gone.. crash. That was fixed. Another problem was that the dialog was modless.. so the back button could be hit while the dialog was still up.. that is fixed also. I get the feeling this bug is due to a reflow is still going on when the document is switched out, and some code started a timer which did not refcount the DocumentViewer, the DocumentViewer goes away and the timer crashes because the its listener is gone, thats my theory anyway. In nsDocumentViewer look how the printtimer handles this refcount because DBaron did some stuff to explicitly take down the DocumentViewer.. so you not only have to refcount but make sure the destroy does not take down something you need.
I'm not able to reproduce this in my NT boz and in linux. I did get aggressive with the back/forward buttons. Is this still reproducible?
yeah, I tried with today's trunk 0824 on my NT and am unable to repro the crash mentioned in my steps mentioned above and also on cnn.com. Mysteriously fixed?
shrir, How about in Win 98? Adam lock fixed a crash bug 2 days ago related to cnn.com and the popup window it throws up setting editions.
adam lock's fix went in on the 20th. I went back on a number of builds and see that this crasher got fixed somehow between the 15th and 17th. It crashes on the 15th build but not on the 17th trunk. spooky...
and yeah..tried a win9 also. Does not crash on today's trunk 0824
hey don, did your printing fixes also take into account META-REFRESH or javascript timers firing while the document was printing? I bet that to be entirely safe we need a way to pospone dealing with META-REFRESH or javascript timers if the current document is being printed... As an aside, cnn.com currently uses a META-REFRESH tag :-) -- rick
Talkback data shows that this crash (nsTimer::~nsTimer) last occurred with MozillaTrunk build 2001081610. Although dcone seemed to have "fixed" this around 8/6, was there another checkin around 8/16 that could have fixed this for good? I guess if we can't reproduce this with the latest MozillaTrunk builds, we should just mark this fixed. Claudius?
I'm unable to reporduce with 20010910 builds and the talkback findings seem to fall perfectly inline with Additional Comments From shrirang khanzode 2001-08-24 14:24; "I went back on a number of builds and see that this crasher got fixed somehow between the 15th and 17th. It crashes on the 15th build but not on the 17th trunk." ...so I'm going to mark this bug fixed and verified.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
VERIFIED Fixed with 20010910 builds
Status: RESOLVED → VERIFIED
Component: History: Session → Document Navigation
QA Contact: claudius → docshell
Crash Signature: [@ nsTimer::~nsTimer]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: