segfault in gdk_window_get_geometry()
- From: Nick Murtagh <murtaghn tcd ie>
- To: garnome-list gnome org
- Subject: segfault in gdk_window_get_geometry()
- Date: Wed, 22 May 2002 15:20:32 +0100
Hi,
This is from garnome 0.10.0 on Mandrake 8.1. gnome-session
segfaults on startup, the gdb session follows. Anyone got
any ideas?
Nick
(gdb) run
Starting program: /var/nickm/garnome/bin/gnome-session
[New Thread 1024 (LWP 4570)]
(gnome-login-check:4571): GLib-GObject-WARNING **: invalid cast from (NULL)
pointer to `GdkWindow'
Xlib: connection to ":0.0" refused by server
Xlib: Maximum number of clients reached
(gnome_segv:4812): Gtk-WARNING **: cannot open display: :0.0
(gnome-session:4570): GLib-GObject-WARNING **: invalid cast from (NULL)
pointer to `GdkWindow'
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 4570)]
0x405a92f0 in gdk_window_get_geometry (window=0x0, x=0x0, y=0x0,
width=0x40cb1edc, height=0x40cb1ee0, depth=0x0) at gdkwindow-x11.c:2147
2147 if (!GDK_WINDOW_DESTROYED (window))
(gdb) list
2142 g_return_if_fail (window == NULL || GDK_IS_WINDOW (window));
2143
2144 if (!window)
2145 window = _gdk_parent_root;
2146
2147 if (!GDK_WINDOW_DESTROYED (window))
2148 {
2149 XGetGeometry (GDK_WINDOW_XDISPLAY (window),
2150 GDK_WINDOW_XID (window),
2151 &root, &tx, &ty, &twidth, &theight,
&tborder_width, &tdepth);
(gdb) where
#0 0x405a92f0 in gdk_window_get_geometry (window=0x0, x=0x0, y=0x0,
width=0x40cb1edc, height=0x40cb1ee0, depth=0x0) at gdkwindow-x11.c:2147
#1 0x40c9a7cd in gdk_image_destroy () from /usr/lib/libgdk-1.2.so.0
#2 0x40c9b48f in gdk_input_init () from /usr/lib/libgdk-1.2.so.0
#3 0x40c86d73 in gdk_init_check () from /usr/lib/libgdk-1.2.so.0
#4 0x40019fb1 in real_gdk_init_check () from /usr/lib/libgdkxft.so
#5 0x40019048 in gdk_init_check () from /usr/lib/libgdkxft.so
#6 0x403fd163 in gtk_init_check (argc=0xbffff744, argv=0xbffff748)
at gtkmain.c:585
#7 0x403fd730 in gtk_init (argc=0xbffff744, argv=0xbffff748) at gtkmain.c:776
#8 0x401d37c5 in bonobo_ui_gtk_post_args_parse (program=0x8061398,
mod_info=0x4020a060) at bonobo-ui-init-gtk.c:42
#9 0x40242a9d in gnome_program_postinit (program=0x8061398)
at gnome-program.c:1609
#10 0x40242ee2 in gnome_program_initv (type=134601544,
app_id=0x8057ad3 "gnome-session", app_version=0x8057527 "1.5.19",
module_info=0x401b1820, argc=1, argv=0xbffff8b4,
first_property_name=0x8057ac8 "popt-table", args=0xbffff828)
at gnome-program.c:1854
#11 0x40242b34 in gnome_program_init (app_id=0x8057ad3 "gnome-session",
app_version=0x8057527 "1.5.19", module_info=0x401b1820, argc=1,
argv=0xbffff8b4, first_property_name=0x8057ac8 "popt-table")
at gnome-program.c:1660
#12 0x0804fe74 in main (argc=1, argv=0xbffff8b4) at main.c:171
#13 0x40a155b0 in __libc_start_main () from /lib/libc.so.6
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]