The logger model is not thread-safe.

Bug #1194645 reported by Tobias Schlauch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DataFinder
Fix Committed
Critical
Tobias Schlauch

Bug Description

The log view and its corresponding model is not thread-safe. I.e., logging records emitted from a thread might cause inconsistencies in the model and/or crash the client. The problem is that the model might be changed from a "worker" thread. However, it should only be changed from the main Qt GUI thread.

Related branches

Revision history for this message
Tobias Schlauch (tobias-schlauch) wrote :

Separated model and handler. New records are indicated via a Qt signal to avoid direct coupling and model updates from non-main-GUI threads.

Changed in datafinder:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.