Subject: bug#12621: Emacs 24.1 crashing on Win7

From: Arunas Ruksnaitis <[email-masked]>
Date: Thu, 13 Dec 2012 10:22:42 +0000 (GMT)

Just to confirm, this is a big problem for me, too.
My observations confirm the original report.
Stack trace, should it help, is here. I guess "lookup_account_sid" is passing an invalid lpSid?

#0  0x75c1511c in RPCRT4!NdrProxyFreeBuffer () from C:\Windows\syswow64\rpcrt4.dll
#1  0x76dcbb9e in UpdateTraceA () from C:\Windows\syswow64\advapi32.dll
#2  0x0087946c in ?? ()
#3  0x75c0e69d in RPCRT4!MesDecodeIncrementalHandleCreate () from C:\Windows\syswow64\rpcrt4.dll
#4  0x0087946c in ?? ()
#5  0x75c11eda in RpcErrorEndEnumeration () from C:\Windows\syswow64\rpcrt4.dll
#6  0x0087946c in ?? ()
#7  0x75c06bf0 in RPCRT4!NdrOleAllocate () from C:\Windows\syswow64\rpcrt4.dll
#8  0x0087946c in ?? ()
#9  0x75c125e1 in RpcErrorEndEnumeration () from C:\Windows\syswow64\rpcrt4.dll
#10 0x76dcc0a6 in UpdateTraceA () from C:\Windows\syswow64\advapi32.dll
#11 0x0087946c in ?? ()
#12 0x75c12557 in RpcErrorEndEnumeration () from C:\Windows\syswow64\rpcrt4.dll
#13 0x0087998c in ?? ()
#14 0x75c1253b in RpcErrorEndEnumeration () from C:\Windows\syswow64\rpcrt4.dll
#15 0x0087998c in ?? ()
#16 0x75c0e713 in RPCRT4!MesDecodeIncrementalHandleCreate () from C:\Windows\syswow64\rpcrt4.dll
#17 0x0087946c in ?? ()
#18 0x75c06bf0 in RPCRT4!NdrOleAllocate () from C:\Windows\syswow64\rpcrt4.dll
#19 0x0087946c in ?? ()
#20 0x75c13c1a in RPCRT4!I_RpcParseSecurity () from C:\Windows\syswow64\rpcrt4.dll
#21 0x76dcfa8e in LsaGetQuotasForAccount () from C:\Windows\syswow64\advapi32.dll
#22 0x75c00db7 in UuidFromStringA () from C:\Windows\syswow64\rpcrt4.dll
#23 0x0087946c in ?? ()
#24 0x75ca0104 in ?? ()
#25 0x76dd963e in LsaICLookupSidsWithCreds () from C:\Windows\syswow64\advapi32.dll
#26 0x76dcb9c8 in UpdateTraceA () from C:\Windows\syswow64\advapi32.dll
#27 0x76dcfa6a in LsaGetQuotasForAccount () from C:\Windows\syswow64\advapi32.dll
#28 0x76dd958c in LsaICLookupSidsWithCreds () from C:\Windows\syswow64\advapi32.dll
#29 0x0098c9a8 in ?? ()
#30 0x76dd9417 in LsaManageSidNameMapping () from C:\Windows\syswow64\advapi32.dll
#31 0x76df1c27 in LookupAccountNameW () from C:\Windows\syswow64\advapi32.dll
#32 0x76df1ec6 in LookupAccountSidW () from C:\Windows\syswow64\advapi32.dll
#33 0x01029e1b in lookup_account_sid@28 ()
#34 0x0102a12d in get_name_and_id ()
#35 0x0102a2a4 in get_file_owner_and_group ()
#36 0x0102c2c7 in stat ()
#37 0x0103be17 in Finsert_file_contents ()
#38 0x0100ee96 in Ffuncall ()
#39 0x0107139d in exec_byte_code ()