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>
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 20:58:51 +0200	[thread overview]
Message-ID: <83bnnvp0no.fsf@gnu.org> (raw)
In-Reply-To: <5474C91A.3010007@yahoo.co.uk>

[Please keep the bug address on the CC list.]

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





  parent reply	other threads:[~2014-11-25 18:58 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
     [not found]   ` <5474C91A.3010007@yahoo.co.uk>
2014-11-25 18:58     ` Eli Zaretskii [this message]
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=83bnnvp0no.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=19181@debbugs.gnu.org \
    --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.