Closed
Bug 857857
Opened 13 years ago
Closed 13 years ago
"Image corrupt or truncated" error at everything.me/images/sprite.png
Categories
(Firefox OS Graveyard :: Gaia::Everything.me, defect)
Tracking
(b2g18+)
RESOLVED
WORKSFORME
| Tracking | Status | |
|---|---|---|
| b2g18 | + | --- |
People
(Reporter: gkw, Unassigned)
References
Details
(Keywords: b2g-testdriver, unagi)
Attachments
(1 file)
|
32.33 KB,
image/png
|
Details |
Build Identifier: 20130329070203
During a run of orangfuzz (no reliable testcase here though), running:
adb logcat | grep 'E/GeckoConsole.*\(gaiamobile\|resource://\)'
I spotted the following error:
E/GeckoConsole( 4533): [JavaScript Error: "Image corrupt or truncated: app://homescreen.gaiamobile.org/everything.me/images/sprite.png" {file: "app://homescreen.gaiamobile.org/everything.me/images/sprite.png" line: 0}]
| Reporter | ||
Comment 1•13 years ago
|
||
I'm on the beta channel, showing 1.1.0.0-prerelease as OS version.
Comment 2•13 years ago
|
||
what is the user facing impact here?
Updated•13 years ago
|
Flags: needinfo?(gary)
| Reporter | ||
Comment 3•13 years ago
|
||
No idea what seeing a corrupted image will result in, I'd presume that the image will not display correctly.
Flags: needinfo?(gary)
Comment 4•13 years ago
|
||
I see, this is just from the test running & output - so in that case let's get some QA on whatever that test does to see what the STR here are for a user and we can get more of a sense of what needs to be done here.
Keywords: steps-wanted
Updated•13 years ago
|
Comment 5•13 years ago
|
||
(In reply to lsblakk@mozilla.com from comment #4)
> I see, this is just from the test running & output - so in that case let's
> get some QA on whatever that test does to see what the STR here are for a
> user and we can get more of a sense of what needs to be done here.
End-user STR isn't going to do much here. The testing being done in comment 0 is fuzz testing, which means that reproducing this is done from deliberate abuse of generation of random inputs.
What we need to actually move forward is a reduced test case with the fuzzer in use that still reproduces the issue that we can hand off to the developer.
Keywords: steps-wanted → testcase-wanted
Comment 6•13 years ago
|
||
Would you attach the problematic PNG to this bug so it can be downloaded?
Assignee: nobody → glennrp+bmo
Status: NEW → ASSIGNED
Flags: needinfo?(gary)
| Reporter | ||
Comment 7•13 years ago
|
||
Flags: needinfo?(gary) → needinfo?(glennrp+bmo)
| Reporter | ||
Comment 8•13 years ago
|
||
You can also obtain it from:
https://github.com/mozilla-b2g/gaia/tree/master/apps/homescreen/everything.me/images
Updated•13 years ago
|
Keywords: testcase-wanted
Comment 9•13 years ago
|
||
The file attached and the file on github are both OK and are identical to each other. They do contain an uncompressed iTXt chunk which, if the file happened to be rewritten using libpng-1.6.0 or 1.6.1, will get truncated.
pngcheck -v says:
File: sprite.png (33103 bytes)
chunk IHDR at offset 0x0000c, length 13
131 x 250 image, 32-bit RGB+alpha, non-interlaced
chunk tEXt at offset 0x00025, length 25, keyword: Software
chunk iTXt at offset 0x0004a, length 802, keyword: XML:com.adobe.xmp
uncompressed, no language tag
no translated keyword, 781 bytes of UTF-8 text
chunk IDAT at offset 0x00378, length 32195
zlib: deflated, 32K window, maximum compression
chunk IEND at offset 0x08147, length 0
No errors detected in sprite.png (5 chunks, 74.7% compression).
Flags: needinfo?(glennrp+bmo)
| Reporter | ||
Comment 10•13 years ago
|
||
So, is the uncompressed iTXt chunk the reason why the error is appearing?
Flags: needinfo?(glennrp+bmo)
Comment 11•13 years ago
|
||
(In reply to Gary Kwong [:gkw] [:nth10sd] from comment #10)
> So, is the uncompressed iTXt chunk the reason why the error is appearing?
Only if the chunk has been rewritten by libpng-1.6.0 or 1.6.1 before or while creating the app://homescreen image. If the app:/homescreen image is identical to the one you posted, then I don't know why the error is appearing; there seems to be nothing wrong with it.
Flags: needinfo?(glennrp+bmo)
Comment 12•13 years ago
|
||
If the "fuzzing" process changed a bit or some bits in the PNG datastream, then the "image corrupt or truncated" report is the expected behavior, and apparently there was no crash. Not a bug?
| Reporter | ||
Comment 13•13 years ago
|
||
(In reply to Glenn Randers-Pehrson from comment #12)
> If the "fuzzing" process changed a bit or some bits in the PNG datastream,
> then the "image corrupt or truncated" report is the expected behavior, and
> apparently there was no crash. Not a bug?
This is unlikely - this involved the UI fuzzer which includes only user actions e.g. tapping and dragging, so it would not have touched anything in the PNG datastream directly.
Updated•13 years ago
|
Assignee: glennrp+bmo → nobody
Status: ASSIGNED → NEW
| Reporter | ||
Comment 14•13 years ago
|
||
I haven't been seeing this in a recent run, and inspection of the file itself shows no supposed problems, so marking WORKSFORME for now.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•