From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Test User Newsgroups: gmane.emacs.bugs Subject: bug#19813: 24.4; emacs crashes on exit Date: Mon, 9 Feb 2015 04:03:24 -0500 Message-ID: References: <834mqwbd61.fsf@gnu.org> <83vbjc9rgv.fsf@gnu.org> <83oap49lw4.fsf@gnu.org> <83lhk7ah0h.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c3f7cef313f3050ea40a21 X-Trace: ger.gmane.org 1423472656 30050 80.91.229.3 (9 Feb 2015 09:04:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Feb 2015 09:04:16 +0000 (UTC) To: 19813@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 09 10:04:15 2015 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 1YKkGM-0004Ho-BE for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Feb 2015 10:04:14 +0100 Original-Received: from localhost ([::1]:59639 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKkGL-00075O-J3 for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Feb 2015 04:04:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59813) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKkGD-00073P-IX for bug-gnu-emacs@gnu.org; Mon, 09 Feb 2015 04:04:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YKkGA-00064P-CY for bug-gnu-emacs@gnu.org; Mon, 09 Feb 2015 04:04:05 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46626) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKkGA-00064G-8N for bug-gnu-emacs@gnu.org; Mon, 09 Feb 2015 04:04:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YKkG9-0007gd-Rb for bug-gnu-emacs@gnu.org; Mon, 09 Feb 2015 04:04:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Test User Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Feb 2015 09:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19813 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19813-submit@debbugs.gnu.org id=B19813.142347261729511 (code B ref 19813); Mon, 09 Feb 2015 09:04:01 +0000 Original-Received: (at 19813) by debbugs.gnu.org; 9 Feb 2015 09:03:37 +0000 Original-Received: from localhost ([127.0.0.1]:37866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKkFl-0007fv-6e for submit@debbugs.gnu.org; Mon, 09 Feb 2015 04:03:37 -0500 Original-Received: from mail-la0-f49.google.com ([209.85.215.49]:34445) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKkFe-0007fd-Gx for 19813@debbugs.gnu.org; Mon, 09 Feb 2015 04:03:34 -0500 Original-Received: by labms9 with SMTP id ms9so11999982lab.1 for <19813@debbugs.gnu.org>; Mon, 09 Feb 2015 01:03:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=QwitHGfpZxxBhgyMH4MlamSWwPfys4STKLv/x6NwwM4=; b=rqJM8H16vKf7dsirNz9pSeJkS8IpZgnzmi+uhEepCroDWZWzWJowwplma4a+SL2275 BTIIqHlcYNeJhdWgikxJfl6/wGOMV2hdcRMH07r9HuWi4w6DjMhG8AvAvFUpVobkR+ku TZecfzN/gPwRp5f/EoMdQTXpW8c3+7iaYo3eFR+pfmJCcijN0s0eX4pmZuTEEHn71FZX XMZkqihMeA9h3xcPiJOgtLpA9ukLeikKiWACsNegjR5uCV+E/brc3w2K7s9yMGBOe452 CgceGO2HVdWQ5gOfuP4zU9qRgfG4glVe5FegmnXgBfSDcVKli83Z+nt0yTwPkvaCRA9n IKjw== X-Received: by 10.112.62.135 with SMTP id y7mr9905522lbr.50.1423472604679; Mon, 09 Feb 2015 01:03:24 -0800 (PST) Original-Received: by 10.25.40.9 with HTTP; Mon, 9 Feb 2015 01:03:24 -0800 (PST) In-Reply-To: <83lhk7ah0h.fsf@gnu.org> 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:99198 Archived-At: --001a11c3f7cef313f3050ea40a21 Content-Type: text/plain; charset=UTF-8 On Sun, Feb 8, 2015 at 10:41 PM, Eli Zaretskii wrote: > > Date: Sun, 8 Feb 2015 18:03:04 -0500 > > From: Test User > > > > I have *one* copy (not in my path) in a directory in which I had > assembled > > all the files required by a small program that I wrote, including this > DLL and > > libstdc++. On XP, even though the DLL is in the PATH, it is not loaded > when > > emacs runs, according to Process Monitor. > > The problem is not with libgcc_s_dw2-1.dll, the problem is with some > other DLL that loads it, typically zlib1.dll or some image library. > I built emacs with -shared-libgcc in LDFLAGS and the problem went away. I have some questions about building emacs, but they will be in a post to the user list. Thanks. You can close the bug if you have not already done so. On my main system (where the problem occurs), there is no zlib1.dll in /mingw/bin. I built it myself, and it does *not* have a dependency on libgcc_s_dw2-1.dll. On my virtual machine (where I did not have the problem), there is a zlib1.dll supplied by MinGW, and it *does* depend on libgcc_s_dw2-1.dll. The only DLL loaded when emacs runs that depends on libgcc_s_dw2-1.dll is libharfbuzz-0.dll, which is not loaded with `emacs -Q'. For your information, other DLLs usually loaded but not with the -Q flag include (and are possibly not limited to): libcairo-2.dll libcroco*.dll libfontconfig-1.dll libfreetype-6.dll libffi*.dll libpango*.dll libgdk_pixbuf*.dll libglib-2*.dll libgio-2*.dll libgmodule-2*.dll libgobject-2*.dll libiconv*.dll libintl-8.dll liblzma-5.dll libpcre-1.dll libpcreposix-0.dll libpng*.dll librsvg*.dll libpixman*.dll and maybe a few others. --001a11c3f7cef313f3050ea40a21 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


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

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

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

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

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

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

--001a11c3f7cef313f3050ea40a21--