From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Lilja Newsgroups: gmane.emacs.devel Subject: Re: emacs 23.0.60.1 built today (11th feb 2008) crashes under Vista Date: Wed, 13 Feb 2008 23:57:33 +0100 Message-ID: References: <47B03F03.2030006@gnu.org> <47B04241.2030308@gnu.org> <47B044EB.9010808@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 1202943493 19062 80.91.229.12 (13 Feb 2008 22:58:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Feb 2008 22:58:13 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 13 23:58: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 1JPQYg-0008PC-Jw for ged-emacs-devel@m.gmane.org; Wed, 13 Feb 2008 23:58:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JPQYC-0004Kb-V3 for ged-emacs-devel@m.gmane.org; Wed, 13 Feb 2008 17:58:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JPQXs-0004FF-Pk for emacs-devel@gnu.org; Wed, 13 Feb 2008 17:57:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JPQXs-0004ES-7A for emacs-devel@gnu.org; Wed, 13 Feb 2008 17:57:40 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JPQXr-0004EA-Qp for emacs-devel@gnu.org; Wed, 13 Feb 2008 17:57:39 -0500 Original-Received: from main.gmane.org ([80.91.229.2] 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 1JPQXr-0001j2-KM for emacs-devel@gnu.org; Wed, 13 Feb 2008 17:57:39 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JPQXp-0008Qv-BJ for emacs-devel@gnu.org; Wed, 13 Feb 2008 22:57:37 +0000 Original-Received: from cust.fiber-lan.vnet.lk.85.194.49.108.stunet.se ([85.194.49.108]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Feb 2008 22:57:37 +0000 Original-Received: from mindcooler by cust.fiber-lan.vnet.lk.85.194.49.108.stunet.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Feb 2008 22:57:37 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 57 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cust.fiber-lan.vnet.lk.85.194.49.108.stunet.se User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: 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:88997 Archived-At: Eli Zaretskii skrev: >> From: Eric Lilja >> Date: Tue, 12 Feb 2008 10:49:29 +0100 >> >> init_user_info () at w32.c:619 >> 619 DWORD n_subauthorities = >> (gdb) step >> get_sid_sub_authority_count (pSid=0x82f288) at w32.c:388 >> 388 { >> (gdb) step >> 392 if (is_windows_9x () == TRUE) >> (gdb) step >> is_windows_9x () at w32.c:179 >> 179 if (g_b_init_is_windows_9x == 0) >> (gdb) step >> 190 } >> (gdb) step >> get_sid_sub_authority_count (pSid=0x82f288) at w32.c:396 >> 396 if (g_b_init_get_sid_sub_authority_count == 0) >> (gdb) step >> 404 if (s_pfn_Get_Sid_Sub_Authority_Count == NULL) >> (gdb) step >> 408 return (s_pfn_Get_Sid_Sub_Authority_Count (pSid)); >> (gdb) step >> 409 } >> (gdb) step >> get_sid_sub_authority_count (pSid=0x0) at w32.c:408 >> 408 return (s_pfn_Get_Sid_Sub_Authority_Count (pSid)); >> (gdb) step >> 0x77df986b in ntdll!_fltused () >> (gdb) step >> Single stepping until exit from function ntdll!_fltused, >> which has no line number information. >> >> Program received signal SIGSEGV, Segmentation fault. >> 0x77df9871 in ntdll!_fltused () >> (gdb) > > Thanks. > > Would it be possible for you to build Emacs without the change below, > and then see if it works on Vista? TIA > > 2008-01-26 Eli Zaretskii > > * w32.c (g_b_init_get_sid_sub_authority) > (g_b_init_get_sid_sub_authority_count): New static variables. > (GetSidSubAuthority_Proc, GetSidSubAuthorityCount_Proc): New typedefs. > (get_sid_sub_authority, get_sid_sub_authority_count): New functions. > (init_user_info): Use them to retrieve uid and gid. > Use 500/513, the Windows defaults, as Administrator's uid/gid. > > > > Yes, if I just knew a clean way of undoing that change.