Bug 1027233 - Stata 13.0 missing icons, problem with new versions of libpng and zlib
Summary: Stata 13.0 missing icons, problem with new versions of libpng and zlib
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: libpng
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Cosimo Cecchi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-06 12:07 UTC by Dominik Grafenhofer
Modified: 2014-12-02 13:07 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-12-02 13:07:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Screenshot (50.40 KB, image/jpeg)
2013-11-06 12:07 UTC, Dominik Grafenhofer
no flags Details

Description Dominik Grafenhofer 2013-11-06 12:07:17 UTC
Created attachment 820307 [details]
Screenshot

Stata 13.0 is a proprietary statistics package with a GUI based on GTK 2. After startup the sofware works, but does not display icons throughout the app (see screenshot). Stata technical support hints at a bug in the Adwaita theme.

Console output during Stata startup:

** (xstata:10952): WARNING **: Pixbuf theme: Cannot load pixmap file /usr/share/themes/Adwaita/gtk-2.0/Entry/entry-border-disabled-bg.png: Failed to load image '/usr/share/themes/Adwaita/gtk-2.0/Entry/entry-border-disabled-bg.png': Fatal error in PNG image file: bad parameters to zlib


(xstata:10952): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(xstata:10952): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

** (xstata:10952): WARNING **: Invalid borders specified for theme pixmap:
        /usr/share/themes/Adwaita/gtk-2.0/Entry/entry-border-disabled-bg.png,
borders don't fit within the image

(xstata:10952): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(xstata:10952): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(xstata:10952): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(xstata:10952): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(xstata:10952): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

Comment 1 olsman037 2013-11-27 11:08:32 UTC
I have the same problem on archlinux.
using the idea here http://www.sublimetext.com/forum/viewtopic.php?f=3&t=13508 I downloaded and installed libpng-1.6.2, copy /usr/lib/libpng*.so in /usr/lib/stata, update my system (re-install latest libpng), and sudo ldconfig /usr/lib/stata

icons are back

Hope it helps you…

Comment 2 Paul Loewenstein 2014-03-08 20:16:15 UTC
I am having the same problem with vuescan on Fedora 20.  Using libpng-1.6.2 does not fix the problem.  Vuescan core dumps with libpng-1.6.2, but only after the
 
(vuescan:2295): WARNING **: Pixbuf theme: Cannot load pixmap file /usr/share/themes/Adwaita/gtk-2.0/Entry/entry-border-fill.png: Failed to load image '/usr/share/themes/Adwaita/gtk-2.0/Entry/entry-border-fill.png': Fatal error in PNG image file: bad parameters to zlib

message.

Does not work with libpng-1.6.9 either, (no core dump).

Comment 3 Paul Loewenstein 2014-04-15 03:52:15 UTC
The vuescan problem occurs on 32-bit as well as 64-bit Fedora 20.

Comment 4 Dominik Grafenhofer 2014-06-29 20:05:24 UTC
The problem lies in new versions of libpng and zlib. There is an automated solution provided here: https://bitbucket.org/vilhuberl/stata-png-fix

I had to adjust the path of stata in the file "/usr/local/stata-png-fix/stata-png-fixed.sh". After that fix, the last line reads "exec /usr/local/stata/$flavor $args" on my machine.

Comment 5 Dominik Grafenhofer 2014-11-19 19:14:43 UTC
Problem persists on F21beta + updates. Workaround still works.

Comment 6 Paul Loewenstein 2014-11-29 08:00:06 UTC
Workaround in https://bitbucket.org/vilhuberl/stata-png-fix works for vuescan as well (tested in 64-bit F20).

Comment 7 Petr Hracek 2014-12-02 13:07:22 UTC
I see the problem, but I think that this is a 3rd party problem and not inside libpng. Stata should provide a fix for this problem.

If you have another idea please fill free to reopen bug.
I think that libpng should not provide any automated solution for stata.
libpng should provide a libraries.


Note You need to log in before you can comment on or make changes to this bug.