From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 08 02:07:28 2015 Received: (at submit) by debbugs.gnu.org; 8 Feb 2015 07:07:28 +0000 Received: from localhost ([127.0.0.1]:37063 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKLxn-0003vU-Jk for submit@debbugs.gnu.org; Sun, 08 Feb 2015 02:07:28 -0500 Received: from eggs.gnu.org ([208.118.235.92]:52556) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKKWr-0001ML-Jr for submit@debbugs.gnu.org; Sun, 08 Feb 2015 00:35:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YKKWk-0007IK-PA for submit@debbugs.gnu.org; Sun, 08 Feb 2015 00:35:28 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57821) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKKWk-0007IG-MX for submit@debbugs.gnu.org; Sun, 08 Feb 2015 00:35:26 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54278) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKKWj-0002On-1V for bug-gnu-emacs@gnu.org; Sun, 08 Feb 2015 00:35:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YKKWf-0007Gh-Pg for bug-gnu-emacs@gnu.org; Sun, 08 Feb 2015 00:35:24 -0500 Received: from mail-la0-f53.google.com ([209.85.215.53]:43691) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKKWf-0007GQ-FA for bug-gnu-emacs@gnu.org; Sun, 08 Feb 2015 00:35:21 -0500 Received: by labhv19 with SMTP id hv19so7918435lab.10 for ; Sat, 07 Feb 2015 21:35:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=IwmIJ9DXZQFEC9H8H5NWA7MvA+u3uqdDeqgjp8MmK3M=; b=LQEFMqvVeUl4HZRyCtxGHpNakPFIwnnPDmLU0uK0sdsAKBLujGT0MiEBLm2Oy9hlK8 iMjU7zcAS+Oq+DzSm88HSC5v1nCcFEgvux8u3dbUFkkwkjE2ES+UPaNpvne5r3SRt9XT Aa/CoWiYYmAR08BLgxdiyLAc7l5FqmVFtX7oFn8wajBBAgyDM5fD8xBIiTwhmCeN1fIL WCTYNbKqDCY497H8gnwUdTgxjStmKCvjkTwPfqpnazGU6s6/38HtKgwNr/I2EwHqLhvX v+faHc4pIMIlgtvDxv3UOEfE1My+LdLwd6dcrnX73ueFa2Sq12hRW3Dy7L057LmcUmHb GyUw== MIME-Version: 1.0 X-Received: by 10.112.129.195 with SMTP id ny3mr10458044lbb.10.1423373719594; Sat, 07 Feb 2015 21:35:19 -0800 (PST) Received: by 10.25.40.9 with HTTP; Sat, 7 Feb 2015 21:35:19 -0800 (PST) Date: Sun, 8 Feb 2015 00:35:19 -0500 Message-ID: Subject: 24.4; emacs crashes on exit From: Test User To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=047d7b3441c6f06d70050e8d04d5 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] 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.8 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 08 Feb 2015 02:07:25 -0500 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.8 (---) --047d7b3441c6f06d70050e8d04d5 Content-Type: text/plain; charset=UTF-8 --text follows this line-- Note: the problem does not occur if you run `emacs -Q'. To reproduce the problem: 1) Unzip emacs-24.4-bin-i686-pc-mingw32.zip. On my system, I unzipped it in c:/users/testuser448/Downloads/Open_Source/Binaries/emacs 2) Run `emacs'. 3) Select File -> Quit from the menu. A message box is displayed saying: GNU Emacs: The extensible self-documenting text editor has stopped working A problem caused the program to stop working correctly. Please close the program. -> Close the program -> Debug the program In gdb, emacs terminates without the dialog box appearing, and reports that the process exited with code 03. Other than that, emacs appears to be working properly. My previous version (24.3) did not have this problem. In GNU Emacs 24.4.1 (i686-pc-mingw32) of 2014-10-24 on LEG570 Windowing system distributor `Microsoft Corp.', version 6.3.9600 (i.e., Windows 8.1, 64-bit) Configured using: `configure --prefix=/c/usr' Important settings: value of $LANG: ENJ locale-coding-system: cp1252 Major mode: Fundamental Minor modes in effect: nxhtml-menu-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o r t = - e m a c s - b u g Recent messages: Loading c:/mingw/local/lisp/nxhtml/nxhtml-loaddefs...done Patching xhtml-loader.rnc Wrote c:/MinGW/local/lisp/nxhtml/etc/schema/xhtml-loader.rnc Loading c:/mingw/local/lisp/nxhtml/nxhtml/nxhtml-autoload... nxhtml-autoload starting ... (hm, should maybe be renamed ...) majmodpri-apply-priorities running ... (done) Loading c:/mingw/local/lisp/nxhtml/nxhtml/nxhtml-autoload...done Nxml/Nxhtml Autostart.el loaded in 0.2 seconds Loading c:/mingw/local/lisp/nxhtml/autostart.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: c:/mingw/local/lisp/nxhtml/tests/ert hides c:/Users/Testuser448/Downloads/Open_Source/Binaries/emacs/share/emacs/24.4/lisp/emacs-lisp/ert Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils nxhtml-autostart nxhtml-autoload majmodpri nxhtml-menu web-autoload nxhtml-base time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process w32notify w32 multi-tty emacs) Memory information: ((conses 8 84239 4988) (symbols 32 18357 0) (miscs 32 75 138) (strings 16 12769 3674) (string-bytes 1 406041) (vectors 8 9771) (vector-slots 4 386289 3440) (floats 8 59 326) (intervals 28 257 31) (buffers 508 12)) --047d7b3441c6f06d70050e8d04d5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

--text follows this line--

Note: the problem do= es not occur if you run `emacs -Q'.

To reproduce the problem:1) Unzip emacs-24.4-bin-i686-pc-mingw32.zip.
On my system, I unzipped i= t in
c:/users/testuser448/Downloads/Open_Source/Binaries/emacs

2)= Run `emacs'.

3) Select File -> Quit from the menu.
A mess= age box is displayed saying:

GNU Emacs: The extensible self-document= ing text editor has stopped
working

A problem caused the program = to stop working correctly. Please
close the program.

-> Close = the program
-> Debug the program

In gdb, emacs terminates with= out the dialog box appearing, and reports
that the process exited with c= ode 03.

Other than that, emacs appears to be working properly. My pr= evious
version (24.3) did not have this problem.



In GNU E= macs 24.4.1 (i686-pc-mingw32)
=C2=A0of 2014-10-24 on LEG570
Windowing= system distributor `Microsoft Corp.', version 6.3.9600
(i.e., Windo= ws 8.1, 64-bit)
Configured using:
=C2=A0`configure --prefix=3D/c/usr&= #39;

Important settings:
=C2=A0 value of $LANG: ENJ
=C2=A0 loc= ale-coding-system: cp1252

Major mode: Fundamental

Minor modes= in effect:
=C2=A0 nxhtml-menu-mode: t
=C2=A0 tooltip-mode: t
=C2= =A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-ba= r-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t
= =C2=A0 global-font-lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 au= to-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-com= pression-mode: t
=C2=A0 buffer-read-only: t
=C2=A0 line-number-mode: = t
=C2=A0 transient-mark-mode: t

Recent input:
M-x r e p o r t = =3D <backspace> - e m a c s - b u g
<return>

Recent = messages:
Loading c:/mingw/local/lisp/nxhtml/nxhtml-loaddefs...done
P= atching xhtml-loader.rnc
Wrote c:/MinGW/local/lisp/nxhtml/etc/schema/xht= ml-loader.rnc
Loading c:/mingw/local/lisp/nxhtml/nxhtml/nxhtml-autoload.= ..
nxhtml-autoload starting ... (hm, should maybe be renamed ...)
maj= modpri-apply-priorities running ... (done)
Loading c:/mingw/local/lisp/n= xhtml/nxhtml/nxhtml-autoload...done
Nxml/Nxhtml Autostart.el loaded in 0= .2 seconds
Loading c:/mingw/local/lisp/nxhtml/autostart.el (source)...do= ne
For information about GNU Emacs and the GNU system, type C-h C-a.
=
Load-path shadows:
c:/mingw/local/lisp/nxhtml/tests/ert hides c:/Use= rs/Testuser448/Downloads/Open_Source/Binaries/emacs/share/emacs/24.4/lisp/e= macs-lisp/ert

Features:
(shadow sort gnus-util mail-extr emacsbug= message format-spec rfc822 mml
easymenu mml-sec mm-decode mm-bodies mm-= encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc20= 47 rfc2045 ietf-drums
mm-util help-fns mail-prsvr mail-utils nxhtml-auto= start nxhtml-autoload
majmodpri nxhtml-menu web-autoload nxhtml-base tim= e-date tooltip
electric uniquify ediff-hook vc-hooks lisp-float-type mwh= eel dos-w32
ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar = dnd fontset
image regexp-opt fringe tabulated-list newcomment lisp-mode = prog-mode
register page menu-bar rfn-eshadow timer select scroll-bar mou= se
jit-lock font-lock syntax facemenu font-core frame cham georgian
u= tf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese= hebrew greek romanian slovak czech european ethiopic indian
cyrillic ch= inese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer na= dvice loaddefs button faces cus-face macroexp files
text-properties over= lay sha1 md5 base64 format env code-pages mule
custom widget hashtable-p= rint-readable backquote make-network-process
w32notify w32 multi-tty ema= cs)

Memory information:
((conses 8 84239 4988)
=C2=A0(symbols = 32 18357 0)
=C2=A0(miscs 32 75 138)
=C2=A0(strings 16 12769 3674)
= =C2=A0(string-bytes 1 406041)
=C2=A0(vectors 8 9771)
=C2=A0(vector-sl= ots 4 386289 3440)
=C2=A0(floats 8 59 326)
=C2=A0(intervals 28 257 31= )
=C2=A0(buffers 508 12))

--047d7b3441c6f06d70050e8d04d5-- From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 08 11:07:17 2015 Received: (at 19813) by debbugs.gnu.org; 8 Feb 2015 16:07:18 +0000 Received: from localhost ([127.0.0.1]:37499 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKUOD-0001hN-BL for submit@debbugs.gnu.org; Sun, 08 Feb 2015 11:07:17 -0500 Received: from mtaout23.012.net.il ([80.179.55.175]:36619) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKUOA-0001h7-QZ for 19813@debbugs.gnu.org; Sun, 08 Feb 2015 11:07:16 -0500 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0NJG00800NBKAM00@a-mtaout23.012.net.il> for 19813@debbugs.gnu.org; Sun, 08 Feb 2015 18:07:03 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NJG00800NFR9W20@a-mtaout23.012.net.il>; Sun, 08 Feb 2015 18:07:03 +0200 (IST) Date: Sun, 08 Feb 2015 18:06:46 +0200 From: Eli Zaretskii Subject: Re: bug#19813: 24.4; emacs crashes on exit In-reply-to: X-012-Sender: halo1@inter.net.il To: Test User Message-id: <834mqwbd61.fsf@gnu.org> References: X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 19813 Cc: 19813@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii 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: 1.0 (+) > Date: Sun, 8 Feb 2015 00:35:19 -0500 > From: Test User > > Note: the problem does not occur if you run `emacs -Q'. > > To reproduce the problem: > 1) Unzip emacs-24.4-bin-i686-pc-mingw32.zip. > On my system, I unzipped it in > c:/users/testuser448/Downloads/Open_Source/Binaries/emacs > > 2) Run `emacs'. > > 3) Select File -> Quit from the menu. > A message box is displayed saying: > > GNU Emacs: The extensible self-documenting text editor has stopped > working Thank you for your report. Since the problem does not happen in "emacs -Q", there's some customization on your ~/.emacs file that triggers it. Could you please bisect your .emacs until you find the smallest part of it that still causes the problem, and then post here that part? We need a reproducible recipe to investigate the reasons for the abort. From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 08 11:59:15 2015 Received: (at 19813) by debbugs.gnu.org; 8 Feb 2015 16:59:15 +0000 Received: from localhost ([127.0.0.1]:37506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKVCU-0002xu-P6 for submit@debbugs.gnu.org; Sun, 08 Feb 2015 11:59:15 -0500 Received: from mail-lb0-f178.google.com ([209.85.217.178]:34924) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKVCS-0002xh-4k for 19813@debbugs.gnu.org; Sun, 08 Feb 2015 11:59:12 -0500 Received: by mail-lb0-f178.google.com with SMTP id w7so4774561lbi.9 for <19813@debbugs.gnu.org>; Sun, 08 Feb 2015 08:59:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=JGQl00vPDsK/Klbf+BWkdwzVfCtg3XGl2fNigo2V4IQ=; b=aVdTLTciltSiMNY2nvse531g+3aHoZyr/EOr3VLoFUaOPBf3iKs47fsObwqDKLTQ3s NZacJpnZUd2IIL6JVjJi09PV/xJBdKlOKGdnX5iTfdeb8a0Pg0LxSz0jRQIlDHD3Z4Od Z7xnaQzIyXmxclDa9Okiiu3tWdDf1TJr1NFGeHOvAIIz9fueMX1IQVBtgbhTGLZUr7+l oTz20AcJ2VE1FeIC10Urlla5qprkXHtVXr8LwOtebquwQ7gdINrG8arTU2QJBF8vw8GJ HeAT7lwCUt+uwc+IIEnNIevdOimWppzMhGy2DpPy5kqiaGrm4TNvrr1Dy5IpzWNiIKya //cQ== MIME-Version: 1.0 X-Received: by 10.112.132.67 with SMTP id os3mr12623871lbb.90.1423414746195; Sun, 08 Feb 2015 08:59:06 -0800 (PST) Received: by 10.25.40.9 with HTTP; Sun, 8 Feb 2015 08:59:06 -0800 (PST) In-Reply-To: <834mqwbd61.fsf@gnu.org> References: <834mqwbd61.fsf@gnu.org> Date: Sun, 8 Feb 2015 11:59:06 -0500 Message-ID: Subject: Re: bug#19813: 24.4; emacs crashes on exit From: Test User To: 19813@debbugs.gnu.org Content-Type: multipart/alternative; boundary=047d7b3a819250aab9050e9692a3 X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 19813 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.4 (/) --047d7b3a819250aab9050e9692a3 Content-Type: text/plain; charset=UTF-8 On Sun, Feb 8, 2015 at 11:06 AM, Eli Zaretskii wrote: > > Since the problem does not happen in "emacs -Q", there's some > customization on your ~/.emacs file that triggers it. Could you > please bisect your .emacs until you find the smallest part of it that > still causes the problem, and then post here that part? We need a > reproducible recipe to investigate the reasons for the abort. > I have just two lines in my .emacs file. I commented them both out but it made no difference. I even renamed .emacs and .emacs.d but it still did not help. Regards, Test User. --047d7b3a819250aab9050e9692a3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Sun, Feb 8, 2015 at 11:06 AM, Eli Zaretskii <eliz@gnu.org>= wrote:

