From unknown Wed Jun 25 05:39:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#19181: 24.4; 24.4.1 libgcc_s_dw2-1.dll crash on exit Resent-From: Bill Farmer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Nov 2014 16:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 19181 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 19181@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.141693351732569 (code B ref -1); Tue, 25 Nov 2014 16:39:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Nov 2014 16:38:37 +0000 Received: from localhost ([127.0.0.1]:45141 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtJ8N-0008TC-Tk for submit@debbugs.gnu.org; Tue, 25 Nov 2014 11:38:37 -0500 Received: from eggs.gnu.org ([208.118.235.92]:32782) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtDz1-0006cX-CU for submit@debbugs.gnu.org; Tue, 25 Nov 2014 06:08:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XtDyr-0001vL-0d for submit@debbugs.gnu.org; Tue, 25 Nov 2014 06:08:35 -0500 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,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36516) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtDyq-0001vG-T0 for submit@debbugs.gnu.org; Tue, 25 Nov 2014 06:08:24 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34452) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtDyi-0004VT-Gj for bug-gnu-emacs@gnu.org; Tue, 25 Nov 2014 06:08:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XtDya-0001pP-43 for bug-gnu-emacs@gnu.org; Tue, 25 Nov 2014 06:08:16 -0500 Received: from nm4-vm6.bullet.mail.ir2.yahoo.com ([212.82.96.104]:47923) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtDyZ-0001pI-Pj for bug-gnu-emacs@gnu.org; Tue, 25 Nov 2014 06:08:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1416913686; bh=dsJlRkLqR9m2WVVv4fr6Efp/Hv7NmUTtfs16NSsKTpk=; h=Date:From:To:Subject:From:Subject; b=ib22gp8eCJ5uT3plA+DSMe/bK5E91qkPDDh16RwpsImlsOllYhF9IY782v2hWIqEm/hHERCO9goM4pHPW/VLA++R/uyN3qQya2UXSIOmzndQfcvx1c610PBt6qke9sgwo6Clk7MGRxBqwTJTxSzEkoFrqyVOcgdza0IrhMQkU4U3K5YJgofrvubLVWDOCXJ6yFPFeAX37x+K92RnwXTJKPld/C90UpUKzWuGTTWKi6USZgTEAdJfOY/NjTGpdLLdXdZJVtQD+EbO1kchIbMK5/AcwL4y0/0r42FB+pCPfo7RLaj5WRUfmNfJPdz0fM7DdxLJo+SheA4Uh+yGtP0krQ== DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.co.uk; b=RuO1wJIkk4uYGI4kSU9dkVIpgH8jBl8StX65jzu60jbiysU/P4lTDr59ua7JHD9eZK/yPa/Vq4n1gaWyAOqLKQ4b25A4WJ/bKQY5D/s9teMHeR6QJggo9tSkEQ3li1KyG4Bc5QOgF2NYdDBiAYjtYSHXEOOvEspTOXknnfG5Wez0i/1v/t6coO9/VcPQr/pQMSgxWbM3Ap9TFxOFFob0HncbMPTJnaRbSZggAXsVjEUe4nJtt3dZVBNAtiBYBfzs0LdNL2SrO45TB8c4+FPkGAyrnWrCgNrv/Cmk/P1EGlHdHfSc47RNIhVK99TsxYmJw6/xjaJApfQVDbyFywz1Qw==; Received: from [212.82.98.124] by nm4.bullet.mail.ir2.yahoo.com with NNFMP; 25 Nov 2014 11:08:06 -0000 Received: from [46.228.39.88] by tm17.bullet.mail.ir2.yahoo.com with NNFMP; 25 Nov 2014 11:08:06 -0000 Received: from [127.0.0.1] by smtp125.mail.ir2.yahoo.com with NNFMP; 25 Nov 2014 11:08:06 -0000 X-Yahoo-Newman-Id: 559448.48790.bm@smtp125.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 3wNaBaAVM1lMPWGFFVMpMhcmJsn2dnEMLPHLGWKIC_mZ5vy sJj3tU1SODoM4gP5UXREGnKzoE7EWrWxtnC.SvSsy5P_fUdK2ELfrjGYaxgs bqfGGbtOqRcCpP3wkHr4geobhjgsoXBmU2_8Y21Pu1gFXCdVlOq0GcTawTO6 ZwH3MudKb_CvpWmhllh_PE2MZpzMVDBqBtKARejX8FoHuJdTooaHYJDaSSKj Q4KicTYe40U53RLz_HGp0GHZf9HQXdc9ScA0IAw3izlBy3F2BLn_.1cgK29u aQQIxqK6j00rL_wK8GkQc8UuMgmOcZ5YSGR_7QDDddtwCxpKW_j1hu0ZP7Tb 1OkHdQwEDbjuMFeiz2NaXgAaq0AGXM3MMaWJlm3vJgdnUISe52UxJ2tGTs8e QqMM3vZTBEEff8YxisYDGbirNUI7euEhzmX3FJJ0yIg7rlmumnpvqaqOg7GB 4_6yBG99OCavAiQJifhmZluX5bs4dW4AWN7ffTndiaqF6nZMlJglXE8cFwx1 kuaFCQ4makImNXm6eKaTOZFlP_bbcWWdL4KD7z7wuTGM- X-Yahoo-SMTP: ee.cljuswBBg4qLvZiTB75urubCs2umPc2oS Message-ID: <54746314.6010403@yahoo.co.uk> Date: Tue, 25 Nov 2014 11:08:04 +0000 From: Bill Farmer User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------010907020309030303060605" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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: -5.0 (-----) X-Mailman-Approved-At: Tue, 25 Nov 2014 11:38:34 -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: -5.0 (-----) This is a multi-part message in MIME format. --------------010907020309030303060605 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi In the file ~/etc/PROBLEMS is a mention of potential problems with libgcc_s_dw2-1.dll. I have an installation of MinGW on this windows machine which is in my PATH, as do many other emacs users, I would imagine. If I rename libgcc_s_dw2-1.dll in my MinGW installation, emacs works fine and does not crash on exit. However, this breaks MinGW. So I checked for mentions of libgcc in the emacs executables: Bill@CYNTHIA /d/Images/emacs/emacs-24.4 $ find . -name "*.dll" -exec strings -f {} \; | grep libgcc ./bin/libXpm.dll: libgcc_s_dw2-1.dll Bill@CYNTHIA /d/Images/emacs/emacs-24.4 $ find . -name "*.exe" -exec strings -f {} \; | grep libgcc ./bin/addpm.exe: libgcc_s_dw2-1.dll ./bin/ctags.exe: libgcc_s_dw2-1.dll ./bin/ebrowse.exe: libgcc_s_dw2-1.dll ./bin/emacs-24.4.exe: libgcc_s_dw2-1.dll ./bin/emacs.exe: libgcc_s_dw2-1.dll ./bin/emacsclient.exe: libgcc_s_dw2-1.dll ./bin/emacsclientw.exe: libgcc_s_dw2-1.dll ./bin/etags.exe: libgcc_s_dw2-1.dll ./bin/runemacs.exe: libgcc_s_dw2-1.dll ./libexec/emacs/24.4/i686-pc-mingw32/cmdproxy.exe: libgcc_s_dw2-1.dll ./libexec/emacs/24.4/i686-pc-mingw32/ddeclient.exe: libgcc_s_dw2-1.dll ./libexec/emacs/24.4/i686-pc-mingw32/hexl.exe: libgcc_s_dw2-1.dll ./libexec/emacs/24.4/i686-pc-mingw32/movemail.exe: libgcc_s_dw2-1.dll ./libexec/emacs/24.4/i686-pc-mingw32/profile.exe: libgcc_s_dw2-1.dll ./libexec/emacs/24.4/i686-pc-mingw32/update-game-score.exe: libgcc_s_dw2-1.dll Every executable file in the emacs version 24.4 windows installation has a reference to this dll. I don't think this problem is fixable without building my own version from source. I use the binary version to avoid this. I will have to revert to the previous version intil someone does a build without this problem. Regards Bill In GNU Emacs 24.4.1 (i686-pc-mingw32) of 2014-10-24 on LEG570 Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --prefix=/c/usr' Important settings: value of $LANG: ENG locale-coding-system: cp1252 Major mode: Fundamental Minor modes in effect: delete-selection-mode: t show-paren-mode: t cua-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-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 column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o r Recent messages: Loading cua-base...done Loading paren...done For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... [2 times] Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml 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 help-mode easymenu saveplace delsel paren cua-base cus-start cus-load 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 85268 6784) (symbols 32 18620 0) (miscs 32 81 107) (strings 16 12741 3702) (string-bytes 1 316673) (vectors 8 9842) (vector-slots 4 389888 5490) (floats 8 64 490) (intervals 28 256 41) (buffers 508 14)) --------------010907020309030303060605 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit Hi

In the file ~/etc/PROBLEMS is a mention of potential problems with
libgcc_s_dw2-1.dll. I have an installation of MinGW on this windows
machine which is in my PATH, as do many other emacs users, I would
imagine. If I rename libgcc_s_dw2-1.dll in my MinGW installation, emacs
works fine and does not crash on exit. However, this breaks MinGW. So I
checked for mentions of libgcc in the emacs executables:

Bill@CYNTHIA /d/Images/emacs/emacs-24.4
$ find . -name "*.dll" -exec strings -f {} \; | grep libgcc
./bin/libXpm.dll: libgcc_s_dw2-1.dll

Bill@CYNTHIA /d/Images/emacs/emacs-24.4
$ find . -name "*.exe" -exec strings -f {} \; | grep libgcc
./bin/addpm.exe: libgcc_s_dw2-1.dll
./bin/ctags.exe: libgcc_s_dw2-1.dll
./bin/ebrowse.exe: libgcc_s_dw2-1.dll
./bin/emacs-24.4.exe: libgcc_s_dw2-1.dll
./bin/emacs.exe: libgcc_s_dw2-1.dll
./bin/emacsclient.exe: libgcc_s_dw2-1.dll
./bin/emacsclientw.exe: libgcc_s_dw2-1.dll
./bin/etags.exe: libgcc_s_dw2-1.dll
./bin/runemacs.exe: libgcc_s_dw2-1.dll
./libexec/emacs/24.4/i686-pc-mingw32/cmdproxy.exe: libgcc_s_dw2-1.dll
./libexec/emacs/24.4/i686-pc-mingw32/ddeclient.exe: libgcc_s_dw2-1.dll
./libexec/emacs/24.4/i686-pc-mingw32/hexl.exe: libgcc_s_dw2-1.dll
./libexec/emacs/24.4/i686-pc-mingw32/movemail.exe: libgcc_s_dw2-1.dll
./libexec/emacs/24.4/i686-pc-mingw32/profile.exe: libgcc_s_dw2-1.dll
./libexec/emacs/24.4/i686-pc-mingw32/update-game-score.exe: libgcc_s_dw2-1.dll

Every executable file in the emacs version 24.4 windows installation has
a reference to this dll. I don't think this problem is fixable without
building my own version from source. I use the binary version to avoid
this. I will have to revert to the previous version intil someone does a
build without this problem.

Regards
Bill

In GNU Emacs 24.4.1 (i686-pc-mingw32)
 of 2014-10-24 on LEG570
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/usr'

Important settings:
  value of $LANG: ENG
  locale-coding-system: cp1252

Major mode: Fundamental

Minor modes in effect:
  delete-selection-mode: t
  show-paren-mode: t
  cua-mode: t
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-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
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <menu-bar> <help-menu> <about-emacs>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> M-x
r e p <tab> o <tab> r <tab> <return>

Recent messages:
Loading cua-base...done
Loading paren...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list... [2 times]

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
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 help-mode easymenu saveplace delsel paren
cua-base cus-start cus-load 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 85268 6784)
 (symbols 32 18620 0)
 (miscs 32 81 107)
 (strings 16 12741 3702)
 (string-bytes 1 316673)
 (vectors 8 9842)
 (vector-slots 4 389888 5490)
 (floats 8 64 490)
 (intervals 28 256 41)
 (buffers 508 14))

