Opened 13 years ago

Last modified 7 years ago

#6775 closed bug

[ShowImage] can't open /system/documentation/diskusage/*.png images — at Version 22

Reported by: diver Owned by: leavengood
Priority: normal Milestone: Unscheduled
Component: Add-Ons/Translators/PNG Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by mmadia)

This is hrev39274 - gcc4.

The error is: "Could not load image! Either the file or an image translator for it does not exist."

note: this occurs only on gcc4.

Change History (23)

comment:1 by axeld, 13 years ago

Certainly works here. Any more info?

comment:2 by diver, 13 years ago

Summary: [ShowImage] can't open /system/documentatoion/diskusage/*.png images[ShowImage] can't open /system/documentation/diskusage/*.png images

comment:3 by diver, 13 years ago

Here is terminal output:

ShowImage /boot/system/documentation/diskusage/home.png
MessageImporter::Import() - error unflattening icon archive: Data is not a message
libpng error: [00][20][00][00]: invalid chunk type

comment:4 by mmadia, 13 years ago

Does a second version libpng* exist outside of /boot/system? Any oddities reported by checkfs?

by diver, 13 years ago

Attachment: ShowImage.png added

comment:5 by diver, 13 years ago

Nope, it's a freshly built image.

comment:6 by axeld, 13 years ago

Resolution: invalid
Status: newclosed

Looks like this file is corrupted on your drive. MD5 looks like this over here:

28f23b5988ca58f36e7fbe77bbcd64f4  /boot/system/documentation/diskusage/home.png

comment:7 by diver, 13 years ago

Something still isn't right.
After rm -rf trunk/docs/apps/diskusage and image rebuild ShowImage still can't open this images, but Web+ has no problems opening them.
MD5 looks like yours.

comment:8 by diver, 13 years ago

WonderBrush also opens them just fine.

comment:9 by axeld, 13 years ago

Well something must be wrong at your side, since it's working fine here. And since the error comes from libpng.so, not ShowImage, maybe it's somehow using a different libpng.so version? I am using hrev39379.

comment:10 by humdinger, 13 years ago

FYI, these are the md5 for the two libpng.so.1.4 on my system:

~> md5sum /boot/system/lib/gcc2/libpng.so.1.4
cd6ac6d0cc651eda8b0110d422184ed5  /boot/system/lib/gcc2/libpng.so.1.4
~> md5sum /boot/system/lib/libpng.so.1.4
7a123283c75968a5ec845a75818c6171  /boot/system/lib/libpng.so.1.4

I get the same error with these PNGs. MD5 is the same. Opening in WonderBrush works but says:

libpng error: PNG unsigned integer out of range

Image is hrev39402, gcc4hybrid.

Last edited 13 years ago by humdinger (previous) (diff)

comment:13 by mmadia, 13 years ago

Running the ShowImage binary from hrev39395-gcc4 inside hrev39385-gcc2hybrid exhibits the issue (comment:3) as well.

comment:14 by axeld, 13 years ago

Resolution: invalid
Status: closedreopened

Then it's at least sure there is indeed something wrong, it's just the question where.

comment:15 by Ka, 13 years ago

These two PNGs also do not work here (hrev39605) (edit: GCC4hybrid), but they are just destroyed. They cannot be opened at my normal OS, too.

Edit: Just discovered, that hrev39605 GCC2hybrid is able to show them. At my main System, Eye of Gnome can't display them, Gimp shows them correct.

Last edited 13 years ago by Ka (previous) (diff)

comment:16 by stargatefan, 13 years ago

still seeing trouble with jpegs only at 39943 gcc2 hybrid

comment:17 by luroh, 13 years ago

Still with us in nightly hrev40715, gcc4.

Replying to stargatefan:

still seeing trouble with jpegs only at 39943 gcc2 hybrid

Likely not related to this bug, please file a new ticket if the problem still exists.

comment:18 by halilpk, 12 years ago

(GCI-2011 Participant)

Haiku revision: hrev42211 not a bug. There are 4 libpng.so and 4 libpng.so.1.4 files in system or develop directories.And there is no problem with opening png files . System: Haiku hrev1-alpha3 on VMware workstation 8 on windows 7 32 bit

comment:19 by humdinger, 12 years ago

Resolution: fixed
Status: reopenedclosed

ShowImage shows those PNGs, though still showing "libpng error: PNG unsigned integer out of range". Closing as fixed anyway. (As aside: I don't see a reason to keep /boot/system/documentation/diskusage at all...)

comment:20 by diver, 12 years ago

This is gcc4 only issue which is still here. I think it should be reopened.

comment:21 by humdinger, 12 years ago

Resolution: fixed
Status: closedreopened

Ah, didn't know that... reopened then.

comment:22 by mmadia, 12 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.