all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Bill Farmer <williamjfarmer@yahoo.co.uk>,
	Dani Moncayo <dmoncayo@gmail.com>
Cc: 19181@debbugs.gnu.org
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	[thread overview]
Message-ID: <83fvd7p4x0.fsf@gnu.org> (raw)
In-Reply-To: <54746314.6010403@yahoo.co.uk>

> Date: Tue, 25 Nov 2014 11:08:04 +0000
> From: Bill Farmer <williamjfarmer@yahoo.co.uk>
> 
> 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.





  reply	other threads:[~2014-11-25 17:26 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-25 11:08 bug#19181: 24.4; 24.4.1 libgcc_s_dw2-1.dll crash on exit Bill Farmer
2014-11-25 17:26 ` Eli Zaretskii [this message]
     [not found]   ` <5474C91A.3010007@yahoo.co.uk>
2014-11-25 18:58     ` Eli Zaretskii
2014-11-25 19:03   ` Dani Moncayo
2014-11-25 19:08     ` Eli Zaretskii
2014-11-25 19:11       ` Dani Moncayo
2014-11-25 23:42         ` Bill Farmer
2014-11-26  3:47           ` Eli Zaretskii
2014-11-26 10:06             ` Bill Farmer
2014-11-26 11:34             ` Bill Farmer
2014-11-26 15:55               ` Eli Zaretskii
2014-11-26 17:52                 ` Bill Farmer
2014-11-26 18:05                   ` Eli Zaretskii
2014-11-25 21:01       ` Óscar Fuentes
2014-11-26  3:42         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83fvd7p4x0.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=19181@debbugs.gnu.org \
    --cc=dmoncayo@gmail.com \
    --cc=williamjfarmer@yahoo.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.