Closed Bug 124673 Opened 23 years ago Closed 22 years ago

Mozilla will hang burning CPU if you click "click here to remove all expired articles" link in message pane

Categories

(MailNews Core :: Networking: NNTP, defect)

defect
Not set
critical

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 123922

People

(Reporter: sweeney, Assigned: sspitzer)

References

Details

(Keywords: hang)

Attachments

(2 files)

Mozilla will hang burning CPU if you click "click here to remove all expired
articles" link in message pane when reading usenet news.  To reproduce, simply
find a newsgroup with expired articles, click one so that the following text
appears:

Error!
newsgroup server responded:No Such Article In Group

Perhaps the article has expired

<9sscsp$rbh$1@sunsite.icm.edu.pl> (180986)

Click here to remove all expired articles

The final line is underlined in blue.  Click it.  Game over.
Add "hang" keyword
Keywords: hang
Summary: Mozilla will hang burning CPU if you click "click here to remove all expired articles" link in message pane → Mozilla will hang burning CPU if you click "click here to remove all expired articles" link in message pane
What build of Mozilla are you using?  Also, I can't reproduce this using the
2002-02-08 RedHat 7.2 trunk build (yes, not FreeBSD, but the closest thing I have).
Help->About Mozilla sez:

[Mozilla]
Mozilla 0.9.8
Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.8) Gecko/20020206

FreeBSD version is 4.4-STABLE, XFree86 version is 4.2.99.1
Note the extremely high latency to that server - not saying it's not partially
Moz's fault, but we rely on the server to return us a list of bogus articles
before clearing them from our client.
Uh, I don't see how your traceroute is applicable to this bug.  It starts off in
the US and goes via the UK to Poland.  Usenet is a store and foreward protocol
-- Mozilla doesn't have to connect to the host in Poland to realize that the
article has expired from my newsserver in the US.  My DSL is with Mindspring and
the NNTP server is at Earthlink -- traceroute shows:

traceroute to news.earthlink.net (207.217.77.22), 64 hops max, 40 byte packets
 1  user-vcauk81.dsl.mindspring.com (216.175.81.1)  42.046 ms  61.832 ms  10.669 ms
 2  cisco-g4-0-0.oak.mindspring.net (209.86.81.129)  11.103 ms  10.062 ms  11.735 ms
 3  cisco-s6-1-0.lax.mindspring.net (207.69.144.34)  21.690 ms  21.493 ms  20.379 ms
 4  cisco-1-s5-0-1.pas.mindspring.net (209.86.67.10)  22.701 ms  21.138 ms 
22.468 ms
 5  vlan100-cr01-pas.neteng.itd.earthlink.net (207.217.1.11)  22.717 ms  23.223
ms  22.998 ms
 6  vlan264-dnr01-pas.neteng.itd.earthlink.net (207.217.2.94)  23.367 ms  23.387
ms *
 7  *^C

Which is as far as it gets before Earthlink starts black-holing ICMP packets
(Ping sez "Communication prohibited by filter").  Since I am probably one router
hop from the destination at this point, I doubt that network latency is the problem:

sweeney@golem% nslookup news.earthlink.net
Server:  ns2.mindspring.com
Address:  207.69.188.186

Name:    news.earthlink.net
Addresses:  207.217.77.22, 207.217.77.23, 207.217.77.24, 207.217.77.25
          207.217.77.26, 207.217.77.21

If you can't reproduce the problem, fine, just don't go blaming it on something
irrelevant.  I can reproduce the bug without fail -- if you can tell me how to
get it to core dump when it does this, then at least you'll know what routine
it's spinning in.

Tony.
Another example, without the red herring that the article was posted in Europe
-- clicking "click here" on the following expired article also causes the hang:

Error!
newsgroup server responded:No Such Article In Group

Perhaps the article has expired

<Gq7w3w.1KDn@wjv.com> (188744)

Click here to remove all expired articles


traceroute to wjv.com (63.209.114.37), 64 hops max, 40 byte packets
 1  user-vcauk81.dsl.mindspring.com (216.175.81.1)  20.894 ms  23.694 ms  15.608 ms
 2  cisco-g4-0-0.oak.mindspring.net (209.86.81.129)  11.088 ms  10.642 ms  11.192 ms
 3  POS3-1.hsipaccess1.SanFrancisco1.Level3.net (166.90.48.85)  11.628 ms 
