From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#19181: 24.4; 24.4.1 libgcc_s_dw2-1.dll crash on exit Date: Tue, 25 Nov 2014 19:26:51 +0200 Message-ID: <83fvd7p4x0.fsf@gnu.org> References: <54746314.6010403@yahoo.co.uk> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1416936443 6462 80.91.229.3 (25 Nov 2014 17:27:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Nov 2014 17:27:23 +0000 (UTC) Cc: 19181@debbugs.gnu.org To: Bill Farmer , Dani Moncayo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 25 18:27:17 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XtJtV-0007Nq-CJ for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Nov 2014 18:27:17 +0100 Original-Received: from localhost ([::1]:58711 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtJtU-0004H2-V2 for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Nov 2014 12:27:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56453) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtJtM-0004Gg-Gg for bug-gnu-emacs@gnu.org; Tue, 25 Nov 2014 12:27:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XtJtG-0000ch-To for bug-gnu-emacs@gnu.org; Tue, 25 Nov 2014 12:27:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47979) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtJtG-0000cc-Qs for bug-gnu-emacs@gnu.org; Tue, 25 Nov 2014 12:27:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XtJtG-0001Ni-FD for bug-gnu-emacs@gnu.org; Tue, 25 Nov 2014 12:27:02 -0500 X-Loop: help-debbugs@gnu.org 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: Original-Received: via spool by 19181-submit@debbugs.gnu.org id=B19181.14169364025277 (code B ref 19181); Tue, 25 Nov 2014 17:27:02 +0000 Original-Received: (at 19181) by debbugs.gnu.org; 25 Nov 2014 17:26:42 +0000 Original-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 Original-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 Original-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) Original-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) In-reply-to: <54746314.6010403@yahoo.co.uk> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:96558 Archived-At: > 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.