[issue35418] python hung or stuck somtimes randomly on windows server 2008R2

2018-12-05 Thread Eryk Sun
Eryk Sun added the comment: > I don't see how PyNamespace_New() can call LookupPrivilegeValueA() For the record, in the 3.7.1 release build, `PyNamespace_New + d4` is in enable_symlink (Modules/posixmodule.c), which gets called when the nt (aka posix) module gets initialized. It's the

[issue35418] python hung or stuck somtimes randomly on windows server 2008R2

2018-12-05 Thread Cao Hongfu
Change by Cao Hongfu : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35418] python hung or stuck somtimes randomly on windows server 2008R2

2018-12-05 Thread Cao Hongfu
Cao Hongfu added the comment: I tried windows resource manager and found that stuck python process does not have load these three DLL files(or stuck on loading these DLL files): MozartBreathBolo.dll MozartBreathNet.dll MozartBreathProcess.dll. These DLL files were created by our company's

[issue35418] python hung or stuck somtimes randomly on windows server 2008R2

2018-12-05 Thread Eryk Sun
Eryk Sun added the comment: > This traceback doesn't make sense Enable the installer options for the debug binaries and symbol files. Ensure that this installs the *_d.[exe|dll] debug binaries and also the *.pdb symbol files for the release and debug builds. Run the debug build via

[issue35418] python hung or stuck somtimes randomly on windows server 2008R2

2018-12-05 Thread Alexey Izbyshev
Alexey Izbyshev added the comment: How is it possible to use faulthandler if the interpreter hasn't even started yet? -- ___ Python tracker ___

[issue35418] python hung or stuck somtimes randomly on windows server 2008R2

2018-12-05 Thread STINNER Victor
STINNER Victor added the comment: You can try to use faulthandler.dump_traceback_later() with a file to get the traceback of the stuck threads. --thread1-- ... !UuidCreate+0x1b00 ... !RegEnumKeyExW+0xbe ... !LookupPrivilegeValueA+0x84 !PyNamespace_New+0xd4

[issue35418] python hung or stuck somtimes randomly on windows server 2008R2

2018-12-05 Thread Alexey Izbyshev
Alexey Izbyshev added the comment: You might try to check the list of DLLs loaded into the stuck python process and find third-party ones (e.g., antivirus). If there are any, disable the third-party software and try again. -- nosy: +izbyshev ___

[issue35418] python hung or stuck somtimes randomly on windows server 2008R2

2018-12-05 Thread Cao Hongfu
New submission from Cao Hongfu : Recently, python frequently(but randomly) hung or stuck at initialization(when I click the python.exe or use python cmd prompt) on my server(running windows server 2008R2), But everything is fine on my windows 7 PC). I tried reinstall python, but not