a1cd0acac5
The segfaults were happening on GTK icon theme functions, which are called via the C++ interface functions such as Gtk::IconTheme::has_icon. There are multiple modules and threads using this functions on the default icon theme by calling Gtk::IconTheme::get_default(), which returns the same object for all callers, and was causing concurrent access to the same internal data structures on the GTK lib. Even a seemingly read-only function such as has_icon can cause writes due to the internal icon cache being updated. To avoid this issues, a program wide global mutex must be used to ensure a single thread is accessing the default icon theme instance. This commit implements wrappers for the existing IconTheme function calls, ensuring the global lock is held while calling the underling GTK functions. |
||
---|---|---|
.. | ||
modules | ||
util | ||
AIconLabel.hpp | ||
ALabel.hpp | ||
AModule.hpp | ||
IModule.hpp | ||
bar.hpp | ||
client.hpp | ||
config.hpp | ||
factory.hpp | ||
group.hpp |