GNOME Bugzilla – Bug 366542
crash with "ignore thread" when no thread selected
Last modified: 2006-10-30 22:38:01 UTC
This is for Pan 0.117, on Fedora Core 5 (i386). When Pan first enters a group, the first thread in the group display is not selected (the outline-box, but not the reverse-video selection). If I try to ignore the first thread (M-A I) without explicitly selecting it, Pan crashes with a segfault.
Created attachment 75585 [details] pan session trace This is a 'script' session with pan running under gdb. Pan is invoked with the --debug switch. The crash happens when I type 'G' to select the first unread group, then 'M-A I' to ignore the first thread in the group.
Created attachment 75587 [details] [review] Proposed patch Confirmed. The above patch addresses this problem. IMO, we should desensitize menu items that don't apply when no article is selected.
Looks good. I re-built the RPM and verified corred behavior. I agree that greying out the invalid menu items would be preferable, but this is good for now.
Chris: looks good; please commit.
Committed.