--------------010907020309030303060605-- From unknown Wed Jun 25 05:39:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#19181: 24.4; 24.4.1 libgcc_s_dw2-1.dll crash on exit Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Nov 2014 17:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19181 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Bill Farmer , Dani Moncayo Cc: 19181@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 19181-submit@debbugs.gnu.org id=B19181.14169364025277 (code B ref 19181); Tue, 25 Nov 2014 17:27:02 +0000 Received: (at 19181) by debbugs.gnu.org; 25 Nov 2014 17:26:42 +0000 Received: from localhost ([127.0.0.1]:45192 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtJsv-0001N3-Pn for submit@debbugs.gnu.org; Tue, 25 Nov 2014 12:26:42 -0500 Received: from mtaout25.012.net.il ([80.179.55.181]:50686) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtJst-0001Mt-44 for 19181@debbugs.gnu.org; Tue, 25 Nov 2014 12:26:40 -0500 Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NFL00G00ULGYB00@mtaout25.012.net.il> for 19181@debbugs.gnu.org; Tue, 25 Nov 2014 19:22:16 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NFL007U1UX4ON90@mtaout25.012.net.il>; Tue, 25 Nov 2014 19:22:16 +0200 (IST) Date: Tue, 25 Nov 2014 19:26:51 +0200 From: Eli Zaretskii In-reply-to: <54746314.6010403@yahoo.co.uk> X-012-Sender: halo1@inter.net.il Message-id: <83fvd7p4x0.fsf@gnu.org> References: <54746314.6010403@yahoo.co.uk> X-Spam-Score: 1.6 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > Date: Tue, 25 Nov 2014 11:08:04 +0000 > From: Bill Farmer > > In the file ~/etc/PROBLEMS is a mention of potential problems with > libgcc_s_dw2-1.dll. Do you have a problem that resembles what etc/PROBLEMS describes? If so, please describe your problem in detail here. In particular, please tell which optional DLLs do you have installed that depend on libgcc_s_dw2-1.dll (how to check that is described below). [...] Content analysis details: (1.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.6 URIBL_SBL Contains an URL's NS IP listed in the SBL blocklist [URIs: dependencywalker.com] 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: 1.6 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > Date: Tue, 25 Nov 2014 11:08:04 +0000 > From: Bill Farmer > > In the file ~/etc/PROBLEMS is a mention of potential problems with > libgcc_s_dw2-1.dll. Do you have a problem that resembles what etc/PROBLEMS describes? If so, please describe your problem in detail here. In particular, please tell which optional DLLs do you have installed that depend on libgcc_s_dw2-1.dll (how to check that is described below). [...] Content analysis details: (1.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.6 URIBL_SBL Contains an URL's NS IP listed in the SBL blocklist [URIs: dependencywalker.com] > Date: Tue, 25 Nov 2014 11:08:04 +0000 > From: Bill Farmer > > In the file ~/etc/PROBLEMS is a mention of potential problems with > libgcc_s_dw2-1.dll. Do you have a problem that resembles what etc/PROBLEMS describes? If so, please describe your problem in detail here. In particular, please tell which optional DLLs do you have installed that depend on libgcc_s_dw2-1.dll (how to check that is described below). > I have an installation of MinGW on this windows > machine which is in my PATH, as do many other emacs users, I would > imagine. If I rename libgcc_s_dw2-1.dll in my MinGW installation, emacs > works fine and does not crash on exit. However, this breaks MinGW. You are not supposed to rename that DLL to solve the problem. Did you try the solution suggested by etc/PROBLEMS? > So I checked for mentions of libgcc in the emacs executables: > > Bill@CYNTHIA /d/Images/emacs/emacs-24.4 > $ find . -name "*.dll" -exec strings -f {} \; | grep libgcc > ./bin/libXpm.dll: libgcc_s_dw2-1.dll > > Bill@CYNTHIA /d/Images/emacs/emacs-24.4 > $ find . -name "*.exe" -exec strings -f {} \; | grep libgcc > ./bin/addpm.exe: libgcc_s_dw2-1.dll > ./bin/ctags.exe: libgcc_s_dw2-1.dll > ./bin/ebrowse.exe: libgcc_s_dw2-1.dll > ./bin/emacs-24.4.exe: libgcc_s_dw2-1.dll > ./bin/emacs.exe: libgcc_s_dw2-1.dll > ./bin/emacsclient.exe: libgcc_s_dw2-1.dll > ./bin/emacsclientw.exe: libgcc_s_dw2-1.dll > ./bin/etags.exe: libgcc_s_dw2-1.dll > ./bin/runemacs.exe: libgcc_s_dw2-1.dll > ./libexec/emacs/24.4/i686-pc-mingw32/cmdproxy.exe: libgcc_s_dw2-1.dll > ./libexec/emacs/24.4/i686-pc-mingw32/ddeclient.exe: libgcc_s_dw2-1.dll > ./libexec/emacs/24.4/i686-pc-mingw32/hexl.exe: libgcc_s_dw2-1.dll > ./libexec/emacs/24.4/i686-pc-mingw32/movemail.exe: libgcc_s_dw2-1.dll > ./libexec/emacs/24.4/i686-pc-mingw32/profile.exe: libgcc_s_dw2-1.dll > ./libexec/emacs/24.4/i686-pc-mingw32/update-game-score.exe: libgcc_s_dw2-1.dll > > Every executable file in the emacs version 24.4 windows installation has > a reference to this dll. The fact that 'strings' finds the name of the DLL in the executable doesn't mean the executable depends on that DLL. It most probably means that the debug info refers to it. To check whether a .exe program or a DLL actually depends on libgcc_s_dw2-1.dll, use this command: objdump -x FOO.exe | grep "DLL Name:" This will show all the DLLs that FOO.exe depends on. Alternatively, use the Dependency Walker (http://www.dependencywalker.com/). > I don't think this problem is fixable without > building my own version from source. I use the binary version to avoid > this. Please describe the problem in detail, I don't think we have enough information yet to understand what is going on. Meanwhile, Dani, could you please check which of the binaries in your upload, if any, depends on libgcc_s_dw2-1.dll? Thanks. From unknown Wed Jun 25 05:39:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#19181: 24.4; 24.4.1 libgcc_s_dw2-1.dll crash on exit Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Nov 2014 18:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19181 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Bill Farmer Cc: 19181@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 19181-submit@debbugs.gnu.org id=B19181.141694192316532 (code B ref 19181); Tue, 25 Nov 2014 18:59:01 +0000 Received: (at 19181) by debbugs.gnu.org; 25 Nov 2014 18:58:43 +0000 Received: from localhost ([127.0.0.1]:45250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtLJy-0004IZ-HJ for submit@debbugs.gnu.org; Tue, 25 Nov 2014 13:58:42 -0500 Received: from mtaout28.012.net.il ([80.179.55.184]:53511) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtLJv-0004IL-H5 for 19181@debbugs.gnu.org; Tue, 25 Nov 2014 13:58:41 -0500 Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0NFL00P00YVX8300@mtaout28.012.net.il> for 19181@debbugs.gnu.org; Tue, 25 Nov 2014 20:56:06 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NFL00JJ5Z9I3S70@mtaout28.012.net.il>; Tue, 25 Nov 2014 20:56:06 +0200 (IST) Date: Tue, 25 Nov 2014 20:58:51 +0200 From: Eli Zaretskii In-reply-to: <5474C91A.3010007@yahoo.co.uk> X-012-Sender: halo1@inter.net.il Message-id: <83bnnvp0no.fsf@gnu.org> References: <54746314.6010403@yahoo.co.uk> <83fvd7p4x0.fsf@gnu.org> <5474C91A.3010007@yahoo.co.uk> X-Spam-Score: 2.3 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: [Please keep the bug address on the CC list.] > Date: Tue, 25 Nov 2014 18:23:22 +0000 > From: Bill Farmer > > The problem I have with emacs is that it crashes on exit if a file has been > visited. If emacs is quit immediately with no other actions other than quit, it > does not crash. This is a virgin installation of emacs with no additional dlls, > I had not even got around to moving my additional files in site-lisp. The only > dll in the installation is libXpm.dll. This problem is similar to that > mentioned in etc/PROBLEMS. I can't fix the problem as described here because I > have not added any additional dlls. [...] Content analysis details: (2.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.184 listed in list.dnswl.org] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 1.3 URI_HEX URI: URI hostname has long hexadecimal sequence 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: 2.3 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: [Please keep the bug address on the CC list.] > Date: Tue, 25 Nov 2014 18:23:22 +0000 > From: Bill Farmer > > The problem I have with emacs is that it crashes on exit if a file has been > visited. If emacs is quit immediately with no other actions other than quit, it > does not crash. This is a virgin installation of emacs with no additional dlls, > I had not even got around to moving my additional files in site-lisp. The only > dll in the installation is libXpm.dll. This problem is similar to that > mentioned in etc/PROBLEMS. I can't fix the problem as described here because I > have not added any additional dlls. [...] Content analysis details: (2.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.184 listed in list.dnswl.org] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 1.3 URI_HEX URI: URI hostname has long hexadecimal sequence [Please keep the bug address on the CC list.] > Date: Tue, 25 Nov 2014 18:23:22 +0000 > From: Bill Farmer > > The problem I have with emacs is that it crashes on exit if a file has been > visited. If emacs is quit immediately with no other actions other than quit, it > does not crash. This is a virgin installation of emacs with no additional dlls, > I had not even got around to moving my additional files in site-lisp. The only > dll in the installation is libXpm.dll. This problem is similar to that > mentioned in etc/PROBLEMS. I can't fix the problem as described here because I > have not added any additional dlls. Could it be that you have some of the additional DLLs somewhere on PATH? Can you see which DLLs Emacs loads after you visit a file? One way of doing that is to use the Process Explorer program from SysInternals. > The windows error report says: > > 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: > 0x525049a5 > Exception code: 0x40000015 > Fault offset: 0x000148fe > Faulting process id: 0xeac > Faulting application start time: 0x01d008d7f7fa4d51 > Faulting application path: D:\Images\emacs\emacs-24.4\bin\emacs.exe > Faulting module path: C:\MinGW\bin\libgcc_s_dw2-1.dll Which version of MinGW GCC do you have installed? > > This is very similar to the problem reported here: > http://emacs.1067599.n5.nabble.com/Emacs-crashes-when-I-try-to-quit-td76908.html. > > I have checked using objdump, none of the executable files in emacs have a > dependency on libgcc_s_dw2-1.dll. This is as expected, as emacs works fine if I > rename this file in MinGW. I also tried renaming libXpm.dll in the emacs > installation. This made no difference, it still crashes on exit. My suspicion is that Emacs loads some other DLL which depends on libgcc_s_dw2-1.dll. Looking at the DLLs loaded into the Emacs process after you visit a file might shed some light on this. > The problem would appear to be that emacs loads libgcc_s_dw2-1.dll, if a file > is visited, and if libgcc_s_dw2-1.dll can be found, and this causes a crash on > exit as per etc/PROBLEMS. But since you say that Emacs works OK without libgcc_s_dw2-1.dll, what happens is probably a bit more complicated. From unknown Wed Jun 25 05:39:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#19181: 24.4; 24.4.1 libgcc_s_dw2-1.dll crash on exit Resent-From: Dani Moncayo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Nov 2014 19:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19181 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 19181@debbugs.gnu.org, Bill Farmer Received: via spool by 19181-submit@debbugs.gnu.org id=B19181.141694218422165 (code B ref 19181); Tue, 25 Nov 2014 19:04:01 +0000 Received: (at 19181) by debbugs.gnu.org; 25 Nov 2014 19:03:04 +0000 Received: from localhost ([127.0.0.1]:45254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtLOB-0005lR-CC for submit@debbugs.gnu.org; Tue, 25 Nov 2014 14:03:03 -0500 Received: from mail-oi0-f43.google.com ([209.85.218.43]:41414) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtLO8-0005kw-Us for 19181@debbugs.gnu.org; Tue, 25 Nov 2014 14:03:01 -0500 Received: by mail-oi0-f43.google.com with SMTP id a3so890286oib.2 for <19181@debbugs.gnu.org>; Tue, 25 Nov 2014 11:03:00 -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=Le2lKZZxIpkWTCrQgjZ36Z35MQB+air9O8cKJuFhHoE=; b=Oa5C4eB5lPbiFaDySJu5ZY+ORedwenM4lzfgDp0s3lyvF/ZbHLktQUyOMxK7Wjcf9R t18oIuAtyyJ7YEJU7A2qCMuIDxuV5jWUEXF3wkIOxpk7RqwX7DDxv/K67/6+lJimX1C9 VFr/ibRLVk2CwVlwtSEnIF35wjG4vCTg3bJ9YQPebHGfmx341RgSQNKeTSJGB8mP8vNp WXR619VZiBpnDUzyteiC8ivLHjBSep8TOhkf+jcgWpS+mHdYwmSB0tv8vdigXsKcNf59 n5QZkhBH701PuORzhfnnED+P1B7RsA3680Bd+GBr4lnyxxuysZGNDH0JXPPV95AhHL7h abSQ== MIME-Version: 1.0 X-Received: by 10.182.56.163 with SMTP id b3mr15907590obq.54.1416942180313; Tue, 25 Nov 2014 11:03:00 -0800 (PST) Received: by 10.60.47.84 with HTTP; Tue, 25 Nov 2014 11:03:00 -0800 (PST) In-Reply-To: <83fvd7p4x0.fsf@gnu.org> References: <54746314.6010403@yahoo.co.uk> <83fvd7p4x0.fsf@gnu.org> Date: Tue, 25 Nov 2014 20:03:00 +0100 Message-ID: From: Dani Moncayo Content-Type: multipart/mixed; boundary=001a11c2d9dc5343b50508b38f84 X-Spam-Score: -0.7 (/) 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.7 (/) --001a11c2d9dc5343b50508b38f84 Content-Type: text/plain; charset=UTF-8 > To check whether a .exe program or a DLL actually depends on > libgcc_s_dw2-1.dll, use this command: > > objdump -x FOO.exe | grep "DLL Name:" > > This will show all the DLLs that FOO.exe depends on. > Meanwhile, Dani, could you please check which of the binaries in your > upload, if any, depends on libgcc_s_dw2-1.dll? I've followed your advice above, and I don't see any dependency on 'libgcc_s_dw2-1.dll'. FWIW, I'm attaching a report of the DLL dependencies in the Emacs 24.4 binary, made with: $ find . -type f \( -name "*.dll" -o -name "*.exe" \) -print -exec bash -c "objdump -x {} | grep -i 'dll name:'" \; -- Dani Moncayo --001a11c2d9dc5343b50508b38f84 Content-Type: text/plain; charset=US-ASCII; name="report.txt" Content-Disposition: attachment; filename="report.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_i2xmsp9a0 Li9iaW4vYWRkcG0uZXhlCglETEwgTmFtZTogQURWQVBJMzIuRExMCglETEwgTmFtZTogS0VSTkVM MzIuZGxsCglETEwgTmFtZTogbXN2Y3J0LmRsbAoJRExMIE5hbWU6IG1zdmNydC5kbGwKCURMTCBO YW1lOiBPTEUzMi5kbGwKCURMTCBOYW1lOiBTSEVMTDMyLkRMTAoJRExMIE5hbWU6IFVTRVIzMi5k bGwKLi9iaW4vY3RhZ3MuZXhlCglETEwgTmFtZTogQURWQVBJMzIuRExMCglETEwgTmFtZTogS0VS TkVMMzIuZGxsCglETEwgTmFtZTogbXN2Y3J0LmRsbAoJRExMIE5hbWU6IG1zdmNydC5kbGwKLi9i aW4vZWJyb3dzZS5leGUKCURMTCBOYW1lOiBBRFZBUEkzMi5ETEwKCURMTCBOYW1lOiBLRVJORUwz Mi5kbGwKCURMTCBOYW1lOiBtc3ZjcnQuZGxsCglETEwgTmFtZTogbXN2Y3J0LmRsbAouL2Jpbi9l bWFjcy0yNC40LmV4ZQoJRExMIE5hbWU6IEFEVkFQSTMyLkRMTAoJRExMIE5hbWU6IENPTUNUTDMy LkRMTAoJRExMIE5hbWU6IENPTURMRzMyLkRMTAoJRExMIE5hbWU6IEdESTMyLmRsbAoJRExMIE5h bWU6IEtFUk5FTDMyLmRsbAoJRExMIE5hbWU6IE1QUi5ETEwKCURMTCBOYW1lOiBtc3ZjcnQuZGxs CglETEwgTmFtZTogT0xFMzIuZGxsCglETEwgTmFtZTogU0hFTEwzMi5ETEwKCURMTCBOYW1lOiBV U0VSMzIuZGxsCglETEwgTmFtZTogVVNQMTAuRExMCglETEwgTmFtZTogV0lOTU0uRExMCglETEwg TmFtZTogV0lOU1BPT0wuRFJWCi4vYmluL2VtYWNzLmV4ZQoJRExMIE5hbWU6IEFEVkFQSTMyLkRM TAoJRExMIE5hbWU6IENPTUNUTDMyLkRMTAoJRExMIE5hbWU6IENPTURMRzMyLkRMTAoJRExMIE5h bWU6IEdESTMyLmRsbAoJRExMIE5hbWU6IEtFUk5FTDMyLmRsbAoJRExMIE5hbWU6IE1QUi5ETEwK CURMTCBOYW1lOiBtc3ZjcnQuZGxsCglETEwgTmFtZTogT0xFMzIuZGxsCglETEwgTmFtZTogU0hF TEwzMi5ETEwKCURMTCBOYW1lOiBVU0VSMzIuZGxsCglETEwgTmFtZTogVVNQMTAuRExMCglETEwg TmFtZTogV0lOTU0uRExMCglETEwgTmFtZTogV0lOU1BPT0wuRFJWCi4vYmluL2VtYWNzY2xpZW50 LmV4ZQoJRExMIE5hbWU6IEFEVkFQSTMyLkRMTAoJRExMIE5hbWU6IENPTUNUTDMyLkRMTAoJRExM IE5hbWU6IEtFUk5FTDMyLmRsbAoJRExMIE5hbWU6IG1zdmNydC5kbGwKCURMTCBOYW1lOiBtc3Zj cnQuZGxsCglETEwgTmFtZTogVVNFUjMyLmRsbAoJRExMIE5hbWU6IFdTT0NLMzIuRExMCi4vYmlu L2VtYWNzY2xpZW50dy5leGUKCURMTCBOYW1lOiBBRFZBUEkzMi5ETEwKCURMTCBOYW1lOiBDT01D VEwzMi5ETEwKCURMTCBOYW1lOiBLRVJORUwzMi5kbGwKCURMTCBOYW1lOiBtc3ZjcnQuZGxsCglE TEwgTmFtZTogbXN2Y3J0LmRsbAoJRExMIE5hbWU6IFVTRVIzMi5kbGwKCURMTCBOYW1lOiBXU09D SzMyLkRMTAouL2Jpbi9ldGFncy5leGUKCURMTCBOYW1lOiBBRFZBUEkzMi5ETEwKCURMTCBOYW1l OiBLRVJORUwzMi5kbGwKCURMTCBOYW1lOiBtc3ZjcnQuZGxsCglETEwgTmFtZTogbXN2Y3J0LmRs bAouL2Jpbi9saWJYcG0uZGxsCglETEwgTmFtZTogY3J0ZGxsLmRsbAoJRExMIE5hbWU6IEdESTMy LmRsbAoJRExMIE5hbWU6IEtFUk5FTDMyLmRsbAoJRExMIE5hbWU6IG1zdmNydC5kbGwKLi9iaW4v cnVuZW1hY3MuZXhlCglETEwgTmFtZTogS0VSTkVMMzIuZGxsCglETEwgTmFtZTogbXN2Y3J0LmRs bAoJRExMIE5hbWU6IG1zdmNydC5kbGwKCURMTCBOYW1lOiBVU0VSMzIuZGxsCi4vbGliZXhlYy9l bWFjcy8yNC40L2k2ODYtcGMtbWluZ3czMi9jbWRwcm94eS5leGUKCURMTCBOYW1lOiBLRVJORUwz Mi5kbGwKCURMTCBOYW1lOiBtc3ZjcnQuZGxsCglETEwgTmFtZTogbXN2Y3J0LmRsbAoJRExMIE5h bWU6IFVTRVIzMi5kbGwKLi9saWJleGVjL2VtYWNzLzI0LjQvaTY4Ni1wYy1taW5ndzMyL2RkZWNs aWVudC5leGUKCURMTCBOYW1lOiBLRVJORUwzMi5kbGwKCURMTCBOYW1lOiBtc3ZjcnQuZGxsCglE TEwgTmFtZTogVVNFUjMyLmRsbAouL2xpYmV4ZWMvZW1hY3MvMjQuNC9pNjg2LXBjLW1pbmd3MzIv aGV4bC5leGUKCURMTCBOYW1lOiBLRVJORUwzMi5kbGwKCURMTCBOYW1lOiBtc3ZjcnQuZGxsCglE TEwgTmFtZTogbXN2Y3J0LmRsbAouL2xpYmV4ZWMvZW1hY3MvMjQuNC9pNjg2LXBjLW1pbmd3MzIv bW92ZW1haWwuZXhlCglETEwgTmFtZTogQURWQVBJMzIuRExMCglETEwgTmFtZTogS0VSTkVMMzIu ZGxsCglETEwgTmFtZTogbXN2Y3J0LmRsbAoJRExMIE5hbWU6IG1zdmNydC5kbGwKCURMTCBOYW1l OiBXU09DSzMyLkRMTAouL2xpYmV4ZWMvZW1hY3MvMjQuNC9pNjg2LXBjLW1pbmd3MzIvcHJvZmls ZS5leGUKCURMTCBOYW1lOiBBRFZBUEkzMi5ETEwKCURMTCBOYW1lOiBLRVJORUwzMi5kbGwKCURM TCBOYW1lOiBtc3ZjcnQuZGxsCglETEwgTmFtZTogbXN2Y3J0LmRsbAouL2xpYmV4ZWMvZW1hY3Mv MjQuNC9pNjg2LXBjLW1pbmd3MzIvdXBkYXRlLWdhbWUtc2NvcmUuZXhlCglETEwgTmFtZTogQURW QVBJMzIuRExMCglETEwgTmFtZTogS0VSTkVMMzIuZGxsCglETEwgTmFtZTogbXN2Y3J0LmRsbAoJ RExMIE5hbWU6IG1zdmNydC5kbGwK --001a11c2d9dc5343b50508b38f84-- From unknown Wed Jun 25 05:39:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#19181: 24.4; 24.4.1 libgcc_s_dw2-1.dll crash on exit Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Nov 2014 19:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19181 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dani Moncayo Cc: 19181@debbugs.gnu.org, williamjfarmer@yahoo.co.uk Reply-To: Eli Zaretskii Received: via spool by 19181-submit@debbugs.gnu.org id=B19181.141694247622662 (code B ref 19181); Tue, 25 Nov 2014 19:08:01 +0000 Received: (at 19181) by debbugs.gnu.org; 25 Nov 2014 19:07:56 +0000 Received: from localhost ([127.0.0.1]:45266 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtLSu-0005tR-5J for submit@debbugs.gnu.org; Tue, 25 Nov 2014 14:07:56 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:49096) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtLSr-0005tI-SQ for 19181@debbugs.gnu.org; Tue, 25 Nov 2014 14:07:54 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NFL00B00ZJN5D00@a-mtaout22.012.net.il> for 19181@debbugs.gnu.org; Tue, 25 Nov 2014 21:07:52 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NFL00B3WZT46600@a-mtaout22.012.net.il>; Tue, 25 Nov 2014 21:07:52 +0200 (IST) Date: Tue, 25 Nov 2014 21:08:06 +0200 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <83a93fp089.fsf@gnu.org> References: <54746314.6010403@yahoo.co.uk> <83fvd7p4x0.fsf@gnu.org> X-Spam-Score: 1.0 (+) 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: 1.0 (+) > Date: Tue, 25 Nov 2014 20:03:00 +0100 > From: Dani Moncayo > Cc: Bill Farmer , 19181@debbugs.gnu.org > > I've followed your advice above, and I don't see any dependency on > 'libgcc_s_dw2-1.dll'. > > FWIW, I'm attaching a report of the DLL dependencies in the Emacs 24.4 > binary, made with: > > $ find . -type f \( -name "*.dll" -o -name "*.exe" \) -print -exec > bash -c "objdump -x {} | grep -i 'dll name:'" \; No dependencies, as expected. Thanks. Btw, which version of GCC did you use to build this binary? Bill, this indicates that the root cause for the problem, or at least the way to investigate it, is on your machine. As I wrote earlier, I suspect that Emacs loads some DLL at runtime which depends on libgcc_s_dw2-1.dll. Please try to identify that DLL. From unknown Wed Jun 25 05:39:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#19181: 24.4; 24.4.1 libgcc_s_dw2-1.dll crash on exit Resent-From: Dani Moncayo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Nov 2014 19:12:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19181 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 19181@debbugs.gnu.org, Bill Farmer Received: via spool by 19181-submit@debbugs.gnu.org id=B19181.141694268523010 (code B ref 19181); Tue, 25 Nov 2014 19:12:03 +0000 Received: (at 19181) by debbugs.gnu.org; 25 Nov 2014 19:11:25 +0000 Received: from localhost ([127.0.0.1]:45270 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtLWG-0005z3-Nw for submit@debbugs.gnu.org; Tue, 25 Nov 2014 14:11:25 -0500 Received: from mail-ob0-f173.google.com ([209.85.214.173]:54281) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtLWE-0005yv-FJ for 19181@debbugs.gnu.org; Tue, 25 Nov 2014 14:11:22 -0500 Received: by mail-ob0-f173.google.com with SMTP id uy5so982644obc.32 for <19181@debbugs.gnu.org>; Tue, 25 Nov 2014 11:11:22 -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=Dh4C3okrbR+AT7lPVeVXqtH9wvttEgO5Tov19Ae66io=; b=C+7XzNiqHwVEbpO3VGv+5uox04gvmTFUbcc/FCB7GCh3WZlST4XHOnnpcgmwM3Ty0p kzSH/P7E96H94h4epC0QXna6+pXj1tjto9NMGHBKcfsqA9JwTL8QTjLrAWjADIUKu6Ab X8ob5rFH/audOPpCQNutLrSvtUguGvPgplr05iOI1zqtcpdVS4S86xz72AMw3OKlpmt2 LTOdfpOyStefV7LJGvLYRgOUUJzJYFWT9K+DXRlqAcNipa6nIGTblwkTHyA2tgW9KjQl YrnwHfJdg4YfhQCXd8mpfow5eUVswROrC3fHRTJ+JRPxQJQn13XPTZVqh4UcvJ48wiNy l7JA== MIME-Version: 1.0 X-Received: by 10.202.81.202 with SMTP id f193mr3084441oib.1.1416942681999; Tue, 25 Nov 2014 11:11:21 -0800 (PST) Received: by 10.60.47.84 with HTTP; Tue, 25 Nov 2014 11:11:21 -0800 (PST) In-Reply-To: <83a93fp089.fsf@gnu.org> References: <54746314.6010403@yahoo.co.uk> <83fvd7p4x0.fsf@gnu.org> <83a93fp089.fsf@gnu.org> Date: Tue, 25 Nov 2014 20:11:21 +0100 Message-ID: From: Dani Moncayo Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) 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.7 (/) > Btw, which version of GCC did you use to build this binary? GCC 4.7.2 And FWIW: $ gcc -v Using built-in specs. COLLECT_GCC=c:\mingw\bin\gcc.exe COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.7.2/lto-wrapper.exe Target: mingw32 Configured with: ../gcc-4.7.2/configure --enable-languages=c,c++,ada,fortran,objc,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgomp --disable-win32-registry --enable-libstdcxx-debug --disable-build-poststage1-with-cxx --enable-version-specific-runtime-libs --build=mingw32 --prefix=/mingw Thread model: win32 gcc version 4.7.2 (GCC) -- Dani Moncayo From unknown Wed Jun 25 05:39:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#19181: 24.4; 24.4.1 libgcc_s_dw2-1.dll crash on exit Resent-From: =?UTF-8?Q?=C3=93scar?= Fuentes Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Nov 2014 21:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19181 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 19181@debbugs.gnu.org, williamjfarmer@yahoo.co.uk, Dani Moncayo Received: via spool by 19181-submit@debbugs.gnu.org id=B19181.14169492781860 (code B ref 19181); Tue, 25 Nov 2014 21:02:02 +0000 Received: (at 19181) by debbugs.gnu.org; 25 Nov 2014 21:01:18 +0000 Received: from localhost ([127.0.0.1]:45292 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtNEb-0000Tw-RM for submit@debbugs.gnu.org; Tue, 25 Nov 2014 16:01:18 -0500 Received: from relaycp01.dominioabsoluto.net ([217.116.26.68]:59772) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtNEV-0000Tg-GC for 19181@debbugs.gnu.org; Tue, 25 Nov 2014 16:01:16 -0500 Received: from smtp.movistar.es (smtp21.acens.net [86.109.99.145]) by relaycp01.dominioabsoluto.net (Postfix) with ESMTP id E7EDC5865; Tue, 25 Nov 2014 22:37:52 +0100 (CET) X-CTCH-RefID: str=0001.0A0B0204.5474EE16.0088, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-Spam: Unknown Received: from qcore (88.10.128.129) by smtp.movistar.es (8.6.122.03) (authenticated as 981711563$telefonica.net) id 54430CAB0136C2CC; Tue, 25 Nov 2014 21:01:10 +0000 From: =?UTF-8?Q?=C3=93scar?= Fuentes References: <54746314.6010403@yahoo.co.uk> <83fvd7p4x0.fsf@gnu.org> <83a93fp089.fsf@gnu.org> Date: Tue, 25 Nov 2014 22:01:08 +0100 In-Reply-To: <83a93fp089.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 25 Nov 2014 21:08:06 +0200") Message-ID: <87a93fngff.fsf@wanadoo.es> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) 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: -2.3 (--) FYI: MinGW-w64 recently made changes to its runtime to address this problem. In my experience (not with Emacs, with Tcl/Tk) there are no more crashes on application exit. From unknown Wed Jun 25 05:39:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#19181: 24.4; 24.4.1 libgcc_s_dw2-1.dll crash on exit Resent-From: Bill Farmer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Nov 2014 23:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19181 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dani Moncayo , Eli Zaretskii Cc: 19181@debbugs.gnu.org Received: via spool by 19181-submit@debbugs.gnu.org id=B19181.141695896418476 (code B ref 19181); Tue, 25 Nov 2014 23:43:02 +0000 Received: (at 19181) by debbugs.gnu.org; 25 Nov 2014 23:42:44 +0000 Received: from localhost ([127.0.0.1]:45346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtPkq-0004nw-84 for submit@debbugs.gnu.org; Tue, 25 Nov 2014 18:42:44 -0500 Received: from nm23-vm1.bullet.mail.ir2.yahoo.com ([212.82.97.16]:44683) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtPkn-0004ng-Qv for 19181@debbugs.gnu.org; Tue, 25 Nov 2014 18:42:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1416958960; bh=B3GbMbdXMKTZUREylgNJ4Ge16obRdCAbfaCADne+6F0=; h=Date:From:To:CC:Subject:References:In-Reply-To:From:Subject; b=rej3vMmN7CTLhd1p0uo0jx7FRzsbzShK3NQ8QU1xtQXNPKgGeyrqDSSBMp+bL/AKsRQqJjs4GVvMg6Bq6QdrSXKEOxFMkUBb2qMzWq+uH+jjZqdPEenKW2tinS/fzr0KogcWTT6L+UL0xxkBHOfbduQ/FMf1UrzzKrkfoa2KVKf6zRqft8Ao3Ktmlv8HHxBE2Y7qGxji/NIAp/0HnjEnIRLFqCnwoBQqi8V60hR1aUvGlIzQ1h+sMta4e+irab/caKov/kEh1uObORm+Qlzdc1s0UkeuHA4PHcwaLH7l7NY1MLpXhrGpDfoNHJ8uQPOUbVf4rUkmVVl6VikXodan9Q== DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.co.uk; b=XTEkw7QG1yal6ACrtCbu/MVw6I8ZVPrMv/K8GUtVYccbrn0jfzj5vieTpr6cGk4CRxvie3RlQNwfy595tFRHowQZFohy3o7c5yqj1VVA+pxp++b9QS8kQei4TnZZMYAFadspVcwdeiv+/KdHfV9EMOvtA7QPtNy/TODApaLQ5mtT9wBnHNRhbIv9yMFWpbPtRJdIExgNHh45GNaJXWg6FOH5PbF17e1cFG6okZNqlUIEskdazSXBFf4J1UNf98ZtuRWutf9IA04iWurt8/866N5q98irb0UcTeS7IqtiUf/qfDx13S52cL56H2cdUew7dZwKNGBs/h6yGzphnL0OsQ==; Received: from [212.82.98.49] by nm23.bullet.mail.ir2.yahoo.com with NNFMP; 25 Nov 2014 23:42:40 -0000 Received: from [46.228.39.65] by tm2.bullet.mail.ir2.yahoo.com with NNFMP; 25 Nov 2014 23:42:40 -0000 Received: from [127.0.0.1] by smtp102.mail.ir2.yahoo.com with NNFMP; 25 Nov 2014 23:42:40 -0000 X-Yahoo-Newman-Id: 836525.29681.bm@smtp102.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: JHpkj2kVM1mhykCzKPFg8s..ivhQ4k77poiX4cNseJOeISL Q0HSTMnRzRKKycK5xXNkwIQBSaC7cBCy5.ujlAKyVY8ZS0iS2AyGnpiQyZTb XUNGb1WV7XJWexhcUAaDgaG3BvspXPrzb508zL4SGmkSgOz7hLiCsBAEPFSi 5sFCojU0UtbLK14V6I09ZGEcy8VhQ_Paxy_Xsh.V6xq0JOXfBjhITBb4XwKq lQqR6jjXafOd_IUAcJkTjd4ulQ9HmZTL5RoEGhcqwL84P2XqEKH3V7kOWv5H vW3qqcj1izCpQT_V0PTcql1DK74JsCjdSJtspgaxjdedmSGeh5CtvNGushaI AqMbIkdQpsA1Au71Dy06c7_Fvyb29bwHrds4aN0Zj3e0Ufglas7FOfyy6BkJ WHQ0.vuQfQP3eNsZzXMMmSQ6vKx.SLtVGZQK.FEzYVgajhqhmca_0c_C91Ye 6SvZbfxppU_l6YZ3lCqNyQ1iLI0z5Iw5gbTsm4lyHLMEKE1Bgih_L3Jnxo8g Xng3kQoLFMv.YShD8wcGxR6or8OmymGzUs8A33WQ5DjI- X-Yahoo-SMTP: ee.cljuswBBg4qLvZiTB75urubCs2umPc2oS Message-ID: <547513EF.30709@yahoo.co.uk> Date: Tue, 25 Nov 2014 23:42:39 +0000 From: Bill Farmer User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 References: <54746314.6010403@yahoo.co.uk> <83fvd7p4x0.fsf@gnu.org> <83a93fp089.fsf@gnu.org> In-Reply-To: Content-Type: multipart/alternative; boundary="------------050505000205050308010405" X-Spam-Score: 0.0 (/) 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 (/) This is a multi-part message in MIME format. --------------050505000205050308010405 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit I have done a plain vanilla build of emacs 24.4 with my version of MinGW: $ gcc -v Using built-in specs. COLLECT_GCC=c:\MinGW\bin\gcc.exe COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.8.1/lto-wrapper.exe Target: mingw32 Configured with: ../gcc-4.8.1/configure --prefix=/mingw --host=mingw32 --build=m ingw32 --without-pic --enable-shared --enable-static --with-gnu-ld --enable-lto --enable-libssp --disable-multilib --enable-languages=c,c++,fortran,objc,obj-c++ ,ada --disable-sjlj-exceptions --with-dwarf2 --disable-win32-registry --enable-l ibstdcxx-debug --enable-version-specific-runtime-libs --with-gmp=/usr/src/pkg/gm p-5.1.2-1-mingw32-src/bld --with-mpc=/usr/src/pkg/mpc-1.0.1-1-mingw32-src/bld -- with-mpfr= --with-system-zlib --with-gnu-as --enable-decimal-float=yes --enable- libgomp --enable-threads --with-libiconv-prefix=/mingw32 --with-libintl-prefix=/ mingw --disable-bootstrap LDFLAGS=-s CFLAGS=-D_USE_32BIT_TIME_T Thread model: win32 gcc version 4.8.1 (GCC) Configured using: `configure --prefix=/d/c/emacs/build/usr' I cannot reproduce the crash on exit problem with this version. It does not include the libXpm.dll file. Regards Bill Farmer On 25/11/2014 19:11, Dani Moncayo wrote: >> Btw, which version of GCC did you use to build this binary? > GCC 4.7.2 > > And FWIW: > > $ gcc -v > Using built-in specs. > COLLECT_GCC=c:\mingw\bin\gcc.exe > COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.7.2/lto-wrapper.exe > Target: mingw32 > Configured with: ../gcc-4.7.2/configure > --enable-languages=c,c++,ada,fortran,objc,obj-c++ > --disable-sjlj-exceptions --with-dwarf2 --enable-shared > --enable-libgomp --disable-win32-registry --enable-libstdcxx-debug > --disable-build-poststage1-with-cxx > --enable-version-specific-runtime-libs --build=mingw32 --prefix=/mingw > Thread model: win32 > gcc version 4.7.2 (GCC) > > --------------050505000205050308010405 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit I have done a plain vanilla build of emacs 24.4 with my version of MinGW:

