Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jul 2009 13:49:34 -0400
From:      Joe Marcus Clarke <marcus@freebsd.org>
To:        bduke@box201.com
Cc:        freebsd@box201.com, freebsd-gnome@freebsd.org
Subject:   Re: gnome help
Message-ID:  <4A6F3A2E.2040800@freebsd.org>
In-Reply-To: <20090728110306.20435mi725t0k2w4@webmail.box201.com>
References:  <20090728110306.20435mi725t0k2w4@webmail.box201.com>

next in thread | previous in thread | raw e-mail | index | archive | help
bduke@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@marcuscom.com>:
> 
>> Content-Type: text/plain; charset="UTF-8"
>> Content-Transfer-Encoding: quoted-printable
>>
>> On Sat, 2009-07-25 at 22:46 -0600, freebsd@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@marcuscom.com]
>>> Sent: Saturday, July 25, 2009 2:22 PM
>>> To: freebsd@box201.com
>>> Cc: freebsd-gnome@freebsd.org
>>> Subject: Re: gnome help
>>>
>>>
>>>
>>>
>>> On Sat, 2009-07-25 at 12:39 -0600, freebsd@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@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@freebsd.org mailing list
>>> > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
>>> > To unsubscribe, send any mail to
>>> "freebsd-gnome-unsubscribe@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@FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A6F3A2E.2040800>