Bug report #10655

Race condition in QgsCredentials

Added by Martin Dobias over 10 years ago. Updated over 10 years ago.

Status:Closed
Priority:Severe/Regression
Assignee:Martin Dobias
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

Revision 2a4684a2
Added by Martin Dobias over 10 years ago

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

Revision f71fad37
Added by Nyall Dawson over 10 years ago

[composer] Always default attribute tables to show all visible features (fix #10655)

History

#1 Updated by Martin Dobias over 10 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 10 years ago

  • Status changed from Open to Closed

#3 Updated by Nyall Dawson over 10 years ago

Sorry - had the wrong issue number when I pushed my commit - it should have been 10665.

Also available in: Atom PDF