Since the problem does not happen in "emacs -Q", there's some=
customization on your ~/.emacs file that triggers it.=C2=A0 Could you
please bisect your .emacs until you find the smallest part of it that
still causes the problem, and then post here that part?=C2=A0 We need a
reproducible recipe to investigate the reasons for the abort.

I have just two lin= es in my .emacs file. I commented them both out but it
made no differenc= e. I even renamed .emacs and .emacs.d but it still did
not help.

=
Regards,
Test User.


--047d7b3a819250aab9050e9692a3-- From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 08 13:41:14 2015 Received: (at 19813) by debbugs.gnu.org; 8 Feb 2015 18:41:14 +0000 Received: from localhost ([127.0.0.1]:37566 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKWnB-0006tF-Ji for submit@debbugs.gnu.org; Sun, 08 Feb 2015 13:41:13 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:53554) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKWn9-0006sz-43 for 19813@debbugs.gnu.org; Sun, 08 Feb 2015 13:41:12 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NJG00600UDRM700@a-mtaout22.012.net.il> for 19813@debbugs.gnu.org; Sun, 08 Feb 2015 20:41:04 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NJG0061JUKGG340@a-mtaout22.012.net.il>; Sun, 08 Feb 2015 20:41:04 +0200 (IST) Date: Sun, 08 Feb 2015 20:40:48 +0200 From: Eli Zaretskii Subject: Re: bug#19813: 24.4; emacs crashes on exit In-reply-to: X-012-Sender: halo1@inter.net.il To: Test User Message-id: <83vbjc9rgv.fsf@gnu.org> References: <834mqwbd61.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 19813 Cc: 19813@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii 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: 1.0 (+) > Date: Sun, 8 Feb 2015 11:59:06 -0500 > From: Test User > > Since the problem does not happen in "emacs -Q", there's some > customization on your ~/.emacs file that triggers it. Could you > please bisect your .emacs until you find the smallest part of it that > still causes the problem, and then post here that part? We need a > reproducible recipe to investigate the reasons for the abort. > > > I have just two lines in my .emacs file. I commented them both out but it > made no difference. I even renamed .emacs and .emacs.d but it still did > not help. What happens if you remove the file entirely, or rename it? Where on your filesystem do you keep your .emacs, i.e. what is its full Windows file name? From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 08 15:15:13 2015 Received: (at 19813) by debbugs.gnu.org; 8 Feb 2015 20:15:13 +0000 Received: from localhost ([127.0.0.1]:37626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKYG9-0000il-1a for submit@debbugs.gnu.org; Sun, 08 Feb 2015 15:15:13 -0500 Received: from mail-lb0-f180.google.com ([209.85.217.180]:50531) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKYG5-0000iT-Qn for 19813@debbugs.gnu.org; Sun, 08 Feb 2015 15:15:10 -0500 Received: by mail-lb0-f180.google.com with SMTP id z12so5204470lbi.11 for <19813@debbugs.gnu.org>; Sun, 08 Feb 2015 12:15:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=IFZP4mIkMmy6Ai0k1U8Y8TmAuq6FCWsVCzlRMorPmJ4=; b=irXcG/TfVT+bPSl4SgUF4us0XXP9HI7Mr27So0ubqZxpvsU7qX9RvymN6AOM5gk9kP XP9kCN/Gs8vFtEjRyUtMoymQATgE02PYi0R3p45vbAVdZ4XedAg4w86wWWgHAEhHvIvp B4rPdeZ5QrMWxCqfMoj6rrhbtWPvS6X0geljUL+ohytUG4W8DeWHJUbozScE492i6+bv bAkdJM440q+dbr0iZF5zEDWMDWYn1BC1rpfs7tGMpE1Z4BCmzq8hPpz5CBTb1RWoFIjd zsW2cLr7Pediqu/6eicTJ5+gGkq2lrRrqdzNsVt3YfM9+2JOZaUFPKsaaMZoU6I1r3+H lx9w== MIME-Version: 1.0 X-Received: by 10.152.20.169 with SMTP id o9mr13196081lae.50.1423426503912; Sun, 08 Feb 2015 12:15:03 -0800 (PST) Received: by 10.25.40.9 with HTTP; Sun, 8 Feb 2015 12:15:03 -0800 (PST) In-Reply-To: <83vbjc9rgv.fsf@gnu.org> References: <834mqwbd61.fsf@gnu.org> <83vbjc9rgv.fsf@gnu.org> Date: Sun, 8 Feb 2015 15:15:03 -0500 Message-ID: Subject: Re: bug#19813: 24.4; emacs crashes on exit From: Test User To: 19813@debbugs.gnu.org Content-Type: multipart/alternative; boundary=089e0141aa8a21333e050e994f1d X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 19813 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.4 (/) --089e0141aa8a21333e050e994f1d Content-Type: text/plain; charset=UTF-8 On Sun, Feb 8, 2015 at 1:40 PM, Eli Zaretskii wrote: > > Date: Sun, 8 Feb 2015 11:59:06 -0500 > > From: Test User > > > > Since the problem does not happen in "emacs -Q", there's some > > customization on your ~/.emacs file that triggers it. Could you > > please bisect your .emacs until you find the smallest part of it that > > still causes the problem, and then post here that part? We need a > > reproducible recipe to investigate the reasons for the abort. > > > > > > I have just two lines in my .emacs file. I commented them both out but it > > made no difference. I even renamed .emacs and .emacs.d but it still did > > not help. > > What happens if you remove the file entirely, or rename it? > I said above that I renamed .emacs and also .emacs.d. but it did not help. > > Where on your filesystem do you keep your .emacs, i.e. what is its > full Windows file name? > C:/Users/testuser448/.emacs. I set HOME=C:/Users/testuser448 and I have confirmed using Process Monitor from SysInternals that emacs finds it there when HOME is set, and did not find it when I renamed it. Alternative locations appear to be C:/ and %APPDATA%, where .emacs does not exist. Alternatively if you give a command that will display a message I can put it in .emacs. If I set HOME=, it does not make a difference. For what it is worth, the problem does not occur on my Windows XP virtual machine, which never had emacs on it before. I am on Windows 8.1. In my initial message, I said that if I run emacs.exe within gdb, gdb says that emacs exited with code 03. Do you know what that means? --089e0141aa8a21333e050e994f1d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Sun, Feb 8, 2015 at 1:40 PM, Eli Zaretskii <eliz@gnu.org> = wrote:
> Date: Sun,= 8 Feb 2015 11:59:06 -0500
> From: Test User <testuser4= 48@gmail.com>
>
>=C2=A0 =C2=A0 =C2=A0Since the problem does not happen = in "emacs -Q", there's some
>=C2=A0 =C2=A0 =C2=A0customization on your ~/.emacs file that triggers i= t. Could you
>=C2=A0 =C2=A0 =C2=A0please bisect your .emacs until you find the smalle= st part of it that
>=C2=A0 =C2=A0 =C2=A0still causes the problem, and then post here that p= art? We need a
>=C2=A0 =C2=A0 =C2=A0reproducible recipe to investigate the reasons for = the abort.
>
>
> I have just two lines in my .emacs file. I commented them both out but= it
> made no difference. I even renamed .emacs and .emacs.d but it still di= d
> not help.

What happens if you remove the file entirely, or rename it?

I said above that I renamed .emacs and also .em= acs.d. but it did not help.
=C2=A0

Where on your filesystem do you keep your .emacs, i.e. what is its
full Windows file name?

C:/Users/testus= er448/.emacs. I set HOME=3DC:/Users/testuser448 and I have
confirmed usi= ng Process Monitor from SysInternals that emacs finds it there
when HOME= is set, and did not find it when I renamed it. Alternative locations
appear to be C:/ and %APPDATA%, where .emacs does not exist.
Alternatively if you give a command that will display a messag= e I can
put it in .emacs.

