From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] ImageMagick Support on Windows Date: Wed, 15 Oct 2014 13:30:13 +0300 Message-ID: <83egu962x6.fsf@gnu.org> References: <83siis71xq.fsf@gnu.org> <83siiq6e3v.fsf@gnu.org> <83r3ya65t0.fsf@gnu.org> <83h9z56fwy.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1413369040 16317 80.91.229.3 (15 Oct 2014 10:30:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Oct 2014 10:30:40 +0000 (UTC) Cc: emacs-devel@gnu.org To: Alexander Shukaev Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 15 12:30:33 2014 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 1XeLqj-0005lU-0J for ged-emacs-devel@m.gmane.org; Wed, 15 Oct 2014 12:30:33 +0200 Original-Received: from localhost ([::1]:43772 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XeLqi-0001Lo-HQ for ged-emacs-devel@m.gmane.org; Wed, 15 Oct 2014 06:30:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52548) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XeLqX-00015x-TK for emacs-devel@gnu.org; Wed, 15 Oct 2014 06:30:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XeLqS-0005SB-1P for emacs-devel@gnu.org; Wed, 15 Oct 2014 06:30:21 -0400 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:60907) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XeLqR-0005Rp-QC for emacs-devel@gnu.org; Wed, 15 Oct 2014 06:30:15 -0400 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NDH00800E1ZVY00@mtaout25.012.net.il> for emacs-devel@gnu.org; Wed, 15 Oct 2014 13:25:30 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NDH00OWPEAID890@mtaout25.012.net.il>; Wed, 15 Oct 2014 13:25:30 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.181 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:175396 Archived-At: > Date: Wed, 15 Oct 2014 11:27:36 +0200 > From: Alexander Shukaev > Cc: emacs-devel@gnu.org > > Can you run this command under GDB, and see exactly where it crashes, > and why? > > I, personally, usually don't use GDB to find out causes of crashing on Windows, > i.e. I either infer them from the code or find it out through logging > facilities. The main reason why I almost never use GDB on Windows is the > following output: > > Program received signal SIGSEGV, Segmentation fault. > 0x0000000000000000 in ?? () > > which actually conveys no information at all. The crash often goes deep to some > Windows system DLLs and therefore cannot be traced by GDB. This is exactly the > case this time once again. We cannot rely on GDB now... If you are sure the above was from thread #1, then there's only one explanation: Emacs tried to call a function whose address was not yet set by call GetProcAddress. > Are you sure that you have pointed out all the spots that should be patched and > that we didn't miss any of them? Please, since you know the internals better, > think of what we could miss patching, it really feels like a zero pointer > somewhere or something alike. In any case, now you know that it all starts from > the "(imagemagick-register-types)" call. I see someone else posted an explanation for the crash, so I think you have a starting point. Thanks.