Closed Bug 263733 Opened 20 years ago Closed 20 years ago

Crashes when "Grouped By Sort" is selected and sort criteria is changed to "Order recieved"

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: volkmar, Assigned: Bienvenu)

Details

(Keywords: crash, fixed-aviary1.0)

Attachments

(4 files, 1 obsolete file)

Thunderbird crashes when "Grouped By Sort" is selected AND sort criteria is
changed from "Sender" to "Order recieved".

Bug 263385 already fixed some similar crash.

To reproduce:
1. Create a clean profile with one pop account using "Global Inbox".
2. Recieve some 100 mails.
3. Have "View, Sort by" set to "Sender", "Ascending" and "Grouped By Sort".
4. Select sort criteria from "Sender" to "Order recieved".

Tested with:
http://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/2004-10-10-05-0.8/thunderbird-i686-linux-gtk2+xft.tar.gz
Flags: blocking-aviary1.0?
Summary: Crashes when "Grouped By Sort" and sort criteria changed to "Order recieved" → Crashes when "Grouped By Sort" is selected and sort criteria is changed to "Order recieved"
I can't reproduce this with my debug build...
(In reply to comment #1)
> I can't reproduce this with my debug build...

I once repeated this test (new installation, new profile) and got the same
reproducible results (crash). 
Maybe the reproducibility is more dependant on the testing conditions. I'm
including an attachment (tar.gz) containing the "Inbox.msf" and "Inbox" files
of my crashing Inbox. 
As I'm not having access to your debug build (or do I have?) I can only do
tests using the regular nightly builds. Is there some difference between our
builds?
this fixes a couple potential crashes (though I don't know if it fixes the one
you're seeing...) it fixes a crash when sorted by recipient and grouped, and
adds some bullet-proofing checks.
Assignee: mscott → bienvenu
Status: NEW → ASSIGNED
Attachment #161874 - Flags: superreview?(mscott)
Attachment #161874 - Flags: superreview?(mscott) → superreview+
Flags: blocking-aviary1.0? → blocking-aviary1.0+
Severity: normal → critical
Keywords: crash
can you try tomorrow's build? It might be fixed - I wish I could reproduce the
problem so I could be sure, but I couldn't, even with your test case...

the regular nightly builds should be very similar to my own builds.
I was able to reproduce this using the original steps with: version 0.8 (20041011)
However, we don't have symbols for the latest branch builds, so the stack isn't
very useful.  When we get symbols up, I will crash again and post my Talkback
incident.
Attached image It seems to be fixed
(In reply to comment #4)
> can you try tomorrow's build? It might be fixed 

Yes, it looks better. Doesn't crash any more but "Grouped By Sort" is still
selected.
I see the problem - you've all been using the menu item to sort, not the column
header, and that indeed is broken.
(In reply to comment #7)
> I see the problem - you've all been using the menu item to sort, not the column
> header, and that indeed is broken.

How could one select "Grouped By Sort" or "Threaded" from the column header or,
how could one reach the column headers from the keyboard?
clicking on a column header (e.g., date) when grouped by sort undoes the
grouping, and does a flat sort by that column. That's how I was trying to
reproduce this problem. Now that I know you've been using the menu (or the
keyboard), I can see what's wrong with the code.
Attached patch proposed fix (obsolete) — Splinter Review
this fixes the menu item sort commands to turn off grouping, like clicking on
the column header does.
Attachment #162127 - Flags: superreview?(mscott)
Attachment #162127 - Flags: superreview?(mscott) → superreview+
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Keywords: fixed-aviary1.0
Resolution: --- → FIXED
Attached patch better fixSplinter Review
previous fix introduced some regressions in how we go back into threaded mode,
among other things...
Attachment #162127 - Attachment is obsolete: true
Comment on attachment 162238 [details] [diff] [review]
better fix

it also broke the pref that makes clicking on a thread pane column not do a
flat sort...
Attachment #162238 - Flags: superreview?(mscott)
Attachment #162238 - Flags: superreview?(mscott) → superreview+
vrfy'd fixed with 200411220x-0.9 on the three main platforms. no more crashing!
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: