Closed Bug 77737 Opened 24 years ago Closed 23 years ago

Assertion: 0-height draw when scrolling

Categories

(Core :: Graphics: ImageLib, defect, P3)

Other
FreeBSD
defect

Tracking

()

VERIFIED DUPLICATE of bug 77298
mozilla0.9.2

People

(Reporter: jesup, Assigned: pavlov)

References

()

Details

Attachments

(1 file)

FreeBSD 4.1 Mozilla 20010425xx Go to quote.yahoo.com. Type in WGAT and submit. Click on charts (OUCH!). Click on one day. Grab scrollbar and drag. I got this assertion (which may be hard to repeat if it depends on exactly what was damaged by the drag): Assertion: You can't draw an image with a 0 width or height! GDB backtrace attached. height is 0. One level up, in nsImageFrame::Paint, "inner" is this in unscaled coordinates: (gdb) p inner $2 = { x = 0, y = 319, width = 1680, height = 3 }
Attached file gdb backtrace (deleted) —
Target Milestone: --- → mozilla0.9.1
Priority: -- → P3
BTW, I also get these assertions (perhaps for other reasons; I haven't backtraced them, and I don't think I was dragging the scroll bar, though I may have been page up/down-ing) at planethalflife.com
pav wants to investigate this before deciding which milestone. till then, this can wait in 0.9.2 bucket
Target Milestone: mozilla0.9.1 → mozilla0.9.2
using today's CVS on GNU/Linux: When I load http://www.advalvas.be I can get the assertion error too. It does'nt happen all the time, and sometimes I need to scroll up and down, but, it isn't really hard to reproduce. The debug output: ###!!! ASSERTION: You can't draw an image with a 0 width or height!: 'aSWidth > 0 && aDWidth > 0 && aSHeight > 0 && aDHeight > 0', file nsImageGTK.cpp, line 536 ###!!! Break: at file nsImageGTK.cpp, line 536
I get these assertions all over the web nowadays. I have to add a condition to my breakpoints so that I can run reasonably.
I have created a very small testcase, but I wasn't able to attach it. If someone is, please do it for me. Using the test, the assertion pops up each time the animated gif changes. http://users.skynet.be/www/todo/assertion.tgz (please attach it) I hope this makes it a lot easier to debug. (using latest CVS version on GNU/Linux i386)
dup *** This bug has been marked as a duplicate of 77298 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
..
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
re-duping on 77298 *** This bug has been marked as a duplicate of 77298 ***
Status: REOPENED → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → DUPLICATE
Verified Duplicate
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: