From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: Recent trunk build crashes a lot under Win32 Date: Tue, 15 Apr 2008 23:07:12 +0100 Message-ID: <48052710.7040507@gnu.org> References: <4804978B.90600@gnu.org> NNTP-Posting-Host: lo.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 1208297290 7784 80.91.229.12 (15 Apr 2008 22:08:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Apr 2008 22:08:10 +0000 (UTC) Cc: Emacs Devel To: Claus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 16 00:08:39 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JltKB-0006Xx-BY for ged-emacs-devel@m.gmane.org; Wed, 16 Apr 2008 00:08:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JltJW-00025K-SE for ged-emacs-devel@m.gmane.org; Tue, 15 Apr 2008 18:07:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JltJQ-00023V-DR for emacs-devel@gnu.org; Tue, 15 Apr 2008 18:07:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JltJO-00021w-HT for emacs-devel@gnu.org; Tue, 15 Apr 2008 18:07:36 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JltJO-00021h-CL for emacs-devel@gnu.org; Tue, 15 Apr 2008 18:07:34 -0400 Original-Received: from mk-outboundfilter-5-a-2.mail.uk.tiscali.com ([212.74.114.4]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JltJN-0006Ks-W1 for emacs-devel@gnu.org; Tue, 15 Apr 2008 18:07:34 -0400 Original-X-Trace: 7578463/mk-outboundfilter-5.mail.uk.tiscali.com/F2S/$ACCEPTED/freedom2Surf-customers/83.67.23.108 X-SBRS: None X-RemoteIP: 83.67.23.108 X-IP-MAIL-FROM: jasonr@gnu.org X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ar8EAJDDBEhTQxds/2dsb2JhbACBX6tB X-IP-Direction: IN Original-Received: from i-83-67-23-108.freedom2surf.net (HELO wanchan.jasonrumney.net) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP; 15 Apr 2008 23:07:32 +0100 Original-Received: from [192.168.249.27] (chiko.jasonrumney.net [192.168.249.27]) by wanchan.jasonrumney.net (Postfix) with ESMTP id 1B3CA14F1; Tue, 15 Apr 2008 23:07:36 +0100 (BST) User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) In-Reply-To: X-Enigmail-Version: 0.95.6 OpenPGP: id=8086879D X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:95314 Archived-At: Claus wrote: > I tried building again with --no-opt, now it crashes on a different > line, again in fileio.c: > > [New thread 5592.0x159c] > Error: dll starting at 0x22720000 not found. > warning: reader_thread.SetEvent failed with 6 for fd -1 > > > Program received signal SIGSEGV, Segmentation fault. > [Switching to thread 5592.0x112c] > 0x0107aecb in Fexpand_file_name (name=25063763, > default_directory=32568883) at fileio.c:1468 > 1468 if (1 > OK, the rest of that line of code is the first reference to nm since the DECODE_FILE in the block that deals with expansion of ~. Does the crash happen only when opening files in your home directory? Stefan's fix looks good to me, but I'm not sure how to force a situation where there is even the possibility of GC happening in DECODE_FILE, let alone forcing GC to definitely occur in there, so I can't test for sure. What is your locale-coding-system set to, and what path does HOME expand to? Also, do you use any arguments to configure or make, and have you set any gc or coding-system related variables in .emacs? Does the crash occur if you start Emacs with the -Q option?