Closed
Bug 74291
Opened 24 years ago
Closed 24 years ago
gdk assertions
Categories
(Core :: Graphics: ImageLib, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: spam, Assigned: pavlov)
References
()
Details
CVS linux 20010231 21:17 (and since new imglib)
For instance http://www.aftenposten.no/spesial/d173641.htm will spawn a couple
dozen of these:
** CRITICAL **: file gdk-pixbuf-render.c: line 209
(gdk_pixbuf_render_to_drawable): assertion `src_x >= 0 && src_x + width <=
pixbuf->width' failed.
5 images (links) never renders.
Comment 2•24 years ago
|
||
For me the page crashes Mozilla (PC Linux 2001040105) with error
Gdk-ERROR **: XIE_FloError
serial 1367058 error_code 170 request_code 145 minor_code 16
I have RH7.0, XFree86 4.0.2-12.1, glib 1.2.9-1, gtk+ 1.2.9-2, gdk-pixbuf
0.10.0-0_plain_0.
Fix for the gdkpixbuf CRITICAL problem checked in (v1.83 of nsImageGTK.cpp).
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
For the record (r=pavlov, sr=blizzard):
Index: nsImageGTK.cpp
===================================================================
RCS file: /cvsroot/mozilla/gfx/src/gtk/nsImageGTK.cpp,v
retrieving revision 1.82
diff -u -r1.82 nsImageGTK.cpp
--- nsImageGTK.cpp 2001/04/05 02:41:51 1.82
+++ nsImageGTK.cpp 2001/04/05 23:19:51
@@ -440,8 +440,8 @@
gdk_pixbuf_render_to_drawable(newPb,
drawing->GetDrawable(),
copyGC,
- aSX, aSY,
- aDX + aSX, aDY + aSY,
+ 0, 0,
+ aDX, aDY,
aDWidth, aDHeight,
GDK_RGB_DITHER_MAX, 0, 0);
Verifying fixed on linux CVS.
There's a chance this fixed all those XIE_FloError crashes as well.
I used to only see the assertions on sites where others reported the crash.
You need to log in
before you can comment on or make changes to this bug.
Description
•