12.140 ms  11.599 ms
 4  lo0.mp2.SanFrancisco1.Level3.net (209.247.8.238)  12.176 ms  53.830 ms 
49.376 ms
 5  so-0-2-0.mp2.Orlando1.Level3.net (64.159.1.173)  80.803 ms  80.715 ms  80.451 ms
 6  gige9-1.hsipaccess1.Orlando1.Level3.net (64.159.0.42)  80.818 ms  80.179 ms
 79.437 ms
 7  unknown.Level3.net (63.209.113.2)  80.064 ms  80.936 ms  79.931 ms
 8  wjv.com (63.209.114.37)  80.643 ms  80.969 ms  80.859 ms

Not that this really means anything, since it's the latency with my news server
that might affect things, and as I hope I've demonstrated to your satisfaction,
that's less than 30 ms
Right - the latency with your news server (which I might add wasn't specified in
the initial bug report) seems to be fine.  I wasn't blaming it on anything - as
I had sparse information to go on, I was investigating multiple avenues.  As
Earthlink checks hostnames in addition to news auth, I doubt I'll get to test
this on my own, and even then, it'd be an incomplete test, as I only have access
to the multiple flavors of Linux.  Anyhow, if you could generate a protocol log
for NNTP, that'd be helpful.

http://www.mozilla.org/quality/mailnews/mail-troubleshoot.html#imap (poorly
named anchor, NNTP's instructions are in there as well).

Confirming the bug.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Stephen,
    sorry if that came across as slightly snotty -- here's the log:

134782976[809b380]: (8989200) setting busy to 0
134782976[809b380]: (8989200) creating
134782976[809b380]: (8989200) initializing, so unset m_currentGroup
134782976[809b380]: (8989200) setting busy to 1
134782976[809b380]: (8989200) opening connection to news.earthlink.net on port 119
134782976[809b380]: (8989200) setting busy to 1
134782976[809b380]: (8989200) ParseURL
134782976[809b380]: (8989200) fullPath = /
134782976[809b380]: (8989200) m_messageID = (null)
134782976[809b380]: (8989200) group = (null)
134782976[809b380]: (8989200) commandSpecificData = (null)
134782976[809b380]: (8989200) m_key = -1
134782976[809b380]: (8989200) Next state: NNTP_RESPONSE
134782976[809b380]: (8989200) Receiving: 200 EarthLink News Service Ready
(Typhoon v1.2.4)
134782976[809b380]: (8989200) Next state: NNTP_LOGIN_RESPONSE
134782976[809b380]: (8989200) Next state: NNTP_SEND_MODE_READER
134782976[809b380]: (8989200) Sending: MODE READER

134782976[809b380]: (8989200) Next state: NNTP_RESPONSE
134782976[809b380]: (8989200) Receiving: 500 Syntax Error or Unknown Command
134782976[809b380]: (8989200) Next state: NNTP_SEND_MODE_READER_RESPONSE
134782976[809b380]: (8989200) Next state: SEND_FIRST_NNTP_COMMAND
134782976[809b380]: (8989200) Next state: NEWS_DISPLAY_NEWS_RC
134782976[809b380]: (8989200) Sending: GROUP alt.folklore.urban

134782976[809b380]: (93a9e00) setting busy to 0
134782976[809b380]: (93a9e00) creating
134782976[809b380]: (93a9e00) initializing, so unset m_currentGroup
134782976[809b380]: (93a9e00) setting busy to 1
134782976[809b380]: (93a9e00) opening connection to news.earthlink.net on port 119
134782976[809b380]: (93a9e00) setting busy to 1
134782976[809b380]: (93a9e00) ParseURL
134782976[809b380]: (93a9e00) fullPath = /comp.unix.bsd.freebsd.misc
134782976[809b380]: (93a9e00) m_messageID = (null)
134782976[809b380]: (93a9e00) group = comp.unix.bsd.freebsd.misc
134782976[809b380]: (93a9e00) commandSpecificData = (null)
134782976[809b380]: (93a9e00) m_key = -1
134782976[809b380]: (8989200) Next state: NNTP_RESPONSE
134782976[809b380]: (8989200) Receiving: 480 Authentication Required
134782976[809b380]: (8989200) Next state: NNTP_BEGIN_AUTHORIZE
134782976[809b380]: (8989200) ask for the news username
134782976[809b380]: (8989200) use a.e.sweeney as the username
134782976[809b380]: (8989200) Sending: AUTHINFO user a.e.sweeney

