Open Bug 77441 Opened 23 years ago Updated 2 years ago

Should disable View | Message Source for expired news articles

Categories

(MailNews Core :: Networking: NNTP, defect)

defect

Tracking

(Not tracked)

People

(Reporter: marina, Unassigned)

References

(Depends on 1 open bug)

Details

**** observed with 2001-04-23 build ****
Steps to repro:
- go to news article that was published a while ago;
- select it, in the message body you'll se :"Errror! article expired";
- go to View|Message Source;
//note : mozilla crashes or hangs ( stack to follow)
here is a stack:
(Signature = nsReadingIterator::normalize_forward c85cbbcc) 
     
   nsReadingIterator<unsigned short>::normalize_forward 
                                                        
[..\..\dist\include\nsStringIterator.h, line 366]
     
   nsReadingIterator<unsigned short>::advance 
                                                        
[..\..\dist\include\nsStringIterator.h, line 176]
     
   copy_string 
                                                        
[..\..\dist\include\nsAlgorithm.h, line 81]
     
   Distance 
                                                        
[d:\builds\seamonkey\mozilla\string\src\nsReadableUtils.cpp, line 100]
     
   nsScanner::RewindToMark 
                                                        
[d:\builds\seamonkey\mozilla\htmlparser\src\nsScanner.cpp, line 231]
     
   nsParser::Tokenize 
                                                        
[d:\builds\seamonkey\mozilla\htmlparser\src\nsParser.cpp, line 2426]
     
   nsParser::ResumeParse 
                                                        
[d:\builds\seamonkey\mozilla\htmlparser\src\nsParser.cpp, line 1860]
     
   nsParser::OnDataAvailable 
                                                        
[d:\builds\seamonkey\mozilla\htmlparser\src\nsParser.cpp, line 2318]
     
   nsDocumentOpenInfo::OnDataAvailable 
                                                        
[d:\builds\seamonkey\mozilla\uriloader\base\nsURILoader.cpp, line 260]
     
   nsMimeBaseEmitter::Complete 
                                                        
[d:\builds\seamonkey\mozilla\mailnews\mime\emitters\src\nsMimeBaseEmitter.cpp, 
line 868]
     
   nsStreamConverter::OnStopRequest 
                                                        
[d:\builds\seamonkey\mozilla\mailnews\mime\src\nsStreamConverter.cpp, line 996]
     
   nsDocumentOpenInfo::OnStopRequest 
                                                        
[d:\builds\seamonkey\mozilla\uriloader\base\nsURILoader.cpp, line 277]
     
   nsNntpCacheStreamListener::OnStopRequest 
                                                        
[d:\builds\seamonkey\mozilla\mailnews\news\src\nsNNTPProtocol.cpp, line 736]
     
   nsStorageTransport::nsReadRequest::Process 
                                                        
[d:\builds\seamonkey\mozilla\netwerk\base\src\nsStorageTransport.cpp, line 477]
     
   nsStorageTransport::AsyncRead 
                                                        
[d:\builds\seamonkey\mozilla\netwerk\base\src\nsStorageTransport.cpp, line 361]
     
   nsCacheEntryDescriptor::nsTransportWrapper::AsyncRead
                                                        
[d:\builds\seamonkey\mozilla\netwerk\cache\src\nsCacheEntryDescriptor.cpp, line 
558]
     
   nsNNTPProtocol::ReadFromMemCache 
                                                        
[d:\builds\seamonkey\mozilla\mailnews\news\src\nsNNTPProtocol.cpp, line 797]
     
   nsNNTPProtocol::OnCacheEntryAvailable 
                                                        
[d:\builds\seamonkey\mozilla\mailnews\news\src\nsNNTPProtocol.cpp, line 904]
     
   XPTC_InvokeByIndex 
                                                        
[d:\builds\seamonkey\mozilla\xpcom\reflect\xptcall\src\md\win32\xptcinvoke.cpp, 
line 139]
     
   EventHandler 
                                                        
[d:\builds\seamonkey\mozilla\xpcom\proxy\src\nsProxyEvent.cpp, line 510]
     
   PL_HandleEvent 
                                                        
[d:\builds\seamonkey\mozilla\xpcom\threads\plevent.c, line 589]
     
   PL_ProcessPendingEvents 
                                                        
[d:\builds\seamonkey\mozilla\xpcom\threads\plevent.c, line 522]
     
   _md_EventReceiverProc 
                                                        
[d:\builds\seamonkey\mozilla\xpcom\threads\plevent.c, line 1070]

Keywords: crash
QA Contact: esther → stephend
Froze/Hung Mozilla for me. I had to kill it with Ctrl+Alt+Delete
Keywords: hang
Summary: Viewing message source of an expired article leads to a crash → Viewing message source of an expired article leads to a crash/freeze
I don't crash or hang with build 2001042704, but the view source window does
come up blank.
I also get a blank window.
Based on Scott's and my experience, changing the summary of the bug.  Actually,
I think this bug should actually be that we should disable the View | Message
Source menu item when viewing the list-ids URL.
Keywords: crash, hang
Summary: Viewing message source of an expired article leads to a crash/freeze → Viewing message source of an expired article is blank
Summary: Viewing message source of an expired article is blank → Viewing message source of an expired article crashes or comes up blank.
*** Bug 87179 has been marked as a duplicate of this bug. ***
Blocks: 106267
Marina, hope you don't mind, but I'm changing this bug's scope to 'Should
disable View | Message Source for expired articles', as I think that's the most
appropriate behavior we want in this case.
OS: Windows NT → All
Hardware: PC → All
Summary: Viewing message source of an expired article crashes or comes up blank. → Should disable View | Message Source for expired articles
Product: MailNews → Core
> I'm changing this bug's scope to 'Should disable View | Message Source for 
> expired articles', as I think that's the most appropriate behavior we want 
> in this case.

If the article is currently displayed, viewing source should still be possible.

Note bug 288462.
sorry for the spam.  making bugzilla reflect reality as I'm not working on these bugs.  filter on FOOBARCHEESE to remove these in bulk.
Assignee: sspitzer → nobody
Filter on "Nobody_NScomTLD_20080620"
QA Contact: stephend → networking.news
Product: Core → MailNews Core
Does this still reproduce?
Severity: normal → minor
It still displays a blank window, but I think we may get some more useful information with the fix for bug 80972...
Depends on: 80972
Summary: Should disable View | Message Source for expired articles → Should disable View | Message Source for expired news articles
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.