$ gcc -v
Using built-in specs.
COLLECT_GCC=c:\MinGW\bin\gcc.exe
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.8.1/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.8.1/configure --prefix=/mingw --host=mingw32 --build=m
ingw32 --without-pic --enable-shared --enable-static --with-gnu-ld --enable-lto
--enable-libssp --disable-multilib --enable-languages=c,c++,fortran,objc,obj-c++
,ada --disable-sjlj-exceptions --with-dwarf2 --disable-win32-registry --enable-l
ibstdcxx-debug --enable-version-specific-runtime-libs --with-gmp=/usr/src/pkg/gm
p-5.1.2-1-mingw32-src/bld --with-mpc=/usr/src/pkg/mpc-1.0.1-1-mingw32-src/bld --
with-mpfr= --with-system-zlib --with-gnu-as --enable-decimal-float=yes --enable-
libgomp --enable-threads --with-libiconv-prefix=/mingw32 --with-libintl-prefix=/
mingw --disable-bootstrap LDFLAGS=-s CFLAGS=-D_USE_32BIT_TIME_T
Thread model: win32
gcc version 4.8.1 (GCC)

Configured using:
 `configure --prefix=/d/c/emacs/build/usr'

I cannot reproduce the crash on exit problem with this version. It does not include the libXpm.dll file.

Regards
Bill Farmer

On 25/11/2014 19:11, Dani Moncayo wrote:
Btw, which version of GCC did you use to build this binary?
GCC 4.7.2

And FWIW:

$ gcc -v
Using built-in specs.
COLLECT_GCC=c:\mingw\bin\gcc.exe
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.7.2/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.7.2/configure
--enable-languages=c,c++,ada,fortran,objc,obj-c++
--disable-sjlj-exceptions --with-dwarf2 --enable-shared
--enable-libgomp --disable-win32-registry --enable-libstdcxx-debug
--disable-build-poststage1-with-cxx
--enable-version-specific-runtime-libs --build=mingw32 --prefix=/mingw
Thread model: win32
gcc version 4.7.2 (GCC)



--------------050505000205050308010405-- From unknown Wed Jun 25 05:39:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#19181: 24.4; 24.4.1 libgcc_s_dw2-1.dll crash on exit Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Nov 2014 03:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19181 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: =?UTF-8?Q?=C3=93scar?= Fuentes Cc: 19181@debbugs.gnu.org, williamjfarmer@yahoo.co.uk, dmoncayo@gmail.com Reply-To: Eli Zaretskii Received: via spool by 19181-submit@debbugs.gnu.org id=B19181.141697336515753 (code B ref 19181); Wed, 26 Nov 2014 03:43:01 +0000 Received: (at 19181) by debbugs.gnu.org; 26 Nov 2014 03:42:45 +0000 Received: from localhost ([127.0.0.1]:45489 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtTV7-00045z-8a for submit@debbugs.gnu.org; Tue, 25 Nov 2014 22:42:45 -0500 Received: from mtaout26.012.net.il ([80.179.55.182]:50852) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtTUv-00045a-0m for 19181@debbugs.gnu.org; Tue, 25 Nov 2014 22:42:43 -0500 Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NFM00F00N1NEP00@mtaout26.012.net.il> for 19181@debbugs.gnu.org; Wed, 26 Nov 2014 05:41:09 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NFM00B2WNKLZM40@mtaout26.012.net.il>; Wed, 26 Nov 2014 05:41:09 +0200 (IST) Date: Wed, 26 Nov 2014 05:42:45 +0200 From: Eli Zaretskii In-reply-to: <87a93fngff.fsf@wanadoo.es> X-012-Sender: halo1@inter.net.il Message-id: <833896pqyy.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 8BIT References: <54746314.6010403@yahoo.co.uk> <83fvd7p4x0.fsf@gnu.org> <83a93fp089.fsf@gnu.org> <87a93fngff.fsf@wanadoo.es> X-Spam-Score: 1.0 (+) 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: 1.0 (+) > From: Óscar Fuentes > Cc: Dani Moncayo , 19181@debbugs.gnu.org, williamjfarmer@yahoo.co.uk > Date: Tue, 25 Nov 2014 22:01:08 +0100 > > FYI: MinGW-w64 recently made changes to its runtime to address this > problem. I presume it's an upstream fix that I was asked to test. Anyway, this has nothing to do with crashes when the binary does not depend on libgcc_s_dw2-1.dll. Some other factor is at work here. From unknown Wed Jun 25 05:39:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#19181: 24.4; 24.4.1 libgcc_s_dw2-1.dll crash on exit Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Nov 2014 03:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19181 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Bill Farmer Cc: 19181@debbugs.gnu.org, dmoncayo@gmail.com Reply-To: Eli Zaretskii Received: via spool by 19181-submit@debbugs.gnu.org id=B19181.141697366816283 (code B ref 19181); Wed, 26 Nov 2014 03:48:01 +0000 Received: (at 19181) by debbugs.gnu.org; 26 Nov 2014 03:47:48 +0000 Received: from localhost ([127.0.0.1]:45493 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtTa0-0004EY-1b for submit@debbugs.gnu.org; Tue, 25 Nov 2014 22:47:48 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:54899) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtTZx-0004EP-JQ for 19181@debbugs.gnu.org; Tue, 25 Nov 2014 22:47:46 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NFM00F00NB7KT00@a-mtaout22.012.net.il> for 19181@debbugs.gnu.org; Wed, 26 Nov 2014 05:47:44 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NFM00F51NVJMT00@a-mtaout22.012.net.il>; Wed, 26 Nov 2014 05:47:44 +0200 (IST) Date: Wed, 26 Nov 2014 05:47:58 +0200 From: Eli Zaretskii In-reply-to: <547513EF.30709@yahoo.co.uk> X-012-Sender: halo1@inter.net.il Message-id: <831toqpqq9.fsf@gnu.org> References: <54746314.6010403@yahoo.co.uk> <83fvd7p4x0.fsf@gnu.org> <83a93fp089.fsf@gnu.org> <547513EF.30709@yahoo.co.uk> X-Spam-Score: 1.0 (+) 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: 1.0 (+) > Date: Tue, 25 Nov 2014 23:42:39 +0000 > From: Bill Farmer > CC: 19181@debbugs.gnu.org > > I have done a plain vanilla build of emacs 24.4 with my version of MinGW: > > $ gcc -v > Using built-in specs. > COLLECT_GCC=c:\MinGW\bin\gcc.exe > COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.8.1/lto-wrapper.exe > Target: mingw32 > Configured with: ../gcc-4.8.1/configure --prefix=/mingw --host=mingw32 - > -build=m > ingw32 --without-pic --enable-shared --enable-static --with-gnu-ld --enable-lto > --enable-libssp --disable-multilib - > -enable-languages=c,c++,fortran,objc,obj-c++ > ,ada --disable-sjlj-exceptions --with-dwarf2 --disable-win32-registry - > -enable-l > ibstdcxx-debug --enable-version-specific-runtime-libs - > -with-gmp=/usr/src/pkg/gm > p-5.1.2-1-mingw32-src/bld --with-mpc=/usr/src/pkg/mpc-1.0.1-1-mingw32-src/bld - > - > with-mpfr= --with-system-zlib --with-gnu-as --enable-decimal-float=yes - > -enable- > libgomp --enable-threads --with-libiconv-prefix=/mingw32 - > -with-libintl-prefix=/ > mingw --disable-bootstrap LDFLAGS=-s CFLAGS=-D_USE_32BIT_TIME_T > Thread model: win32 > gcc version 4.8.1 (GCC) > > Configured using: > `configure --prefix=/d/c/emacs/build/usr' > > I cannot reproduce the crash on exit problem with this version. It does not > include the libXpm.dll file. Please try to find the DLLs loaded into the Emacs binary that does crash. I don't see any other way of finding out what caused it. Somewhere on your system there is a DLL that depends on libgcc_s_dw2-1.dll, and finding it is the way to solve this riddle. Thanks. From unknown Wed Jun 25 05:39:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#19181: 24.4; 24.4.1 libgcc_s_dw2-1.dll crash on exit Resent-From: Bill Farmer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Nov 2014 10:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19181 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 19181@debbugs.gnu.org, dmoncayo@gmail.com Received: via spool by 19181-submit@debbugs.gnu.org id=B19181.141699639725394 (code B ref 19181); Wed, 26 Nov 2014 10:07:02 +0000 Received: (at 19181) by debbugs.gnu.org; 26 Nov 2014 10:06:37 +0000 Received: from localhost ([127.0.0.1]:45568 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtZUZ-0006bU-NL for submit@debbugs.gnu.org; Wed, 26 Nov 2014 05:06:37 -0500 Received: from nm17-vm3.bullet.mail.ir2.yahoo.com ([212.82.96.218]:56595) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtZUV-0006bH-U1 for 19181@debbugs.gnu.org; Wed, 26 Nov 2014 05:06:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1416996390; bh=1U4slg2zBIzkM04C7B3ZhhjwKOaklRsDfIS8rlOPnCI=; h=Date:From:To:CC:Subject:References:In-Reply-To:From:Subject; b=BpcXWSp+/pIaxRH16gqBDtp94appIYQeGYIFfawsnTHjV9HurPob5Cqxs4X7oEr2tRT7JVX/TuIwoxDS0hAiUQHj0Ytfn7AujJ4MRFgduzSNT7c6/6xyL2WsSZspPH4CeBR3ibCu336B960apZBDDIilqJp704l9cbI/zKcNH+idYhiA6Sp3EqxfBoYy7xMlVETAbk91wTCYdmGgeTGcnYeokeopTzLkMVMRHP3DX2Dy+/I5cecFHj1RiqSLNVV6a6djpMEt0NPf6LDG7Zm7uwDw0o1GefM4XEVPdj8YwEv/wdpXdOWyDZyyyp7nIfX6wuvjQxo2NXb6xQ3lFEMdJQ== DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.co.uk; b=QGQtGQkCUy2vvEbytU7dMT9jTJiYix0qfs6YsZrX5OvLpKAyVZF51BKIy/nBgPmwDLOtOxxnBrQBIzc5l24OD+9HpyyxOTfDg3lyox3wv1eMlng2qtZ/0ciVl7hez8ayfK+sttqD/0pdUFpDLgn5jFqrr6l3xtGiuEoYjAnh12s5TbdVigNV49TFxKTDOcHlRpAwLfmZo0YC0phK/SjOUxW64DxXdh2gXszKLTnsCKtdQueNPGawzxJY23y9fF8+1pfcE9ojrl5WaMdeXf2sxsdrRWL/vnlM0S+3LlzvclIGADEWZa94RxAum6HFbXmOml8HQCh4vvLa8bb2Q9Gcng==; Received: from [212.82.98.49] by nm17.bullet.mail.ir2.yahoo.com with NNFMP; 26 Nov 2014 10:06:30 -0000 Received: from [46.228.39.81] by tm2.bullet.mail.ir2.yahoo.com with NNFMP; 26 Nov 2014 10:06:30 -0000 Received: from [127.0.0.1] by smtp118.mail.ir2.yahoo.com with NNFMP; 26 Nov 2014 10:06:30 -0000 X-Yahoo-Newman-Id: 748894.69981.bm@smtp118.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: .nyZKAkVM1luvLBGRhYvb_4T7xZ7j3s.2NAaGi0HESvrZLl R0_dEuH4Fu5c2RUA9PFKlkH8ohleZaDAajqDQFpztUkLWSkMOAohxREVYCCK H7j653Gjdr8zSFzDABZPxZve4qYjx9fuzN2kMEPbOJtlVBJ_ZwWqgZqfowhN wtuZMyrV0zJfmZsmC7GgpEfQHgj0AfLpMhmXqUds8tXuVn3dv9Vy0hLsqHig lnVzho4FiBRhPzZJbnQEsVIHeqZxMffls7yuIDJn3B9wLm.DaJUr4HIUfgIl MDLzl4KOyFM9..N_N48vc6aDgXimhMNOwYQMOu1T5eviGXMwhMp_g58fWPhn WCsbjrvBtarxIc_lhvDQlqegqyNrk7ZJQepQa5pvZcDNuE5taGouZJ7LoeYh LO_YLEsG5GPY7QHrVPPcaHZ1MEERMZvaiXAP2sqwpPLVtzHrKFUbzXPdk9B. wIMAtDaty26vw2orGxoXZl__HN2PeqWoaJio7M8sBcvWzVJaDnd20EyZEbRd RZIKlEFK196lgD2425Msm6B9U9usWYv0koNZi9wzHml0Vn60vG0cNM0hpXrA RABQkNeSDnVpLF5FCJTd7tV2RowAHYdqmPghdImE1iSbt0wnXiFTeoSoD2.R S0OHKvyf_OuCfyc5sC2Sw6qw- X-Yahoo-SMTP: ee.cljuswBBg4qLvZiTB75urubCs2umPc2oS Message-ID: <5475A623.3030204@yahoo.co.uk> Date: Wed, 26 Nov 2014 10:06:27 +0000 From: Bill Farmer User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 References: <54746314.6010403@yahoo.co.uk> <83fvd7p4x0.fsf@gnu.org> <83a93fp089.fsf@gnu.org> <547513EF.30709@yahoo.co.uk> <831toqpqq9.fsf@gnu.org> In-Reply-To: <831toqpqq9.fsf@gnu.org> Content-Type: multipart/mixed; boundary="------------040205010906080407010009" X-Spam-Score: 0.0 (/) 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 (/) This is a multi-part message in MIME format. --------------040205010906080407010009 Content-Type: multipart/alternative; boundary="------------080900050700020505060606" --------------080900050700020505060606 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit I have used the Sysinternals process explorer, (http://technet.microsoft.com/en-us/sysinternals/bb896653), to determine the loaded dlls. Unfortunately it does not show a dynamic dependency tree. This shows that when a file is visited, the distribution version of emacs 24.4 loads zlib1.dll from the MinGW installation and libgcc_s_dw2-1.dll also from the MinGW installation. These are the only non-microsoft dlls I can see. The version of emacs 24.4 I built does not load any non-microsoft dlls. I have attached four text files showing the dlls loaded by the distribution version of emacs 24.4 when no files have been visited, the dlls loaded by the distribution version after a file has been visited, the dlls loaded by the locally built version of emacs 24.4 when no files have been visited, and the dlls loaded by the locally built version of emacs 24.4 after a file have been visited. Hope this helps. Regards Bill Farmer On 26/11/2014 03:47, Eli Zaretskii wrote: >> Date: Tue, 25 Nov 2014 23:42:39 +0000 >> From: Bill Farmer >> CC: 19181@debbugs.gnu.org >> >> I have done a plain vanilla build of emacs 24.4 with my version of MinGW: >> >> $ gcc -v >> Using built-in specs. >> COLLECT_GCC=c:\MinGW\bin\gcc.exe >> COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.8.1/lto-wrapper.exe >> Target: mingw32 >> Configured with: ../gcc-4.8.1/configure --prefix=/mingw --host=mingw32 - >> -build=m >> ingw32 --without-pic --enable-shared --enable-static --with-gnu-ld --enable-lto >> --enable-libssp --disable-multilib - >> -enable-languages=c,c++,fortran,objc,obj-c++ >> ,ada --disable-sjlj-exceptions --with-dwarf2 --disable-win32-registry - >> -enable-l >> ibstdcxx-debug --enable-version-specific-runtime-libs - >> -with-gmp=/usr/src/pkg/gm >> p-5.1.2-1-mingw32-src/bld --with-mpc=/usr/src/pkg/mpc-1.0.1-1-mingw32-src/bld - >> - >> with-mpfr= --with-system-zlib --with-gnu-as --enable-decimal-float=yes - >> -enable- >> libgomp --enable-threads --with-libiconv-prefix=/mingw32 - >> -with-libintl-prefix=/ >> mingw --disable-bootstrap LDFLAGS=-s CFLAGS=-D_USE_32BIT_TIME_T >> Thread model: win32 >> gcc version 4.8.1 (GCC) >> >> Configured using: >> `configure --prefix=/d/c/emacs/build/usr' >> >> I cannot reproduce the crash on exit problem with this version. It does not >> include the libXpm.dll file. > Please try to find the DLLs loaded into the Emacs binary that does > crash. I don't see any other way of finding out what caused it. > Somewhere on your system there is a DLL that depends on > libgcc_s_dw2-1.dll, and finding it is the way to solve this riddle. > > Thanks. --------------080900050700020505060606 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 7bit I have used the Sysinternals process explorer, (http://technet.microsoft.com/en-us/sysinternals/bb896653), to determine the loaded dlls. Unfortunately it does not show a dynamic dependency tree. This shows that when a file is visited, the distribution version of emacs 24.4 loads zlib1.dll from the MinGW installation and libgcc_s_dw2-1.dll also from the MinGW installation. These are the only non-microsoft dlls I can see. The version of emacs 24.4 I built does not load any non-microsoft dlls. I have attached four text files showing the dlls loaded by the distribution version of emacs 24.4 when no files have been visited, the dlls loaded by the distribution version after a file has been visited, the dlls loaded by the locally built version of emacs 24.4 when no files have been visited, and the dlls loaded by the locally built version of emacs 24.4 after a file have been visited.

