Closed Bug 195440 Opened 23 years ago Closed 23 years ago

crash when I cancel during downloading list of newsgroups

Categories

(MailNews Core :: Networking: NNTP, defect)

defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED
mozilla1.3final

People

(Reporter: sspitzer, Assigned: sspitzer)

Details

(Keywords: regression, Whiteboard: [1.3 final candidate] fixed1.3)

Attachments

(1 file, 1 obsolete file)

create new profile, create news account. Enter "news" as news server id and then select "Subscribe to newsgroups". As we are downloading the newsgoups (watch display at bottom of window) click the "cancel" button, watch it crash. the problem is m_request is null. patch coming... Source File Name c:/builds/seamonkey/mozilla/mailnews/news/src/nsNNTPProtocol.cpp Trigger Line No. 3371 Stack Trace nsNNTPProtocol::TimerCallback [c:/builds/seamonkey/mozilla/mailnews/news/src/nsNNTPProtocol.cpp, line 3371] nsNNTPProtocol::Notify [c:/builds/seamonkey/mozilla/mailnews/news/src/nsNNTPProtocol.cpp, line 3346] nsTimerImpl::Fire [c:/builds/seamonkey/mozilla/xpcom/threads/nsTimerImpl.cpp, line 395] nsAppShell::Run [c:/builds/seamonkey/mozilla/widget/src/windows/nsAppShell.cpp, line 176] nsAppShellService::Run [c:/builds/seamonkey/mozilla/xpfe/appshell/src/nsAppShellService.cpp, line 480] main1 [c:/builds/seamonkey/mozilla/xpfe/bootstrap/nsAppRunner.cpp, line 1289] main [c:/builds/seamonkey/mozilla/xpfe/bootstrap/nsAppRunner.cpp, line 1639] WinMain [c:/builds/seamonkey/mozilla/xpfe/bootstrap/nsAppRunner.cpp, line 1660] WinMainCRTStartup() kernel32.dll + 0x214c7 (0x77e814c7)
this is a regression from the async i/o landing, I think, so we want it on 1.3 final.
Status: NEW → ASSIGNED
Keywords: regression
Target Milestone: --- → mozilla1.3final
Attached patch patch (obsolete) — — Splinter Review
Attachment #115901 - Flags: review?(darin)
Comment on attachment 115901 [details] [diff] [review] patch r/sr=darin
Attachment #115901 - Flags: review?(darin) → review+
Attachment #115901 - Attachment is obsolete: true
Attachment #115901 - Flags: review+
Attached patch updated patch — — Splinter Review
don't assert. this is legit, if CloseSocket() is called, which will null out m_request. thanks to darin for the r/sr.
Comment on attachment 115903 [details] [diff] [review] updated patch this has r/sr darin
Attachment #115903 - Flags: superreview+
Attachment #115903 - Flags: review+
Attachment #115903 - Flags: approval1.3?
fixed on the trunk. I'll ping drivers for 1.3 final.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Whiteboard: [1.3 final candidate]
Comment on attachment 115903 [details] [diff] [review] updated patch a=asa (on behalf of drivers) for checkin to 1.3
Attachment #115903 - Flags: approval1.3? → approval1.3+
fixed on trunk and 1.3 final branch.
Whiteboard: [1.3 final candidate] → [1.3 final candidate] fixed1.3
Trunk build 2003-05-22: WinMe, Mac 10.1.5 Verified Fixed. I no longer crashes after canceling the download of newsgroups (i.e. news)
Status: RESOLVED → VERIFIED
QA Contact: stephend → nbaca
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: