From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 02 02:02:55 2013 Received: (at submit) by debbugs.gnu.org; 2 Sep 2013 06:02:55 +0000 Received: from localhost ([127.0.0.1]:36312 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VGNDz-0003QP-4a for submit@debbugs.gnu.org; Mon, 02 Sep 2013 02:02:55 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41721) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VGNDv-0003QA-JJ for submit@debbugs.gnu.org; Mon, 02 Sep 2013 02:02:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VGNDl-0003sB-NJ for submit@debbugs.gnu.org; Mon, 02 Sep 2013 02:02:46 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38514) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VGNDl-0003s7-K5 for submit@debbugs.gnu.org; Mon, 02 Sep 2013 02:02:41 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43414) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VGNDh-0003zQ-3v for bug-gnu-emacs@gnu.org; Mon, 02 Sep 2013 02:02:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VGNDX-0003qp-1H for bug-gnu-emacs@gnu.org; Mon, 02 Sep 2013 02:02:37 -0400 Received: from mail-hampton.hostforweb.net ([216.246.15.223]:48668 helo=hampton.hostforweb.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VGNDW-0003qh-Tl for bug-gnu-emacs@gnu.org; Mon, 02 Sep 2013 02:02:26 -0400 Received: from localhost.localdomain ([127.0.0.1]:60469 helo=localhost) by hampton.hostforweb.net with smtp (Exim 4.80.1) (envelope-from ) id 1VGNDP-002D3H-Kq; Mon, 02 Sep 2013 01:02:24 -0500 Date: Mon, 02 Sep 2013 15:02:16 +0900 Message-ID: From: Katsumi Yamaoka To: bug-gnu-emacs@gnu.org Subject: 24.3.50; Emacs Cygwin crashes when replying to a mail Organization: Emacsen advocacy group X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.130008 (=?iso-2022-jp?B?GyRCPz8bKEI=?= Gnus v0.8) Emacs/24.3.50 (i686-pc-cygwin) Cancel-Lock: sha1:37BCHJYghUoboQYFuO9Fz6+W/So= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: acl_c_authenticated_local_user: root X-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (barebone) [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.4 (---) Hi, Recently Emacs on Cygwin crashes pretty often when I try to reply to a mail in a new frame[1] using Gnus. I feel the frequency gets high if a mail cites Japanese and Chinese mixture text (so, it's due to decoding of characters?). But it hardly crashes if I have a new empty message frame in advance besides the summary frame. It happened too also when I used the LUCID toolkit last week. I don't know what's wrong, sorry, but a gdb backtrace is attached. Thanks. [1] I use: http://www.jpl.org/ftp/pub/elisp/message-multiple-frames.el.gz It pops up a message frame after composing it. In GNU Emacs 24.3.50.1 (i686-pc-cygwin, GTK+ Version 3.8.2) of 2013-09-02 on localhost Bzr revision: 114096 dmantipov@yandex.ru-20130902033906-qqu9pis0ksze2lmg Windowing system distributor `The Cygwin/X Project', version 11.0.11402000 Configured using: Configured using: `configure --verbose --with-x-toolkit=gtk3 --without-imagemagick --without-dbus --without-gconf --without-gsettings' Important settings: value of $LC_CTYPE: ja_JP.UTF-8 value of $LC_MESSAGES: C value of $LANG: C locale-coding-system: utf-8-unix default enable-multibyte-characters: t A backtrace follows: GNU gdb (GDB) 7.6.50.20130728-cvs (cygwin-special) [...] Fatal error 6: Aborted Program received signal SIGABRT, Aborted. terminate_due_to_signal (sig=2265648, backtrace_limit=164) at emacs.c:372 372 exit (1); (gdb) bt #0 terminate_due_to_signal (sig=2265648, backtrace_limit=164) at emacs.c:372 #1 0x3818cf46 in ?? () #2 0x00229230 in ?? () #3 0x7693543c in WriteFile () from /cygdrive/c/windows/system32/kernel32.dll #4 0x610dc5a0 in sig_send(_pinfo*, siginfo_t&, _cygtls*)@12 (p=0x60fd0000, p@entry=0x0, si=..., tls=tls@entry=0x0) at /usr/src/debug/cygwin-1.7.24-1/winsup/cygwin/sigproc.cc:624 #5 0x610d9c4d in _pinfo::kill(siginfo_t&)@8 (this=0x0, si=...) at /usr/src/debug/cygwin-1.7.24-1/winsup/cygwin/signal.cc:248 #6 0x00229274 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) (gdb) From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 02 06:02:52 2013 Received: (at 15247-done) by debbugs.gnu.org; 2 Sep 2013 10:02:52 +0000 Received: from localhost ([127.0.0.1]:36784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VGQyB-00016J-O9 for submit@debbugs.gnu.org; Mon, 02 Sep 2013 06:02:51 -0400 Received: from mail-hampton.hostforweb.net ([216.246.15.223]:37523 helo=hampton.hostforweb.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VGQy9-000164-I7 for 15247-done@debbugs.gnu.org; Mon, 02 Sep 2013 06:02:50 -0400 Received: from localhost.localdomain ([127.0.0.1]:48521 helo=localhost) by hampton.hostforweb.net with smtp (Exim 4.80.1) (envelope-from ) id 1VGQy2-004Kev-9l; Mon, 02 Sep 2013 05:02:43 -0500 Date: Mon, 02 Sep 2013 19:02:37 +0900 Message-ID: From: Katsumi Yamaoka To: 15247-done@debbugs.gnu.org Subject: Re: bug#15247: 24.3.50; Emacs Cygwin crashes when replying to a mail References: Organization: Emacsen advocacy group X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.130008 (=?iso-2022-jp?B?GyRCPz8bKEI=?= Gnus v0.8) Emacs/24.3.50 (i686-pc-cygwin) Cancel-Lock: sha1:h+1TUutI1/KabbVPFj15MVtw+aU= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: acl_c_authenticated_local_user: root X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 15247-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Katsumi Yamaoka wrote: > Recently Emacs on Cygwin crashes pretty often when I try to reply > to a mail in a new frame[1] using Gnus. I feel the frequency gets > high if a mail cites Japanese and Chinese mixture text (so, it's > due to decoding of characters?). But it hardly crashes if I have > a new empty message frame in advance besides the summary frame. I realized that this is caused by `make-frame-invisible' that runs when there is only one Emacs frame. At least for Cygwin, you should be able to reproduce it in this way: emacs -Q --eval '(make-frame-invisible (selected-frame) t)' I also guess that it was harmless until about a week ago. Why such an odd thing was run is because I was using this advice to make `raise-frame' work on Cygwin. (defadvice raise-frame (before make-it-work (&optional frame) activate) "Make it work on Cygwin." (make-frame-invisible frame t)) As I wrote in , `raise-frame' doesn't raise iconified, invisible, or hidden frame. Now I changed it into: (defadvice raise-frame (before make-it-work (&optional frame) activate) "Make it work on Cygwin." (or (eq frame (selected-frame)) (make-frame-invisible frame))) Even if Emacs should not crash for any Lisp code, it's a trivial one among many(?) issues concerning Cygwin. So, I'm closing this bug. Sorry for the noise. From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 02 08:30:12 2013 Received: (at 15247) by debbugs.gnu.org; 2 Sep 2013 12:30:12 +0000 Received: from localhost ([127.0.0.1]:37156 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VGTGk-0005vr-Gk for submit@debbugs.gnu.org; Mon, 02 Sep 2013 08:30:11 -0400 Received: from mout.gmx.net ([212.227.15.18]:55885) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VGTGf-0005u2-T9 for 15247@debbugs.gnu.org; Mon, 02 Sep 2013 08:30:07 -0400 Received: from [62.47.36.95] ([62.47.36.95]) by mail.gmx.com (mrgmx101) with ESMTPA (Nemesis) id 0MKu9E-1VGTGX31s0-0002Tn for <15247@debbugs.gnu.org>; Mon, 02 Sep 2013 14:29:59 +0200 Message-ID: <522484BF.9040206@gmx.at> Date: Mon, 02 Sep 2013 14:29:51 +0200 From: martin rudalics MIME-Version: 1.0 To: 15247@debbugs.gnu.org, yamaoka@jpl.org Subject: Re: bug#15247: 24.3.50; Emacs Cygwin crashes when replying to a mail References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:Jiox98QvRgCarKn2D/g+Z3heTMQYMSXhZw6/hDbAEf9txj+PAHT bxTSs9/EdOCaaoMy8SuEwNMihW3zxo8MCmSgoaqj1wsrd8IYf1ZPOlRJLnX8eg8QVGTCPxj 2XOWYdQbgkZWSmptYhjs7t1F26TmwbVexUTmDQoUM3ttLTcCgR+8buKxz+TI0xyN8Z6jFsy qi8xZck7vV/v2Z9gboVTw== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 15247 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > I realized that this is caused by `make-frame-invisible' that runs > when there is only one Emacs frame. At least for Cygwin, you should > be able to reproduce it in this way: > > emacs -Q --eval '(make-frame-invisible (selected-frame) t)' > > I also guess that it was harmless until about a week ago. Should be harmless again with revision 114106. > Why such an odd thing was run is because I was using this advice > to make `raise-frame' work on Cygwin. > > (defadvice raise-frame (before make-it-work (&optional frame) activate) > "Make it work on Cygwin." > (make-frame-invisible frame t)) > > As I wrote in , > `raise-frame' doesn't raise iconified, invisible, or hidden frame. > Now I changed it into: > > (defadvice raise-frame (before make-it-work (&optional frame) activate) > "Make it work on Cygwin." > (or (eq frame (selected-frame)) > (make-frame-invisible frame))) I don't understand fully: Above you say that "`raise-frame' doesn't raise iconified, invisible, or hidden frame" and in the before-advice or `raise-frame' you make the frame invisible? > Even if Emacs should not crash for any Lisp code, It should not, indeed. > it's a trivial > one among many(?) issues concerning Cygwin. So, I'm closing this > bug. Sorry for the noise. martin From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 02 19:27:35 2013 Received: (at 15247) by debbugs.gnu.org; 2 Sep 2013 23:27:35 +0000 Received: from localhost ([127.0.0.1]:37990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VGdWw-0006ZW-Q1 for submit@debbugs.gnu.org; Mon, 02 Sep 2013 19:27:35 -0400 Received: from mail-hampton.hostforweb.net ([216.246.15.223]:43694 helo=hampton.hostforweb.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VGdWu-0006ZH-2W for 15247@debbugs.gnu.org; Mon, 02 Sep 2013 19:27:32 -0400 Received: from localhost.localdomain ([127.0.0.1]:51164 helo=localhost) by hampton.hostforweb.net with smtp (Exim 4.80.1) (envelope-from ) id 1VGdWm-004Nkn-40; Mon, 02 Sep 2013 18:27:24 -0500 Date: Tue, 03 Sep 2013 08:27:23 +0900 Message-ID: From: Katsumi Yamaoka To: martin rudalics Subject: Re: bug#15247: 24.3.50; Emacs Cygwin crashes when replying to a mail References: <522484BF.9040206@gmx.at> Organization: Emacsen advocacy group X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.130008 (=?iso-2022-jp?B?GyRCPz8bKEI=?= Gnus v0.8) Emacs/24.3.50 (i686-pc-cygwin) Cancel-Lock: sha1:bEPcqBIQObqDNcAGJP4IeX9wFpY= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: acl_c_authenticated_local_user: root X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 15247 Cc: 15247@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) martin rudalics wrote: >> emacs -Q --eval '(make-frame-invisible (selected-frame) t)' >> I also guess that it was harmless until about a week ago. > Should be harmless again with revision 114106. Thanks! [...] >> As I wrote in , >> `raise-frame' doesn't raise iconified, invisible, or hidden frame. >> Now I changed it into: >> >> (defadvice raise-frame (before make-it-work (&optional frame) activate) >> "Make it work on Cygwin." >> (or (eq frame (selected-frame)) >> (make-frame-invisible frame))) > I don't understand fully: Above you say that "`raise-frame' doesn't > raise iconified, invisible, or hidden frame" and in the before-advice > or `raise-frame' you make the frame invisible? Yes, it does. So far once vanishing a frame, that is alive but is iconified or hidden behind other frames, from a Windows desktop is the only means to make `raise-frame' raise the frame to the top. Another way is: (defadvice raise-frame (around make-it-work (&optional frame) activate) ;; ^^^^^^ "Make it work on Cygwin." (unless (eq frame (selected-frame)) (make-frame-invisible frame) (make-frame-visible frame))) I found it through trial and trial and trial ... and error. ;) From unknown Tue Jun 24 05:12:37 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 01 Oct 2013 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator