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

Eryk Sun report at bugs.python.org
Wed Dec 5 21:53:24 EST 2018


Eryk Sun <eryksun at gmail.com> 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 return address for the LookupPrivilegeValueA call:

    0:000> u (python37!PyNamespace_New + d4 - 6) l2
    python37!enable_symlink+0x42:
    00007ffd`e4b9a356 
        ff153ccd1500    call    qword ptr 
        [python37!_imp_LookupPrivilegeValueA (00007ffd`e4cf7098)]
    00007ffd`e4b9a35c 
        85c0            test    eax,eax

It's just that Cao didn't have the python37.pdb symbol file available in Process Explorer.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35418>
_______________________________________


More information about the Python-bugs-list mailing list