Hope this helps.

Regards
Bill Farmer

On 26/11/2014 03:47, Eli Zaretskii wrote:
Date: Tue, 25 Nov 2014 23:42:39 +0000
From: Bill Farmer <williamjfarmer@yahoo.co.uk>
CC: 19181@debbugs.gnu.org

I have done a plain vanilla build of emacs 24.4 with my version of MinGW:

$ gcc -v
Using built-in specs.
COLLECT_GCC=c:\MinGW\bin\gcc.exe
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.8.1/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.8.1/configure --prefix=/mingw --host=mingw32 -
-build=m
ingw32 --without-pic --enable-shared --enable-static --with-gnu-ld --enable-lto
--enable-libssp --disable-multilib -
-enable-languages=c,c++,fortran,objc,obj-c++
,ada --disable-sjlj-exceptions --with-dwarf2 --disable-win32-registry -
-enable-l
ibstdcxx-debug --enable-version-specific-runtime-libs -
-with-gmp=/usr/src/pkg/gm
p-5.1.2-1-mingw32-src/bld --with-mpc=/usr/src/pkg/mpc-1.0.1-1-mingw32-src/bld -
-
with-mpfr= --with-system-zlib --with-gnu-as --enable-decimal-float=yes -
-enable-
libgomp --enable-threads --with-libiconv-prefix=/mingw32 -
-with-libintl-prefix=/
mingw --disable-bootstrap LDFLAGS=-s CFLAGS=-D_USE_32BIT_TIME_T
Thread model: win32
gcc version 4.8.1 (GCC)

