Changes between Version 4 and Version 5 of Ticket #15277, comment 12


Ignore:
Timestamp:
Jun 4, 2024, 8:21:30 PM (19 months ago)
Author:
Tom Goddard

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15277, comment 12

    v4 v5  
    44
    55If I open ChimeraX 1.9 daily with no external display, hide file history so black graphics pane shown, the plug in external monitor, wait for it to connect, no crash, then unplug external monitor and ChimeraX crashes immediately.  If I do not hide the file history then these steps do not cause a crash.  So it seems the cause is still that the ChimeraX is drawing the graphics.  Putting in a print statement shows it is still getting the add and remove screen callbacks with file history shown, and gets the add screen when file history is hidden.  It seems to crash before when history is hidden before the remove screen message is logged.
     6
     7If I hide file history but block redraw in the shell (session.update_loop.block_redraw()) then no crash unplugging display.  Now my guess is that the screen removed callback is too late and a redraw happening before the screen remove is issued causes the crash. If I block for 100 seconds it still crashes.  So it does seem that the crash happens before the remove screen callback is received.