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: Fri, 17 May 2013 16:05:29 +0400 Message-ID: <51961D09.7030502@yandex.ru> References: <83d2tu49lu.fsf@gnu.org> <83zjweo5dh.fsf@gnu.org> <83sj25nym2.fsf@gnu.org> <837gjhnowi.fsf@gnu.org> <8338u4o39r.fsf@gnu.org> <83zjwbkmt2.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> 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 1368792355 3937 80.91.229.3 (17 May 2013 12:05:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 May 2013 12:05:55 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 17 14:05:53 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 1UdJPz-0003oH-L9 for ged-emacs-devel@m.gmane.org; Fri, 17 May 2013 14:05:51 +0200 Original-Received: from localhost ([::1]:42808 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UdJPz-0004XM-5r for ged-emacs-devel@m.gmane.org; Fri, 17 May 2013 08:05:51 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49587) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UdJPq-0004Ws-K5 for emacs-devel@gnu.org; Fri, 17 May 2013 08:05:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UdJPl-0002Fs-Hb for emacs-devel@gnu.org; Fri, 17 May 2013 08:05:42 -0400 Original-Received: from mail-la0-x22b.google.com ([2a00:1450:4010:c03::22b]:64416) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UdJPg-0002Dm-H5; Fri, 17 May 2013 08:05:32 -0400 Original-Received: by mail-la0-f43.google.com with SMTP id ez20so2926975lab.2 for ; Fri, 17 May 2013 05:05:31 -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=W7bP5RR+2HBU6RhUrnBLkjHJ1xn6QGaazDlDH6vWdH4=; b=WwBdEdpP7LGEflFScQsP7wLQGpLPuFeUurZLHg739IhIWKb8cYgbIbjC/NKZMNXgP4 ttKhjyZRE/sNkPCbY42p2srXUez7Z8456iZrRn4JvzJg1xgdm+UfI0bxKXMOheNzLUvf Q874/hVeZ8sRijpXEogFNk/wn4dK1utcgu4j6eOB+SujNAptK62dKZG3ReTdYkURgg2E bMae16uE9ZDWBb7fe9fIHDVItE95Ae0s8gMjKrraWi94vEhdRwqPmiwUj1HYB0BTyP9R uajuwYRxSwLB2+6LUdqVs5kzuSu4o5ueNDFQXrR2MHkMlAPfG2EKWJ9TiMQoB7BYf0sa v0JQ== X-Received: by 10.152.27.132 with SMTP id t4mr13349389lag.46.1368792331379; Fri, 17 May 2013 05:05:31 -0700 (PDT) Original-Received: from [127.0.0.1] ([178.252.98.87]) by mx.google.com with ESMTPSA id t17sm4759957lbd.11.2013.05.17.05.05.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 May 2013 05:05:29 -0700 (PDT) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 In-Reply-To: <83hai2rlm0.fsf@gnu.org> X-Antivirus: avast! (VPS 130516-1, 17.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::22b 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:159641 Archived-At: On 17.05.2013 13:39, Eli Zaretskii wrote: > Starting with trunk revision 112622, it should work to invoke > runemacs.exe from the nt/ subdirectory of the source or the build > tree. Fantastic, thanks! >> Speaking of stability, I've seen it crash a few times during exit, >> around the time it complains about inability to write ACL. > > That's most probably unrelated: Looks like that. One does not necessarily lead to the other. So far, gdb just sometimes shows that exit status is not normal. Run and immediately exit: (gdb) run Starting program: C:\Users\gutov\vc\emacs-bzr\trunk\src\emacs.exe [New Thread 2704.0x304] [New Thread 2704.0x1450] Warning: Lisp directory `C:/Users/gutov/vc/emacs-bzr/trunk/../site-lisp': No such file or directory [New Thread 2704.0x14d8] [New Thread 2704.0xfb4] [Inferior 1 (process 2704) exited normally] (gdb) Run, launch gnus, mess with it a bit, exit: (gdb) run Starting program: C:\Users\gutov\vc\emacs-bzr\trunk\src\emacs.exe [New Thread 2496.0x1410] [New Thread 2496.0x167c] Warning: Lisp directory `C:/Users/gutov/vc/emacs-bzr/trunk/../site-lisp': No such file or directory [New Thread 2496.0x8cc] [New Thread 2496.0x1684] [New Thread 2496.0x15dc] [New Thread 2496.0x16b4] [New Thread 2496.0x474] [Inferior 1 (process 2496) exited with code 03] The latter scenario, when executed outside of gdb, usually leads to dialog "... has stopped working". Problem signature: Problem Event Name: APPCRASH Application Name: emacs.exe Application Version: 24.3.50.0 Application Timestamp: 51961843 Fault Module Name: libgcc_s_dw2-1.dll Fault Module Version: 0.0.0.0 Fault Module Timestamp: 507d56df The text displayed in the message area during the crash is "Wrote C:/Users/gutov/.ido.last". > you are probably a member of the > Administrators group, which means you need to fix the permissions for > the ~/.emacs.d directory, so it is owned by your user, not by the > Administrators group. I'm the owner of ~, ~/.emacs.d and ~/.emacs.d/backups, yet if I toggle debug-on-error on, I still see the following when exiting: Debugger entered--Lisp error: (file-error "Setting ACL" "operation not permitted" "c:/Users/gutov/.emacs.d/backups/!drive_c!Users!gutov!.recentf.~525~") set-file-acl("c:/Users/gutov/.emacs.d/backups/!drive_c!Users!gutov!.recentf.~525~" "O:BAG:S-1-5-21-909999172-181315677-756075521-513D:(A;;FA;;;SY)(A;;FA;;;BA)(A;;FA;;;S-1-5-21-909999172-181315677-756075521-1000)") set-file-extended-attributes("c:/Users/gutov/.emacs.d/backups/!drive_c!Users!gutov!.recentf.~525~" ((acl . "O:BAG:S-1-5-21-909999172-181315677-756075521-513D:(A;;FA;;;SY)(A;;FA;;;BA)(A;;FA;;;S-1-5-21-909999172-181315677-756075521-1000)") (selinux-context nil nil nil nil))) backup-buffer-copy("c:/Users/gutov/.recentf" "c:/Users/gutov/.emacs.d/backups/!drive_c!Users!gutov!.recentf.~525~" 438 ((acl . "O:BAG:S-1-5-21-909999172-181315677-756075521-513D:(A;;FA;;;SY)(A;;FA;;;BA)(A;;FA;;;S-1-5-21-909999172-181315677-756075521-1000)") (selinux-context nil nil nil nil))) Apparently, because ~/.recentf is still owned by Administrator. I'll fix that, no problem. Just another special case.