Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hang at start due to GetUserNameEx #72

Closed
FauxFaux opened this issue Apr 10, 2013 · 1 comment
Closed

Hang at start due to GetUserNameEx #72

FauxFaux opened this issue Apr 10, 2013 · 1 comment

Comments

@FauxFaux
Copy link
Owner

A user reports that they get 1+ minute hangs at startup. Debugging v013 reveals:

   0  Id: 14c0.cbc Suspend: 1 Teb: 000007ff`fffde000 Unfrozen
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\Windows\system32\RPCRT4.dll - 
Child-SP          RetAddr           Call Site
00000000`0013f298 000007fe`fe82aa76 ntdll!ZwAlpcSendWaitReceivePort+0xa
00000000`0013f2a0 000007fe`fe8ccb64 RPCRT4!NdrDllCanUnloadNow+0x31c6
00000000`0013f360 000007fe`fe8ccd55 RPCRT4!Ndr64AsyncClientCall+0xe04
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\Windows\system32\SSPICLI.DLL - 
00000000`0013f620 000007fe`fd7c1360 RPCRT4!NdrClientCall3+0xf5
00000000`0013f9b0 000007fe`fd7c1214 SSPICLI!GetUserNameExW+0x18c
00000000`0013fa70 000007fe`fd7c9a4f SSPICLI!GetUserNameExW+0x40
00000000`0013fac0 00000001`3f381d3a SSPICLI!GetUserNameExA+0x6f
00000000`0013fb10 00000001`3f32691b putty!get_username+0x66 [c:\scm\putty\windows\winmisc.c @ 76]
00000000`0013fb40 00000001`3f3759a1 putty!setup_config_box+0x2363 [c:\scm\putty\config.c @ 1887]
00000000`0013fc80 00000001`3f3771a4 putty!do_config+0x25 [c:\scm\putty\windows\windlg.c @ 643]
00000000`0013fcb0 00000001`3f392590 putty!WinMain+0x78c [c:\scm\putty\windows\window.c @ 659]

..that is, that GetUserNameEx is Slow.

This is only called to make a small UI enhancement, so seems worth removing.

FauxFaux added a commit that referenced this issue May 8, 2013
This causes startup hangs for some users.

I've been unable to determine a way to ask Windows for
a reasonable guess of the username that is not going to
go to the network.
@FauxFaux
Copy link
Owner Author

FauxFaux commented May 8, 2013

I've just entirely ripped this off, I can't find any way to make it Fast.

@FauxFaux FauxFaux closed this as completed May 8, 2013
FauxFaux added a commit that referenced this issue Jun 1, 2013
This causes startup hangs for some users.

I've been unable to determine a way to ask Windows for
a reasonable guess of the username that is not going to
go to the network.
FauxFaux added a commit that referenced this issue Jul 13, 2013
This causes startup hangs for some users.

I've been unable to determine a way to ask Windows for
a reasonable guess of the username that is not going to
go to the network.
FauxFaux added a commit that referenced this issue Jul 14, 2013
This causes startup hangs for some users.

I've been unable to determine a way to ask Windows for
a reasonable guess of the username that is not going to
go to the network.
FauxFaux added a commit that referenced this issue Aug 6, 2013
This causes startup hangs for some users.

I've been unable to determine a way to ask Windows for
a reasonable guess of the username that is not going to
go to the network.
FauxFaux added a commit that referenced this issue Aug 7, 2013
This causes startup hangs for some users.

I've been unable to determine a way to ask Windows for
a reasonable guess of the username that is not going to
go to the network.
FauxFaux added a commit that referenced this issue Aug 11, 2013
This causes startup hangs for some users.

I've been unable to determine a way to ask Windows for
a reasonable guess of the username that is not going to
go to the network.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant