Bug report #10655
Race condition in QgsCredentials
| Status: | Closed | ||
|---|---|---|---|
| Priority: | Severe/Regression | ||
| Assignee: | |||
| Category: | - | ||
| Affected QGIS version: | master | Regression?: | No | 
| Operating System: | Easy fix?: | No | |
| Pull Request or Patch supplied: | No | Resolution: | |
| Crashes QGIS or corrupts data: | No | Copied to github as #: | 19054 | 
Description
If several threads ask for credentials at once, some threads may not get the cached credentials.
Associated revisions
Fix #10655 (race condition in QgsCredentials)
Example of race condition during rendering:
Threads 1 and 2 call get(), it checks that there are cached credentials.
Thread 1 takes the cached credentials, thread 2 will get no data -> will request credentials in dialog
[composer] Always default attribute tables to show all visible features (fix #10655)
History
#1
    
    Updated by Martin Dobias over 11 years ago
    - Affected QGIS version changed from 2.2.0 to master
 - Target version set to Version 2.4
 
#2
    
    Updated by Martin Dobias over 11 years ago
    - Status changed from Open to Closed
 
Fixed in changeset 2a4684a28d4c76f72f35edb3fb231ba0ca9d56d9.
#3
    
    Updated by Nyall Dawson over 11 years ago
    Sorry - had the wrong issue number when I pushed my commit - it should have been 10665.