Configured using:
`configure --prefix=/d/c/emacs/build/usr'

I cannot reproduce the crash on exit problem with this version. It does not
include the libXpm.dll file.
Please try to find the DLLs loaded into the Emacs binary that does
crash.  I don't see any other way of finding out what caused it.
Somewhere on your system there is a DLL that depends on
libgcc_s_dw2-1.dll, and finding it is the way to solve this riddle.

Thanks.

--------------080900050700020505060606-- --------------040205010906080407010009 Content-Type: text/plain; charset=windows-1252; name="emacs.exe.nofile-distr.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="emacs.exe.nofile-distr.txt" Process PID CPU Description Company Name System Idle Process 0 97.69 csrss.exe 476 wininit.exe 548 csrss.exe 3148 winlogon.exe 2424 explorer.exe 1636 Windows Explorer Microsoft Corporation AsusAudioCenter.exe 2328 AsusAudioCenter CMedia emacs.exe 3912 GNU Emacs: The extensible self-documenting text editor Free Software Foundation Process: emacs.exe Pid: 3912 Name Description Company Name Version ADVAPI32.DLL Advanced Windows 32 Base API Microsoft Corporation 6.1.7601.18247 CFGMGR32.dll Configuration Manager DLL Microsoft Corporation 6.1.7601.17621 COMCTL32.DLL User Experience Controls Library Microsoft Corporation 6.10.7601.17514 COMDLG32.DLL Common Dialogs DLL Microsoft Corporation 6.1.7601.17514 CRYPTBASE.dll Base cryptographic API DLL Microsoft Corporation 6.1.7600.16385 DEVOBJ.dll Device Information Set DLL Microsoft Corporation 6.1.7601.17621 DSOUND.dll DirectSound Microsoft Corporation 6.1.7600.16385 dwmapi.dll Microsoft Desktop Window Manager API Microsoft Corporation 6.1.7600.16385 emacs.exe GNU Emacs: The extensible self-documenting text editor Free Software Foundation 24.4.0.0 GDI32.dll GDI Client DLL Microsoft Corporation 6.1.7601.18577 HsSrv.dll HsSrv Dynamic Link Library C-Media Electronics Inc. 1.0.10.917 IMM32.DLL Multi-User Windows IMM32 API Client DLL Microsoft Corporation 6.1.7601.17514 kernel32.dll Windows NT BASE API Client DLL Microsoft Corporation 6.1.7601.18409 KERNELBASE.dll Windows NT BASE API Client DLL Microsoft Corporation 6.1.7601.18409 locale.nls LPK.dll Language Pack Microsoft Corporation 6.1.7601.18177 MPR.DLL Multiple Provider Router DLL Microsoft Corporation 6.1.7600.16385 MSCTF.dll MSCTF Server DLL Microsoft Corporation 6.1.7600.16385 msvcrt.dll Windows NT CRT DLL Microsoft Corporation 7.0.7600.16385 ntdll.dll NT Layer DLL Microsoft Corporation 6.1.7601.18247 ntdll.dll NT Layer DLL Microsoft Corporation 6.1.7601.18247 OLE32.dll Microsoft OLE for Windows Microsoft Corporation 6.1.7601.17514 OLEAUT32.dll Microsoft Corporation 6.1.7601.18640 POWRPROF.dll Power Profile Helper DLL Microsoft Corporation 6.1.7600.16385 RPCRT4.dll Remote Procedure Call Runtime Microsoft Corporation 6.1.7601.18532 sechost.dll Host for SCM/SDDL/LSA Lookup APIs Microsoft Corporation 6.1.7600.16385 SETUPAPI.dll Windows Setup API Microsoft Corporation 6.1.7601.17514 SHELL32.dll Windows Shell Common Dll Microsoft Corporation 6.1.7601.18517 SHLWAPI.dll Shell Light-weight Utility Library Microsoft Corporation 6.1.7601.17514 SortDefault.nls SspiCli.dll Security Support Provider Interface Microsoft Corporation 6.1.7601.18637 StaticCache.dat USER32.dll Multi-User Windows USER API Client DLL Microsoft Corporation 6.1.7601.17514 USP10.dll Uniscribe Unicode script processor Microsoft Corporation 1.626.7601.18454 uxtheme.dll Microsoft UxTheme Library Microsoft Corporation 6.1.7600.16385 VERSION.dll Version Checking and File Installation Libraries Microsoft Corporation 6.1.7600.16385 WINMM.DLL MCI API DLL Microsoft Corporation 6.1.7601.17514 WINSPOOL.DRV Windows Spooler Driver Microsoft Corporation 6.1.7601.17514 wow64.dll Win32 Emulation on NT64 Microsoft Corporation 6.1.7601.18409 wow64cpu.dll AMD64 Wow64 CPU Microsoft Corporation 6.1.7601.18409 wow64win.dll Wow64 Console and Win32 API Logging Microsoft Corporation 6.1.7601.18409 --------------040205010906080407010009 Content-Type: text/plain; charset=windows-1252; name="emacs.exe.loadfile-distr.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="emacs.exe.loadfile-distr.txt" Process PID CPU Description Company Name System Idle Process 0 72.48 csrss.exe 476 wininit.exe 548 csrss.exe 3148 0.39 winlogon.exe 2424 explorer.exe 1636 Windows Explorer Microsoft Corporation AsusAudioCenter.exe 2328 AsusAudioCenter CMedia emacs.exe 3912 GNU Emacs: The extensible self-documenting text editor Free Software Foundation Process: emacs.exe Pid: 3912 Name Description Company Name Version ADVAPI32.DLL Advanced Windows 32 Base API Microsoft Corporation 6.1.7601.18247 CFGMGR32.dll Configuration Manager DLL Microsoft Corporation 6.1.7601.17621 COMCTL32.DLL User Experience Controls Library Microsoft Corporation 6.10.7601.17514 COMDLG32.DLL Common Dialogs DLL Microsoft Corporation 6.1.7601.17514 CRYPTBASE.dll Base cryptographic API DLL Microsoft Corporation 6.1.7600.16385 DEVOBJ.dll Device Information Set DLL Microsoft Corporation 6.1.7601.17621 DSOUND.dll DirectSound Microsoft Corporation 6.1.7600.16385 dwmapi.dll Microsoft Desktop Window Manager API Microsoft Corporation 6.1.7600.16385 emacs.exe GNU Emacs: The extensible self-documenting text editor Free Software Foundation 24.4.0.0 GDI32.dll GDI Client DLL Microsoft Corporation 6.1.7601.18577 HsSrv.dll HsSrv Dynamic Link Library C-Media Electronics Inc. 1.0.10.917 IMM32.DLL Multi-User Windows IMM32 API Client DLL Microsoft Corporation 6.1.7601.17514 kernel32.dll Windows NT BASE API Client DLL Microsoft Corporation 6.1.7601.18409 KERNELBASE.dll Windows NT BASE API Client DLL Microsoft Corporation 6.1.7601.18409 libgcc_s_dw2-1.dll locale.nls LPK.dll Language Pack Microsoft Corporation 6.1.7601.18177 MPR.DLL Multiple Provider Router DLL Microsoft Corporation 6.1.7600.16385 MSCTF.dll MSCTF Server DLL Microsoft Corporation 6.1.7600.16385 msvcrt.dll Windows NT CRT DLL Microsoft Corporation 7.0.7600.16385 ntdll.dll NT Layer DLL Microsoft Corporation 6.1.7601.18247 ntdll.dll NT Layer DLL Microsoft Corporation 6.1.7601.18247 ntmarta.dll Windows NT MARTA provider Microsoft Corporation 6.1.7600.16385 OLE32.dll Microsoft OLE for Windows Microsoft Corporation 6.1.7601.17514 OLEAUT32.dll Microsoft Corporation 6.1.7601.18640 POWRPROF.dll Power Profile Helper DLL Microsoft Corporation 6.1.7600.16385 RPCRT4.dll Remote Procedure Call Runtime Microsoft Corporation 6.1.7601.18532 sechost.dll Host for SCM/SDDL/LSA Lookup APIs Microsoft Corporation 6.1.7600.16385 SETUPAPI.dll Windows Setup API Microsoft Corporation 6.1.7601.17514 SHELL32.dll Windows Shell Common Dll Microsoft Corporation 6.1.7601.18517 SHLWAPI.dll Shell Light-weight Utility Library Microsoft Corporation 6.1.7601.17514 SortDefault.nls SspiCli.dll Security Support Provider Interface Microsoft Corporation 6.1.7601.18637 StaticCache.dat USER32.dll Multi-User Windows USER API Client DLL Microsoft Corporation 6.1.7601.17514 USP10.dll Uniscribe Unicode script processor Microsoft Corporation 1.626.7601.18454 uxtheme.dll Microsoft UxTheme Library Microsoft Corporation 6.1.7600.16385 VERSION.dll Version Checking and File Installation Libraries Microsoft Corporation 6.1.7600.16385 WINMM.DLL MCI API DLL Microsoft Corporation 6.1.7601.17514 WINSPOOL.DRV Windows Spooler Driver Microsoft Corporation 6.1.7601.17514 WLDAP32.dll Win32 LDAP API DLL Microsoft Corporation 6.1.7601.17514 wow64.dll Win32 Emulation on NT64 Microsoft Corporation 6.1.7601.18409 wow64cpu.dll AMD64 Wow64 CPU Microsoft Corporation 6.1.7601.18409 wow64win.dll Wow64 Console and Win32 API Logging Microsoft Corporation 6.1.7601.18409 zlib1.dll zlib data compression library 1.2.8.0 --------------040205010906080407010009 Content-Type: text/plain; charset=windows-1252; name="emacs.exe.nofile-build.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="emacs.exe.nofile-build.txt" Process PID CPU Description Company Name System Idle Process 0 99.75 csrss.exe 476 wininit.exe 548 csrss.exe 3148 winlogon.exe 2424 explorer.exe 1636 Windows Explorer Microsoft Corporation AsusAudioCenter.exe 2328 AsusAudioCenter CMedia emacs.exe 3228 GNU Emacs: The extensible self-documenting text editor Free Software Foundation Process: emacs.exe Pid: 3228 Name Description Company Name Version advapi32.dll Advanced Windows 32 Base API Microsoft Corporation 6.1.7601.18247 CFGMGR32.dll Configuration Manager DLL Microsoft Corporation 6.1.7601.17621 comctl32.dll User Experience Controls Library Microsoft Corporation 6.10.7601.17514 comdlg32.dll Common Dialogs DLL Microsoft Corporation 6.1.7601.17514 CRYPTBASE.dll Base cryptographic API DLL Microsoft Corporation 6.1.7600.16385 DEVOBJ.dll Device Information Set DLL Microsoft Corporation 6.1.7601.17621 DSOUND.dll DirectSound Microsoft Corporation 6.1.7600.16385 dwmapi.dll Microsoft Desktop Window Manager API Microsoft Corporation 6.1.7600.16385 emacs.exe GNU Emacs: The extensible self-documenting text editor Free Software Foundation 24.4.0.0 GDI32.dll GDI Client DLL Microsoft Corporation 6.1.7601.18577 HsSrv.dll HsSrv Dynamic Link Library C-Media Electronics Inc. 1.0.10.917 IMM32.DLL Multi-User Windows IMM32 API Client DLL Microsoft Corporation 6.1.7601.17514 kernel32.dll Windows NT BASE API Client DLL Microsoft Corporation 6.1.7601.18409 KERNELBASE.dll Windows NT BASE API Client DLL Microsoft Corporation 6.1.7601.18409 locale.nls LPK.dll Language Pack Microsoft Corporation 6.1.7601.18177 mpr.dll Multiple Provider Router DLL Microsoft Corporation 6.1.7600.16385 MSCTF.dll MSCTF Server DLL Microsoft Corporation 6.1.7600.16385 msvcrt.dll Windows NT CRT DLL Microsoft Corporation 7.0.7600.16385 ntdll.dll NT Layer DLL Microsoft Corporation 6.1.7601.18247 ntdll.dll NT Layer DLL Microsoft Corporation 6.1.7601.18247 ole32.dll Microsoft OLE for Windows Microsoft Corporation 6.1.7601.17514 OLEAUT32.dll Microsoft Corporation 6.1.7601.18640 POWRPROF.dll Power Profile Helper DLL Microsoft Corporation 6.1.7600.16385 RPCRT4.dll Remote Procedure Call Runtime Microsoft Corporation 6.1.7601.18532 sechost.dll Host for SCM/SDDL/LSA Lookup APIs Microsoft Corporation 6.1.7600.16385 SETUPAPI.dll Windows Setup API Microsoft Corporation 6.1.7601.17514 SHELL32.dll Windows Shell Common Dll Microsoft Corporation 6.1.7601.18517 SHLWAPI.dll Shell Light-weight Utility Library Microsoft Corporation 6.1.7601.17514 SortDefault.nls SspiCli.dll Security Support Provider Interface Microsoft Corporation 6.1.7601.18637 StaticCache.dat USER32.dll Multi-User Windows USER API Client DLL Microsoft Corporation 6.1.7601.17514 USP10.dll Uniscribe Unicode script processor Microsoft Corporation 1.626.7601.18454 uxtheme.dll Microsoft UxTheme Library Microsoft Corporation 6.1.7600.16385 VERSION.dll Version Checking and File Installation Libraries Microsoft Corporation 6.1.7600.16385 winmm.dll MCI API DLL Microsoft Corporation 6.1.7601.17514 winspool.drv Windows Spooler Driver Microsoft Corporation 6.1.7601.17514 wow64.dll Win32 Emulation on NT64 Microsoft Corporation 6.1.7601.18409 wow64cpu.dll AMD64 Wow64 CPU Microsoft Corporation 6.1.7601.18409 wow64win.dll Wow64 Console and Win32 API Logging Microsoft Corporation 6.1.7601.18409 --------------040205010906080407010009 Content-Type: text/plain; charset=windows-1252; name="emacs.exe.loadfile-build.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="emacs.exe.loadfile-build.txt" Process PID CPU Description Company Name System Idle Process 0 99.24 csrss.exe 476 wininit.exe 548 csrss.exe 3148 winlogon.exe 2424 explorer.exe 1636 Windows Explorer Microsoft Corporation AsusAudioCenter.exe 2328 AsusAudioCenter CMedia emacs.exe 3228 GNU Emacs: The extensible self-documenting text editor Free Software Foundation Process: emacs.exe Pid: 3228 Name Description Company Name Version advapi32.dll Advanced Windows 32 Base API Microsoft Corporation 6.1.7601.18247 CFGMGR32.dll Configuration Manager DLL Microsoft Corporation 6.1.7601.17621 comctl32.dll User Experience Controls Library Microsoft Corporation 6.10.7601.17514 comdlg32.dll Common Dialogs DLL Microsoft Corporation 6.1.7601.17514 CRYPTBASE.dll Base cryptographic API DLL Microsoft Corporation 6.1.7600.16385 DEVOBJ.dll Device Information Set DLL Microsoft Corporation 6.1.7601.17621 DSOUND.dll DirectSound Microsoft Corporation 6.1.7600.16385 dwmapi.dll Microsoft Desktop Window Manager API Microsoft Corporation 6.1.7600.16385 emacs.exe GNU Emacs: The extensible self-documenting text editor Free Software Foundation 24.4.0.0 GDI32.dll GDI Client DLL Microsoft Corporation 6.1.7601.18577 HsSrv.dll HsSrv Dynamic Link Library C-Media Electronics Inc. 1.0.10.917 IMM32.DLL Multi-User Windows IMM32 API Client DLL Microsoft Corporation 6.1.7601.17514 kernel32.dll Windows NT BASE API Client DLL Microsoft Corporation 6.1.7601.18409 KERNELBASE.dll Windows NT BASE API Client DLL Microsoft Corporation 6.1.7601.18409 locale.nls LPK.dll Language Pack Microsoft Corporation 6.1.7601.18177 mpr.dll Multiple Provider Router DLL Microsoft Corporation 6.1.7600.16385 MSCTF.dll MSCTF Server DLL Microsoft Corporation 6.1.7600.16385 msvcrt.dll Windows NT CRT DLL Microsoft Corporation 7.0.7600.16385 ntdll.dll NT Layer DLL Microsoft Corporation 6.1.7601.18247 ntdll.dll NT Layer DLL Microsoft Corporation 6.1.7601.18247 ntmarta.dll Windows NT MARTA provider Microsoft Corporation 6.1.7600.16385 ole32.dll Microsoft OLE for Windows Microsoft Corporation 6.1.7601.17514 OLEAUT32.dll Microsoft Corporation 6.1.7601.18640 POWRPROF.dll Power Profile Helper DLL Microsoft Corporation 6.1.7600.16385 RPCRT4.dll Remote Procedure Call Runtime Microsoft Corporation 6.1.7601.18532 sechost.dll Host for SCM/SDDL/LSA Lookup APIs Microsoft Corporation 6.1.7600.16385 SETUPAPI.dll Windows Setup API Microsoft Corporation 6.1.7601.17514 SHELL32.dll Windows Shell Common Dll Microsoft Corporation 6.1.7601.18517 SHLWAPI.dll Shell Light-weight Utility Library Microsoft Corporation 6.1.7601.17514 SortDefault.nls SspiCli.dll Security Support Provider Interface Microsoft Corporation 6.1.7601.18637 StaticCache.dat USER32.dll Multi-User Windows USER API Client DLL Microsoft Corporation 6.1.7601.17514 USP10.dll Uniscribe Unicode script processor Microsoft Corporation 1.626.7601.18454 uxtheme.dll Microsoft UxTheme Library Microsoft Corporation 6.1.7600.16385 VERSION.dll Version Checking and File Installation Libraries Microsoft Corporation 6.1.7600.16385 winmm.dll MCI API DLL Microsoft Corporation 6.1.7601.17514 winspool.drv Windows Spooler Driver Microsoft Corporation 6.1.7601.17514 WLDAP32.dll Win32 LDAP API DLL Microsoft Corporation 6.1.7601.17514 wow64.dll Win32 Emulation on NT64 Microsoft Corporation 6.1.7601.18409 wow64cpu.dll AMD64 Wow64 CPU Microsoft Corporation 6.1.7601.18409 wow64win.dll Wow64 Console and Win32 API Logging Microsoft Corporation 6.1.7601.18409 --------------040205010906080407010009-- From unknown Wed Jun 25 05:39:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#19181: 24.4; 24.4.1 libgcc_s_dw2-1.dll crash on exit Resent-From: Bill Farmer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Nov 2014 11:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19181 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 19181@debbugs.gnu.org, dmoncayo@gmail.com Received: via spool by 19181-submit@debbugs.gnu.org id=B19181.14170017001767 (code B ref 19181); Wed, 26 Nov 2014 11:35:02 +0000 Received: (at 19181) by debbugs.gnu.org; 26 Nov 2014 11:35:00 +0000 Received: from localhost ([127.0.0.1]:45631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xtas7-0000SQ-Eh for submit@debbugs.gnu.org; Wed, 26 Nov 2014 06:34:59 -0500 Received: from nm14-vm9.bullet.mail.ir2.yahoo.com ([212.82.96.197]:55375) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xtas4-0000SH-63 for 19181@debbugs.gnu.org; Wed, 26 Nov 2014 06:34:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1417001695; bh=ur+eOAfLg59qmckmjDUF1tFnTaMy7tskPAS5sgHo4og=; h=Date:From:To:CC:Subject:References:In-Reply-To:From:Subject; b=BRrL4kpGSMmKEb2aq80ZYq8MsHzDZ2hdqnr9tyw8obiqYj0tBLzjESwJ9LyyeZdBk3ofcJtDZSrNlmPeB1BockItFJfkuv3Q+yoEsUlFZa28oTwRudvwB/fDTkcqQQZfRFAA0nbit10aumunbmSBh1SQLfHUxBFilwQwxMK+VmDOWm1564gZGPBDlWfK9LQib/aYNjrPwwQXS7BrO4YvEXnKIc64BfLGABTqFxreoZaqQAnMYGOjIZhiO+hQRUO2l5NPvw5oiMeTWhKrMP170Xa8V4lbKLyeI6aJRe17OWZiTVMufC8E0N8ldgz3jB603uh8n3pT2BFc5u31xOIIaQ== DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.co.uk; b=rUrerd9Ae4s0oCG4XqC+aqt580OW3VjTigMr69jiiNJoiIXELUvLgh4ZoEY1JNMLV53IyTrutLUh62fnxiGScPFEVCocbYaLxwW49sHt1eEQcAB2mk+r3HMg1FsVhVHIgQCwwMFi/uvQQHhKmttgCIQ4Ue/fIKIHYuoqP6GwBIWgM9wwgOBPAovbjdXPmJW9nR4G6vDEOiz+Z34s/IPR9tRUgbQYCslDGwIK4sQN5h4POC9uZ7j+RklncZNRHxL/0JsmpuscGVhI7viBHLZdLtOMIdYoZqww3pP/U61Tms4g5ENjLCXj15Z7qvoWIAA0qxQ43RA58q5lWXHg2jSWhg==; Received: from [212.82.98.63] by nm14.bullet.mail.ir2.yahoo.com with NNFMP; 26 Nov 2014 11:34:55 -0000 Received: from [46.228.39.97] by tm16.bullet.mail.ir2.yahoo.com with NNFMP; 26 Nov 2014 11:34:55 -0000 Received: from [127.0.0.1] by smtp134.mail.ir2.yahoo.com with NNFMP; 26 Nov 2014 11:34:55 -0000 X-Yahoo-Newman-Id: 216849.43196.bm@smtp134.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: LP6CB5IVM1neh1NdwJFJm4vPV8XtO4WOXJLAQZZjSmD2dYD k4ZIlIL69ABxsELdb4d4olx4Hcg4Te2P3VxHTeGvNIM_T4DKen_gVhBxEAE7 PIw30CrAUKsxIINt0Yv271mOFe3OBNNZvdqVz_0ocwiMrV86hOnIFFwwbC7t uptm4ocCPOxx1J5ydNJ2HLEwsWbyUSPu3G_ifM0Uyu7rcHW_AxbCUME9dzcs IRfdZLxvZe4vm1uW3uojv9ejgkjdGUdJCgtFEM4BzHhtgMp5atwHMWgeOpQT y5NIIa_vwLQ97aJdz42.9EXjypQh_jFr5Ik6THr8LaJRwW6gkQa5dEOprU_c hMmHiOpjk_bWKi8nzYrSInRJGHaoBuKjPiOiAxF1EB3aEluMx8uai7OyvsZJ dcyuIruqLCewywMozCw_jCqbtT41SWtmeiNaxRUs7c8GkfQM75Xs1yXz4aGP tjb9uL9BnQkKdV.6cycHHTfREEZZHM9O9fV9RWvTZTFFB1nnP63y3rdX7Dv4 RwXF_g5YjlUtqJHqTBQbLr1TOnQzJomRasRoa9w8lHKXm4Hz01HYziCLh0Oj vr4ehWNCOtZIwI.YYrmwH.H9h3AA- X-Yahoo-SMTP: ee.cljuswBBg4qLvZiTB75urubCs2umPc2oS Message-ID: <5475BADC.3000705@yahoo.co.uk> Date: Wed, 26 Nov 2014 11:34:52 +0000 From: Bill Farmer User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 References: <54746314.6010403@yahoo.co.uk> <83fvd7p4x0.fsf@gnu.org> <83a93fp089.fsf@gnu.org> <547513EF.30709@yahoo.co.uk> <831toqpqq9.fsf@gnu.org> In-Reply-To: <831toqpqq9.fsf@gnu.org> Content-Type: multipart/alternative; boundary="------------050507050300040201000402" X-Spam-Score: 0.0 (/) 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 (/) This is a multi-part message in MIME format. --------------050507050300040201000402 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit I have downloaded a built version of zlib1.dll from the zlib web site (http://zlib.net) and copied the file into the bin folder of the emacs 24.4 distribution. This fixes the problem, as this version of zlib does not have a dependency on libgcc_s_dw2-1.dll. Regards Bill Farmer On 26/11/2014 03:47, Eli Zaretskii wrote: > Please try to find the DLLs loaded into the Emacs binary that does > crash. I don't see any other way of finding out what caused it. > Somewhere on your system there is a DLL that depends on > libgcc_s_dw2-1.dll, and finding it is the way to solve this riddle. > Thanks. --------------050507050300040201000402 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 7bit I have downloaded a built version of zlib1.dll from the zlib web site (http://zlib.net) and copied the file into the bin folder of the emacs 24.4 distribution. This fixes the problem, as this version of zlib does not have a dependency on libgcc_s_dw2-1.dll.

Regards
Bill Farmer

On 26/11/2014 03:47, Eli Zaretskii wrote:
Please try to find the DLLs loaded into the Emacs binary that does crash. I don't see any other way of finding out what caused it. Somewhere on your system there is a DLL that depends on libgcc_s_dw2-1.dll, and finding it is the way to solve this riddle. Thanks.

--------------050507050300040201000402-- From unknown Wed Jun 25 05:39:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#19181: 24.4; 24.4.1 libgcc_s_dw2-1.dll crash on exit Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Nov 2014 15:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19181 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Bill Farmer Cc: 19181@debbugs.gnu.org, dmoncayo@gmail.com Reply-To: Eli Zaretskii Received: via spool by 19181-submit@debbugs.gnu.org id=B19181.14170173175107 (code B ref 19181); Wed, 26 Nov 2014 15:56:02 +0000 Received: (at 19181) by debbugs.gnu.org; 26 Nov 2014 15:55:17 +0000 Received: from localhost ([127.0.0.1]:46361 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xtew1-0001KJ-AY for submit@debbugs.gnu.org; Wed, 26 Nov 2014 10:55:17 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]:37839) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xtevy-0001K6-Mv for 19181@debbugs.gnu.org; Wed, 26 Nov 2014 10:55:15 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NFN00300LJJHW00@a-mtaout20.012.net.il> for 19181@debbugs.gnu.org; Wed, 26 Nov 2014 17:55:12 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NFN003Z1LK06950@a-mtaout20.012.net.il>; Wed, 26 Nov 2014 17:55:12 +0200 (IST) Date: Wed, 26 Nov 2014 17:55:28 +0200 From: Eli Zaretskii In-reply-to: <5475BADC.3000705@yahoo.co.uk> X-012-Sender: halo1@inter.net.il Message-id: <83vbm2nehb.fsf@gnu.org> References: <54746314.6010403@yahoo.co.uk> <83fvd7p4x0.fsf@gnu.org> <83a93fp089.fsf@gnu.org> <547513EF.30709@yahoo.co.uk> <831toqpqq9.fsf@gnu.org> <5475BADC.3000705@yahoo.co.uk> X-Spam-Score: 1.0 (+) 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: 1.0 (+) > Date: Wed, 26 Nov 2014 11:34:52 +0000 > From: Bill Farmer > CC: dmoncayo@gmail.com, 19181@debbugs.gnu.org > > I have downloaded a built version of zlib1.dll from the zlib web site > (http://zlib.net) and copied the file into the bin folder of the emacs 24.4 > distribution. This fixes the problem, as this version of zlib does not have a > dependency on libgcc_s_dw2-1.dll. Great, so your problem is solved. I've now mentioned zlib1.dll in etc/PROBLEMS as the potential source of such crashes. However, I'd still like to understand why Emacs loads zlib1.dll when you visit a file. Could you please help me figure that out? First, does that happen with any file, or just with a few particular ones, and if the latter, then which files trigger that? Second, how do you visit that file, exactly? "C-x C-f", via the menu bar, something else? And finally, does Emacs load zlib1.dll if you invoke it as "emacs -Q"? If "emacs -Q" doesn't load zlib1.dll, can you try finding the customization in your ~/.emacs that causes this? There are only 2 functions in core Emacs that might load zlib: zlib-available-p and zlib-decompress-region. So another way of finding out why zlib is being loaded is to "M-x debug-on-entry" both these functions, and when Emacs pops up the Lisp backtrace, see who called them. Thanks. From unknown Wed Jun 25 05:39:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#19181: 24.4; 24.4.1 libgcc_s_dw2-1.dll crash on exit Resent-From: Bill Farmer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Nov 2014 17:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19181 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 19181@debbugs.gnu.org, dmoncayo@gmail.com Received: via spool by 19181-submit@debbugs.gnu.org id=B19181.141702434016674 (code B ref 19181); Wed, 26 Nov 2014 17:53:01 +0000 Received: (at 19181) by debbugs.gnu.org; 26 Nov 2014 17:52:20 +0000 Received: from localhost ([127.0.0.1]:46465 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtglH-0004Kr-DR for submit@debbugs.gnu.org; Wed, 26 Nov 2014 12:52:20 -0500 Received: from nm40-vm9.bullet.mail.ir2.yahoo.com ([212.82.97.177]:43829) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtglF-0004Kf-CJ for 19181@debbugs.gnu.org; Wed, 26 Nov 2014 12:52:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1417024336; bh=zvfK649pxdP0RI4ss+MLOBJh4gci5EUxi4/9g0jTOYY=; h=Date:From:To:CC:Subject:References:In-Reply-To:From:Subject; b=p1EmJRShJOgJp1jXJO6PJKnKyRsF4haThDtSMcGPBM7RvXNjUCja7Hn5gMWrKP22fILUSoc603L6ddtjYOhPLoxm1TJgYrpMdiydjzEQi2j1kiZj1dn6aEi8hJ8NVEoGJXVfKtfPpjkedvkL1BccTOMmzXAmtJD+MUqpKjrIojfLc9/s9JvqsBadrbmtbPIwpAPc/+N6FGmgPxxzgupQCc4OWfjKPDQj1J3ml7By8x3R1luRgRwaWucXvkvgHQuhl+1G6E6IkVAjikiScN6fToMulvFrHQVG4XHSKwuuQt2A9iVXh1euSZ+wvIWD+80QCQALltN3mJ3EnAzxKArDtw== DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.co.uk; b=eiUoRzDzJxxRRY/Bnl3L+pbQIVANWcImF8SIJBx6odKCWTrpUJ5TfrdxOS+gAyXM0koIzGD+5qV88qygCVoywCGc+p4SfFInGx3zNu/qhvBfdDbtSW0XYlGcD+0HcxfeniYYkldVUUCxRVcxtPAyvn4ZkRtcBH2LEjimE/yywd5QtcRJW7CTqNb38NYa6mEaYAoW/XIU0BG8raJ9ymfwPkyQN6OaIAXC06Cz3OvIOp+Jd2g8ZyqCIbDs3DVH1Sk9N4C3sfVVJUHZ86g9oA7EUKDJV3bzoHNyyfZzIP5MrggdwQjEVgnTJCmaz+PkykNNVxM1kIWPx+CNZhP6SNs4Sw==; Received: from [212.82.98.127] by nm40.bullet.mail.ir2.yahoo.com with NNFMP; 26 Nov 2014 17:52:16 -0000 Received: from [46.228.39.95] by tm20.bullet.mail.ir2.yahoo.com with NNFMP; 26 Nov 2014 17:52:16 -0000 Received: from [127.0.0.1] by smtp132.mail.ir2.yahoo.com with NNFMP; 26 Nov 2014 17:52:16 -0000 X-Yahoo-Newman-Id: 263628.56446.bm@smtp132.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: C9MIGYoVM1lkWaA.my7Q0tB_egrUEbLL_oSx0fuze__Hjv. ih7zogdPY9eOwlRBZ5Z0lhLNt7E_Uo0E6BQ41RoulhDZGJ3ja3N8EvQCqcYy 6j7NviQ69e1FSjncxMsitWoEzUhdqvyGxp.HjbuYedaw493jbAjIyQjjmlnn edA_teswhpkPeDPHJTamK1r_wGmuyMhip1qveBCMO6Nt9d4EDRRCbInQ1bqA R2RqyKklJpmKgsEDIluH_00cnv6lAdQZ5j7myMcJhozPnC4U9kxYg1QUiVNO o0.ypfAUMh.NGioBla2ngdjBNh0NPvEgCGBr6uXEZ8oohZZwlJceVuG8irH_ x6.8mR0gQ4wxWQSfo8Z0SdyHDnf4jbpdv3gxEJp4LFXJIKraScFYYKLf87.K BrPylNYliKi.w4rWDbXCNj2uxN5DUaCudO5yuRKtrtxOO.3EHNwfC0kYImIe ubnCfwMax0aGlQ5MyXdy0C0fdsnTPeuW5uHo11juKHQymK1dWvX50jsLzTS5 cLU710Qx_YoxyizP0vJ5AuHIgV_bFGFsKKPJbW1cZ32pbedKGIoLMDaIxV59 gCryz9CkbqKcMG.DmRt.p9bRykyI- X-Yahoo-SMTP: ee.cljuswBBg4qLvZiTB75urubCs2umPc2oS Message-ID: <5476134D.7040200@yahoo.co.uk> Date: Wed, 26 Nov 2014 17:52:13 +0000 From: Bill Farmer User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 References: <54746314.6010403@yahoo.co.uk> <83fvd7p4x0.fsf@gnu.org> <83a93fp089.fsf@gnu.org> <547513EF.30709@yahoo.co.uk> <831toqpqq9.fsf@gnu.org> <5475BADC.3000705@yahoo.co.uk> <83vbm2nehb.fsf@gnu.org> In-Reply-To: <83vbm2nehb.fsf@gnu.org> Content-Type: multipart/mixed; boundary="------------020304090302040105050508" X-Spam-Score: 1.0 (+) 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 (/) This is a multi-part message in MIME format. --------------020304090302040105050508 Content-Type: multipart/alternative; boundary="------------050601090202080903090304" --------------050601090202080903090304 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit It does not seem to make any difference what file, I was using the grep-changelog file in the bin folder for testing, but any text or source file seems to cause the problem. I was visiting the file by dragging and dropping it into the emacs window. Visiting a file using the menu or 'C-x C-f' does not cause the problem. Starting emacs with emacs -Q crashes if a file is visited. I have attached a traceback from the zlib-available-p function. I couldn't paste it here because it contains null characters (^@). Regards Bill Farmer On 26/11/2014 15:55, Eli Zaretskii wrote: >> Date: Wed, 26 Nov 2014 11:34:52 +0000 >> From: Bill Farmer >> CC: dmoncayo@gmail.com, 19181@debbugs.gnu.org >> >> I have downloaded a built version of zlib1.dll from the zlib web site >> (http://zlib.net) and copied the file into the bin folder of the emacs 24.4 >> distribution. This fixes the problem, as this version of zlib does not have a >> dependency on libgcc_s_dw2-1.dll. > Great, so your problem is solved. I've now mentioned zlib1.dll in > etc/PROBLEMS as the potential source of such crashes. > > However, I'd still like to understand why Emacs loads zlib1.dll when > you visit a file. Could you please help me figure that out? > > First, does that happen with any file, or just with a few particular > ones, and if the latter, then which files trigger that? > > Second, how do you visit that file, exactly? "C-x C-f", via the menu > bar, something else? > > And finally, does Emacs load zlib1.dll if you invoke it as "emacs -Q"? > If "emacs -Q" doesn't load zlib1.dll, can you try finding the > customization in your ~/.emacs that causes this? > > There are only 2 functions in core Emacs that might load zlib: > zlib-available-p and zlib-decompress-region. So another way of > finding out why zlib is being loaded is to "M-x debug-on-entry" both > these functions, and when Emacs pops up the Lisp backtrace, see who > called them. > > Thanks. --------------050601090202080903090304 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 7bit It does not seem to make any difference what file, I was using the grep-changelog file in the bin folder for testing, but any text or source file seems to cause the problem. I was visiting the file by dragging and dropping it into the emacs window. Visiting a file using the menu or 'C-x C-f' does not cause the problem. Starting emacs with emacs -Q crashes if a file is visited. I have attached a traceback from the zlib-available-p function. I couldn't paste it here because it contains null characters (^@).

Regards
Bill Farmer

On 26/11/2014 15:55, Eli Zaretskii wrote:
Date: Wed, 26 Nov 2014 11:34:52 +0000
From: Bill Farmer <williamjfarmer@yahoo.co.uk>
CC: dmoncayo@gmail.com, 19181@debbugs.gnu.org

I have downloaded a built version of zlib1.dll from the zlib web site
(http://zlib.net) and copied the file into the bin folder of the emacs 24.4
distribution. This fixes the problem, as this version of zlib does not have a
dependency on libgcc_s_dw2-1.dll.
Great, so your problem is solved.  I've now mentioned zlib1.dll in
etc/PROBLEMS as the potential source of such crashes.

However, I'd still like to understand why Emacs loads zlib1.dll when
you visit a file.  Could you please help me figure that out?

First, does that happen with any file, or just with a few particular
ones, and if the latter, then which files trigger that?

Second, how do you visit that file, exactly?  "C-x C-f", via the menu
bar, something else?

And finally, does Emacs load zlib1.dll if you invoke it as "emacs -Q"?
If "emacs -Q" doesn't load zlib1.dll, can you try finding the
customization in your ~/.emacs that causes this?

There are only 2 functions in core Emacs that might load zlib:
zlib-available-p and zlib-decompress-region.  So another way of
finding out why zlib is being loaded is to "M-x debug-on-entry" both
these functions, and when Emacs pops up the Lisp backtrace, see who
called them.

Thanks.

--------------050601090202080903090304-- --------------020304090302040105050508 Content-Type: text/plain; charset=windows-1252; name="Backtrace.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="Backtrace.txt" Debugger entered--entering a function: * zlib-available-p() byte-code("\300\301!\205\f=00\301 \205\f=00\302\207" [fboundp zlib-avai= lable-p "gzip"] 2) (defvar url-mime-encoding-string (byte-code "\300\301!\205\f=00\301 \20= 5\f=00\302\207" [fboundp zlib-available-p "gzip"] 2) ("d:/Images/emacs/em= acs-24.4/share/emacs/24.4/lisp/url/url-vars.elc" . 6787)) require(url-vars) byte-code("\300\301!\210\300\302!\210\303\304\305\"\210\306\307\310\311= #\210\306\312\313\314#\207" [require url-vars auth-source autoload url-sc= heme-get-property "url-methods" byte-code "\300\301\302\"\207" [defalias = url-type--cmacro #[(_cl-whole-arg cl-x) "\301\302\303\304\211\211=08&=06\= 207" [cl-x cl--defsubst-expand (cl-x) (cl-block url-type (or (and (memq .= =2E. cl-struct-url-tags)) (error "%s accessing a non-%s" (quote url-type)= (quote url))) (aref cl-x 1)) nil] 7]] 3 "\300\301\302\303#\207" [put url= -type compiler-macro url-type--cmacro] 4] 4) require(url-parse) byte-code("\300\301!\210\300\302!\210\303\304\305\"\210\303\306\305\"\2= 10\303\307\310\"\207" [require url-parse url-vars autoload timezone-parse= -date "timezone" timezone-make-date-arpa-standard mail-header-extract "ma= ilheader"] 3) url-hexify-string("D:") mapconcat(url-hexify-string ("D:" "Images" "emacs" "emacs-24.4" "bin" "= grep-changelog") "/") w32-handle-dropped-file(# "D:\\Images\\emacs\\em= acs-24.4\\bin\\grep-changelog") apply(w32-handle-dropped-file # "D:\\Images\\ema= cs\\emacs-24.4\\bin\\grep-changelog") (closure (t) (&rest args) (apply (quote w32-handle-dropped-file) (quote= #) args))("D:\\Images\\emacs\\emacs-24.4\\bin\\gr= ep-changelog") mapc((closure (t) (&rest args) (apply (quote w32-handle-dropped-file) (= quote #) args)) ("D:\\Images\\emacs\\emacs-24.4\\b= in\\grep-changelog")) w32-drag-n-drop((drag-n-drop (# 192 (61 . 364) 1= 0304786 nil 192 (6 . 4) nil (61 . 296) (9 . 17)) ("D:\\Images\\emacs\\ema= cs-24.4\\bin\\grep-changelog"))) call-interactively(w32-drag-n-drop nil nil) command-execute(w32-drag-n-drop) --------------020304090302040105050508-- From unknown Wed Jun 25 05:39:57 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Bill Farmer Subject: bug#19181: closed (Re: bug#19181: 24.4; 24.4.1 libgcc_s_dw2-1.dll crash on exit) Message-ID: References: <83lhmxon0p.fsf@gnu.org> <54746314.6010403@yahoo.co.uk> X-Gnu-PR-Message: they-closed 19181 X-Gnu-PR-Package: emacs Reply-To: 19181@debbugs.gnu.org Date: Wed, 26 Nov 2014 18:06:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1417025163-18166-1" This is a multi-part message in MIME format... ------------=_1417025163-18166-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #19181: 24.4; 24.4.1 libgcc_s_dw2-1.dll crash on exit which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 19181@debbugs.gnu.org. --=20 19181: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D19181 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1417025163-18166-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 19181-done) by debbugs.gnu.org; 26 Nov 2014 18:05:31 +0000 Received: from localhost ([127.0.0.1]:46499 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xtgy2-0004iF-U4 for submit@debbugs.gnu.org; Wed, 26 Nov 2014 13:05:31 -0500 Received: from mtaout25.012.net.il ([80.179.55.181]:52073) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xtgy0-0004i6-5u for 19181-done@debbugs.gnu.org; Wed, 26 Nov 2014 13:05:29 -0500 Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NFN00C00QYKDP00@mtaout25.012.net.il> for 19181-done@debbugs.gnu.org; Wed, 26 Nov 2014 20:01:05 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NFN009WGRDTWL30@mtaout25.012.net.il>; Wed, 26 Nov 2014 20:01:05 +0200 (IST) Date: Wed, 26 Nov 2014 20:05:42 +0200 From: Eli Zaretskii Subject: Re: bug#19181: 24.4; 24.4.1 libgcc_s_dw2-1.dll crash on exit In-reply-to: <5476134D.7040200@yahoo.co.uk> X-012-Sender: halo1@inter.net.il To: Bill Farmer Message-id: <83lhmxon0p.fsf@gnu.org> References: <54746314.6010403@yahoo.co.uk> <83fvd7p4x0.fsf@gnu.org> <83a93fp089.fsf@gnu.org> <547513EF.30709@yahoo.co.uk> <831toqpqq9.fsf@gnu.org> <5475BADC.3000705@yahoo.co.uk> <83vbm2nehb.fsf@gnu.org> <5476134D.7040200@yahoo.co.uk> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 19181-done Cc: 19181-done@debbugs.gnu.org, dmoncayo@gmail.com 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: Wed, 26 Nov 2014 17:52:13 +0000 > From: Bill Farmer > CC: dmoncayo@gmail.com, 19181@debbugs.gnu.org > > It does not seem to make any difference what file, I was using the > grep-changelog file in the bin folder for testing, but any text or source file > seems to cause the problem. I was visiting the file by dragging and dropping it > into the emacs window. Visiting a file using the menu or 'C-x C-f' does not > cause the problem. Starting emacs with emacs -Q crashes if a file is visited. I > have attached a traceback from the zlib-available-p function. I couldn't paste > it here because it contains null characters (^@). OK, now everything is clear, thanks. Drag-n-drop indeed can load zlib1.dll, if Emacs was built with zlib support. I'm guessing that your own build was without zlib, so Emacs didn't load it. I'm closing the bug. ------------=_1417025163-18166-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 25 Nov 2014 16:38:37 +0000 Received: from localhost ([127.0.0.1]:45141 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtJ8N-0008TC-Tk for submit@debbugs.gnu.org; Tue, 25 Nov 2014 11:38:37 -0500 Received: from eggs.gnu.org ([208.118.235.92]:32782) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtDz1-0006cX-CU for submit@debbugs.gnu.org; Tue, 25 Nov 2014 06:08:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XtDyr-0001vL-0d for submit@debbugs.gnu.org; Tue, 25 Nov 2014 06:08:35 -0500 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,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36516) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtDyq-0001vG-T0 for submit@debbugs.gnu.org; Tue, 25 Nov 2014 06:08:24 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34452) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtDyi-0004VT-Gj for bug-gnu-emacs@gnu.org; Tue, 25 Nov 2014 06:08:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XtDya-0001pP-43 for bug-gnu-emacs@gnu.org; Tue, 25 Nov 2014 06:08:16 -0500 Received: from nm4-vm6.bullet.mail.ir2.yahoo.com ([212.82.96.104]:47923) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtDyZ-0001pI-Pj for bug-gnu-emacs@gnu.org; Tue, 25 Nov 2014 06:08:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1416913686; bh=dsJlRkLqR9m2WVVv4fr6Efp/Hv7NmUTtfs16NSsKTpk=; h=Date:From:To:Subject:From:Subject; b=ib22gp8eCJ5uT3plA+DSMe/bK5E91qkPDDh16RwpsImlsOllYhF9IY782v2hWIqEm/hHERCO9goM4pHPW/VLA++R/uyN3qQya2UXSIOmzndQfcvx1c610PBt6qke9sgwo6Clk7MGRxBqwTJTxSzEkoFrqyVOcgdza0IrhMQkU4U3K5YJgofrvubLVWDOCXJ6yFPFeAX37x+K92RnwXTJKPld/C90UpUKzWuGTTWKi6USZgTEAdJfOY/NjTGpdLLdXdZJVtQD+EbO1kchIbMK5/AcwL4y0/0r42FB+pCPfo7RLaj5WRUfmNfJPdz0fM7DdxLJo+SheA4Uh+yGtP0krQ== DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.co.uk; b=RuO1wJIkk4uYGI4kSU9dkVIpgH8jBl8StX65jzu60jbiysU/P4lTDr59ua7JHD9eZK/yPa/Vq4n1gaWyAOqLKQ4b25A4WJ/bKQY5D/s9teMHeR6QJggo9tSkEQ3li1KyG4Bc5QOgF2NYdDBiAYjtYSHXEOOvEspTOXknnfG5Wez0i/1v/t6coO9/VcPQr/pQMSgxWbM3Ap9TFxOFFob0HncbMPTJnaRbSZggAXsVjEUe4nJtt3dZVBNAtiBYBfzs0LdNL2SrO45TB8c4+FPkGAyrnWrCgNrv/Cmk/P1EGlHdHfSc47RNIhVK99TsxYmJw6/xjaJApfQVDbyFywz1Qw==; Received: from [212.82.98.124] by nm4.bullet.mail.ir2.yahoo.com with NNFMP; 25 Nov 2014 11:08:06 -0000 Received: from [46.228.39.88] by tm17.bullet.mail.ir2.yahoo.com with NNFMP; 25 Nov 2014 11:08:06 -0000 Received: from [127.0.0.1] by smtp125.mail.ir2.yahoo.com with NNFMP; 25 Nov 2014 11:08:06 -0000 X-Yahoo-Newman-Id: 559448.48790.bm@smtp125.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 3wNaBaAVM1lMPWGFFVMpMhcmJsn2dnEMLPHLGWKIC_mZ5vy sJj3tU1SODoM4gP5UXREGnKzoE7EWrWxtnC.SvSsy5P_fUdK2ELfrjGYaxgs bqfGGbtOqRcCpP3wkHr4geobhjgsoXBmU2_8Y21Pu1gFXCdVlOq0GcTawTO6 ZwH3MudKb_CvpWmhllh_PE2MZpzMVDBqBtKARejX8FoHuJdTooaHYJDaSSKj Q4KicTYe40U53RLz_HGp0GHZf9HQXdc9ScA0IAw3izlBy3F2BLn_.1cgK29u aQQIxqK6j00rL_wK8GkQc8UuMgmOcZ5YSGR_7QDDddtwCxpKW_j1hu0ZP7Tb 1OkHdQwEDbjuMFeiz2NaXgAaq0AGXM3MMaWJlm3vJgdnUISe52UxJ2tGTs8e QqMM3vZTBEEff8YxisYDGbirNUI7euEhzmX3FJJ0yIg7rlmumnpvqaqOg7GB 4_6yBG99OCavAiQJifhmZluX5bs4dW4AWN7ffTndiaqF6nZMlJglXE8cFwx1 kuaFCQ4makImNXm6eKaTOZFlP_bbcWWdL4KD7z7wuTGM- X-Yahoo-SMTP: ee.cljuswBBg4qLvZiTB75urubCs2umPc2oS Message-ID: <54746314.6010403@yahoo.co.uk> Date: Tue, 25 Nov 2014 11:08:04 +0000 From: Bill Farmer User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: 24.4; 24.4.1 libgcc_s_dw2-1.dll crash on exit Content-Type: multipart/alternative; boundary="------------010907020309030303060605" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 25 Nov 2014 11:38:34 -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: -5.0 (-----) This is a multi-part message in MIME format. --------------010907020309030303060605 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi In the file ~/etc/PROBLEMS is a mention of potential problems with libgcc_s_dw2-1.dll. I have an installation of MinGW on this windows machine which is in my PATH, as do many other emacs users, I would imagine. If I rename libgcc_s_dw2-1.dll in my MinGW installation, emacs works fine and does not crash on exit. However, this breaks MinGW. So I checked for mentions of libgcc in the emacs executables: Bill@CYNTHIA /d/Images/emacs/emacs-24.4 $ find . -name "*.dll" -exec strings -f {} \; | grep libgcc ./bin/libXpm.dll: libgcc_s_dw2-1.dll Bill@CYNTHIA /d/Images/emacs/emacs-24.4 $ find . -name "*.exe" -exec strings -f {} \; | grep libgcc ./bin/addpm.exe: libgcc_s_dw2-1.dll ./bin/ctags.exe: libgcc_s_dw2-1.dll ./bin/ebrowse.exe: libgcc_s_dw2-1.dll ./bin/emacs-24.4.exe: libgcc_s_dw2-1.dll ./bin/emacs.exe: libgcc_s_dw2-1.dll ./bin/emacsclient.exe: libgcc_s_dw2-1.dll ./bin/emacsclientw.exe: libgcc_s_dw2-1.dll ./bin/etags.exe: libgcc_s_dw2-1.dll ./bin/runemacs.exe: libgcc_s_dw2-1.dll ./libexec/emacs/24.4/i686-pc-mingw32/cmdproxy.exe: libgcc_s_dw2-1.dll ./libexec/emacs/24.4/i686-pc-mingw32/ddeclient.exe: libgcc_s_dw2-1.dll ./libexec/emacs/24.4/i686-pc-mingw32/hexl.exe: libgcc_s_dw2-1.dll ./libexec/emacs/24.4/i686-pc-mingw32/movemail.exe: libgcc_s_dw2-1.dll ./libexec/emacs/24.4/i686-pc-mingw32/profile.exe: libgcc_s_dw2-1.dll ./libexec/emacs/24.4/i686-pc-mingw32/update-game-score.exe: libgcc_s_dw2-1.dll Every executable file in the emacs version 24.4 windows installation has a reference to this dll. I don't think this problem is fixable without building my own version from source. I use the binary version to avoid this. I will have to revert to the previous version intil someone does a build without this problem. Regards Bill In GNU Emacs 24.4.1 (i686-pc-mingw32) of 2014-10-24 on LEG570 Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --prefix=/c/usr' Important settings: value of $LANG: ENG locale-coding-system: cp1252 Major mode: Fundamental Minor modes in effect: delete-selection-mode: t show-paren-mode: t cua-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-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 column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o r Recent messages: Loading cua-base...done Loading paren...done For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... [2 times] Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml 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 help-mode easymenu saveplace delsel paren cua-base cus-start cus-load 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 85268 6784) (symbols 32 18620 0) (miscs 32 81 107) (strings 16 12741 3702) (string-bytes 1 316673) (vectors 8 9842) (vector-slots 4 389888 5490) (floats 8 64 490) (intervals 28 256 41) (buffers 508 14)) --------------010907020309030303060605 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit Hi

In the file ~/etc/PROBLEMS is a mention of potential problems with
libgcc_s_dw2-1.dll. I have an installation of MinGW on this windows
machine which is in my PATH, as do many other emacs users, I would
imagine. If I rename libgcc_s_dw2-1.dll in my MinGW installation, emacs
works fine and does not crash on exit. However, this breaks MinGW. So I
checked for mentions of libgcc in the emacs executables:

Bill@CYNTHIA /d/Images/emacs/emacs-24.4
$ find . -name "*.dll" -exec strings -f {} \; | grep libgcc
./bin/libXpm.dll: libgcc_s_dw2-1.dll

Bill@CYNTHIA /d/Images/emacs/emacs-24.4
$ find . -name "*.exe" -exec strings -f {} \; | grep libgcc
./bin/addpm.exe: libgcc_s_dw2-1.dll
./bin/ctags.exe: libgcc_s_dw2-1.dll
./bin/ebrowse.exe: libgcc_s_dw2-1.dll
./bin/emacs-24.4.exe: libgcc_s_dw2-1.dll
./bin/emacs.exe: libgcc_s_dw2-1.dll
./bin/emacsclient.exe: libgcc_s_dw2-1.dll
./bin/emacsclientw.exe: libgcc_s_dw2-1.dll
./bin/etags.exe: libgcc_s_dw2-1.dll
./bin/runemacs.exe: libgcc_s_dw2-1.dll
./libexec/emacs/24.4/i686-pc-mingw32/cmdproxy.exe: libgcc_s_dw2-1.dll
./libexec/emacs/24.4/i686-pc-mingw32/ddeclient.exe: libgcc_s_dw2-1.dll
./libexec/emacs/24.4/i686-pc-mingw32/hexl.exe: libgcc_s_dw2-1.dll
./libexec/emacs/24.4/i686-pc-mingw32/movemail.exe: libgcc_s_dw2-1.dll
./libexec/emacs/24.4/i686-pc-mingw32/profile.exe: libgcc_s_dw2-1.dll
./libexec/emacs/24.4/i686-pc-mingw32/update-game-score.exe: libgcc_s_dw2-1.dll

Every executable file in the emacs version 24.4 windows installation has
a reference to this dll. I don't think this problem is fixable without
building my own version from source. I use the binary version to avoid
this. I will have to revert to the previous version intil someone does a
build without this problem.

Regards
Bill

In GNU Emacs 24.4.1 (i686-pc-mingw32)
 of 2014-10-24 on LEG570
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/usr'

Important settings:
  value of $LANG: ENG
  locale-coding-system: cp1252

Major mode: Fundamental

Minor modes in effect:
  delete-selection-mode: t
  show-paren-mode: t
  cua-mode: t
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-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
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <menu-bar> <help-menu> <about-emacs>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> M-x
r e p <tab> o <tab> r <tab> <return>

Recent messages:
Loading cua-base...done
Loading paren...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list... [2 times]

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
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 help-mode easymenu saveplace delsel paren
cua-base cus-start cus-load 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 85268 6784)
 (symbols 32 18620 0)
 (miscs 32 81 107)
 (strings 16 12741 3702)
 (string-bytes 1 316673)
 (vectors 8 9842)
 (vector-slots 4 389888 5490)
 (floats 8 64 490)
 (intervals 28 256 41)
 (buffers 508 14))

--------------010907020309030303060605-- ------------=_1417025163-18166-1--