134782976[809b380]: (8989200) Next state: NNTP_RESPONSE
134782976[809b380]: (8989200) Receiving: 381 More Authentication Required
134782976[809b380]: (8989200) Next state: NNTP_AUTHORIZE_RESPONSE
134782976[809b380]: (8989200) ask for the news password
134782976[809b380]: (8989200) Logging suppressed for this command (it probably
contained authentication information)
134782976[809b380]: (93a9e00) Next state: NNTP_RESPONSE
134782976[809b380]: (93a9e00) Receiving: 200 EarthLink News Service Ready
(Typhoon v1.2.4)
134782976[809b380]: (93a9e00) Next state: NNTP_LOGIN_RESPONSE
134782976[809b380]: (93a9e00) Next state: NNTP_SEND_MODE_READER
134782976[809b380]: (93a9e00) Sending: MODE READER

134782976[809b380]: (8989200) Next state: NNTP_RESPONSE
134782976[809b380]: (8989200) Receiving: 281 Authentication Accepted
134782976[809b380]: (8989200) Next state: NNTP_PASSWORD_RESPONSE
134782976[809b380]: (8989200) Next state: SEND_FIRST_NNTP_COMMAND
134782976[809b380]: (8989200) Next state: NEWS_DISPLAY_NEWS_RC
134782976[809b380]: (8989200) Sending: GROUP ba.motorcycles

134782976[809b380]: (93a9e00) Next state: NNTP_RESPONSE
134782976[809b380]: (93a9e00) Receiving: 500 Syntax Error or Unknown Command
134782976[809b380]: (93a9e00) Next state: NNTP_SEND_MODE_READER_RESPONSE
134782976[809b380]: (93a9e00) Next state: SEND_FIRST_NNTP_COMMAND
134782976[809b380]: (93a9e00) Sending: GROUP comp.unix.bsd.freebsd.misc

134782976[809b380]: (8989200) Next state: NNTP_RESPONSE
134782976[809b380]: (8989200) Receiving: 211 957 118734 119692 ba.motorcycles
134782976[809b380]: (8989200) Next state: NEWS_DISPLAY_NEWS_RC_RESPONSE
134782976[809b380]: (8989200) Next state: NEWS_DISPLAY_NEWS_RC
134782976[809b380]: (8989200) Sending: GROUP comp.unix.bsd.freebsd.misc

134782976[809b380]: (93a9e00) Next state: NNTP_RESPONSE
134782976[809b380]: (93a9e00) Receiving: 480 Authentication Required
134782976[809b380]: (93a9e00) Next state: NNTP_BEGIN_AUTHORIZE
134782976[809b380]: (93a9e00) ask for the news username
134782976[809b380]: (93a9e00) use a.e.sweeney as the username
134782976[809b380]: (93a9e00) Sending: AUTHINFO user a.e.sweeney

134782976[809b380]: (8989200) Next state: NNTP_RESPONSE
134782976[809b380]: (8989200) Receiving: 211 2581 189223 191805
comp.unix.bsd.freebsd.misc
134782976[809b380]: (8989200) Next state: NEWS_DISPLAY_NEWS_RC_RESPONSE
134782976[809b380]: (8989200) Next state: NEWS_DISPLAY_NEWS_RC
134782976[809b380]: (8989200) Sending: GROUP rec.humor.funny

134782976[809b380]: (93a9e00) Next state: NNTP_RESPONSE
134782976[809b380]: (93a9e00) Receiving: 381 More Authentication Required
134782976[809b380]: (93a9e00) Next state: NNTP_AUTHORIZE_RESPONSE
134782976[809b380]: (93a9e00) ask for the news password
134782976[809b380]: (93a9e00) Logging suppressed for this command (it probably
contained authentication information)
134782976[809b380]: (93a9e00) Next state: NNTP_RESPONSE
134782976[809b380]: (93a9e00) Receiving: 281 Authentication Accepted
134782976[809b380]: (93a9e00) Next state: NNTP_PASSWORD_RESPONSE
134782976[809b380]: (93a9e00) Next state: SEND_FIRST_NNTP_COMMAND
134782976[809b380]: (93a9e00) Sending: GROUP comp.unix.bsd.freebsd.misc

