Re: tasklist applet, shared library version.
- From: Robert Brady <robert susu org uk>
- To: Miguel de Icaza <miguel helixcode com>
- Cc: Jason Leach <leach wam umd edu>, gnome-hackers gnome org
- Subject: Re: tasklist applet, shared library version.
- Date: Thu, 9 Nov 2000 17:40:01 +0000 (GMT)
On 9 Nov 2000, Miguel de Icaza wrote:
>
> > I've been going through the bugs.gnome.org gnome-core and
> > gnome-applets, and I can tell you there is an enormous influx of
> > deskguide_applet crashes, mainly since 1.2.2.1, and overall I've
> > noticed:
>
> Jason, can we ask people that are getting this bug to run the applet
> with the --sync option, and try to get better stack traces here?
>
> What kind of crash are we getting?
This type of crash
#0 0x8052482 in pixbuf_from_drawable (drawable=0x80b0ed8, x=0, y=223,
width=952, height=55) at gwmthumbnail.c:301
#1 0x8052a94 in gwm_thumb_nail_update_drawable (nail=0x80b0c10,
drawable=0x80b0ed8, drawable_x=6, drawable_y=43) at gwmthumbnail.c:456
#2 0x80546d3 in thumb_queue_step (data=0x0) at gwmdesktop.c:705
#3 0x400a1b83 in g_timeout_dispatch () from /usr/lib/libglib-1.2.so.0
#4 0x400a0bb6 in g_main_dispatch () from /usr/lib/libglib-1.2.so.0
#5 0x400a11e3 in g_main_iterate () from /usr/lib/libglib-1.2.so.0
#6 0x400a13ac in g_main_run () from /usr/lib/libglib-1.2.so.0
#7 0x4029561c in gtk_main () from /usr/lib/libgtk-1.2.so.0
#8 0x8056d29 in main (argc=1, argv=0xbffff684) at deskguide_applet.c:262
#0 0x8052482 in pixbuf_from_drawable (drawable=0x80b0ed8, x=0, y=223,
width=952, height=55) at gwmthumbnail.c:301
301 if (shm_image && shm_image->depth == gdk_window_get_visual
(drawable)-
height = 55
shm_image = (GdkImage *) 0x80b2838
shm_pixmap = (GdkPixmap *) 0x80b4940
swidth = 1024
sheight = 768
cmap = (GdkColormap *) 0x80949b0
shot_pixbuf = (GdkPixbuf *) 0x0
#1 0x8052a94 in gwm_thumb_nail_update_drawable (nail=0x80b0c10,
drawable=0x80b0ed8, drawable_x=6, drawable_y=43) at gwmthumbnail.c:456
456 pixbuf = pixbuf_from_drawable (drawable,
nail = (GwmThumbNail *) 0x80b0c10
pixbuf = (GdkPixbuf *) 0x80b1f98
swidth = 3967
sheight = 725
xscale = 59.529411764705884
yscale = 55.916666666666664
thumb_x0 = 0
thumb_y0 = 4
thumb_x1 = 16
thumb_y1 = 5
dest_pixels = (guint8 *) 0x402fc339 "\213u\203
\220\205t>\213\006f\203x\004"
src_pixels = (guint8 *) 0x0
drowstride = 134640760
srowstride = 1074476812
xx = 1012
yy = 671
drawable_width = 9.1245819032751532e-313
drawable_height = 0
#2 0x80546d3 in thumb_queue_step (data=0x0) at gwmdesktop.c:705
705 if (task->desktop == desk->current_desktop &&
node = (GSList *) 0x0
nail = (GwmThumbNail *) 0x8094a50
task = (GwmhTask *) 0x80b0f10
class = (GwmDesktopClass *) 0x80b2c88
desk = (GwmhDesk *) 0x805c2c0
rest_queue = (GSList *) 0x80674d8
#3 0x400a1b83 in g_timeout_dispatch () from /usr/lib/libglib-1.2.so.0
#0
(gdb) print gdk_window_get_visual(drawable)
$10 = (GdkVisual *) 0x0
^^^ !!!!!!!
The return value of this should be checked.
(gdb) print *(GdkWindowPrivate*)drawable
$12 = {window = {user_data = 0x0}, parent = 0x0, xwindow = 58720280,
xdisplay = 0x8070ad8, x = 6, y = 43, width = 1012, height = 671,
resize_count = 0 '\000', window_type = 6 '\006', ref_count = 2,
destroyed = 0, mapped = 1, guffaw_gravity = 0, extension_events = 0,
filters = 0x80a9784, colormap = 0x0, children = 0x0}
--
Robert Brady
robert suse co uk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]