[Scons-users] scons-3.0.0-amd64-setup.exe crashes just before file installation
Barry Bond
barrybo at microsoft.com
Thu Sep 28 16:53:57 EDT 2017
I have a 100% repro crash, I select the python installation to use, click Next, then click Next again to begin installation. This is on Windows 10 Creator's Update (Redstone 2) Enterprise edition.
The workaround is to launch the installer as-Administrator, so that it runs elevated. At the time of the crash, LastError is set to a permission-denied value.
If I run the installer under a debugger, it calls ExitProcess() without throwing the exception, making it a challenge to debug further.
The exception is: c0000417 STATUS_INVALID_CRUNTIME_PARAMETER
# Child-SP RetAddr Call Site
00 00000000`0014c390 00000001`4000a1de scons_3_0_0_amd64_setup+0xe548
01 00000000`0014c3d0 00000001`400039f5 scons_3_0_0_amd64_setup+0xa1de
02 00000000`0014c430 00000001`40005016 scons_3_0_0_amd64_setup+0x39f5
03 00000000`0014c6e0 00007ff9`83eeeade scons_3_0_0_amd64_setup+0x5016
04 00000000`0014d750 00007ff9`83eee261 USER32!UserCallDlgProcCheckWow+0xfe [windows\core\ntuser\client\clmsg.c @ 325]
05 00000000`0014d830 00007ff9`83f33c79 USER32!DefDlgProcWorker+0xd1 [windows\core\ntuser\client\dlgmgr.c @ 969]
06 00000000`0014d900 00007ff9`83eebc50 USER32!DefDlgProcA+0x39 [windows\core\ntuser\client\dlgmgr.c @ 1517]
07 00000000`0014d940 00007ff9`83eeb16d USER32!UserCallWinProcCheckWow+0x280 [windows\core\ntuser\client\clmsg.c @ 233]
08 00000000`0014daa0 00007ff9`83eeaee8 USER32!SendMessageWorker+0x22d [windows\core\ntuser\client\clmsg.c @ 830]
09 00000000`0014db30 00007ff9`76a20fea USER32!SendMessageW+0xf8 [internal\onecoreuapwindows\private\inc\core\ntuser\client\cltxt.h @ 874]
0a 00000000`0014db90 00007ff9`76a20476 COMCTL32!CCSendNotify+0x96a [shell\comctl32\v5\notify.c @ 1119]
0b 00000000`0014dcb0 00007ff9`76a07b9e COMCTL32!SendNotifyEx+0x76 [shell\comctl32\v5\notify.c @ 354]
0c 00000000`0014dd20 00007ff9`76a091d2 COMCTL32!_Ppd_SendNotify+0x32 [shell\comctl32\v5\prsht.c @ 1438]
0:000> u scons_3_0_0_amd64_setup+0xe4d8
00000001`4000e4d8 48895c2408 mov qword ptr [rsp+8],rbx
00000001`4000e4dd 48896c2410 mov qword ptr [rsp+10h],rbp
00000001`4000e4e2 4889742418 mov qword ptr [rsp+18h],rsi
00000001`4000e4e7 57 push rdi
00000001`4000e4e8 4883ec30 sub rsp,30h
00000001`4000e4ec 488be9 mov rbp,rcx
00000001`4000e4ef 488b0dda790200 mov rcx,qword ptr [scons_3_0_0_amd64_setup+0x35ed0 (00000001`40035ed0)]
00000001`4000e4f6 418bd9 mov ebx,r9d
00000001`4000e4f9 498bf8 mov rdi,r8
00000001`4000e4fc 488bf2 mov rsi,rdx
00000001`4000e4ff e854320000 call scons_3_0_0_amd64_setup+0x11758 (00000001`40011758)
00000001`4000e504 4885c0 test rax,rax
00000001`4000e507 741a je scons_3_0_0_amd64_setup+0xe523 (00000001`4000e523)
00000001`4000e509 4c8b542460 mov r10,qword ptr [rsp+60h]
00000001`4000e50e 448bcb mov r9d,ebx
00000001`4000e511 4c8bc7 mov r8,rdi
00000001`4000e514 488bd6 mov rdx,rsi
00000001`4000e517 488bcd mov rcx,rbp
00000001`4000e51a 4c89542420 mov qword ptr [rsp+20h],r10
00000001`4000e51f ffd0 call rax
00000001`4000e521 eb25 jmp scons_3_0_0_amd64_setup+0xe548 (00000001`4000e548)
00000001`4000e523 b902000000 mov ecx,2
00000001`4000e528 e8dfc60000 call scons_3_0_0_amd64_setup+0x1ac0c (00000001`4001ac0c)
00000001`4000e52d 4c8b5c2460 mov r11,qword ptr [rsp+60h]
00000001`4000e532 448bcb mov r9d,ebx
00000001`4000e535 4c8bc7 mov r8,rdi
00000001`4000e538 488bd6 mov rdx,rsi
00000001`4000e53b 488bcd mov rcx,rbp
00000001`4000e53e 4c895c2420 mov qword ptr [rsp+20h],r11
00000001`4000e543 e808feffff call scons_3_0_0_amd64_setup+0xe350 (00000001`4000e350)
00000001`4000e548 488b5c2440 mov rbx,qword ptr [rsp+40h]
^ exception record says this is the faulting opcode
00000001`4000e54d 488b6c2448 mov rbp,qword ptr [rsp+48h]
00000001`4000e552 488b742450 mov rsi,qword ptr [rsp+50h]
00000001`4000e557 4883c430 add rsp,30h
00000001`4000e55b 5f pop rdi
00000001`4000e55c c3 ret
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20170928/cbbbaa4c/attachment-0001.html>
More information about the Scons-users
mailing list