134782976[809b380]: (93a9e00) Next state: NNTP_RESPONSE
134782976[809b380]: (93a9e00) Receiving: 211 2581 189223 191805
comp.unix.bsd.freebsd.misc
134782976[809b380]: (93a9e00) Next state: SEND_FIRST_NNTP_COMMAND_RESPONSE
134782976[809b380]: (93a9e00) Next state: SETUP_NEWS_STREAM
134782976[809b380]: (93a9e00) Next state: NNTP_XOVER_BEGIN
134782976[809b380]: (93a9e00) SetCurrentGroup to comp.unix.bsd.freebsd.misc
134782976[809b380]: (93a9e00) Next state: NNTP_FIGURE_NEXT_CHUNK
134782976[809b380]: (93a9e00) Chunk will be (191804-191805)
134782976[809b380]: (93a9e00) Next state: NNTP_XOVER_SEND
134782976[809b380]: (93a9e00) Sending: XOVER 191804-191805

134782976[809b380]: (93a9e00) Sending: XOVER 191804-191805

134782976[809b380]: (8989200) Next state: NNTP_RESPONSE
134782976[809b380]: (8989200) Receiving: 211 9 3330 3338 rec.humor.funny
134782976[809b380]: (8989200) Next state: NEWS_DISPLAY_NEWS_RC_RESPONSE
134782976[809b380]: (8989200) Next state: NEWS_DISPLAY_NEWS_RC
134782976[809b380]: (8989200) Sending: GROUP rec.humor.funny.reruns

134782976[809b380]: (93a9e00) Next state: NNTP_RESPONSE
134782976[809b380]: (93a9e00) Receiving: 224 Overview Information Follows
134782976[809b380]: (93a9e00) Next state: NNTP_XOVER_RESPONSE
134782976[809b380]: (93a9e00) Next state: NNTP_XOVER
134782976[809b380]: (8989200) Next state: NNTP_RESPONSE
134782976[809b380]: (8989200) Receiving: 211 36 2424 2459 rec.humor.funny.reruns
134782976[809b380]: (8989200) Next state: NEWS_DISPLAY_NEWS_RC_RESPONSE
134782976[809b380]: (8989200) Next state: NEWS_DISPLAY_NEWS_RC
134782976[809b380]: (8989200) Sending: GROUP comp.risks

134782976[809b380]: (8989200) Next state: NNTP_RESPONSE
134782976[809b380]: (8989200) Receiving: 211 2 524 525 comp.risks
134782976[809b380]: (8989200) Next state: NEWS_DISPLAY_NEWS_RC_RESPONSE
134782976[809b380]: (8989200) Next state: NEWS_DISPLAY_NEWS_RC
134782976[809b380]: (8989200) Next state: NEWS_DONE
134782976[809b380]: (8989200) Next state: NEWS_FREE
134782976[809b380]: (8989200) CleanupAfterRunningUrl()
134782976[809b380]: (8989200) setting busy to 0
134782976[809b380]: (93a9e00) Next state: NNTP_XOVER
134782976[809b380]: (93a9e00) Next state: NNTP_XOVER
134782976[809b380]: (93a9e00) Next state: NNTP_XOVER
134782976[809b380]: (93a9e00) Next state: NNTP_FIGURE_NEXT_CHUNK
134782976[809b380]: (93a9e00) add to known articles:  191804 - 191805
134782976[809b380]: (93a9e00) Next state: NEWS_PROCESS_XOVER
134782976[809b380]: (93a9e00) Next state: NEWS_DONE
134782976[809b380]: (93a9e00) Next state: NEWS_FREE
134782976[809b380]: (93a9e00) CleanupAfterRunningUrl()
134782976[809b380]: (93a9e00) setting busy to 0
134782976[809b380]: (8989200) setting busy to 1
134782976[809b380]: (8989200) setting busy to 1
134782976[809b380]: (8989200) ParseURL
134782976[809b380]: (8989200) original message spec =
news-message://news.earthlink.net/comp.unix.bsd.freebsd.misc#186887
134782976[809b380]: (8989200) m_messageID = (null)
134782976[809b380]: (8989200) group = (null)
134782976[809b380]: (8989200) commandSpecificData = (null)
134782976[809b380]: (8989200) m_key = 186887
134782976[809b380]: (8989200) Next state: SEND_FIRST_NNTP_COMMAND
134782976[809b380]: (8989200) current group = comp.risks, desired group =
comp.unix.bsd.freebsd.misc
134782976[809b380]: (8989200) Next state: NNTP_SEND_GROUP_FOR_ARTICLE
134782976[809b380]: (8989200) Sending: GROUP comp.unix.bsd.freebsd.misc

