Menu

#1900 Resetting equation freeze

Backlog
closed
None
1fatal
2026-01-21
2025-12-31
Steve Keen
No

I'll send the RVL files I tried with this entry and then the recording of the problem in reply given the recording size. The latest version freezes on loading a Ravel.

5 Attachments

Discussion

  • High Performance Coder

    I'm assuming the issue is with 3.21.0-beta.4? Threading is enabled in this, and I wouldn't be surprised if deadlock examples turn up.

    Now back in Sydney, so I'll dig in. I didn't take a development machine with me - I wouldn't have had time anyway, and our luggage was overloaded as it was.

     
  • High Performance Coder

    Interestingly, when loading this on Linux, I get "resource deadlock avoided". I haven't tried it on Windows, but it sounds like on Windows it goes full deadlock, whereas on Linux it detects the deadlock, and throws an error message.

     

    Last edit: High Performance Coder 2026-01-15
  • High Performance Coder

    Turned out the code was recursively trying to lock a mutex, which is a deadlock situation.

    I have refactored the Ravel mutex to live in RavelCAPI::Ravel, which is a cleaner interface to use mutex protection for thread-safety.

     
  • High Performance Coder

    • status: open --> closed
    • assigned_to: High Performance Coder
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB
Gen AI apps are built with MongoDB Atlas
Atlas offers built-in vector search and global availability across 125+ regions. Start building AI apps faster, all in one place.