[licq-im/licq] fd62d3: licq: Drop log messages instead of deadlocking
GitHub <[email protected]> Sat, 19 Jan 2013 11:02:46 -0800
| Newsgroups | gmane.network.licq.cvs |
|---|---|
| Message-ID | <[email protected]> |
Branch: refs/heads/master
Home: https://github.com/licq-im/licq
Commit: fd62d36e80093a4e39c2266d4b77e4a138e9c2be
https://github.com/licq-im/licq/commit/fd62d36e80093a4e39c2266d4b77e4a138e9c2be
Author: Anders Olofsson <[email protected]>
Date: 2013-01-12 (Sat, 12 Jan 2013)
Changed paths:
M licq/include/licq/pipe.h
M licq/src/logging/pluginlogsink.cpp
M licq/src/utils/pipe.cpp
Log Message:
-----------
licq: Drop log messages instead of deadlocking
If something starts flooding log messages faster than a sink can
process them, the pipe in PluginLogSink will fill up and cause the
sender to block. The pipe is written while mutexes are held, this will
cause a deadlock as the log sinks need to take the same mutex to read
the pipe.
This deadlock could also be resolved by releasing the mutex in
PluginLogSink before accessing the pipe. However, the caller
(LogDistributor) also has a mutex for all the sinks which could also
deadlock if another source tries to log something at the same time, and
even if that is solved the second source would just hang on writing to
the pipe.
Commit: 99b6f98517ff5b3a99e2ef6e036c8098f7d0afe0
https://github.com/licq-im/licq/commit/99b6f98517ff5b3a99e2ef6e036c8098f7d0afe0
Author: Anders Olofsson <[email protected]>
Date: 2013-01-12 (Sat, 12 Jan 2013)
Changed paths:
M licq/src/icq/icq-srv.cpp
Log Message:
-----------
icq: Don't fail on buddy icon hash longer than 16
Commit: dd9c41c4beb7196f06b75e0192722667bbe111bd
https://github.com/licq-im/licq/commit/dd9c41c4beb7196f06b75e0192722667bbe111bd
Author: Anders Olofsson <[email protected]>
Date: 2013-01-14 (Mon, 14 Jan 2013)
Changed paths:
M licq/src/contactlist/userhistory.cpp
Log Message:
-----------
licq: Don't break on empty line in history file
Commit: 94c5ce5e43c59a9bead90cd1c44bba92ed0f7c1e
https://github.com/licq-im/licq/commit/94c5ce5e43c59a9bead90cd1c44bba92ed0f7c1e
Author: Anders Olofsson <[email protected]>
Date: 2013-01-14 (Mon, 14 Jan 2013)
Changed paths:
M licq/src/userevents.cpp
Log Message:
-----------
licq: Replace newlines before writing history
Commit: 4974789b9fa0627bfeceff754454bfcf8b44db67
https://github.com/licq-im/licq/commit/4974789b9fa0627bfeceff754454bfcf8b44db67
Author: Anders Olofsson <[email protected]>
Date: 2013-01-15 (Tue, 15 Jan 2013)
Changed paths:
M licq/doc/CHANGELOG
Log Message:
-----------
Update changelog for Licq 1.7.1
Commit: 0f3b1ec07c8a4cac24454caf8689572b34e4f613
https://github.com/licq-im/licq/commit/0f3b1ec07c8a4cac24454caf8689572b34e4f613
Author: Anders Olofsson <[email protected]>
Date: 2013-01-17 (Thu, 17 Jan 2013)
Changed paths:
M licq/po/be.po
M licq/po/de.po
M licq/po/es.po
M licq/po/licq.pot
M qt4-gui/po/be.ts
M qt4-gui/po/bg_BG.ts
M qt4-gui/po/cs_CZ.ts
M qt4-gui/po/de.ts
M qt4-gui/po/es.ts
M qt4-gui/po/fi.ts
M qt4-gui/po/fr.ts
M qt4-gui/po/hu_HU.ts
M qt4-gui/po/it.ts
M qt4-gui/po/ja_JP.eucJP.ts
M qt4-gui/po/pl.ts
M qt4-gui/po/pt.ts
M qt4-gui/po/pt_BR.ts
M qt4-gui/po/ru.ts
M qt4-gui/po/sr.ts
M qt4-gui/po/sv.ts
M qt4-gui/po/tr.ts
M qt4-gui/po/uk.ts
Log Message:
-----------
Merged all translations
Commit: a4674fb58976efd399087109e84bd40d975e24ea
https://github.com/licq-im/licq/commit/a4674fb58976efd399087109e84bd40d975e24ea
Author: Anders Olofsson <[email protected]>
Date: 2013-01-19 (Sat, 19 Jan 2013)
Changed paths:
M aosd/version.cmake
M auto-reply/version.cmake
M console/version.cmake
M forwarder/version.cmake
M jabber/version.cmake
M licq/LICENSE
M licq/README
M licq/cmake/LicqVersion.cmake
M msn/version.cmake
M osd/version.cmake
M qt4-gui/version.cmake
M rms/version.cmake
Log Message:
-----------
Update Licq version to 1.7.1
Commit: 1e641193123470fdadadde6c4f09cc5d4aedca32
https://github.com/licq-im/licq/commit/1e641193123470fdadadde6c4f09cc5d4aedca32
Author: Anders Olofsson <[email protected]>
Date: 2013-01-19 (Sat, 19 Jan 2013)
Changed paths:
M aosd/version.cmake
M auto-reply/version.cmake
M console/version.cmake
M forwarder/version.cmake
M jabber/version.cmake
M licq/README
M licq/cmake/LicqVersion.cmake
M licq/doc/README
A licq/doc/README-1.7.1
M licqweb/README
M msn/version.cmake
M osd/version.cmake
M qt4-gui/version.cmake
M rms/version.cmake
Log Message:
-----------
Update Licq version to 1.7.2-dev
Commit: af52033ee104725ff68810031bbe953106552030
https://github.com/licq-im/licq/commit/af52033ee104725ff68810031bbe953106552030
Author: Anders Olofsson <[email protected]>
Date: 2013-01-19 (Sat, 19 Jan 2013)
Changed paths:
M icq/src/icq-srv.cpp
M licq/LICENSE
M licq/doc/CHANGELOG
A licq/doc/README-1.7.1
M licq/po/be.po
M licq/po/de.po
M licq/po/es.po
M licq/po/licq.pot
M licq/src/contactlist/userhistory.cpp
M licq/src/userevents.cpp
M qt4-gui/po/be.ts
M qt4-gui/po/bg_BG.ts
M qt4-gui/po/cs_CZ.ts
M qt4-gui/po/de.ts
M qt4-gui/po/es.ts
M qt4-gui/po/fi.ts
M qt4-gui/po/fr.ts
M qt4-gui/po/hu_HU.ts
M qt4-gui/po/it.ts
M qt4-gui/po/ja_JP.eucJP.ts
M qt4-gui/po/pl.ts
M qt4-gui/po/pt.ts
M qt4-gui/po/pt_BR.ts
M qt4-gui/po/ru.ts
M qt4-gui/po/sr.ts
M qt4-gui/po/sv.ts
M qt4-gui/po/tr.ts
M qt4-gui/po/uk.ts
Log Message:
-----------
Merge branch '1.7-stable'
Commit: 233a97586db414ba2a5ad119a5d0bbe0e71998a0
https://github.com/licq-im/licq/commit/233a97586db414ba2a5ad119a5d0bbe0e71998a0
Author: Anders Olofsson <[email protected]>
Date: 2013-01-19 (Sat, 19 Jan 2013)
Changed paths:
M licq/doc/CHANGELOG
Log Message:
-----------
Update changelog for Licq 1.8.0
Compare: https://github.com/licq-im/licq/compare/9d599db17cf5...233a97586db4