134782976[809b380]: (8989200) Next state: NNTP_RESPONSE
134782976[809b380]: (8989200) Receiving: 211 2581 189223 191805
comp.unix.bsd.freebsd.misc
134782976[809b380]: (8989200) Next state: NNTP_SEND_GROUP_FOR_ARTICLE_RESPONSE
134782976[809b380]: (8989200) SetCurrentGroup to comp.unix.bsd.freebsd.misc
134782976[809b380]: (8989200) Next state: NNTP_SEND_ARTICLE_NUMBER
134782976[809b380]: (8989200) Sending: ARTICLE 186887

134782976[809b380]: (8989200) Next state: NNTP_RESPONSE
134782976[809b380]: (8989200) Receiving: 423 No Such Article In Group
134782976[809b380]: (8989200) Next state: SEND_FIRST_NNTP_COMMAND_RESPONSE
134782976[809b380]: (8989200) Next state: NNTP_ERROR
134782976[809b380]: (8989200) ClosingConnection
134782976[809b380]: (8989200) Sending: QUIT

134782976[809b380]: (8989200) ClosingSocket()
134782976[809b380]: (8989200) CleanupAfterRunningUrl()
134782976[809b380]: (8989200) setting busy to 0
134782976[809b380]: (8989200) ClosingSocket()
134782976[809b380]: (8989200) CleanupAfterRunningUrl()
134782976[809b380]: (8989200) setting busy to 0
134782976[809b380]: (8989200) destroying
134782976[809b380]: (93a9e00) setting busy to 1
134782976[809b380]: (93a9e00) setting busy to 1
134782976[809b380]: (93a9e00) ParseURL
134782976[809b380]: (93a9e00) fullPath = /comp.unix.bsd.freebsd.misc?list-ids
134782976[809b380]: (93a9e00) m_messageID = (null)
134782976[809b380]: (93a9e00) group = comp.unix.bsd.freebsd.misc
134782976[809b380]: (93a9e00) commandSpecificData = ?list-ids
134782976[809b380]: (93a9e00) m_key = -1
134782976[809b380]: (93a9e00) Next state: SEND_FIRST_NNTP_COMMAND
134782976[809b380]: (93a9e00) Next state: NNTP_LIST_GROUP
134782976[809b380]: (93a9e00) Sending: listgroup comp.unix.bsd.freebsd.misc

134782976[809b380]: (93a9e00) Next state: NNTP_RESPONSE
134782976[809b380]: (93a9e00) Receiving: 211 Article Numbers Follow
134782976[809b380]: (93a9e00) Next state: NNTP_LIST_GROUP_RESPONSE
134782976[809b380]: (93a9e00) Next state: NNTP_LIST_GROUP_RESPONSE
Attached file NNTP log, as requested
Woops, should have done this as an attachment in the first place -- final
action was to kill -KILL the pid of mozilla-bin, since it had run away with the
CPU.
Build 2002031908 on MacOS9.2.2: Mozilla hangs after clicking on "Click here to
remove all expired articles". The only possibility to go ahead was to force
Mozilla to quit. I even could not change to the Finder.
On IRIX/Mozilla 0.9.8, Mozilla crashed and the process was killed.
*** Bug 139763 has been marked as a duplicate of this bug. ***
OS/Platform -> ALL
Severity -> Critical      (hang is equivalent to a crash, IMO)
Severity: major → critical
OS: FreeBSD → All
Hardware: PC → All
dup, should be fixed now.

*** This bug has been marked as a duplicate of 123992 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
I don't get it...  what's this have to do with Javascript blur() ?
re-opening to dup against real bug ;-)
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
ah, I love dislexia ;-)

bug 123922

*** This bug has been marked as a duplicate of 123922 ***
Status: REOPENED → RESOLVED
Closed: 22 years ago22 years ago
Resolution: --- → DUPLICATE
Verified DUP.
Status: RESOLVED → VERIFIED
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: