Re: weird imlib crashes



-----BEGIN PGP SIGNED MESSAGE-----

Hi,

I also had this problem also in XPutPixel32 () - and I discovered that
this only appears on 24 and 32 bit displays - when you use a 16 bit
display everything should work fine.

The problem occured with RH 5.1, Debian and SuSE - so we should consider
it as a real bug.

Martin


On Tue, 21 Jul 1998, Havoc Pennington wrote:

> To: gnome-list@gnome.org
> Subject: weird imlib crashes
> From: Havoc Pennington <rhpennin@midway.uchicago.edu>
> 
> 
> 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
> 
> 
> -- 
>          To unsubscribe: mail gnome-list-request@gnome.org with 
>                        "unsubscribe" as the Subject.
> 

- -----------------------------------------------------------------
   Martin Baulig - Angewandte Mathematik - Universitaet Trier

   baulig@castor.uni-trier.de, http://www.home-of-linux.org/
   Key: 1024-bit key with ID C8178435 created 1997/01/24 
   ID:  67 C1 84 A0 47 F5 11 C5  5F 68 4C 84 99 05 C3 92
   Finger me for public key or fetch finger.txt from the url above
- ------------------------------------------------------------------


-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv

iQCVAwUBNbT6coA8K7jIF4Q1AQH49wP/SFrVKBsb9ix0L7P3NgzyEqqtYUStG+ix
R1tGA39FqfhHVm+p1Vw46r55xP4irofeSEdqTYxY0oS1sMxO80iGjRWV8n6qHhJ7
cVHyt+j0hBAyitMC6vRaSPsP0nYcrRAZ3J8qIp4fYM8F3WxI/YfiBYFbnNe/DyyF
egx+DOtt4dE=
=iZsf
-----END PGP SIGNATURE-----



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]