If I set HOME=3D&= lt;blank>, it does not make a difference.

For what it = is worth, the problem does not occur on my Windows XP
virtual machine, w= hich never had emacs on it before. I am on Windows 8.1.

I= n my initial message, I said that if I run emacs.exe within gdb, gdb says t= hat
emacs exited with code 03. Do you know what that means?

--089e0141aa8a21333e050e994f1d-- From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 08 15:41:42 2015 Received: (at 19813) by debbugs.gnu.org; 8 Feb 2015 20:41:42 +0000 Received: from localhost ([127.0.0.1]:37642 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKYfm-0001fn-2g for submit@debbugs.gnu.org; Sun, 08 Feb 2015 15:41:42 -0500 Received: from mtaout25.012.net.il ([80.179.55.181]:33501) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKYfi-0001f3-78 for 19813@debbugs.gnu.org; Sun, 08 Feb 2015 15:41:39 -0500 Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NJG00700ZNTBY00@mtaout25.012.net.il> for 19813@debbugs.gnu.org; Sun, 08 Feb 2015 22:36:26 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NJG00PHYZWP4R70@mtaout25.012.net.il>; Sun, 08 Feb 2015 22:36:26 +0200 (IST) Date: Sun, 08 Feb 2015 22:41:15 +0200 From: Eli Zaretskii Subject: Re: bug#19813: 24.4; emacs crashes on exit In-reply-to: X-012-Sender: halo1@inter.net.il To: Test User Message-id: <83oap49lw4.fsf@gnu.org> References: <834mqwbd61.fsf@gnu.org> <83vbjc9rgv.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 19813 Cc: 19813@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii 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: 1.0 (+) > Date: Sun, 8 Feb 2015 15:15:03 -0500 > From: Test User > > C:/Users/testuser448/.emacs. I set HOME=C:/Users/testuser448 and I have > confirmed using Process Monitor from SysInternals that emacs finds it there > when HOME is set, and did not find it when I renamed it. Alternative locations > appear to be C:/ and %APPDATA%, where .emacs does not exist. > > Alternatively if you give a command that will display a message I can > put it in .emacs. > > If I set HOME=, it does not make a difference. > > For what it is worth, the problem does not occur on my Windows XP > virtual machine, which never had emacs on it before. I am on Windows 8.1. I tried this on XP, on Windows 7, and on Windows 8.1, with the same binary you are using, and I cannot reproduce this. There's something specific to your machine that triggers this. The .emacs file is probably not the reason, it's something that Emacs does at startup that is disabled by -Q. What about "emacs -q" -- does that reproduce the problem? > In my initial message, I said that if I run emacs.exe within gdb, gdb says that > emacs exited with code 03. Do you know what that means? That means Emacs called 'abort'. But it doesn't add any useful information, since the "program stopped working" dialog tells the same. What does the Windows Event Viewer say about these crashes (under "Application")? From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 08 16:25:24 2015 Received: (at 19813) by debbugs.gnu.org; 8 Feb 2015 21:25:24 +0000 Received: from localhost ([127.0.0.1]:37650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKZM3-0002jD-Bw for submit@debbugs.gnu.org; Sun, 08 Feb 2015 16:25:23 -0500 Received: from mail-lb0-f172.google.com ([209.85.217.172]:39048) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKZM1-0002ir-7D for 19813@debbugs.gnu.org; Sun, 08 Feb 2015 16:25:22 -0500 Received: by mail-lb0-f172.google.com with SMTP id l4so26458894lbv.3 for <19813@debbugs.gnu.org>; Sun, 08 Feb 2015 13:25:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=j/5ikQEcXY/jmB0asr2Nzc/wp2OfT8ilTGrIi4mYR1o=; b=QFMhM5spKW4Ctgyjo4Zdz+l+70l6EX+dZpi9ZfENbeheAo7S+hrpJXigxWbAXN7Znp /45hFCbNo4TaoJFg1g91EoDWk7GQlqBv9qBPeztprZQzAMUbpHaQMGYi+9F+XUsrpLY8 CSYPhKnEW5eRyaWg+Vb0W0CN4jKAAOOtz1NKngQ0THKrp6eNHciNLBNsXVSDk1jLRHZS FK1xJZyEhFmnUldT0RdoRR91q7smR0+W+BT6vwYLkzdUVIKtwy+pxXSgkMy/GY8a/KXO J0lDUjtQ445/niflJlmpMnEmj7x232IsL46t5RqsbKZt3XAMTYKR+ORq/tokcJZdCOcF CdFQ== MIME-Version: 1.0 X-Received: by 10.152.36.232 with SMTP id t8mr13444728laj.90.1423430715220; Sun, 08 Feb 2015 13:25:15 -0800 (PST) Received: by 10.25.40.9 with HTTP; Sun, 8 Feb 2015 13:25:15 -0800 (PST) In-Reply-To: <83oap49lw4.fsf@gnu.org> References: <834mqwbd61.fsf@gnu.org> <83vbjc9rgv.fsf@gnu.org> <83oap49lw4.fsf@gnu.org> Date: Sun, 8 Feb 2015 16:25:15 -0500 Message-ID: Subject: Re: bug#19813: 24.4; emacs crashes on exit From: Test User To: 19813@debbugs.gnu.org Content-Type: multipart/alternative; boundary=089e0160a9d224a7bc050e9a4a12 X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 19813 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.4 (/) --089e0160a9d224a7bc050e9a4a12 Content-Type: text/plain; charset=UTF-8 On Sun, Feb 8, 2015 at 3:41 PM, Eli Zaretskii wrote: > > What about "emacs -q" -- does that reproduce the problem? > > Yes, it crashes with `emacs -q'. > > What does the Windows Event Viewer say about these crashes (under > "Application")? > Faulting application name: emacs.exe, version: 24.4.0.0, time stamp: 0x544a8d9a Faulting module name: libgcc_s_dw2-1.dll, version: 0.0.0.0, time stamp: 0x507d56df Exception code: 0x40000015 Fault offset: 0x00016f62 Faulting process id: 0xee4 Faulting application start time: 0x01d043e155516507 Faulting application path: C:\MinGW\local\bin\emacs.exe Faulting module path: C:\MinGW\bin\libgcc_s_dw2-1.dll Report Id: 9ab40c92-afd4-11e4-81d7-00a0d1ad0b0b Faulting package full name: Faulting package-relative application ID: On my Windows 8 system: 16/10/2012 07:45 119,296 libgcc_s_dw2-1.dll The dll does not contain any version information, but gcc --version prints 4.7.2. On my Windows XP system where it works: 05/10/2013 12:17 PM 112,142 libgcc_s_dw2-1.dll gcc 4.8.1 is installed. On my Windows 8 system, I renamed the DLL. Unexpectedly emacs launched, and it exited normally. According to Process Monitor, emacs failed to find this DLL anywhere else. I doubt that I have another copy but I am searching the C: drive now. --089e0160a9d224a7bc050e9a4a12 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Sun, Feb 8, 2015 at 3:41 PM, Eli Zaretskii <eliz@gnu.org> = wrote:

What about "emacs -q" -- does that reproduce the problem?


Yes, it crashe= s with `emacs -q'.
=C2=A0

What does the Windows Event Viewer say about these crashes (under
"Application")?

Faulting application nam= e: emacs.exe, version: 24.4.0.0, time stamp: 0x544a8d9a
Faulting module = name: libgcc_s_dw2-1.dll, version: 0.0.0.0, time stamp: 0x507d56df
Excep= tion code: 0x40000015
Fault offset: 0x00016f62
Faulting process id: 0= xee4
Faulting application start time: 0x01d043e155516507
Faulting app= lication path: C:\MinGW\local\bin\emacs.exe
Faulting module path: C:\Min= GW\bin\libgcc_s_dw2-1.dll
Report Id: 9ab40c92-afd4-11e4-81d7-00a0d1ad0b0= b
Faulting package full name:
Faulting package-relative application = ID:=C2=A0

On my Windows 8 system:
16/10/2012=C2=A0 07= :45=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 119,296 lib= gcc_s_dw2-1.dll

The dll does not contain any version info= rmation, but gcc --version
prints 4.7.2.

On my Windows= XP system where it works:
05/10/2013=C2=A0 12:17 PM=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 112,142 libgcc_s_dw2-1.dll
gcc 4.8.1 is installed.

On my Windows 8 system, = I renamed the DLL. Unexpectedly emacs
launched, and it exited normally. = According to Process Monitor, emacs
failed to find this DLL anywhere els= e. I doubt that I have another copy
but I am searching the C: drive now.=

--089e0160a9d224a7bc050e9a4a12-- From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 08 18:03:13 2015 Received: (at 19813) by debbugs.gnu.org; 8 Feb 2015 23:03:13 +0000 Received: from localhost ([127.0.0.1]:37656 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKasj-0004z9-4D for submit@debbugs.gnu.org; Sun, 08 Feb 2015 18:03:13 -0500 Received: from mail-lb0-f177.google.com ([209.85.217.177]:42435) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKasg-0004yt-5z for 19813@debbugs.gnu.org; Sun, 08 Feb 2015 18:03:11 -0500 Received: by mail-lb0-f177.google.com with SMTP id p9so26602541lbv.8 for <19813@debbugs.gnu.org>; Sun, 08 Feb 2015 15:03:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=R+BZqoe1mC8fNBp2sr4H4GBvmMams+jTd0flpNtaQx4=; b=HYxT8PzoPCa8t53pqyd58U2yvzmOOwrGVaJBiQHJ5Fp5OneCdGfOW+ZydU1q97tqC7 5qaQ5dpYjdTbuw30vsu6VrNemFsRL24OwC+x5ApI+m5jWW97gGnhSfOuVx8TDdda8I7x ktlz1nFJQjaM1063M7ueCebyoEVYOG21I9J6TdTY3dS3W7clh5g1eFMO5xB0kNWKDT/J D3mZaWLLJ3e6rJVCZV8iS3WJSM1DR3u7cpnxQRVCFIxeR8iLgu9ulLSqKr7gawhXVYCL BMUQtimE9OY/hIWjazWab38lT7c+BTDqJolnfbVL1jaeq+KplLWbKCCjSS7Bx4OGODhW 2I4Q== MIME-Version: 1.0 X-Received: by 10.112.40.65 with SMTP id v1mr13667183lbk.26.1423436584163; Sun, 08 Feb 2015 15:03:04 -0800 (PST) Received: by 10.25.40.9 with HTTP; Sun, 8 Feb 2015 15:03:04 -0800 (PST) In-Reply-To: References: <834mqwbd61.fsf@gnu.org> <83vbjc9rgv.fsf@gnu.org> <83oap49lw4.fsf@gnu.org> Date: Sun, 8 Feb 2015 18:03:04 -0500 Message-ID: Subject: Re: bug#19813: 24.4; emacs crashes on exit From: Test User To: 19813@debbugs.gnu.org Content-Type: multipart/alternative; boundary=001a11336f28f59df3050e9ba7c5 X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 19813 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.4 (/) --001a11336f28f59df3050e9ba7c5 Content-Type: text/plain; charset=UTF-8 On Sun, Feb 8, 2015 at 4:25 PM, Test User wrote: > On my Windows 8 system, I renamed the DLL. Unexpectedly emacs > launched, and it exited normally. According to Process Monitor, emacs > failed to find this DLL anywhere else. I doubt that I have another copy > but I am searching the C: drive now. > > I have *one* copy (not in my path) in a directory in which I had assembled all the files required by a small program that I wrote, including this DLL and libstdc++. On XP, even though the DLL is in the PATH, it is not loaded when emacs runs, according to Process Monitor. The XP system contains only the files in emacs-24.4*.zip. I have added files (usually extra modes) to my main emacs installation over the years, although I would not be able to say what I have added. If there is another startup file that is read besides .emacs, that may be answer. --001a11336f28f59df3050e9ba7c5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable --001a11336f28f59df3050e9ba7c5-- From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 08 22:38:07 2015 Received: (at 19813) by debbugs.gnu.org; 9 Feb 2015 03:38:07 +0000 Received: from localhost ([127.0.0.1]:37708 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKfAl-000310-AD for submit@debbugs.gnu.org; Sun, 08 Feb 2015 22:38:07 -0500 Received: from mtaout23.012.net.il ([80.179.55.175]:52645) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKfAj-00030T-3L for 19813@debbugs.gnu.org; Sun, 08 Feb 2015 22:38:06 -0500 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0NJH00900IWHWX00@a-mtaout23.012.net.il> for 19813@debbugs.gnu.org; Mon, 09 Feb 2015 05:37:58 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NJH009HMJF9W620@a-mtaout23.012.net.il>; Mon, 09 Feb 2015 05:37:58 +0200 (IST) Date: Mon, 09 Feb 2015 05:37:43 +0200 From: Eli Zaretskii Subject: Re: bug#19813: 24.4; emacs crashes on exit In-reply-to: X-012-Sender: halo1@inter.net.il To: Test User Message-id: <83mw4nah6g.fsf@gnu.org> References: <834mqwbd61.fsf@gnu.org> <83vbjc9rgv.fsf@gnu.org> <83oap49lw4.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 19813 Cc: 19813@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii 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: 1.0 (+) > Date: Sun, 8 Feb 2015 16:25:15 -0500 > From: Test User > > What does the Windows Event Viewer say about these crashes (under > "Application")? > > > Faulting application name: emacs.exe, version: 24.4.0.0, time stamp: 0x544a8d9a > Faulting module name: libgcc_s_dw2-1.dll, version: 0.0.0.0, time stamp: > 0x507d56df > Exception code: 0x40000015 > Fault offset: 0x00016f62 > Faulting process id: 0xee4 > Faulting application start time: 0x01d043e155516507 > Faulting application path: C:\MinGW\local\bin\emacs.exe > Faulting module path: C:\MinGW\bin\libgcc_s_dw2-1.dll > Report Id: 9ab40c92-afd4-11e4-81d7-00a0d1ad0b0b > Faulting package full name: > Faulting package-relative application ID: > > On my Windows 8 system: > 16/10/2012 07:45 119,296 libgcc_s_dw2-1.dll > > The dll does not contain any version information, but gcc --version > prints 4.7.2. Then this is a known issue, see etc/PROBLEMS, and also bug 19181. In a nutshell, you have a DLL that Emacs loads that depends on libgcc_s_dw2-1.dll. Find that dependent DLL and install another binary of that DLL which doesn't have this dependency. From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 08 22:41:43 2015 Received: (at 19813) by debbugs.gnu.org; 9 Feb 2015 03:41:43 +0000 Received: from localhost ([127.0.0.1]:37712 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKfEE-00036P-T4 for submit@debbugs.gnu.org; Sun, 08 Feb 2015 22:41:43 -0500 Received: from mtaout24.012.net.il ([80.179.55.180]:56171) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKfEC-00036C-A8 for 19813@debbugs.gnu.org; Sun, 08 Feb 2015 22:41:41 -0500 Received: from conversion-daemon.mtaout24.012.net.il by mtaout24.012.net.il (HyperSendmail v2007.08) id <0NJH00D00IVN2H00@mtaout24.012.net.il> for 19813@debbugs.gnu.org; Mon, 09 Feb 2015 05:33:18 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout24.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NJH004E0J7I6180@mtaout24.012.net.il>; Mon, 09 Feb 2015 05:33:18 +0200 (IST) Date: Mon, 09 Feb 2015 05:41:18 +0200 From: Eli Zaretskii Subject: Re: bug#19813: 24.4; emacs crashes on exit In-reply-to: X-012-Sender: halo1@inter.net.il To: Test User Message-id: <83lhk7ah0h.fsf@gnu.org> References: <834mqwbd61.fsf@gnu.org> <83vbjc9rgv.fsf@gnu.org> <83oap49lw4.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 19813 Cc: 19813@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii 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: 1.0 (+) > Date: Sun, 8 Feb 2015 18:03:04 -0500 > From: Test User > > I have *one* copy (not in my path) in a directory in which I had assembled > all the files required by a small program that I wrote, including this DLL and > libstdc++. On XP, even though the DLL is in the PATH, it is not loaded when > emacs runs, according to Process Monitor. The problem is not with libgcc_s_dw2-1.dll, the problem is with some other DLL that loads it, typically zlib1.dll or some image library. From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 09 04:03:37 2015 Received: (at 19813) by debbugs.gnu.org; 9 Feb 2015 09:03:37 +0000 Received: from localhost ([127.0.0.1]:37866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKkFl-0007fv-6e for submit@debbugs.gnu.org; Mon, 09 Feb 2015 04:03:37 -0500 Received: from mail-la0-f49.google.com ([209.85.215.49]:34445) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKkFe-0007fd-Gx for 19813@debbugs.gnu.org; Mon, 09 Feb 2015 04:03:34 -0500 Received: by labms9 with SMTP id ms9so11999982lab.1 for <19813@debbugs.gnu.org>; Mon, 09 Feb 2015 01:03:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=QwitHGfpZxxBhgyMH4MlamSWwPfys4STKLv/x6NwwM4=; b=rqJM8H16vKf7dsirNz9pSeJkS8IpZgnzmi+uhEepCroDWZWzWJowwplma4a+SL2275 BTIIqHlcYNeJhdWgikxJfl6/wGOMV2hdcRMH07r9HuWi4w6DjMhG8AvAvFUpVobkR+ku TZecfzN/gPwRp5f/EoMdQTXpW8c3+7iaYo3eFR+pfmJCcijN0s0eX4pmZuTEEHn71FZX XMZkqihMeA9h3xcPiJOgtLpA9ukLeikKiWACsNegjR5uCV+E/brc3w2K7s9yMGBOe452 CgceGO2HVdWQ5gOfuP4zU9qRgfG4glVe5FegmnXgBfSDcVKli83Z+nt0yTwPkvaCRA9n IKjw== MIME-Version: 1.0 X-Received: by 10.112.62.135 with SMTP id y7mr9905522lbr.50.1423472604679; Mon, 09 Feb 2015 01:03:24 -0800 (PST) Received: by 10.25.40.9 with HTTP; Mon, 9 Feb 2015 01:03:24 -0800 (PST) In-Reply-To: <83lhk7ah0h.fsf@gnu.org> References: <834mqwbd61.fsf@gnu.org> <83vbjc9rgv.fsf@gnu.org> <83oap49lw4.fsf@gnu.org> <83lhk7ah0h.fsf@gnu.org> Date: Mon, 9 Feb 2015 04:03:24 -0500 Message-ID: Subject: Re: bug#19813: 24.4; emacs crashes on exit From: Test User To: 19813@debbugs.gnu.org Content-Type: multipart/alternative; boundary=001a11c3f7cef313f3050ea40a21 X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 19813 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.4 (/) --001a11c3f7cef313f3050ea40a21 Content-Type: text/plain; charset=UTF-8 On Sun, Feb 8, 2015 at 10:41 PM, Eli Zaretskii wrote: > > Date: Sun, 8 Feb 2015 18:03:04 -0500 > > From: Test User > > > > I have *one* copy (not in my path) in a directory in which I had > assembled > > all the files required by a small program that I wrote, including this > DLL and > > libstdc++. On XP, even though the DLL is in the PATH, it is not loaded > when > > emacs runs, according to Process Monitor. > > The problem is not with libgcc_s_dw2-1.dll, the problem is with some > other DLL that loads it, typically zlib1.dll or some image library. > I built emacs with -shared-libgcc in LDFLAGS and the problem went away. I have some questions about building emacs, but they will be in a post to the user list. Thanks. You can close the bug if you have not already done so. On my main system (where the problem occurs), there is no zlib1.dll in /mingw/bin. I built it myself, and it does *not* have a dependency on libgcc_s_dw2-1.dll. On my virtual machine (where I did not have the problem), there is a zlib1.dll supplied by MinGW, and it *does* depend on libgcc_s_dw2-1.dll. The only DLL loaded when emacs runs that depends on libgcc_s_dw2-1.dll is libharfbuzz-0.dll, which is not loaded with `emacs -Q'. For your information, other DLLs usually loaded but not with the -Q flag include (and are possibly not limited to): libcairo-2.dll libcroco*.dll libfontconfig-1.dll libfreetype-6.dll libffi*.dll libpango*.dll libgdk_pixbuf*.dll libglib-2*.dll libgio-2*.dll libgmodule-2*.dll libgobject-2*.dll libiconv*.dll libintl-8.dll liblzma-5.dll libpcre-1.dll libpcreposix-0.dll libpng*.dll librsvg*.dll libpixman*.dll and maybe a few others. --001a11c3f7cef313f3050ea40a21 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Sun, Feb 8, 2015 at 10:41 PM, Eli Zaretskii <eliz@gnu.org>= wrote:
> Date: Sun= , 8 Feb 2015 18:03:04 -0500
> From: Test User <testuser4= 48@gmail.com>
>
> I have *one* copy (not in my path) in a directory in = which I had assembled
> all the files required by a small program that I wrote, including this= DLL and
> libstdc++. On XP, even though the DLL is in the PATH, it is not loaded= when
> emacs runs, according to Process Monitor.

The problem is not with libgcc_s_dw2-1.dll, the problem is with some=
other DLL that loads it, typically zlib1.dll or some image library.

I built emacs with = -shared-libgcc in LDFLAGS and the problem went away.
I have some questions about building emacs, but they will be = in a post
to the user list.

Thanks. You can close the bug if you have not = already done so.

On my main system = (where the problem occurs), there is no zlib1.dll in
/mingw/bin. I built= it myself, and it does *not* have a dependency on libgcc_s_dw2-1.dll. On = my virtual machine (where I did not have the problem),
there is a zlib1.= dll supplied by MinGW, and it *does* depend on
libgcc_s_dw2-1.dll.
The only DLL loaded when emacs runs that= depends on libgcc_s_dw2-1.dll
is libha= rfbuzz-0.dll, which is not loaded with `emacs -Q'. For your information= ,
other DLLs usually loaded but not wit= h the -Q flag include (and are possibly
not limited to):

libcairo-2.dll
libcroc= o*.dll
libfontconfig-1.dll
libfreety= pe-6.dll
libffi*.dll
libpango*.dll
libgdk_= pixbuf*.dll
libglib-2*.dll
libgio-2*= .dll
libgmodule-2*.dll
libgobject-2*.dll
l= ibiconv*.dll
libintl-8.dll
liblzma-5.dll
l= ibpcre-1.dll
libpcreposix-0.dll
libp= ng*.dll
librsvg*.dll
libpixman*.dll
and ma= ybe a few others.

--001a11c3f7cef313f3050ea40a21-- From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 09 10:41:45 2015 Received: (at 19813-done) by debbugs.gnu.org; 9 Feb 2015 15:41:45 +0000 Received: from localhost ([127.0.0.1]:38411 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKqT3-0004RH-9F for submit@debbugs.gnu.org; Mon, 09 Feb 2015 10:41:45 -0500 Received: from mtaout25.012.net.il ([80.179.55.181]:57872) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKqT0-0004R0-VE for 19813-done@debbugs.gnu.org; Mon, 09 Feb 2015 10:41:44 -0500 Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NJI00400GOSGK00@mtaout25.012.net.il> for 19813-done@debbugs.gnu.org; Mon, 09 Feb 2015 17:36:30 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NJI00JXWGOUMF80@mtaout25.012.net.il>; Mon, 09 Feb 2015 17:36:30 +0200 (IST) Date: Mon, 09 Feb 2015 17:41:22 +0200 From: Eli Zaretskii Subject: Re: bug#19813: 24.4; emacs crashes on exit In-reply-to: X-012-Sender: halo1@inter.net.il To: Test User Message-id: <83iofb9jod.fsf@gnu.org> References: <834mqwbd61.fsf@gnu.org> <83vbjc9rgv.fsf@gnu.org> <83oap49lw4.fsf@gnu.org> <83lhk7ah0h.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 19813-done Cc: 19813-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii 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: 1.0 (+) > Date: Mon, 9 Feb 2015 04:03:24 -0500 > From: Test User > > The problem is not with libgcc_s_dw2-1.dll, the problem is with some > other DLL that loads it, typically zlib1.dll or some image library. > > I built emacs with -shared-libgcc in LDFLAGS and the problem went away. That is one solution, but it is not the best one, IMO. E.g., you cannot move this binary to another machine without also copying libgcc_s_dw2-1.dll with it. The best solution is to replace the DLL(s) you have that depend on libgcc_s_dw2-1.dll with DLLs that offer the same functionality, but do not depend on libgcc_s_dw2-1.dll. See below for a specific recommendation. > Thanks. You can close the bug if you have not already done so. Done. > On my main system (where the problem occurs), there is no zlib1.dll in > /mingw/bin. I built it myself, and it does *not* have a dependency on libgcc_s_dw2-1.dll. On my virtual machine (where I did not have the problem), > there is a zlib1.dll supplied by MinGW, and it *does* depend on > libgcc_s_dw2-1.dll. > > The only DLL loaded when emacs runs that depends on libgcc_s_dw2-1.dll > is libharfbuzz-0.dll, which is not loaded with `emacs -Q'. That figures: "emacs -Q" refrains from showing the splash-screen image, which causes Emacs to load a suitable image library. In your case, that library is librsvg for showing the SVG variant of the splash screen. And the librsvg DLLs you have include libharfbuzz-0.dll, which depends on libgcc_s_dw2-1.dll, and triggers the problem. In general, no MinGW DLLs distributed as binaries should depend on libgcc_s_dw2-1.dll, for several reasons: . Each end-user machine that has GCC installed will have this DLL on PATH, which creates a small "DLL hell" when you install other versions of that DLL, possibly from other GCC versions . Loading libgcc_s_dw2-1.dll by some other DLL (as opposed to by the main program itself) triggers these crashes (due to a known bug in the machinery that supports C++ exceptions between DLLs) . For the person who uploads the precompiled binaries of the DLLs, the dependency on libgcc_s_dw2-1.dll is a terrible PITA, because GPL requires to provide its sources, i.e. the entire 80-MB source tarball of the full GCC package You can find DLLs that are never dependent on libgcc_s_dw2-1.dll here: http://sourceforge.net/projects/ezwinports/files/?source=navbar That collection includes librsvg, zlib, and all the other libraries required by Emacs. (Btw, the librsvg build there is much smaller than the one you use, because it excludes every feature not useful on Windows, like Fontconfig, Freetype, and Harfbuzz.) From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 09 11:29:13 2015 Received: (at 19813-done) by debbugs.gnu.org; 9 Feb 2015 16:29:13 +0000 Received: from localhost ([127.0.0.1]:38450 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKrCy-0008N5-RY for submit@debbugs.gnu.org; Mon, 09 Feb 2015 11:29:13 -0500 Received: from mail-lb0-f177.google.com ([209.85.217.177]:44047) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKrCw-0008Mr-A3 for 19813-done@debbugs.gnu.org; Mon, 09 Feb 2015 11:29:11 -0500 Received: by mail-lb0-f177.google.com with SMTP id z11so3684949lbi.8 for <19813-done@debbugs.gnu.org>; Mon, 09 Feb 2015 08:29:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=gV82wLfQjS2CIDz3Vq4Nh/W6m70etpY3OzVVCkW7iAM=; b=fGocihloBObM40j48pVD3KiBdcr/D2lIijI7hseSZMjoJPBQChqFLp7rZFiWKGDVPJ 1fhJsuvkdn/WT/X/IXF3VpmjxHWYh27s7GqPNtdXRim2gnKRjPs5F3e2bagWfJJVcHq6 xz5Q00aeJ9Ts+D8mrc397sC9lWexv6K03/VDXRhp/jJVHXW6ttFXhIrdUmGEaAbkfHqU 6xVZ1X2kgNOYI/pfJiOqCj4iDFUiv8mXSThFlgQKD5Jbo/eih3a7efPh3sOlZXO1VS16 kdB2T6IxSGO/34+iGVQyCyc+Sq9+vnvK6Jh5CZXkipL2w6TtCEG2WOY3azudA35Zn6Et E0aA== MIME-Version: 1.0 X-Received: by 10.112.132.67 with SMTP id os3mr18290017lbb.90.1423499344386; Mon, 09 Feb 2015 08:29:04 -0800 (PST) Received: by 10.25.40.9 with HTTP; Mon, 9 Feb 2015 08:29:04 -0800 (PST) In-Reply-To: <83iofb9jod.fsf@gnu.org> References: <834mqwbd61.fsf@gnu.org> <83vbjc9rgv.fsf@gnu.org> <83oap49lw4.fsf@gnu.org> <83lhk7ah0h.fsf@gnu.org> <83iofb9jod.fsf@gnu.org> Date: Mon, 9 Feb 2015 11:29:04 -0500 Message-ID: Subject: Re: bug#19813: 24.4; emacs crashes on exit From: Test User To: Eli Zaretskii Content-Type: multipart/alternative; boundary=047d7b3a8192c29f47050eaa44ec X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 19813-done Cc: 19813-done@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.4 (/) --047d7b3a8192c29f47050eaa44ec Content-Type: text/plain; charset=UTF-8 On Mon, Feb 9, 2015 at 10:41 AM, Eli Zaretskii wrote: > > Date: Mon, 9 Feb 2015 04:03:24 -0500 > > From: Test User > > > > The problem is not with libgcc_s_dw2-1.dll, the problem is with some > > other DLL that loads it, typically zlib1.dll or some image library. > > > > I built emacs with -shared-libgcc in LDFLAGS and the problem went away. > > That is one solution, but it is not the best one, IMO. E.g., you > cannot move this binary to another machine without also copying > libgcc_s_dw2-1.dll with it. True. I mentioned in an earlier message that I had another copy of shared libgcc because I needed to take a program that I had written to another PC. I don't see myself trying to take emacs with me, but your point is taken. > The best solution is to replace the DLL(s) you have that depend on > libgcc_s_dw2-1.dll with DLLs that offer the same functionality, but do > not depend on libgcc_s_dw2-1.dll. See below for a specific > recommendation. > > > In general, no MinGW DLLs distributed as binaries should depend on > libgcc_s_dw2-1.dll, for several reasons: > Does this simply mean that I should always build my libraries and programs with -static-libgcc? Would that be in conflict with the issues discussed in https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/Link-Options.html#Link-Options? (See -shared-libgcc). Or maybe I need to read the code to know when I should build with -static-libgcc and when I should accept the default? > > You can find DLLs that are never dependent on libgcc_s_dw2-1.dll here: > > http://sourceforge.net/projects/ezwinports/files/?source=navbar > > That collection includes librsvg, zlib, and all the other libraries > required by Emacs. (Btw, the librsvg build there is much smaller than > the one you use, because it excludes every feature not useful on > Windows, like Fontconfig, Freetype, and Harfbuzz.) > It is impossible for me to know when a feature is "useful on Windows" or not, so whenever I build software that was not born on Windows, I always try to make it use as many of its optional dependencies as possible. Now that I know, in this case maybe I can --disable-harfbuzz ,etc., or build Harfbuzz with -static-libgcc. --047d7b3a8192c29f47050eaa44ec Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Mon, Feb 9, 2015 at 10:41 AM, Eli Zaretskii <eliz@gnu.org>= wrote:
> Date: Mon= , 9 Feb 2015 04:03:24 -0500
> From: Test User <testuser448@gmail.com>
>
>=C2=A0 =C2=A0 =C2=A0The problem is not with libgcc_s_dw2-1.dll, t= he problem is with some
>=C2=A0 =C2=A0 =C2=A0other DLL that loads it, typically zlib1.dll or som= e image library.
>
> I built emacs with -shared-libgcc in LDFLAGS and the problem went away= .

That is one solution, but it is not the best one, IMO.=C2=A0 E.g., y= ou
cannot move this binary to another machine without also copying
libgcc_s_dw2-1.dll with it.=C2=A0

True. I m= entioned in an earlier message that I had another copy of shared libgcc
=
because I needed to take a program that I had written to another= PC. I don't
see myself trying to take emacs with me, but your point= is taken.


The best solution is to replace the DLL(s) you have that depend on
libgcc_s_dw2-1.dll with DLLs that offer the same functionality, but do
not depend on libgcc_s_dw2-1.dll.=C2=A0 See below for a specific
recommendation.


<snip><= br>
=C2=A0

In general, no MinGW DLLs distributed as binaries should depend on
libgcc_s_dw2-1.dll, for several reasons:

<good reasons snipped>
=C2=A0
Does this= simply mean that I should always build my libraries and programs
with -= static-libgcc? Would that be in conflict with the issues discussed in
<= /div>https://gcc.gnu.org/onlinedocs/gcc-4.9.= 2/gcc/Link-Options.html#Link-Options?
(See -shared-libgcc= ). Or maybe I need to read the code to know when I should
build with -st= atic-libgcc and when I should accept the default?



You can find DLLs that are never dependent on libgcc_s_dw2-1.dll here:

=C2=A0 http://sourceforge.net/projects/ezwinports/fil= es/?source=3Dnavbar

That collection includes librsvg, zlib, and all the other libraries
required by Emacs.=C2=A0 (Btw, the librsvg build there is much smaller than=
the one you use, because it excludes every feature not useful on
Windows, like Fontconfig, Freetype, and Harfbuzz.)

It is impossible for me to know when a feature= is "useful on Windows"
or no= t, so whenever I build software that was not born on Windows, I always
<= /div>
try to make it use as many of its optional = dependencies as possible.
Now that I kn= ow, in this case maybe I can --disable-harfbuzz ,etc., or
build Harfbuzz with -static-libgcc.
--047d7b3a8192c29f47050eaa44ec-- From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 09 12:31:56 2015 Received: (at 19813) by debbugs.gnu.org; 9 Feb 2015 17:31:56 +0000 Received: from localhost ([127.0.0.1]:38512 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKsBf-0001WI-Nm for submit@debbugs.gnu.org; Mon, 09 Feb 2015 12:31:56 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:43499) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKsBc-0001W3-Ha for 19813@debbugs.gnu.org; Mon, 09 Feb 2015 12:31:53 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NJI00H00LTF9700@a-mtaout22.012.net.il> for 19813@debbugs.gnu.org; Mon, 09 Feb 2015 19:31:40 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NJI00GR7M0SV390@a-mtaout22.012.net.il>; Mon, 09 Feb 2015 19:31:40 +0200 (IST) Date: Mon, 09 Feb 2015 19:31:27 +0200 From: Eli Zaretskii Subject: Re: bug#19813: 24.4; emacs crashes on exit In-reply-to: X-012-Sender: halo1@inter.net.il To: Test User Message-id: <8361bb9ekw.fsf@gnu.org> References: <834mqwbd61.fsf@gnu.org> <83vbjc9rgv.fsf@gnu.org> <83oap49lw4.fsf@gnu.org> <83lhk7ah0h.fsf@gnu.org> <83iofb9jod.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 19813 Cc: 19813@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii 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: 1.0 (+) > Date: Mon, 9 Feb 2015 11:29:04 -0500 > From: Test User > Cc: 19813-done@debbugs.gnu.org > > In general, no MinGW DLLs distributed as binaries should depend on > libgcc_s_dw2-1.dll, for several reasons: > > > > > Does this simply mean that I should always build my libraries and programs > with -static-libgcc? Yes, sort of. Not every library needs that, so what I do is build it "as usual" first, then, if I discover it depends on libgcc_s_dw2-1.dll, I reconfigure and rebuild so that the link command includes -static-libgcc. > Would that be in conflict with the issues discussed in > https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/Link-Options.html#Link-Options? > (See -shared-libgcc). This is only an issue with C++ programs that throw and catch exceptions across shared libraries. If you only use these libraries with C programs, you will never have any problems. And even with C++ programs, since these libraries never throw any exceptions, I think you are safe. > http://sourceforge.net/projects/ezwinports/files/?source=navbar > > That collection includes librsvg, zlib, and all the other libraries > required by Emacs. (Btw, the librsvg build there is much smaller than > the one you use, because it excludes every feature not useful on > Windows, like Fontconfig, Freetype, and Harfbuzz.) > > It is impossible for me to know when a feature is "useful on Windows" > or not Of course, it's possible: the information about that is normally available in some README or INSTALL file in the package, and in the description of the 'configure' script options. How do you think I knew which features to configure and which not? The first thing I do when building a package is run "./configure --help" and read carefully the description of each option that turns some feature on or off. In some cases, that description is not detailed enough, so I need to look in the package documentation and/or sources to understand what it does, and in rare cases ask the maintainers. It's an effort, but it's an effort well spent. Without it, you won't even know whether some optional feature is supported on Windows or not, and might waste a lot of time trying to have it compile and link. > Now that I know, in this case maybe I can --disable-harfbuzz ,etc., or > build Harfbuzz with -static-libgcc. The main bloat comes from cairo. My notes indicate that I configured cairo like this: ./configure --prefix=... --disable-pthread --disable-fc --disable-ft and pixman like this: ./configure --prefix=... --disable-ssse3 and gdk-pixbuf like this: ./configure --prefix=... --without-libjpeg --without-libtiff --with-included-loaders=yes From unknown Tue Jun 24 05:12:33 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, 10 Mar 2015 11:24:03 +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