Closed Bug 78616 Opened 25 years ago Closed 25 years ago

^A [select all] + delete selected = crash

Categories

(SeaMonkey :: MailNews: Message Display, defect)

x86
FreeBSD
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED WORKSFORME

People

(Reporter: pnmurphy1, Assigned: sspitzer)

References

()

Details

(Keywords: crash)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; FreeBSD 4.3-STABLE i386; en-US; 0.8.1) Gecko/20010425 BuildID: 20010425 [all 0's in titlebar] Ctrl-A to select all mail messages, then click on delete button crashes Mozilla 90% of the time [and mail is not deleted]. Deleting all the messages one at a time works fine Reproducible: Always Steps to Reproduce: 1.Ctrl-A 2.click delete 3.crash Actual Results: May 2 20:20:28 earth /kernel: pid 10701 (mozilla-bin), uid 1001: exited on signal 11 [segmentation violation] Expected Results: Send all selected mail to trash
Reporter do you have a stacktrace from the crash?
Severity: normal → critical
Keywords: crash
From Reporter: Here is what I have done: /usr/X11R6/lib/mozilla/mozilla: uncommented 'set -x' run mozilla as per normal but with -g option opened mail/news Ctrl-A etc. etc. At this point gdb reported: [see mozilla.troubles attached] Did backtrace [I hope this is what you wanted]: [see bt attached] If you need something else you will have to guide me, I am a newbie to debugging [I think I opened a can of worms here, but I'm willing]. ---Type <return> to continue, or q <return> to quit--- (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... Registering plugin 0 for: "*","All types",".*" Registering plugin 0 for: "*","All types",".*" (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... Document http://www.upton.net/~paul/ loaded successfully (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... mailbox://pnmurphy1@mail.busy1.on.home.com/Inbox In ChangeFolderByURI uri = mailbox://pnmurphy1@mail.busy1.on.home.com/Inbox (no debugging symbols found)...(no debugging symbols found)... In OnFolderLoaded for mailbox://pnmurphy1@mail.busy1.on.home.com/Inbox In reroot folder mRandomAccessEnumeratorHackLimit=-1 mailbox://pnmurphy1@mail.busy1.on.home.com...skipping, already opened Incorporate message complete. Incorporate message complete. Incorporate message complete. Incorporate message complete. Incorporate message complete. Incorporate message complete. Incorporate message complete. Incorporate message complete. Incorporate message complete. Incorporate message complete. Incorporate message complete. Incorporate message complete. mailbox://pnmurphy1@mail.busy1.on.home.com/FreeBSD/questions In ChangeFolderByURI uri = mailbox://pnmurphy1@mail.busy1.on.home.com/FreeBSD/questions In OnFolderLoaded for mailbox://pnmurphy1@mail.busy1.on.home.com/FreeBSD/questions In reroot folder Incorporate message complete. Incorporate message complete. Incorporate message complete. Incorporate message complete. Incorporate message complete. Incorporate message complete. Incorporate message complete. Incorporate message complete. Y'all got mail! mailCharsetLoadListener: ISO-8859-1 In OnFolderLoaded for mailbox://pnmurphy1@mail.busy1.on.home.com/Trash mailbox://pnmurphy1@mail.busy1.on.home.com/FreeBSD/chat In ChangeFolderByURI uri = mailbox://pnmurphy1@mail.busy1.on.home.com/FreeBSD/chat In OnFolderLoaded for mailbox://pnmurphy1@mail.busy1.on.home.com/FreeBSD/chat In reroot folder (no debugging symbols found)...(no debugging symbols found)... Program received signal SIGSEGV, Segmentation fault. 0x28d6abb1 in nsXULTemplateBuilder::GetElementsForResource () from /usr/X11R6/lib/mozilla/components/libgkcontent.so (gdb) (gdb) bt #0 0x28d6abb1 in nsXULTemplateBuilder::GetElementsForResource () from /usr/X11R6/lib/mozilla/components/libgkcontent.so #1 0x28d68e82 in nsXULTemplateBuilder::RemoveMember () from /usr/X11R6/lib/mozilla/components/libgkcontent.so #2 0x28d6565c in nsXULTemplateBuilder::Retract () from /usr/X11R6/lib/mozilla/components/libgkcontent.so #3 0x28d6576e in nsXULTemplateBuilder::OnUnassert () from /usr/X11R6/lib/mozilla/components/libgkcontent.so #4 0x288435f4 in CompositeDataSourceImpl::OnUnassert () from /usr/X11R6/lib/mozilla/components/librdf.so #5 0x29638448 in nsMsgRDFDataSource::unassertEnumFunc () from /usr/X11R6/lib/mozilla/components/libmailnews.so #6 0x280f4aee in nsSupportsArray::EnumerateForwards () from /usr/X11R6/lib/mozilla/./libxpcom.so #7 0x296383c0 in nsMsgRDFDataSource::NotifyObservers () from /usr/X11R6/lib/mozilla/components/libmailnews.so #8 0x29640ffc in nsMsgMessageDataSource::OnItemAddedOrRemovedFromFolder () from /usr/X11R6/lib/mozilla/components/libmailnews.so #9 0x29640c67 in nsMsgMessageDataSource::OnItemAddedOrRemoved () from /usr/X11R6/lib/mozilla/components/libmailnews.so #10 0x29640b40 in nsMsgMessageDataSource::OnItemRemoved () from /usr/X11R6/lib/mozilla/components/libmailnews.so #11 0x2962d4fb in nsMsgMailSession::OnItemRemoved () from /usr/X11R6/lib/mozilla/components/libmailnews.so #12 0x2937554d in nsMsgFolder::NotifyItemDeleted () from /usr/X11R6/lib/mozilla/./libmsgbaseutil.so #13 0x293783f6 in nsMsgDBFolder::OnKeyAddedOrDeleted () from /usr/X11R6/lib/mozilla/./libmsgbaseutil.so #14 0x29377f99 in nsMsgDBFolder::OnKeyDeleted () from /usr/X11R6/lib/mozilla/./libmsgbaseutil.so #15 0x297cc5b8 in nsMsgDatabase::NotifyKeyDeletedAll () from /usr/X11R6/lib/mozilla/components/libmsgdb.so #16 0x297ce786 in nsMsgDatabase::DeleteHeader () from /usr/X11R6/lib/mozilla/components/libmsgdb.so #17 0x29331b68 in nsMsgLocalMailFolder::DeleteMessage () from /usr/X11R6/lib/mozilla/components/liblocalmail.so #18 0x2932fae7 in nsMsgLocalMailFolder::DeleteMessages () from /usr/X11R6/lib/mozilla/components/liblocalmail.so #19 0x29333392 in nsMsgLocalMailFolder::EndMove () from /usr/X11R6/lib/mozilla/components/liblocalmail.so #20 0x29637524 in nsCopyMessageStreamListener::OnStopRequest () from /usr/X11R6/lib/mozilla/components/libmailnews.so #21 0x29385c4f in nsMsgProtocol::OnStopRequest () from /usr/X11R6/lib/mozilla/./libmsgbaseutil.so #22 0x29328262 in nsMailboxProtocol::OnStopRequest () from /usr/X11R6/lib/mozilla/components/liblocalmail.so #23 0x288e3ec7 in nsOnStopRequestEvent::HandleEvent () from /usr/X11R6/lib/mozilla/components/libnecko.so #24 0x288e3cab in nsStreamObserverEvent::HandlePLEvent () from /usr/X11R6/lib/mozilla/components/libnecko.so #25 0x2812160c in PL_HandleEvent () from /usr/X11R6/lib/mozilla/./libxpcom.so #26 0x2812150d in PL_ProcessPendingEvents () from /usr/X11R6/lib/mozilla/./libxpcom.so #27 0x281226bb in nsEventQueueImpl::ProcessPendingEvents () from /usr/X11R6/lib/mozilla/./libxpcom.so #28 0x285125da in event_processor_callback () from /usr/X11R6/lib/mozilla/components/libwidget_gtk.so #29 0x285122da in our_gdk_io_invoke () from /usr/X11R6/lib/mozilla/components/libwidget_gtk.so #30 0x286c393f in g_io_unix_dispatch () from /usr/local/lib/libglib12.so.3 #31 0x286c5097 in g_main_dispatch () from /usr/local/lib/libglib12.so.3 #32 0x286c56c8 in g_main_iterate () from /usr/local/lib/libglib12.so.3 #33 0x286c5878 in g_main_run () from /usr/local/lib/libglib12.so.3 #34 0x285e2a28 in gtk_main () from /usr/X11R6/lib/libgtk12.so.2 #35 0x28512bd4 in nsAppShell::Run () from /usr/X11R6/lib/mozilla/components/libwidget_gtk.so #36 0x283bad31 in nsAppShellService::Run () from /usr/X11R6/lib/mozilla/components/libnsappshell.so #37 0x804e4ca in main1 () #38 0x804ee94 in main () #39 0x804b0d1 in _start ()
Paul, no thank you very much that is perfect...we can take it from here.
setting status to NEW to get this looked at sooner. Over to mailwindow front end since the crash is in the XUL code.
Assignee: mscott → sspitzer
Status: UNCONFIRMED → NEW
Component: Mail Back End → Mail Window Front End
Ever confirmed: true
Paul, please try this with a nightly build (download one from the front of www.mozilla.org for your OS). We have fixed _a lot_ of crashers since pre-0.9 you know. :)
I'm going to mark this as WFM because the stack trace shows the message data source which is no longer used after the performance improvements that landed in 0.9. If you use a newer build and still crash, can you attach a new stack trace?
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
verified. this works for me using build 2001052706 on RedHat 7.0 with 1000 messages...
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.