After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 707497 - Fatal error in PNG image file (app/pixmaps/connectable.png)
Fatal error in PNG image file (app/pixmaps/connectable.png)
Status: VERIFIED FIXED
Product: dia
Classification: Other
Component: install
CVS head
Other Linux
: Normal normal
: 0.97.3
Assigned To: Dia maintainers
Dia maintainers
: 707913 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-09-04 19:40 UTC by aberube738
Modified: 2013-09-13 19:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix broken connectable.png file (1.17 KB, patch)
2013-09-12 07:32 UTC, Evgeny Bobkin
none Details | Review
fixed connectable.png image (231 bytes, image/png)
2013-09-12 07:33 UTC, Evgeny Bobkin
  Details

Description aberube738 2013-09-04 19:40:50 UTC
failed to load "./pixmaps/connectable.png": Failed to load image './pixmaps/connectable.png': Fatal error in PNG image file: IDAT: invalid distance too far back


http://pastebin.com/ikLmQGQM
Comment 1 Hans Breuer 2013-09-11 17:32:21 UTC
The file you have problems with is added to Dia in 2005. Maybe it is invalid since than, but I'm expecting an issue either with your checkout (some transfer problem, wrong git flags set) or with the libpng version on your system.
I have multiple checkouts on various operating systems and did not yet see such an error.

"""
git log app/pixmaps/connectable.png
commit f905a15ab7f47637c83cb54f8dca123351056d90
Author: Lars Clausen <lclausen@src.gnome.org>
Date:   Mon May 16 08:48:41 2005 +0000

    Improved connectibility icon, patch for cisco icons in potfiles

commit fef0502cadf331603ab1ddd23b95db4052d14de4
Author: Lars Clausen <lclausen@src.gnome.org>
Date:   Fri May 21 15:48:36 2004 +0000

    Moved changes from branch to trunk.  0.93 is hereby finalized, 0.94 is next.
"""

Given that you only get the error at install time you seem to have been able to build Dia before. What did change since than? What operating system?
Comment 2 Hans Breuer 2013-09-11 17:38:39 UTC
Pasting "IDAT: invalid distance too far back" to google gives:
FYI: libpng16 won't be able to show some broken icons libpng15 was still able to
http://www.gossamer-threads.com/lists/gentoo/dev/271064

So the issue might indeed need solving on Dia's side.
Comment 3 Hans Breuer 2013-09-11 17:40:17 UTC
*** Bug 707913 has been marked as a duplicate of this bug. ***
Comment 4 aberube738 2013-09-11 17:43:15 UTC
Making this in Arch Linux. Haven't built this for a couple months, just pulled the recent git and tried to make it. Checked it out a couple times to make sure I had a clean copy of the repo.
Comment 5 Evgeny Bobkin 2013-09-11 18:19:02 UTC
(In reply to comment #2)
> Pasting "IDAT: invalid distance too far back" to google gives:
> FYI: libpng16 won't be able to show some broken icons libpng15 was still able
> to
> http://www.gossamer-threads.com/lists/gentoo/dev/271064
> 
> So the issue might indeed need solving on Dia's side.

thank you, this exactly the case for me, and I use a newer version of libpng16.
Comment 6 Evgeny Bobkin 2013-09-11 18:22:01 UTC
if nobody is willing, I will try to fix this image file tomorrow, and afterwards report my findings.
Comment 7 Evgeny Bobkin 2013-09-12 07:31:34 UTC
I have corrected the connectable.png file and afterwards was able ti build dia successfully.
Comment 8 Evgeny Bobkin 2013-09-12 07:32:16 UTC
Created attachment 254755 [details] [review]
fix broken connectable.png file
Comment 9 Evgeny Bobkin 2013-09-12 07:33:06 UTC
Created attachment 254756 [details]
fixed connectable.png image