Package: libgtk2.0-0
Version: 2.24.24-1
Severity: grave
Tags: patch
Justification: renders package unusable
Dear GTK2 Maintainers,
since I upgraded a couple of days ago libgtk2 packages I cannot use any
of the gtk2 applications I tried (for example: mirage, reportbug,
exaile).
These are the messages I get:
$ mirage
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve
property `gtk-toolbar-icon-size' of type `GtkIconSize' from rc file value
GTK_ICON_SIZE_SMALL_TOOLBAR of type `GtkIconSize'
/usr/lib/python2.7/dist-packages/mirage.py:608: Warning: The property
GtkWindow:allow-shrink is deprecated and shouldn't be used anymore. It will be
removed in a future version.
self.window.set_property('allow-shrink', False)
Attempt to unlock mutex that was not locked
Aborted
$ reportbug
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve
property `gtk-toolbar-icon-size' of type `GtkIconSize' from rc file value
GTK_ICON_SIZE_SMALL_TOOLBAR of type `GtkIconSize'
Attempt to unlock mutex that was not locked
Aborted
$ exaile
INFO: Loading Exaile 3.4.0 on Python 2.7.8...
INFO: Loading settings...
INFO: Using en_US UTF-8 locale
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve
property `gtk-toolbar-icon-size' of type `GtkIconSize' from rc file value
GTK_ICON_SIZE_SMALL_TOOLBAR of type `GtkIconSize'
INFO: Loading plugins...
INFO: Loading collection...
INFO: Loading devices...
INFO: Connected to udisks2
INFO: Loading interface...
INFO: Using GTK+ 2.24.24
INFO: Loading main window...
INFO: Connecting main window events...
INFO: Loading panels...
INFO: Connecting panel events...
INFO: Done loading main window...
INFO: Exaile is shutting down...
INFO: Disabling plugins...
INFO: Saving state...
INFO: Bye!
Exception TypeError: 'NoneType' object is not callable in ignored
Exception TypeError: 'NoneType' object is not callable in ignored
Segmentation fault
I searched the internet and I found many links, like this for mirage in
fedora: https://bugzilla.redhat.com/show_bug.cgi?id=1123953 (but the
advice to comment out the gtk.gdk.threads_init() in mirage's code
doesn't seem a thorough solution, even if it solves the mirage
problem. 'Solves' as in 'mirage does not segfault').
I think I found the solution in this precise message in a reportbug bug
report, here in the BTS:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758619#114
that has a patch for gdk.c in libgtk, in a function related to threads.
I'm not an expert packager, but I wanted to try to download the sources
and rebuild the packages after patching gdk.c, and I confirm that in my
system the above linked patch works. What I did was:
* apt-get source libgtk2.0-0
* apt-get build-dep libgtk2.0-0
* [Patch the file]
* dpkg-source --commit (but as I'm not an expert, I didn't manage to
bump the version of my package)
* debuild -us -uc
And then I installed with dpkg the binary packages I already had in my
debian box.
After this procedure, the bugs of the three application I tried are
solved.
Kind regards,
Mark
P.S.: obviously right now I have installed the patched packages, but the
version numbers are the same as the official jessie ones because of me
not being able to somewhat bump them.
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.14-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libgtk2.0-0 depends on:
ii libatk1.0-0 2.12.0-1
ii libc62.19-7
ii libcairo21.12.16-5
ii libcups2 1.7.5-1
ii libfontconfig1 2.11.0-6.1
ii libfreetype6 2.5.2-2
ii libgdk-pixbuf2.0-0 2.30.8-1+b1
ii libglib2.0-0 2.42.0-1
ii libgtk2.0-common 2.24.24-1
ii libpango-1.0-0 1.36.7-1
ii libpangocairo-1.0-0 1.36.7-1
ii libpangoft2-1.0-01.36.7-1
ii libx11-6 2:1.6.2-3
ii libxcomposite1 1:0.4.4-1
ii libxcursor1 1:1.1.14-1
ii libxdamage1 1:1.1.4-2
ii libxext6 2:1.3.2-1
ii libxfixes3 1:5.0.1-2
ii libxi6 2:1.7.4-1
ii libxinerama1 2:1.1.3-1
ii libxrandr2 2:1.4.2-1
ii libxrender1 1:0.9.8-1
ii multiarch-support2.19-7
ii shared-mime-info 1.3-1
Versions of packages libgtk2.0-0 recommends:
ii hicolor-icon-theme 0.13-1
ii libgtk2.0-bin 2.24.24-1
Versions of packages libgtk2.0-0 suggests:
ii gvfs 1.20.3-1
ii librsvg2-common 2.40.4-1
-- no debconf information
--
. ''`. | GPG Public Key : 0xCD542422 - Download it from http://is.gd/fOa7Vm
: :' : | GPG Fingerprint : 0823 A40D F31B 67A8 5621 AD32 E293 A2EB CD54 2422
`. `'` | Powered by Debian GNU/Linux, http://www.debian.org
`-| Try not. Do,