weird imlib crashes
- From: Havoc Pennington <rhpennin midway uchicago edu>
- To: gnome-list gnome org
- Subject: weird imlib crashes
- Date: Tue, 21 Jul 1998 11:49:58 -0500 (CDT)
Hi,
Every program I run this morning seems to die in imlib:
(this is gnomecal on startup)
#0 0x402ffb94 in _XPutPixel32 ()
#1 0x400abf03 in grender_shaped_24 (im=0x80ca8b0, w=24, h=24,
xim=0x80cbd68,
sxim=0x80cbf50, er1=0x80cb358, er2=0x80cb490, xarray=0x80cb5d0,
yarray=0x80cb638) at rend.c:1849
#2 0x400ae391 in grender_shaped (im=0x80ca8b0, w=24, h=24, xim=0x80cbd68,
sxim=0x80cbf50, er1=0x80cb358, er2=0x80cb490, xarray=0x80cb5d0,
yarray=0x80cb638, bpp=24) at rend.c:2356
#3 0x400bbf12 in gdk_imlib_render (im=0x80ca8b0, w=24, h=24) at
rend.c:5717
#4 0x4004dd52 in finish_load (gpixmap=0x80ca870, im=0x80ca8b0, scaled=0,
width=0, height=0, destroy=1) at gnome-pixmap.c:449
#5 0x4004e06f in load_rgb_d_shaped (gpixmap=0x80ca870, data=0x40088358
"",
alpha=0x0, rgb_width=24, rgb_height=24, scaled=0, width=0, height=0,
shape_color=0x40093ec8) at gnome-pixmap.c:519
#6 0x4004e843 in gnome_pixmap_load_rgb_d_shaped (gpixmap=0x80ca870,
data=0x40088358 "", alpha=0x0, rgb_width=24, rgb_height=24,
shape_color=0x40093ec8) at gnome-pixmap.c:591
#7 0x4004cdc8 in gnome_pixmap_new_from_rgb_d_shaped (data=0x40088358 "",
alpha=0x0, rgb_width=24, rgb_height=24, shape_color=0x40093ec8)
at gnome-pixmap.c:193
#8 0x40052e9f in create_pixmap_from_imlib_scaled (window=0x809c630,
data=0x80c0658) at gnome-stock.c:662
#9 0x400534f1 in gnome_stock_pixmap (window=0x809c630, icon=0x80c7380
"New",
subtype=0x400785f0 "regular") at gnome-stock.c:790
I don't think I changed anything, is the strange thing. I tried
recompiling the works starting with glib; no luck.
Here's another trace, from my own program, triggered by using a menu and
thus activating imlib for the first time:
#0 0x40502d43 in memcpy (dstpp=0x809aca0, srcpp=0x81613a8, len=6)
at ../sysdeps/generic/memcpy.c:57
#1 0x40306d95 in NoSwap ()
#2 0x40307b78 in SendXYImage ()
#3 0x40307eff in PutImageRequest ()
#4 0x40307ffe in PutSubImage ()
#5 0x4030837f in XPutImage ()
#6 0x400bc460 in gdk_imlib_render (im=0x8099e10, w=16, h=16) at
rend.c:5771
#7 0x4004dd52 in finish_load (gpixmap=0x8099dd0, im=0x8099e10, scaled=0,
width=0, height=0, destroy=1) at gnome-pixmap.c:449
#8 0x4004e06f in load_rgb_d_shaped (gpixmap=0x8099dd0, data=0x80999c8 "",
alpha=0x0, rgb_width=16, rgb_height=16, scaled=0, width=0, height=0,
shape_color=0x40093ec8) at gnome-pixmap.c:519
#9 0x4004e843 in gnome_pixmap_load_rgb_d_shaped (gpixmap=0x8099dd0,
data=0x80999c8 "", alpha=0x0, rgb_width=16, rgb_height=16,
shape_color=0x40093ec8) at gnome-pixmap.c:591
#10 0x4004cdc8 in gnome_pixmap_new_from_rgb_d_shaped (data=0x80999c8 "",
alpha=0x0, rgb_width=16, rgb_height=16, shape_color=0x40093ec8)
at gnome-pixmap.c:193
#11 0x40052e9f in create_pixmap_from_imlib_scaled (window=0x8095a00,
data=0x808b570) at gnome-stock.c:662
#12 0x400534f1 in gnome_stock_pixmap (window=0x8095a00,
icon=0x80958d0 "Menu_New", subtype=0x400785f0 "regular")
I think it doesn't like shaped images. But the testgtk shaped example
works fine.
Red Hat 5.1 default versions of the image libraries (tiff,jpeg,png,etc.).
Havoc Pennington ==== http://pobox.com/~hp
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]