Menu

#1897 GUI freeze

Backlog
stale
None
1fatal
2026-01-22
2025-11-23
Steve Keen
No

The GUI froze; I could save the file and reload and work on it, but I couldn't grab widgets at all.

2 Attachments

Related

Bugs: #1897

Discussion

  • High Performance Coder

    From the video, it looks like the application is still responding to the mouse, just not redrawing on the screen. Possibly this is a deadlock in the screen redraw process.

    Do you have any hints as to reliably reproduce this? I've never seen this happen on Linux, of course, so it might be a Windows only issue. Also, any hints as to when this started happening?

     
  • High Performance Coder

    As is typical in this sort of thing, I've been unable to reproduce it, which leaves me completely in the dark. I had the same problem with the MacOSX crashes earlier, but at least I had a stack trace to work on to narrow things down a bit then.

    If you find an earlier version that doesn't exhibit the problem, and a version that does, that can give clues. Another datum that might be relevant is the Windows version. I'm currently on build 26200.7171 (Version 25H2). It tells me this is the latest version of Windows 11.

     
  • High Performance Coder

    For instance - if you can verify that the problem started somewhere between 3.19.0-beta.10 and 3.19.0, then I'll take a closer look at the code changes around mutexes in that range. However, visually, it doesn't look like anything on the Windows code path was touched, only Macintosh code paths.

     
  • Steve Keen

    Steve Keen - 2025-12-03

    I'll try installing past versions until I reproduce the error, but this will have to wait till the weekend when I'll be in St Vincents.

     
  • High Performance Coder

    Did you ever get around to checking out older releases to see where the GUI freeze started?

     

    Last edit: High Performance Coder 2025-12-16
  • High Performance Coder

    That's a lot of commits to go through, since 9th July! Nevertheless, I looked through all commits looking carefully at any that affected code relating to drawing on the canvas over multiple threads. But they were all in code paths that are only active on MacOSX.

    The only other significant thing was my computer's SSD dying, and having to rebuild the development environment.

    What I can do is rebuild 3.18.0 with the modern development environment and send it to you to see if it exhibits the hangs.

     
  • High Performance Coder

    See https://www.hpcoders.com.au/ravel-3.18.0.exe . This is a build of that release with the current development environment.

     
    • High Performance Coder

      Did you get a chance to try this build out?

       
      • Steve Keen

        Steve Keen - 2025-12-24

        The freeze seems to have gone--maybe it was another Windoze transient bug,
        like the frequent experience of Microsoft programs failing to load--at
        all--and having to turn the f'ing computer off and back on again and take
        potluck on the next reboot.

        I'm using the current version now:
        Minsky 3.20.0
        Minsky GUI 3.20.0
        Ravel 2.1.6-pro: Expires in 67 days
        Angular 20.1.3

        The freeze hasn't recurred.

         
  • High Performance Coder

    I just got this problem:

    I tried checking them on a Windows builds, and nada! Canvas is completely stuffed, reminiscient of ticket 1897: https://sourceforge.net/p/minsky/tickets/1897/. Funny thing was, these builds were working yesterday, but now anything built after 10th December fails to work, with no error messages on console to indicate what might be going wrong. The last Windows update I had is dated 11/12, but then why would builds I did yesterday, work yesterday, but stop working today. Very mysterious.

     
  • Steve Keen

    Steve Keen - 2025-12-27

    Shit. See if an AI can track down similar problems for other programs. From my experience, Windoze !! (ie, Windows 11) is the worst Windoze ever. I think I've mentioned that frequently--I'd say 30% of the time--it won't run MICROSOFT software! I have to just restart, and then, mysteriously, they load. Chrome freezes all the time; it will work for an hour or four, and then just freeze as well: pages stop updating. Acrobat fails regularly.

    Maybe an AI can sift through all the guff other users and some developers must have experienced. There may be some component of Windoze that, when triggered, freezes user applications.

     
    • High Performance Coder

      Turns out my issue was not related to this ticket after all. It
      appears that a recent electron upgrade caused a problem with Windows
      builds canvas blanking out. I've been able to solve the problem by
      downgrading electron to version 37.

      --


      Dr Russell Standish Phone 0425 253119 (mobile)
      Principal, High Performance Coders hpcoder@hpcoders.com.au
      http://www.hpcoders.com.au


       
  • Steve Keen

    Steve Keen - 2025-12-27

    Thank gawd you located it. This could have really derailed a commercial launch.

     
  • High Performance Coder

    • status: awaiting-user --> stale
    • assigned_to: High Performance Coder
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB