From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#11403: 24.0.96; Emacs crashes when ViewMail downloads IMAP messages Date: Sat, 05 May 2012 12:06:52 +0800 Message-ID: <87bom35l0j.fsf@gnu.org> References: <20387.44198.597996.886034@Konrad-Hinsens-MacBook-Pro.local> <87pqakx731.fsf@gnu.org> <87mx5njom7.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1336190844 26228 80.91.229.3 (5 May 2012 04:07:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 5 May 2012 04:07:24 +0000 (UTC) Cc: Konrad Hinsen , 11403@debbugs.gnu.org To: Jan =?UTF-8?Q?Dj=C3=A4rv?= , Adrian Robert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 05 06:07:22 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SQWHB-0000XN-Rj for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 May 2012 06:07:21 +0200 Original-Received: from localhost ([::1]:49836 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQWHB-0008Qi-37 for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 May 2012 00:07:21 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQWH7-0008QS-3P for bug-gnu-emacs@gnu.org; Sat, 05 May 2012 00:07:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQWH5-000374-EM for bug-gnu-emacs@gnu.org; Sat, 05 May 2012 00:07:16 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35623) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQWH5-000370-B4 for bug-gnu-emacs@gnu.org; Sat, 05 May 2012 00:07:15 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SQWIo-0005lZ-Dv for bug-gnu-emacs@gnu.org; Sat, 05 May 2012 00:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 May 2012 04:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11403 X-GNU-PR-Package: emacs,ns X-GNU-PR-Keywords: Original-Received: via spool by 11403-submit@debbugs.gnu.org id=B11403.133619093422148 (code B ref 11403); Sat, 05 May 2012 04:09:02 +0000 Original-Received: (at 11403) by debbugs.gnu.org; 5 May 2012 04:08:54 +0000 Original-Received: from localhost ([127.0.0.1]:36657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SQWIf-0005lB-Gh for submit@debbugs.gnu.org; Sat, 05 May 2012 00:08:53 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:34938 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SQWIe-0005l4-1m for 11403@debbugs.gnu.org; Sat, 05 May 2012 00:08:52 -0400 Original-Received: from bb219-74-179-11.singnet.com.sg ([219.74.179.11]:37649 helo=ulysses) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1SQWGr-0005pI-6e; Sat, 05 May 2012 00:07:02 -0400 In-Reply-To: <87mx5njom7.fsf@gnu.org> (Chong Yidong's message of "Sat, 05 May 2012 11:25:20 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.96 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:59766 Archived-At: Without a proper backtrace, the only thing I get out of this 5 org.gnu.Emacs ns_term_shutdown + 79 (nsterm.m:4236) 6 org.gnu.Emacs shut_down_emacs + 192 (emacs.c:2129) 7 org.gnu.Emacs fatal_error_signal + 295 (emacs.c:360) 8 libSystem.B.dylib _sigtramp + 26 9 libobjc.A.dylib objc_msgSend_vtable14 + 9 10 org.gnu.Emacs x_free_frame_resources + 215 (nsterm.m:1166) 11 org.gnu.Emacs x_destroy_window + 25 (nsterm.m:1181) is that the [[view window] close]; call in x_free_frame_resources triggers a fatal object from the operating system. Maybe there is out of order execution going on somewhere, causing Emacs to try to interact with the window that was just closed? Maybe the sendEvent method in nsterm.m needs to check if the window is valid before using it? (Just a shot in the dark, I don't know the ns code well.) Jan or Adrian, could you take a look into this? Thanks.