Opened 2 years ago

Last modified 6 months ago

#2834 new defect

GUI might freeze when downloading multiple Hive jobs concurrently

Reported by: gkronber Owned by:
Priority: medium Milestone: HeuristicLab 3.3.17
Component: Hive.Client Version:
Keywords: Cc:

Description

I ran into what seems to be a GUI deadlock today while I was downloading Jobs from the Hive Server (multiple downloads concurrently).

The threads stopped in the following methods:

  • HeuristicLab.Clients.Hive.JobManager.Views.RefreshableHiveJobView.OnContentChanged
  • HeuristicLab.MainForm.WindowsForms.AsynchronousContentView.Invoke
  • System.Windows.Forms.Control.WaitForWaitHandle

The GUI froze but execution of algorithms in the background was not affected.

RefreshableHiveJobView.OnContentChanged contains a lock() statement. The code in OptimizerHiveTask contains operations with ReaderWriterLocks. I presume the observed behavior can be traced back to these methods.

Change History (3)

comment:1 Changed 2 years ago by jkarder

  • Version trunk deleted

comment:2 Changed 2 years ago by abeham

  • Milestone changed from HeuristicLab 3.3.15 to HeuristicLab 3.3.16

comment:3 Changed 6 months ago by abeham

  • Milestone changed from HeuristicLab 3.3.16 to HeuristicLab 3.3.17

I would suggest to move this to 3.3.17. As a workaround, download all jobs in sequence.

Note: See TracTickets for help on using tickets.