From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: MS-Windows build using Posix configury Date: Sat, 18 May 2013 23:15:29 +0400 Message-ID: <5197D351.1010109@yandex.ru> References: <83d2tu49lu.fsf@gnu.org> <83wqrfkjvo.fsf@gnu.org> <838v3qebns.fsf@gnu.org> <83wqr9csah.fsf@gnu.org> <83wqr297da.fsf@gnu.org> <83txm34g6k.fsf@gnu.org> <83d2srt645.fsf@gnu.org> <87y5bfkmsz.fsf@yandex.ru> <834ne3sziw.fsf@gnu.org> <519504DD.1030004@yandex.ru> <8338tmu9m0.fsf@gnu.org> <83hai2rlm0.fsf@gnu.org> <51961D09.7030502@yandex.ru> <83d2spsqa1.fsf@gnu.org> <519638A0.70807@[87.69.4.28]> <837gixsmwh.fsf@gnu.org> <51964CD3.1010106@yandex.ru> <8338tlsibr.fsf@gnu.org> <831u95sdwi.fsf@gnu.org> <83zjvtqwf0.fsf@gnu.org> <51969776.4060206@y> <83txm0rc1o.fsf@gnu.org> <5197371A.20401@yandex.ru> <83sj1ky7sy.fsf@gnu.org> <5197810F.60304@[87.69.4.28]> <83obc8xt4d.fsf@gnu.org> <51978FFF.6020503@yandex.ru> <83ehd4xi6v.fsf@gnu.org> <83bo88xgpk.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1368904562 19500 80.91.229.3 (18 May 2013 19:16:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 May 2013 19:16:02 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 18 21:16:01 2013 Return-path: Envelope-to: ged-emacs-devel@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 1Udmbo-0008Mo-Jc for ged-emacs-devel@m.gmane.org; Sat, 18 May 2013 21:16:00 +0200 Original-Received: from localhost ([::1]:40879 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Udmbn-0005y7-Sh for ged-emacs-devel@m.gmane.org; Sat, 18 May 2013 15:15:59 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47917) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Udmba-0005xj-GQ for emacs-devel@gnu.org; Sat, 18 May 2013 15:15:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UdmbS-0005Pf-TE for emacs-devel@gnu.org; Sat, 18 May 2013 15:15:46 -0400 Original-Received: from mail-la0-x235.google.com ([2a00:1450:4010:c03::235]:39480) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UdmbK-0005OI-FE; Sat, 18 May 2013 15:15:30 -0400 Original-Received: by mail-la0-f53.google.com with SMTP id ea20so1400626lab.40 for ; Sat, 18 May 2013 12:15:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding:x-antivirus:x-antivirus-status; bh=4ejZq9DUMOaJpTkm4dRL+rNh/hzkO7VgW2V3c5tcrqg=; b=F2yKoK9ODLCdO52glv/tPoK23TdgvHRoLVum/cmvYcD3Hmol/neuFXH7ucjlSVNhD9 LdKZ/AGV8adfkYhf1Yyy2gvOUW6FrzCaTvhzb6h5hTINBG267fQQs14Qxg2xacdZ+081 pdJGTleoC1LFXaulhTzkCCHipxhLWTpLgbhdMNS7XYv6Oya0R4niYPyKKA3D0OVTp4yA +ssondyajH8ecCPkgSjBdkuzS9SirpKUzpU2DLp+mbrqASdY9sJoAgmxajFvHPLjE/Mw 6KJy6sUYiagO0+6xHYU6HK6BhZSoWzM8OB1s2DwwEbQqUKmS6Wm/8RuyxQ8MsgzApyd8 r29g== X-Received: by 10.112.125.232 with SMTP id mt8mr21807153lbb.55.1368904528986; Sat, 18 May 2013 12:15:28 -0700 (PDT) Original-Received: from [127.0.0.1] ([178.252.98.87]) by mx.google.com with ESMTPSA id ky7sm6939893lbc.16.2013.05.18.12.15.26 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 18 May 2013 12:15:27 -0700 (PDT) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 In-Reply-To: <83bo88xgpk.fsf@gnu.org> X-Antivirus: avast! (VPS 130518-0, 18.05.2013), Outbound message X-Antivirus-Status: Clean X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::235 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:159666 Archived-At: On 18.05.2013 22:53, Eli Zaretskii wrote: >> Date: Sat, 18 May 2013 22:42:42 +0400 >> From: Dmitry Gutov >> CC: emacs-devel@gnu.org >> >> It looks to me that libpng gets loaded by Gnus anyway, because a) the >> breakpoint on w32.c:7473 still gets hit, the same amount of times, and >> the car of 'loaded_from' on the first hit is still "libpng14-14.dll", b) >> 'M-x list-dynamic-libraries' crashes with (wrong-type-argument >> characterp "J:\\Apps\\System\\MinGW\\bin\\libpng14-14.dll") after Gnus >> has been launched, just like it does in graphical environment. > > I'd be interested to know which sequence of calls causes libpng to be > loaded by Gnus in a non-GUI session. That sounds like a bug to me. I don't mind participating in the troubleshooting, but can't you reproduce this on your end? I mean both libpng loading in the terminal, and crash when using libgcc-dw2-dependent libintl. It would be quicker. > Anyway, you should be able to work around this by renaming or moving > out of PATH the image libraries. > > The goal of this exercise is to see whether the problem is in any way > related to the order of loading and unloading the DLLs. When there's > only one DLL, the order doesn't matter ;-) Looks like it is. I renamed libpng, so it doesn't get loaded. Without your patch, it still crashes, but with the patch applied, the crash is gone. I only see this message in the console: warning: Temporarily disabling breakpoints for unloaded shared library "J:\Apps\System\MinGW\bin\libiconv-2.dll" libiconv-2.dll is a dependency of libintl-8.dll.