gnome help

Joe Marcus Clarke marcus at FreeBSD.org
Wed Jul 29 05:43:35 UTC 2009


On Tue, 2009-07-28 at 12:20 -0600, Free Bsd wrote:
> /ect/make.conf has WITH_DEBUG=yes and liboobs rebuilt via ports
> 
> libc and libthr don't seem to have a port I can rebuild. I hope this  
> will suffice.
> 
> consider the following backtrace.
> 
> > gdb nautilus
> 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 "i386-marcel-freebsd"...
> (gdb) run
> Starting program: /usr/local/bin/nautilus
> [New LWP 100190]
> [New Thread 0x29501100 (LWP 100190)]
> [New Thread 0x29d0fa00 (LWP 100109)]
> [New Thread 0x29d61600 (LWP 100137)]
> 
> ** (nautilus:42381): WARNING **: Unable to add monitor: Not supported
> [Thread 0x29d61600 (LWP 100137) exited]
> [New Thread 0x2ad03a00 (LWP 100137)]
> [New Thread 0x2ad03b00 (LWP 100144)]
> [Thread 0x2ad03a00 (LWP 100137) exited]
> [Thread 0x29d0fa00 (LWP 100109) exited]
> [New Thread 0x2ad78800 (LWP 100109)]
> [Thread 0x2ad03b00 (LWP 100144) exited]
> [New Thread 0x2ad79c00 (LWP 100137)]
> [New Thread 0x2ad7a200 (LWP 100144)]
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x29501100 (LWP 100190)]
> 0x2a547195 in oobs_share_smb_new (path=0x0, name=0x29597fcc "/app",
>      comment=0x0, flags=0) at oobs-share-smb.c:339
> 339	oobs-share-smb.c: No such file or directory.
> 	in oobs-share-smb.c
> (gdb) bt
> #0  0x2a547195 in oobs_share_smb_new (path=0x0, name=0x29597fcc "/app",
>      comment=0x0, flags=0) at oobs-share-smb.c:339
> #1  0x2a5454ea in create_share_from_dbus_reply (object=0x2953e640,
>      reply=0x295d7430, struct_iter=
>        {dummy1 = 0x295d7430, dummy2 = 0x600000, dummy3 = 689989740,  
> dummy4 = 693990452, dummy5 = 166, dummy6 = 693990512, dummy7 = 8,  
> dummy8 = 683548200, dummy9 = 8, dummy10 = 1192, dummy11 = 0, pad1 =  
> 693135252, pad2 = 1, pad3 = 0x292071c0}) at oobs-smbconfig.c:250
> #2  0x2a5456a0 in oobs_smb_config_update (object=0x2953e640)
>      at oobs-smbconfig.c:297
> #3  0x2a53a0ce in update_object_from_message (object=0x2953e640,
>      message=0x295d7430) at oobs-object.c:359
> #4  0x2a53a319 in async_message_cb (pending_call=0x29d4af40, data=0x29d4f1b0)
>      at oobs-object.c:430
> #5  0x28bc8de1 in dbus_pending_call_get_data ()
>     from /usr/local/lib/libdbus-1.so.3
> #6  0x28bb9903 in dbus_connection_set_watch_functions ()
>     from /usr/local/lib/libdbus-1.so.3
> #7  0x28bba4f9 in dbus_connection_dispatch ()
>     from /usr/local/lib/libdbus-1.so.3
> #8  0x28b8e30d in dbus_server_setup_with_g_main ()
>     from /usr/local/lib/libdbus-glib-1.so.2
> #9  0x28c5ed88 in g_main_dispatch (context=0x2955ea20) at gmain.c:1824
> ---Type <return> to continue, or q <return> to quit---
> #10 0x28c602a9 in IA__g_main_context_dispatch (context=0x2955ea20)
>      at gmain.c:2377
> #11 0x28c60781 in g_main_context_iterate (context=0x2955ea20, block=1,
>      dispatch=1, self=0x29506040) at gmain.c:2455
> #12 0x28c60f75 in IA__g_main_loop_run (loop=0x29d5d230) at gmain.c:2663
> #13 0x284333b0 in IA__gtk_main () at gtkmain.c:1205
> #14 0x080830a7 in main (argc=1, argv=0xbfbfea80) at nautilus-main.c:518
> (gdb)

This code path is impossible.  Nautilus doesn't link to liboobs.  What
is the output of ldd /usr/local/bin/nautilus?

Joe

> 
> 
> Quoting Joe Marcus Clarke <marcus at freebsd.org>:
> 
> > bduke at box201.com wrote:
> >>
> >>
> >
> >> 6. stack trace *_WITH FRIGGEN DEGUGGING!_*
> >
> > No, there are no debugging symbols here.  You need to rebuild liboobs at
> > the very least with debugging symbols, but probably nautilus, libc, and
> > libthr as well.
> >
> > Joe
> >
> >>
> >> \\/home/myuser>gdb nautilus
> >>
> >>     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 "i386-marcel-freebsd"...
> >>     (gdb) run
> >>     Starting program: /usr/local/bin/nautilus
> >>     [New LWP 100092]
> >>     [New Thread 0x29501100 (LWP 100092)]
> >>     [New Thread 0x29d0fa00 (LWP 100117)]
> >>
> >>     ** (nautilus:12267): WARNING **: Unable to add monitor: Not supported
> >>     [New Thread 0x2ad36900 (LWP 100138)]
> >>     [New Thread 0x2ad5fd00 (LWP 100139)]
> >>
> >>     Program received signal SIGSEGV, Segmentation fault.
> >>     [Switching to Thread 0x29501100 (LWP 100092)]
> >>     0x2a543526 in oobs_share_smb_new () from /usr/local/lib/liboobs-1.so.4
> >>     (gdb) bt
> >>     #0  0x2a543526 in oobs_share_smb_new () from
> >>     /usr/local/lib/liboobs-1.so.4
> >>     #1  0x2a542c02 in oobs_smb_config_get () from
> >>     /usr/local/lib/liboobs-1.so.4
> >>     #2  0x2a53920f in oobs_object_update_async ()
> >>        from /usr/local/lib/liboobs-1.so.4
> >>     #3  0x2a539bae in oobs_object_commit () from
> >>     /usr/local/lib/liboobs-1.so.4
> >>     #4  0x28bc8de1 in dbus_pending_call_get_data ()
> >>        from /usr/local/lib/libdbus-1.so.3
> >>     #5  0x28bb9903 in dbus_connection_set_watch_functions ()
> >>        from /usr/local/lib/libdbus-1.so.3
> >>     #6  0x28bba4f9 in dbus_connection_dispatch ()
> >>        from /usr/local/lib/libdbus-1.so.3
> >>     #7  0x28b8e30d in dbus_server_setup_with_g_main ()
> >>        from /usr/local/lib/libdbus-glib-1.so.2
> >>     #8  0x28c5ed88 in g_main_dispatch (context=0x2955ea20) at gmain.c:1824
> >>     #9  0x28c602a9 in IA__g_main_context_dispatch (context=0x2955ea20)
> >>         at gmain.c:2377
> >>     #10 0x28c60781 in g_main_context_iterate (context=0x2955ea20, block=1,
> >>         dispatch=1, self=0x29506040) at gmain.c:2455
> >>     #11 0x28c60f75 in IA__g_main_loop_run (loop=0x29d5d220) at gmain.c:2663
> >>     #12 0x284333b0 in IA__gtk_main () at gtkmain.c:1205
> >>     #13 0x080830a7 in main (argc=1, argv=0xbfbfea80) at nautilus-main.c:518
> >>     (gdb)
> >>     #0  0x2a543526 in oobs_share_smb_new () from
> >>     /usr/local/lib/liboobs-1.so.4
> >>     #1  0x2a542c02 in oobs_smb_config_get () from
> >>     /usr/local/lib/liboobs-1.so.4
> >>     #2  0x2a53920f in oobs_object_update_async ()
> >>        from /usr/local/lib/liboobs-1.so.4
> >>     #3  0x2a539bae in oobs_object_commit () from
> >>     /usr/local/lib/liboobs-1.so.4
> >>     #4  0x28bc8de1 in dbus_pending_call_get_data ()
> >>        from /usr/local/lib/libdbus-1.so.3
> >>     #5  0x28bb9903 in dbus_connection_set_watch_functions ()
> >>        from /usr/local/lib/libdbus-1.so.3
> >>     #6  0x28bba4f9 in dbus_connection_dispatch ()
> >>        from /usr/local/lib/libdbus-1.so.3
> >>     #7  0x28b8e30d in dbus_server_setup_with_g_main ()
> >>        from /usr/local/lib/libdbus-glib-1.so.2
> >>     #8  0x28c5ed88 in g_main_dispatch (context=0x2955ea20) at gmain.c:1824
> >>     #9  0x28c602a9 in IA__g_main_context_dispatch (context=0x2955ea20)
> >>         at gmain.c:2377
> >>     #10 0x28c60781 in g_main_context_iterate (context=0x2955ea20, block=1,
> >>         dispatch=1, self=0x29506040) at gmain.c:2455
> >>     #11 0x28c60f75 in IA__g_main_loop_run (loop=0x29d5d220) at gmain.c:2663
> >>     #12 0x284333b0 in IA__gtk_main () at gtkmain.c:1205
> >>     #13 0x080830a7 in main (argc=1, argv=0xbfbfea80) at nautilus-main.c:518
> >>     (gdb)
> >>
> >> Now then, I don't believe this is a release issue. Probably some build
> >> issue isolated only to my system. I could really use the help to figure
> >> out how to get out of this mess. If you are on IRC I'll be glad to log
> >> on. My nick is NiteFall or NiteFalll.
> >>
> >> anything else?
> >>
> >>
> >>
> >>
> >> Quoting Joe Marcus Clarke <marcus at marcuscom.com>:
> >>
> >>> Content-Type: text/plain; charset="UTF-8"
> >>> Content-Transfer-Encoding: quoted-printable
> >>>
> >>> On Sat, 2009-07-25 at 22:46 -0600, freebsd at box201.com wrote:
> >>>> Thanks for helping Joe. I have done more research.
> >>>>
> >>>> The ##gnome people on freenode has just spent the last 3 hours
> >>>> locating the problem.
> >>>>
> >>>>
> >>>>
> >>>> Here is what we have:
> >>>>
> >>>> /var/logs/messages
> >>>>
> >>>> http://pastebin.com/d69ce888
> >>>
> >>> These messages are harmless.  We use a permissive version of dbus, and
> >>> they wouldn't cause what you're seeing anyway.
> >>>
> >>>>
> >>>>
> >>>>
> >>>> there is a permission problem with my dbus. We changed the system file
> >>>>
> >>>> /etc/dbus-1/system.d/system-tools-backends.conf
> >>>
> >>> This file shouldn't even exist.  All of FreeBSD's dbus configuration is
> >>> under /usr/local/etc.
> >>>
> >>>>
> >>>>
> >>>>
> >>>> And it almost worked but the original does not.
> >>>>
> >>>> Here is my original: http://pastebin.com/d3a391b2c
> >>>>
> >>>> The config we tried: http://pastebin.com/m1f0eb00d
> >>>>
> >>>> And we returned back to the original.
> >>>>
> >>>>
> >>>>
> >>>> gdb shows the error pretty well but I?m unable to tread much into it.
> >>>> (Still new at this)
> >>>>
> >>>> http://pastebin.com/d1f1b9ffb
> >>>
> >>> This is useless without debugging symbols.  See
> >>> http://www.freebsd.org/gnome/docs/bugging.html .
> >>>
> >>>>
> >>>>
> >>>>
> >>>> And the advice from ##gnome on freenode
> >>>>
> >>>> <borschty> so your problem is a file in /etc/dbus-1/system.d/ causing
> >>>> the requests to be rejected
> >>>>
> >>>> <borschty> this and the http://pastebin.com/d69ce888 log should be
> >>>> enough for the bsd people to help you
> >>>>
> >>>>
> >>>>
> >>>> So yes dbus is running. So is hald.
> >>>
> >>> Really?  I haven't seen proof of that.  See
> >>> http://www.freebsd.org/gnome/docs/halfaq.html for more on
> >>> troubleshooting hal problems.
> >>>
> >>> Joe
> >>>
> >>>>
> >>>> But drilling down it seems dbus has some permission problems
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> From: Joe Marcus Clarke [mailto:marcus at marcuscom.com]
> >>>> Sent: Saturday, July 25, 2009 2:22 PM
> >>>> To: freebsd at box201.com
> >>>> Cc: freebsd-gnome at freebsd.org
> >>>> Subject: Re: gnome help
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> On Sat, 2009-07-25 at 12:39 -0600, freebsd at box201.com wrote:
> >>>> > Gentlemen,
> >>>> >
> >>>> >                 I did a portupgrade and now I'm broke. Something
> >>>> didn't
> >>>> > build right and I don't know where to check. Everything said the
> >>>> build went
> >>>> > ok except for linux-gtk which required linux-pango that has know
> >>>> > vulnerabilities so that's ok I don't really need that. However, now
> >>>> the
> >>>> > gnome session locks up my mouse and continually fails to load a file
> >>>> manager
> >>>> > so it starts again and again until it fills the buffer or I kill the
> >>>> X
> >>>> > server. Could someone help me figure out where to look and what to
> >>>> fix?
> >>>>
> >>>> Make sure hald and dbus-daemon are running.  You should have:
> >>>>
> >>>> hald_enable="YES"
> >>>> dbus_enable="YES"
> >>>>
> >>>> In /etc/rc.conf.
> >>>>
> >>>> It also looks like you're trying to run GNOME as root which is not a
> >>>> good idea.  Try running it as a regular user.
> >>>>
> >>>> Joe
> >>>>
> >>>> >
> >>>> >
> >>>> >
> >>>> > Example startup:
> >>>> >
> >>>> >
> >>>> >
> >>>> >  /home/user> startx
> >>>> >
> >>>> > xauth:  creating new authority file /user/.serverauth.67450
> >>>> >
> >>>> >
> >>>> >
> >>>> >
> >>>> >
> >>>> > X.Org X Server 1.6.1
> >>>> >
> >>>> > Release Date: 2009-4-14
> >>>> >
> >>>> > X Protocol Version 11, Revision 0
> >>>> >
> >>>> > Build Operating System: FreeBSD 7.1-RELEASE i386
> >>>> >
> >>>> > Current Operating System: FreeBSD lazerus.box201.com 7.1-RELEASE
> >>>> FreeBSD
> >>>> > 7.1-RELEASE #0: Wed Jan  7 02:34:35 MST 2009
> >>>> > user at lazerus.box201.com:/usr/obj/usr/src/sys/LAZERUS i386
> >>>> >
> >>>> > Build Date: 21 July 2009  03:48:33PM
> >>>> >
> >>>> >
> >>>> >
> >>>> >         Before reporting problems, check http://wiki.x.org
> >>>> >
> >>>> >         to make sure that you have the latest version.
> >>>> >
> >>>> > Markers: (--) probed, (**) from config file, (==) default setting,
> >>>> >
> >>>> >         (++) from command line, (!!) notice, (II) informational,
> >>>> >
> >>>> >         (WW) warning, (EE) error, (NI) not implemented, (??)
> >>>> unknown.
> >>>> >
> >>>> > (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jul 25 12:18:40 2009
> >>>> >
> >>>> > (==) Using config file: "/etc/X11/xorg.conf"
> >>>> >
> >>>> > (EE) config/hal: couldn't initialise context: (null) ((null))
> >>>> >
> >>>> > gnome-session[67473]: WARNING: Unable to determine session: Unable
> >>>> to lookup
> >>>> > session information for process '67473'
> >>>> >
> >>>> > GNOME_KEYRING_SOCKET=/var/tmp/keyring-uBfeUl/socket
> >>>> >
> >>>> > SSH_AUTH_SOCK=/var/tmp/keyring-uBfeUl/socket.ssh
> >>>> >
> >>>> > GNOME_KEYRING_PID=67485
> >>>> >
> >>>> >
> >>>> >
> >>>> > ** (gnome-settings-daemon:67483): WARNING **: Connection failed
> >>>> >
> >>>> >
> >>>> >
> >>>> > ** (gnome-settings-daemon:67483): WARNING **: Failed to connect
> >>>> context:
> >>>> > Connection refused
> >>>> >
> >>>> > Window manager warning: Failed to read saved session file
> >>>> >
> >>>>
> >> /user/.config/metacity/sessions/10aaf9193ee33d96ee12485459281333800000674730
> >>>> > 014.ms: Failed to open file
> >>>> >
> >>>>
> >> '/user/.config/metacity/sessions/10aaf9193ee33d96ee1248545928133380000067473
> >>>> > 0014.ms': No such file or directory
> >>>> >
> >>>> > W: main.c: This program is not intended to be run as root (unless
> >>>> --system
> >>>> > is specified).
> >>>> >
> >>>> > ** (gnome-volume-control-applet:67500): DEBUG: Disabling debugging
> >>>> >
> >>>> >
> >>>> >
> >>>> > ** (gnome-power-manager:67496): WARNING **: DBUS error: Could not
> >>>> get owner
> >>>> > of name 'org.freedesktop.Hal': no such name
> >>>> >
> >>>> > ** (gnome-power-manager:67496): DEBUG: proxy is NULL, maybe the
> >>>> daemon
> >>>> > responsible for org.freedesktop.Hal is not running?
> >>>> >
> >>>> >
> >>>> >
> >>>> > ** (gnome-power-manager:67496): WARNING **: Either HAL or DBUS are
> >>>> not
> >>>> > working!
> >>>> >
> >>>> > _______________________________________________
> >>>> > freebsd-gnome at freebsd.org mailing list
> >>>> > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> >>>> > To unsubscribe, send any mail to
> >>>> "freebsd-gnome-unsubscribe at freebsd.org"
> >>>> >
> >>>> --
> >>>> PGP Key : http://www.marcuscom.com/pgp.asc
> >>>>
> >>>>
> >>> --
> >>> PGP Key : http://www.marcuscom.com/pgp.asc
> >>>
> >>
> >>
> >>
> >> ----------------------------------------------------------------
> >> This message was sent using IMP, the Internet Messaging Program.
> >
> >
> > --
> > Joe Marcus Clarke
> > FreeBSD GNOME Team	::	gnome at FreeBSD.org
> > FreeNode / #freebsd-gnome
> > http://www.FreeBSD.org/gnome
> >
> 
> 
> 
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
> 
> 
-- 
Joe Marcus Clarke
FreeBSD GNOME Team      ::      gnome at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20090729/fc4a888e/attachment.pgp


More information about the freebsd-gnome mailing list