Re: gnome can not shutdown

From: Jung-uk Kim <jkim_at_niksun.com>
Date: Tue, 19 Apr 2005 20:11:57 -0400
On Tuesday 19 April 2005 06:30 pm, Jung-uk Kim wrote:
> On Saturday 16 April 2005 08:03 pm, David Xu wrote:
> > David Xu wrote:
> > > With newest -CURRENT kernel, I can not shutdown gnome from
> > > panel, did anyone encounter the problem ?
> > >
> > > David Xu
> >
> > Here is some gdb outputs, it seems thread 2 stuck in connect(),
> > is UNIX socket broken ?
>
> I am experiencing the same problem.  I rebuilt whole system from
> world and ports, tried different threading libraries, kernel
> options, removed gnome configurations from home directory, etc. but
> nothing helped. :-(  I am using Xfce4 for now...

Reverting the following commit fixed the problem:

http://docs.freebsd.org/cgi/mid.cgi?200504130001.j3D01kuD081602

Jung-uk Kim

> [Note: CC'ing current_at_.]
>
> Jung-uk Kim
>
> > Script started on Sun Apr 17 07:58:46 2005
> > davidxu_at_alona:/home/davidxu> gdb `which gnome-panel` 738
> >
> > GNU gdb 6.1.1 [FreeBSD]
> > Copyright 2004 Free Software Foundation, Inc.
> > GDB is free software, covered by the GNU General Public License,
> > and you are welcome to change it and/or distribute copies of it
> > under certain conditions.
> > Type "show copying" to see the conditions.
> > There is absolutely no warranty for GDB.  Type "show warranty"
> > for details. This GDB was configured as
> > "amd64-marcel-freebsd"...(no debugging symbols found)...
> > Attaching to program: /usr/X11R6/bin/gnome-panel, process 738
> > Reading symbols from /usr/X11R6/lib/libgnome-desktop-2.so.4...(no
> > debugging symbols found)...done.
> > Loaded symbols for /usr/X11R6/lib/libgnome-desktop-2.so.4
> > Reading symbols from /usr/X11R6/lib/libgnomeui-2.so.1000...(no
> > debugging symbols found)...done.
> > Loaded symbols for /usr/X11R6/lib/libgnomeui-2.so.1000
> > Reading symbols from /usr/X11R6/lib/libSM.so.6...(no debugging
> > symbols found)...done.
> > Loaded symbols for /usr/X11R6/lib/libSM.so.6
> > Reading symbols from /usr/X11R6/lib/libICE.so.6...(no debugging
> > symbols found)...done.
> > Loaded symbols for /usr/X11R6/lib/libICE.so.6
> > Reading symbols from
> > /usr/X11R6/lib/libstartup-notification-1.so.0...(no debugging
> > symbols found)...done.
> > Loaded symbols for /usr/X11R6/lib/libstartup-notification-1.so.0
> > Reading symbols from /usr/X11R6/lib/libbonoboui-2.so.0...(no
> > debugging symbols found)...done.
> > Loaded symbols for /usr/X11R6/lib/libbonoboui-2.so.0
> > Reading symbols from
> > /usr/X11R6/lib/libgnomecanvas-2.so.1000...(no debugging symbols
> > found)...done.
> > Loaded symbols for /usr/X11R6/lib/libgnomecanvas-2.so.1000
> > Reading symbols from /usr/X11R6/lib/libgnome-2.so.1000...(no
> > debugging symbols found)...done.
> > Loaded symbols for /usr/X11R6/lib/libgnome-2.so.1000
> > Reading symbols from /usr/local/lib/libart_lgpl_2.so.5...(no
> > debugging symbols found)...done.
> > Loaded symbols for /usr/local/lib/libart_lgpl_2.so.5
> > Reading symbols from /usr/X11R6/lib/libpangoft2-1.0.so.800...(no
> > debugging symbols found)...done.
> > Loaded symbols for /usr/X11R6/lib/libpangoft2-1.0.so.800
> > Reading symbols from /usr/X11R6/lib/libgnomevfs-2.so.1000...(no
> > debugging symbols found)...done.
> > Loaded symbols for /usr/X11R6/lib/libgnomevfs-2.so.1000
> > Reading symbols from /usr/local/lib/libbonobo-2.so.0...(no
> > debugging symbols found)...done.
> > Loaded symbols for /usr/local/lib/libbonobo-2.so.0
> > Reading symbols from
> > /usr/local/lib/libbonobo-activation.so.4...(no debugging symbols
> > found)...done.
> > Loaded symbols for /usr/local/lib/libbonobo-activation.so.4
> > Reading symbols from /usr/X11R6/lib/libglade-2.0.so.0...(no
> > debugging symbols found)...done.
> > Loaded symbols for /usr/X11R6/lib/libglade-2.0.so.0
> > Reading symbols from /usr/X11R6/lib/libgtk-x11-2.0.so.600...(no
> > debugging symbols found)...done.
> > Loaded symbols for /usr/X11R6/lib/libgtk-x11-2.0.so.600
> > Reading symbols from /usr/local/lib/libxml2.so.5...(no debugging
> > symbols found)...done.
> > Loaded symbols for /usr/local/lib/libxml2.so.5
> > Reading symbols from /usr/X11R6/lib/libgdk-x11-2.0.so.600...(no
> > debugging symbols found)...done.
> > Loaded symbols for /usr/X11R6/lib/libgdk-x11-2.0.so.600
> > Reading symbols from /usr/X11R6/lib/libXrandr.so.2...(no
> > debugging symbols found)...done.
> > Loaded symbols for /usr/X11R6/lib/libXrandr.so.2
> > Reading symbols from /usr/X11R6/lib/libXi.so.6...(no debugging
> > symbols found)...done.
> > Loaded symbols for /usr/X11R6/lib/libXi.so.6
> > Reading symbols from /usr/X11R6/lib/libXinerama.so.1...(no
> > debugging symbols found)...done.
> > Loaded symbols for /usr/X11R6/lib/libXinerama.so.1
> > Reading symbols from /usr/X11R6/lib/libXfixes.so.3...(no
> > debugging symbols found)...done.
> > Loaded symbols for /usr/X11R6/lib/libXfixes.so.3
> > Reading symbols from /usr/X11R6/lib/libXcursor.so.1...(no
> > debugging symbols found)...done.
> > Loaded symbols for /usr/X11R6/lib/libXcursor.so.1
> > Reading symbols from /usr/local/lib/libatk-1.0.so.901...(no
> > debugging symbols found)...done.
> > Loaded symbols for /usr/local/lib/libatk-1.0.so.901
> > Reading symbols from
> > /usr/X11R6/lib/libgdk_pixbuf-2.0.so.600...(no debgging symbols
> > found)...done.
> > Loaded symbols for /usr/X11R6/lib/libgdk_pixbuf-2.0.so.600
> > Reading symbols from /usr/X11R6/lib/libpangoxft-1.0.so.800...(no
> > debugging symbols found)...done.
> > Loaded symbols for /usr/X11R6/lib/libpangoxft-1.0.so.800
> > Reading symbols from /usr/X11R6/lib/libXft.so.2...(no debugging
> > symbols found)...done.
> > Loaded symbols for /usr/X11R6/lib/libXft.so.2
> > Reading symbols from /usr/local/lib/libfreetype.so.9...(no
> > debugging symbols found)...done.
> > Loaded symbols for /usr/local/lib/libfreetype.so.9
> > Reading symbols from /lib/libz.so.2...(no debugging symbols
> > found)...done. Loaded symbols for /lib/libz.so.2
> > Reading symbols from /usr/X11R6/lib/libXrender.so.1...(no
> > debugging symbols found)...done.
> > Loaded symbols for /usr/X11R6/lib/libXrender.so.1
> > Reading symbols from /usr/X11R6/lib/libXext.so.6...(no debugging
> > symbols found)...done.
> > Loaded symbols for /usr/X11R6/lib/libXext.so.6
> > Reading symbols from /usr/X11R6/lib/libfontconfig.so.1...(no
> > debugging symbols found)...done.
> > Loaded symbols for /usr/X11R6/lib/libfontconfig.so.1
> > Reading symbols from /usr/X11R6/lib/libpangox-1.0.so.800...(no
> > debugging symbols found)...done.
> > Loaded symbols for /usr/X11R6/lib/libpangox-1.0.so.800
> > Reading symbols from /usr/X11R6/lib/libX11.so.6...(no debugging
> > symbols found)...done.
> > Loaded symbols for /usr/X11R6/lib/libX11.so.6
> > Reading symbols from /usr/X11R6/lib/libpango-1.0.so.800...(no
> > debugging symbols found)...done.
> > Loaded symbols for /usr/X11R6/lib/libpango-1.0.so.800
> > Reading symbols from /usr/local/lib/libgobject-2.0.so.600...(no
> > debugging symbols found)...done.
> > Loaded symbols for /usr/local/lib/libgobject-2.0.so.600
> > Reading symbols from /usr/X11R6/lib/libgconf-2.so.5...(no
> > debugging symbols found)...done.
> > Loaded symbols for /usr/X11R6/lib/libgconf-2.so.5
> > Reading symbols from /usr/local/lib/libORBit-2.so.0...(no
> > debugging symbols found)...done.
> > Loaded symbols for /usr/local/lib/libORBit-2.so.0
> > Reading symbols from /lib/libm.so.3...(no debugging symbols
> > found)...done. Loaded symbols for /lib/libm.so.3
> > Reading symbols from /usr/local/lib/libgmodule-2.0.so.600...(no
> > debugging symbols found)...done.
> > Loaded symbols for /usr/local/lib/libgmodule-2.0.so.600
> > Reading symbols from /usr/local/lib/libgthread-2.0.so.600...(no
> > debugging symbols found)...done.
> > Loaded symbols for /usr/local/lib/libgthread-2.0.so.600
> > Reading symbols from /usr/X11R6/lib/libgnome-menu.so.0...(no
> > debugging symbols found)...done.
> > Loaded symbols for /usr/X11R6/lib/libgnome-menu.so.0
> > Reading symbols from /usr/local/lib/libglib-2.0.so.600...(no
> > debugging symbols found)...done.
> > Loaded symbols for /usr/local/lib/libglib-2.0.so.600
> > Reading symbols from /usr/local/lib/libiconv.so.3...(no debugging
> > symbols found)...done.
> > Loaded symbols for /usr/local/lib/libiconv.so.3
> > Reading symbols from /usr/local/lib/libpopt.so.0...(no debugging
> > symbols found)...done.
> > Loaded symbols for /usr/local/lib/libpopt.so.0
> > Reading symbols from /usr/lib/libthr.so.1...(no debugging symbols
> > found)...done.
> > [New Thread 0x853400 (LWP 100100)]
> > [New Thread 0x57c000 (LWP 100124)]
> > Loaded symbols for /usr/lib/libthr.so.1
> > Reading symbols from /lib/libc.so.6...(no debugging symbols
> > found)...done. Loaded symbols for /lib/libc.so.6
> > Reading symbols from /usr/local/lib/libintl.so.6...(no debugging
> > symbols found)...done.
> > Loaded symbols for /usr/local/lib/libintl.so.6
> > Reading symbols from /usr/X11R6/lib/libgnome-keyring.so.0...(no
> > debugging symbols found)...done.
> > Loaded symbols for /usr/X11R6/lib/libgnome-keyring.so.0
> > Reading symbols from /usr/local/lib/libjpeg.so.9...(no debugging
> > symbols found)...done.
> > Loaded symbols for /usr/local/lib/libjpeg.so.9
> > Reading symbols from /usr/local/lib/libesd.so.2...(no debugging
> > symbols found)...done.
> > Loaded symbols for /usr/local/lib/libesd.so.2
> > Reading symbols from /usr/local/lib/libaudiofile.so.0...(no
> > debugging symbols found)...done.
> > Loaded symbols for /usr/local/lib/libaudiofile.so.0
> > Reading symbols from /usr/lib/libssl.so.3...(no debugging symbols
> > found)...done.
> > Loaded symbols for /usr/lib/libssl.so.3
> > Reading symbos from /lib/libcrypto.so.3...(no debugging symbols
> > found)...done.
> > Loaded symbols for /lib/libcrypto.so.3
> > Reading symbols from
> > /usr/local/lib/libORBitCosNaming-2.so.0...(no debugging symbols
> > found)...done.
> > Loaded symbols for /usr/local/lib/libORBitCosNaming-2.so.0
> > Reading symbols from /usr/local/lib/libexpat.so.5...(no debugging
> > symbols found)...done.
> > Loaded symbols for /usr/local/lib/libexpat.so.5
> > Reading symbols from
> > /usr/X11R6/lib/X11/locale/lib/common/xlocale.so.2...(no debugging
> > symbols found)...done.
> > Loaded symbols for
> > /usr/X11R6/lib/X11/locale/lib/common/xlocale.so.2 Reading symbols
> > from
> > /usr/X11R6/lib/X11/locale/lib/common/xlibi18n.so.2...(no
> > debugging symbols found)...done.
> > Loaded symbols for
> > /usr/X11R6/lib/X11/locale/lib/common/xlibi18n.so.2 Reading
> > symbols from
> > /usr/X11R6/lib/gtk-2.0/2.4.0/engines/libthinice.so...(no
> > debugging symbols found)...done.
> > Loaded symbols for
> > /usr/X11R6/lib/gtk-2.0/2.4.0/engines/libthinice.so Reading
> > symbols from
> > /usr/X11R6/lib/gtk-2.0/2.4.0/engines/libredmond95.so...(no
> > debugging symbols found)...done.
> > Loaded symbols for
> > /usr/X11R6/lib/gtk-2.0/2.4.0/engines/libredmond95.so Reading
> > symbols from
> > /usr/X11R6/lib/pango/1.4.0/modules/pango-basic-fc.so...(no
> > debugging symbols found)...done.
> > Loaded symbols for
> > /usr/X11R6/lib/pango/1.4.0/modules/pango-basic-fc.so Reading
> > symbols from
> > /usr/X11R6/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so...(no
> > debugging symbols found)...done.
> > Loaded symbols for
> > /usr/X11R6/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so
> > Reading symbols from /usr/local/lib/libpng.so.5...(no debugging
> > symbols found)...done.
> > Loaded symbols for /usr/local/lib/libpng.so.5
> > Reading symbols from
> > /usr/local/lib/bonobo/monikers/libmoniker_std_2.so...(no
> > debugging symbols found)...done.
> > Loaded symbols for
> > /usr/local/lib/bonobo/monikers/libmoniker_std_2.so Reading
> > symbols from
> > /usr/X11R6/lib/gnome-vfs-2.0/modules/libfile.so...(no debugging
> > symbols found)...done.
> > Loaded symbols for
> > /usr/X11R6/lib/gnome-vfs-2.0/modules/libfile.so Reading symbols
> > from /usr/local/lib/libfam.so.0...(no debugging symbols
> > found)...done.
> > Loaded symbols for /usr/local/lib/libfam.so.0
> > Reading symbols from /usr/lib/libstdc++.so.4...(no debugging
> > symbols found)...done.
> > Loaded symbols for /usr/lib/libstdc++.so.4
> > Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols
> > found)...done.
> > Loaded symbols for /libexec/ld-elf.so.1
> > [Switching to Thread 0x853400 (LWP 100100)]
> > 0x00000008040a935c in poll () from /lib/libc.so.6
> > (gdb) info threads
> >   2 Thread 0x57c000 (LWP 100124)  0x00000008040a9a1c in connect
> > () from /lib/libc.so.6
> > * 1 Thread 0x853400 (LWP 100100)  0x00000008040a935c in poll ()
> >    from /lib/libc.so.6
> > (gdb) thread 2
> > [Switching to thread 2 (Thread 0x57c000 (LWP 100124))]#0
> > 0x00000008040a9a1c in connect () from /lib/libc.so.6
> > (gdb) bt
> > #0  0x00000008040a9a1c in connect () from /lib/libc.so.6
> > #1  0x0000000803f4a823 in connect () from /usr/lib/libthr.so.1
> > #2  0x000000080458d7b3 in esd_connect_unix () from
> > /usr/local/lib/libesd.so.2
> > #3  0x000000080458dbeb in esd_open_sound () from
> > /usr/local/lib/libesd.so.2 #4  0x0000000800f13c82 in
> > gnome_config_set_sync_handler () from
> > /usr/X11R6/lib/libgnome-2.so.1000
> > #5  0x0000000800f14139 in gnome_sound_connection_get ()
> >    from /usr/X11R6/lib/libgnome-2.so.1000
> > #6  0x0000000800f1459e in gnome_triggers_add_trigger ()
> >    from /usr/X11R6/lib/libgnome-2.so.1000
> > #7  0x0000000800f146e8 in gnome_triggers_vdo ()
> >    from /usr/X11R6/lib/libgnome-2.so.1000
> > #8  0x0000000800f149ba in gnome_triggers_do ()
> >    from /usr/X11R6/lib/libgnome-2.so.1000
> > #9  0x0000000800814c81 in gnome_client_request_save ()
> >    from /usr/X11R6/lib/libgnomeui-2.so.1000
> > #10 0x0000000000441622 in panel_init_stock_icons_and_items ()
> > #11 0x00000008032b2fcf in g_closure_invoke ()
> >    from /usr/local/lib/libgobject-2.0.so.600
> > #12 0x00000008032c714e in g_signal_has_handler_pending ()
> >    from /usr/local/lib/libgobject-2.0.so.600
> > #13 0x00000008032c82cb in g_signal_emit_valist ()
> >    from /usr/local/lib/libgobject-2.0.so.600
> > #14 0x00000008032c86a3 in _signal_emit ()
> > ---Type <return> to continue, or q <return> to quit---
> >    from /usr/local/lib/libgobject-2.0.so.600
> > #15 0x000000080196e852 in gtk_widget_activate ()
> >    from /usr/X11R6/lib/libgtk-x11-2.0.so.600
> > #16 0x000000080189fbf0 in gtk_menu_shell_activate_item ()
> >    from /usr/X11R6/lib/libgtk-x11-2.0.so.600
> > #17 0x000000080189fefb in gtk_menu_shell_activate_item ()
> >    from /usr/X11R6/lib/libgtk-x11-2.0.so.600
> > #18 0x0000000801891576 in gtk_marshal_VOID__UINT_STRING ()
> >    from /usr/X11R6/lib/libgtk-x11-2.0.so.600
> > #19 0x00000008032b2fcf in g_closure_invoke ()
> >    from /usr/local/lib/libgobject-2.0.so.600
> > #20 0x00000008032c6d39 in g_signal_has_handler_pending ()
> >    from /usr/local/lib/libgobject-2.0.so.600
> > #21 0x00000008032c8001 in g_signal_emit_valist ()
> >    from /usr/local/lib/libgobject-2.0.so.600
> > #22 0x00000008032c86a3 in g_signal_emit ()
> >    from /usr/local/lib/libgobject-2.0.so.600
> > #23 0x000000080196e9b0 in gtk_widget_activate ()
> >    from /usr/X11R6/lib/libgtk-x11-2.0.so.600
> > #24 0x000000080188f961 in gtk_propagate_event ()
> >    from /usr/X11R6/lib/libgtk-x11-2.0.so.600
> > #25 0x000000080188fc9c in gtk_main_do_event ()
> >    from /usr/X11R6/lib/libgtk-x11-2.0.so.600
> > #26 0x0000000801dda5a0 in gdk_event_get_graphics_expose ()
> > ---Type <return> to continue, or q <return> to quit---
> >    from /usr/X11R6/lib/libgdk-x11-2.0.so.600
> > #27 0x0000000803ae75bd in g_main_context_dispatch ()
> >    from /usr/local/lib/libglib-2.0.so.600
> > #28 0x0000000803ae923c in g_main_context_acquire ()
> >    from /usr/local/lib/libglib-2.0.so.600
> > #29 0x0000000803ae95c9 in g_main_loop_run ()
> >    from /usr/local/lib/libglib-2.0.so.600
> > #30 0x000000080188f181 in gtk_main ()
> >    from /usr/X11R6/lib/libgtk-x11-2.0.so.600
> > #31 0x000000000042275e in main ()
> > (gdb) info thread
> > * 2 Thread 0x57c000 (LWP 100124)  0x00000008040a9a1c in connect
> > () from /lib/libc.so.6
> >   1 Thread 0x853400 (LWP 100100)  0x00000008040a935c in poll ()
> >    from /lib/libc.so.6
> > (gdb) therad rread 1
> > [Switching to thread 1 (Thread 0x853400 (LWP 100100))]#0
> > 0x00000008040a935c in poll () from /lib/libc.so.6
> > (gdb) bt
> > #0  0x00000008040a935c in poll () from /lib/libc.so.6
> > #1  0x0000000803f4adb5 in poll () from /usr/lib/libthr.so.1
> > #2  0x0000000803ae91ce in g_main_context_acquire ()
> >    from /usr/local/lib/libglib-2.0.so.600
> > #3  0x0000000803ae95c9 in g_main_loop_run ()
> >    from /usr/local/lib/libglib-2.0.so.600
> > #4  0x00000008035648f0 in link_io_thread_fn ()
> >    from /usr/local/lib/libORBit-2.so.0
> > #5  0x0000000803b01842 in g_static_private_free ()
> >    from /usr/local/lib/libglib-2.0.so.600
> > #6  0x0000000803f5392c in pthread_create () from
> > /usr/lib/libthr.so.1 #7  0x000000080409afe4 in makecontext ()
> > from /lib/libc.so.6 #8  0x0000000000000000 in ?? ()
> > #9  0x0000000000853400 in ?? ()
> > #10 0x0000000000000000 in ?? ()
> > #11 0x0000000000000000 in ?? ()
> > #12 0x0000000000000000 in ?? ()
> > #13 0x0000000000000000 in ?? ()
> > #14 0x0000000000000000 in ?? ()
> > Error accessing memory address 0x7fffffbff000: Bad address.
> > (gdb) detach
> > Detaching from program: /usr/X11R6/bin/gnome-panel, process 738
> > (gdb) quit
> > davidxu_at_alona:/home/davidxu> exit
> >
> > exit
> >
> > Script done on Sun Apr 17 07:59:25 2005
Received on Tue Apr 19 2005 - 22:12:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:32 UTC