The logger model is not thread-safe.
Bug #1194645 reported by
Tobias Schlauch
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
To post a comment you must log in.
Separated model and handler. New records are indicated via a Qt signal to avoid direct coupling and model updates from non-main-GUI threads.