Try to turn on heap verification for python.exe using the following registration key and then start pymol with `python.exe -m pymol`

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\python.exe]
"GlobalFlag"="0x02000000"
"VerifierFlags"=dword:00000001
"PageHeapFlags"="0x3"


Christoph


On 5/9/2018 5:32 PM, Gary Oberbrunner wrote:
Thanks -- unfortunately it seems to be heap corruption. I can see where it's detected:

         ntdll.dll!RtlpLogHeapFailure ()Unknown
ntdll.dll!RtlFreeHeap()Unknown
ucrtbase.dll!_free_base()Unknown
_cmd.cp36-win_amd64.pyd!VLAFree(void * ptr) Line 222C++
_cmd.cp36-win_amd64.pyd!CGOFreeImpl(CGO * I, short withVBOs) Line 447C++
_cmd.cp36-win_amd64.pyd!CGOFree(CGO * & I) Line 435C++
_cmd.cp36-win_amd64.pyd!OrthoInvalidateDoDraw(_PyMOLGlobals * G) Line 2808C++ _cmd.cp36-win_amd64.pyd!OrthoAddOutput(_PyMOLGlobals * G, const char * str) Line 1175C++ _cmd.cp36-win_amd64.pyd!PCatchWrite(_object * self, _object * args) Line 2738C++

But that doesn't really tell me anything about where the actual heap corruption happened.

On Wed, May 9, 2018 at 1:54 PM, Christoph Gohlke <cgoh...@uci.edu <mailto:cgoh...@uci.edu>> wrote:

    I put a VS2015 build of svn rev 4189 including debug information
    files for the pymol source at
    <https://www.lfd.uci.edu/~gohlke/download/pymol-svn-4189.zip
    <https://www.lfd.uci.edu/%7Egohlke/download/pymol-svn-4189.zip>>

    Hope this helps.

    Christoph


    On 5/9/2018 7:34 AM, Gary Oberbrunner wrote:

        Hi; I'm running into a crash in Windows pymol, in the C
        extension part (_cmd.cp36-win_amd64.pyd) using pymol open source
        2.1.0. I'd like to debug it; is there a symbol file (.pdb)
        available anywhere? Or failing that, can I rebuild the C
        extension from source and create a pdb?

-- Gary Oberbrunner


    
------------------------------------------------------------------------------
    Check out the vibrant tech community on one of the world's most
    engaging tech sites, Slashdot.org! http://sdm.link/slashdot
    _______________________________________________
    PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net
    <mailto:PyMOL-users@lists.sourceforge.net>)
    Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
    <https://lists.sourceforge.net/lists/listinfo/pymol-users>
    Archives:
    http://www.mail-archive.com/pymol-users@lists.sourceforge.net
    <http://www.mail-archive.com/pymol-users@lists.sourceforge.net>




--
Gary Oberbrunner -- CEO -- Dark Star Systems, Inc.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to