FS#36276 - [libpng] -1.6 3-1 Error with gtk icons
Attached to Project:
Arch Linux
Opened by kionez (kionez) - Friday, 26 July 2013, 07:48 GMT
Last edited by Jan de Groot (JGC) - Friday, 29 August 2014, 09:33 GMT
Opened by kionez (kionez) - Friday, 26 July 2013, 07:48 GMT
Last edited by Jan de Groot (JGC) - Friday, 29 August 2014, 09:33 GMT
|
Details
Description:
I noticed a strange issue with libpng 1.6.3-1, using sublime-text editor: - in tasklist there's no icon of running application - some icons are missing, for example when i'm closing an unsaved file (sublime_text:4876): Gtk-WARNING **: Error loading theme icon 'gtk-cancel' for stock: Fatal error reading PNG image file: bad parameters to zlib (sublime_text:4876): Gtk-WARNING **: Error loading theme icon 'document-save' for stock: Fatal error reading PNG image file: bad parameters to zlib (sublime_text:4876): Gtk-WARNING **: Error loading theme icon 'dialog-warning' for stock: Fatal error reading PNG image file: bad parameters to zlib If i downgrade libpng to 1.6.2, everything works fine. Here's two screenshots: http://kionez.org/libpng-163.png http://kionez.org/libpng-162.png |
This task depends upon
I tried to replace the symlink with the linked file, without results.
I tried to change the icon theme, but icons still missing... but now I notice that gnome-icon-theme works fine, so maybe it's a theme related issue? (when I found the "bad parameter to zlib" error I thought to a libpng related problem)
Screenshot: http://i.imgur.com/oPGiTZs.png
Downgrading libpng from 1.6.3 to 1.6.2 solved the issue.
Yet I cannot believe that faenza-icon-theme is causing this issue. The last time it was updated was on 2013-01-14.
Btw there is a new ticket at the Red Hat bugtracker: [1]
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1027233
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1027233#c1
[Edit] A workaround rather than a solution. Fixing the problem for now.
[1] https://projects.archlinux.org/svntogit/packages.git/snapshot/packages-43f04b6ee5b89c72aeb26fd3b1a2904774bceb8c.tar.gz
[Edit: typo 1.6.3 must be 1.6.2]
Stata is linked static against an older version of zlib and libpng. For libpng they use a symbol prefix, but not for zlib, so symbols from system zlib and static zlib will cause an overlap. When GTK calls into system libpng functions, libpng will call into zlib 1.2.8 functions which aren't available in the static compiled version in stata, resulting in the "Bad parameters to zlib" message.