Changes between Initial Version and Version 2 of Ticket #9497


Ignore:
Timestamp:
Jul 31, 2023, 3:59:51 PM (2 years ago)
Author:
Tom Goddard
Comment:

We've seen the crash in this line of code calling one of two Qt functions to find the cursor position when the mouse is hovered over the graphics window.

        p = self.graphics_window.mapFromGlobal(QCursor.pos())

This may be a PyQt reference counting or garbage collection issue where an object that was still referenced got deleted. The crash stack traces shows it crashes in QCursor_pos() in PyQt.

{"imageOffset":84151,"symbol":"sipOMAddObject","symbolLocation":55,"imageIndex":5},{"imageOffset":27249,"symbol":"sipSimpleWrapper_init","symbolLocation":353,"imageIndex":5},{"imageOffset":610233,"symbol":"type_call","symbolLocation":345,"imageIndex":6},{"imageOffset":260828,"symbol":"_PyObject_Call","symbolLocation":140,"imageIndex":6},{"imageOffset":86644,"symbol":"sipWrapInstance","symbolLocation":212,"imageIndex":5},{"imageOffset":1106866,"symbol":"meth_QCursor_pos(_object*, _object*)","symbolLocation":178,"imageIndex":7},{"imageOffset":517917,"symbol":"cfunction_call","symbolLocation":125,"imageIndex":6},

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9497

    • Property Component UnassignedGeneral Controls
    • Property Owner set to Tom Goddard
    • Property Platformall
    • Property ProjectChimeraX
    • Property Status newclosed
    • Property Summary ChimeraX bug report submissionCrash querying cursor position
    • Property Resolutioncan't reproduce
  • Ticket #9497 – Description

    initial v2  
    1 {{{
     1W{{{
    22The following bug report has been submitted:
    33Platform:        macOS-10.16-x86_64-i386-64bit