Closed Bug 522174 Opened 15 years ago Closed 13 years ago

Busted ICO file results in a bunch of assertions

Categories

(Core :: Graphics: ImageLib, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Assigned: bbondy)

References

Details

(Keywords: assertion, testcase, Whiteboard: [decodeondraw])

Attachments

(1 file)

Attached file testcase
This testcase contains a copy of 
http://savorysweetlife.com/wp-content/plugins/favicon-generator/favicon.ico

###!!! ASSERTION: invalid image width: 'aWidth > 0', file modules/libpr0n/src/imgFrame.cpp, line 78

###!!! ASSERTION: invalid image height: 'aHeight > 0', file modules/libpr0n/src/imgFrame.cpp, line 79

###!!! ASSERTION: width less than zero: 'result >= 0', file layout/base/nsLayoutUtils.cpp, line 2112

###!!! ASSERTION: Intrinsic ratio has a negative component!: 'aIntrinsicRatio.width >= 0 && aIntrinsicRatio.height >= 0', file layout/base/nsLayoutUtils.cpp, line 2308
Whiteboard: [decodeondraw]
No, still happens with that patch.
Now I just get

###!!! ASSERTION: invalid image width: 'aWidth > 0', file /builds/slave/mozilla-central-macosx64-debug/build/modules/libpr0n/src/imgFrame.cpp, line 78
###!!! ASSERTION: invalid image height: 'aHeight > 0', file /builds/slave/mozilla-central-macosx64-debug/build/modules/libpr0n/src/imgFrame.cpp, line 79

which is an improvement.
Assignee: nobody → netzen
The remaining assertions mentioned in Comment 4 were fixed as a side effect of this push a couple months ago (Bug 619048 http://hg.mozilla.org/mozilla-central/rev/17f5ec50a7f1) to mozilla-central.
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.

Attachment

General

Creator:
Created:
Updated:
Size: