Closed
Bug 77737
Opened 24 years ago
Closed 23 years ago
Assertion: 0-height draw when scrolling
Categories
(Core :: Graphics: ImageLib, defect, P3)
Tracking
()
mozilla0.9.2
People
(Reporter: jesup, Assigned: pavlov)
References
()
Details
Attachments
(1 file)
(deleted),
text/plain
|
Details |
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
}
Reporter | ||
Comment 1•24 years ago
|
||
Assignee | ||
Updated•24 years ago
|
Target Milestone: --- → mozilla0.9.1
Assignee | ||
Updated•24 years ago
|
Priority: -- → P3
Reporter | ||
Comment 2•24 years ago
|
||
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
Comment 4•24 years ago
|
||
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
Reporter | ||
Comment 5•24 years ago
|
||
I get these assertions all over the web nowadays. I have to add a condition to
my breakpoints so that I can run reasonably.
Comment 6•24 years ago
|
||
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)
Assignee | ||
Comment 7•23 years ago
|
||
dup
*** This bug has been marked as a duplicate of 77298 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Comment 9•23 years ago
|
||
re-duping on 77298
*** This bug has been marked as a duplicate of 77298 ***
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•