From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Fabrice Popineau" Newsgroups: gmane.emacs.devel Subject: Gnu Emacs and Vista ASLR feature Date: Thu, 29 May 2008 11:28:00 +0200 Organization: =?iso-8859-1?Q?Sup=E9lec?= Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1212056155 22330 80.91.229.12 (29 May 2008 10:15:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 May 2008 10:15:55 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 29 12:16:36 2008 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 1K1fBM-0003Ig-Bc for ged-emacs-devel@m.gmane.org; Thu, 29 May 2008 12:16:28 +0200 Original-Received: from localhost ([127.0.0.1]:51332 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1fAa-0007lz-O8 for ged-emacs-devel@m.gmane.org; Thu, 29 May 2008 06:15:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K1fAA-0007dJ-Un for emacs-devel@gnu.org; Thu, 29 May 2008 06:15:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K1fA9-0007cj-GA for emacs-devel@gnu.org; Thu, 29 May 2008 06:15:13 -0400 Original-Received: from [199.232.76.173] (port=44340 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1fA8-0007cb-Rr for emacs-devel@gnu.org; Thu, 29 May 2008 06:15:12 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:36779 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K1fA8-0000Nc-FS for emacs-devel@gnu.org; Thu, 29 May 2008 06:15:12 -0400 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1K1f9y-0008UA-Jm for emacs-devel@gnu.org; Thu, 29 May 2008 10:15:02 +0000 Original-Received: from sparky.metz.supelec.fr ([193.48.224.190]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 29 May 2008 10:15:02 +0000 Original-Received: from fabrice.popineau by sparky.metz.supelec.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 29 May 2008 10:15:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 33 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sparky.metz.supelec.fr X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6001.18000 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18000 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:97959 Archived-At: Hi all, I'd like to raise a problem with Gnu Emacs and Vista. There is this new Adress Space Layout Randomization feature in Vista. An executable will be randomly rebased at load-time. I have compiled 23.0.50 using MSVC 2008 and I'm experiencing the following : - the freshly compiled emacs.exe always runs - if I kill it, or if I reboot or whatever other condition (like loading large programs, namely Lispworks), the same emacs.exe crashes - if I recompile it, it will run. I suspect some interference between this Vista ASLR feature and the way Gnu Emacs is dumped. I'm only a casual reader of this groups, so maybe this issue has already been raised (but couldn't find anything relevant in Google). Any insights about the best way to solve this problem would be welcome. For the moment, I'm investigating with the /dynamicbase:no option of the linker to see if it makes any difference. Best regards, -- Fabrice Popineau ------------------------ e-mail: Fabrice.Popineau@supelec.fr | The difference between theory voice-mail: +33 (0) 387764715 | and practice, is that surface-mail: Supelec, 2 rue E. Belin, | theoretically, F-57070 Metz | there is no difference !