Closed Bug 251901 Opened 21 years ago Closed 21 years ago

Crash on edit of filter with many criteria [@ nsTextTransformer::GetNextWord ]

Categories

(MailNews Core :: Filters, defect)

x86
Windows 2000
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mcow, Assigned: sspitzer)

Details

(Keywords: crash, regression)

Crash Data

Attachments

(1 file)

When the feature for filters at the news-server level was implemented, I created a couple to filter out spam and smut from the n.p.m groups. It's been working fine. Yesterday, a new bit of smut slipped past the filter, so I went to update the filter. Tools|Filters let me select the newsgroup, and my filters were displayed. Clicked the "xSmut" filter, and clicked Edit -- nothing happened at first; then after a couple minutes, program crashed. Talkback ID: TB345762Z Easy to reproduce; I got the program to hang again the second time I tried this operation, but I forced a shutdown rather than wait for the crash. However, further testing indicates that it's the filter in particular: xSmut has fourteen different "Subject,contains" criteria, and this appears to have broken something on the edit. I manually copied the filter from the server msgRules to a mail account msgRules (tweaking the 'type' to be 1), and got the same results when editing the rule under that account. Then I manually copied the filter again, renamed, and edited all the criteria to have shorter test strings (reducing the length of the line from 405 characters to 361); it still broke when I tried to edit it. Then I loaded Moz1.7 -- the filters under the mail account loaded and displayed when I tried to edit them. Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a3) Gecko/20040714
nsTextTransformer::GetNextWord [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/html/base/src/nsTextTransformer.cpp, line 857] nsTextFrame::MeasureText [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/html/base/src/nsTextFrame.cpp, line 4608] nsTextFrame::Reflow [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/html/base/src/nsTextFrame.cpp, line 5324] nsLineLayout::ReflowFrame [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/html/base/src/nsLineLayout.cpp, line 990] nsBlockFrame::ReflowInlineFrame [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/html/base/src/nsBlockFrame.cpp, line 3601] nsBlockFrame::DoReflowInlineFrames [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/html/base/src/nsBlockFrame.cpp, line 3429] nsBlockFrame::DoReflowInlineFramesAuto [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/html/base/src/nsBlockFrame.cpp, line 3330] nsBlockFrame::ReflowInlineFrames [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/html/base/src/nsBlockFrame.cpp, line 3275] nsBlockFrame::ReflowLine [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/html/base/src/nsBlockFrame.cpp, line 2416] nsBlockFrame::ReflowDirtyLines [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/html/base/src/nsBlockFrame.cpp, line 2087] nsBlockFrame::Reflow [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/html/base/src/nsBlockFrame.cpp, line 815] nsBoxToBlockAdaptor::Reflow [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsBoxToBlockAdaptor.cpp, line 882] nsBoxToBlockAdaptor::RefreshSizeCache [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsBoxToBlockAdaptor.cpp, line 383] nsBoxToBlockAdaptor::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsBoxToBlockAdaptor.cpp, line 588] nsScrollBoxFrame::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsScrollBoxFrame.cpp, line 513] nsHTMLScrollFrame::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/html/base/src/nsGfxScrollFrame.cpp, line 892] nsStackLayout::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsStackLayout.cpp, line 178] nsContainerBox::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsContainerBox.cpp, line 592] nsBoxFrame::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsBoxFrame.cpp, line 971] nsTextControlFrame::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/html/forms/src/nsTextControlFrame.cpp, line 2012] nsSprocketLayout::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsSprocketLayout.cpp, line 1512] nsContainerBox::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsContainerBox.cpp, line 592] nsBoxFrame::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsBoxFrame.cpp, line 971] nsSprocketLayout::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsSprocketLayout.cpp, line 1512] nsContainerBox::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsContainerBox.cpp, line 592] nsBoxFrame::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsBoxFrame.cpp, line 971] nsStackLayout::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsStackLayout.cpp, line 178] nsContainerBox::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsContainerBox.cpp, line 592] nsBoxFrame::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsBoxFrame.cpp, line 971] nsSprocketLayout::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsSprocketLayout.cpp, line 1512] nsContainerBox::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsContainerBox.cpp, line 592] nsBoxFrame::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsBoxFrame.cpp, line 971] nsSprocketLayout::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsSprocketLayout.cpp, line 1512] nsContainerBox::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsContainerBox.cpp, line 592] nsBoxFrame::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsBoxFrame.cpp, line 971] nsSprocketLayout::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsSprocketLayout.cpp, line 1512] nsContainerBox::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsContainerBox.cpp, line 592] nsBoxFrame::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsBoxFrame.cpp, line 971] nsScrollBoxFrame::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsScrollBoxFrame.cpp, line 513] nsHTMLScrollFrame::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/html/base/src/nsGfxScrollFrame.cpp, line 892] nsSprocketLayout::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsSprocketLayout.cpp, line 1512] nsContainerBox::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsContainerBox.cpp, line 592] nsBoxFrame::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsBoxFrame.cpp, line 971] nsStackLayout::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsStackLayout.cpp, line 178] nsContainerBox::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsContainerBox.cpp, line 592] nsBoxFrame::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsBoxFrame.cpp, line 971] nsSprocketLayout::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsSprocketLayout.cpp, line 1512] nsContainerBox::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsContainerBox.cpp, line 592] nsBoxFrame::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsBoxFrame.cpp, line 971] nsSprocketLayout::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsSprocketLayout.cpp, line 1512] nsContainerBox::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsContainerBox.cpp, line 592] nsBoxFrame::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsBoxFrame.cpp, line 971] nsSprocketLayout::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsSprocketLayout.cpp, line 1512] nsContainerBox::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsContainerBox.cpp, line 592] nsBoxFrame::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsBoxFrame.cpp, line 971] nsSprocketLayout::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsSprocketLayout.cpp, line 1512] nsContainerBox::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsContainerBox.cpp, line 592] nsBoxFrame::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsBoxFrame.cpp, line 971] nsSprocketLayout::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsSprocketLayout.cpp, line 1512] nsContainerBox::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsContainerBox.cpp, line 592] nsBoxFrame::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsBoxFrame.cpp, line 971] nsSprocketLayout::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsSprocketLayout.cpp, line 1512] nsContainerBox::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsContainerBox.cpp, line 592] nsBoxFrame::GetAscent [c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/xul/base/src/nsBoxFrame.cpp, line 971]
Keywords: crash
Summary: Crash on edit of filter with many criteria → Crash on edit of filter with many criteria [@ nsTextTransformer::GetNextWord ]
Product: MailNews → Core
Reporter (mcow): Do you still see this with a recent build ?
No; I just tried it with 1.8b2-0422 and got no crash.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
Product: Core → MailNews Core
Crash Signature: [@ nsTextTransformer::GetNextWord ]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: