Discussion:
[Scons-users] scons-3.0.0-amd64-setup.exe crashes just before file installation
Bill Deegan
2017-09-28 20:58:15 UTC
Permalink
Can you try pip in a virtualenv?

I think we're going to drop the windows installers.

-Bill

On Thu, Sep 28, 2017 at 1:53 PM, Barry Bond via Scons-users <
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
05 00000000`0014d830 00007ff9`83f33c79 USER32!DefDlgProcWorker+0xd1
06 00000000`0014d900 00007ff9`83eebc50 USER32!DefDlgProcA+0x39
07 00000000`0014d940 00007ff9`83eeb16d USER32!UserCallWinProcCheckWow+0x280
08 00000000`0014daa0 00007ff9`83eeaee8 USER32!SendMessageWorker+0x22d
09 00000000`0014db30 00007ff9`76a20fea USER32!SendMessageW+0xf8
0a 00000000`0014db90 00007ff9`76a20476 COMCTL32!CCSendNotify+0x96a
0b 00000000`0014dcb0 00007ff9`76a07b9e COMCTL32!SendNotifyEx+0x76
0c 00000000`0014dd20 00007ff9`76a091d2 COMCTL32!_Ppd_SendNotify+0x32
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
_______________________________________________
Scons-users mailing list
https://pairlist4.pair.net/mailman/listinfo/scons-users
Bill Deegan
2017-09-28 22:45:43 UTC
Permalink
Good news.
I'll float dropping the windows installer on the mailing list, unless
there's strong pushback I think we'll stop creating it.

-Bill
Thanks! “pip install --egg scons” succeeded and I have a working Scons 3.
Barry
*Sent:* Thursday, September 28, 2017 1:58 PM
*Subject:* Re: [Scons-users] scons-3.0.0-amd64-setup.exe crashes just
before file installation
Can you try pip in a virtualenv?
I think we're going to drop the windows installers.
-Bill
On Thu, Sep 28, 2017 at 1:53 PM, Barry Bond via Scons-users <
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
05 00000000`0014d830 00007ff9`83f33c79 USER32!DefDlgProcWorker+0xd1
06 00000000`0014d900 00007ff9`83eebc50 USER32!DefDlgProcA+0x39
07 00000000`0014d940 00007ff9`83eeb16d USER32!UserCallWinProcCheckWow+0x280
08 00000000`0014daa0 00007ff9`83eeaee8 USER32!SendMessageWorker+0x22d
09 00000000`0014db30 00007ff9`76a20fea USER32!SendMessageW+0xf8
0a 00000000`0014db90 00007ff9`76a20476 COMCTL32!CCSendNotify+0x96a
0b 00000000`0014dcb0 00007ff9`76a07b9e COMCTL32!SendNotifyEx+0x76
0c 00000000`0014dd20 00007ff9`76a091d2 COMCTL32!_Ppd_SendNotify+0x32
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
_______________________________________________
Scons-users mailing list
https://pairlist4.pair.net/mailman/listinfo/scons-users
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpairlist4.pair.net%2Fmailman%2Flistinfo%2Fscons-users&data=02%7C01%7Cbarrybo%40microsoft.com%7C3661312f327844882f1c08d506b3a4bd%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636422290993775691&sdata=nHTCWDwoimt2foICC1rADT2cfkWxkTDeAeDHw%2F2aeHg%3D&reserved=0>
Loading...