From: Eric Lilja <address@hidden>
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 <address@hidden>
* 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.