Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jul 2009 01:43:03 -0400
From:      Joe Marcus Clarke <marcus@FreeBSD.org>
To:        Free Bsd <freebsd@box201.com>
Cc:        freebsd-gnome@FreeBSD.org, bduke@box201.com
Subject:   Re: gnome help
Message-ID:  <1248846183.7303.25.camel@shumai.marcuscom.com>
In-Reply-To: <20090728122056.12234iz8evxd3v6s@webmail.box201.com>
References:  <20090728110306.20435mi725t0k2w4@webmail.box201.com> <4A6F3A2E.2040800@freebsd.org> <20090728122056.12234iz8evxd3v6s@webmail.box201.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-bl+FwSUZ45S7N34Z5BN2
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Tue, 2009-07-28 at 12:20 -0600, Free Bsd wrote:
> /ect/make.conf has WITH_DEBUG=3Dyes and liboobs rebuilt via ports
>=20
> libc and libthr don't seem to have a port I can rebuild. I hope this =20
> will suffice.
>=20
> consider the following backtrace.
>=20
> > 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 conditi=
ons.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for detail=
s.
> 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)]
>=20
> ** (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)]
>=20
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x29501100 (LWP 100190)]
> 0x2a547195 in oobs_share_smb_new (path=3D0x0, name=3D0x29597fcc "/app",
>      comment=3D0x0, flags=3D0) 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=3D0x0, name=3D0x29597fcc "/app=
",
>      comment=3D0x0, flags=3D0) at oobs-share-smb.c:339
> #1  0x2a5454ea in create_share_from_dbus_reply (object=3D0x2953e640,
>      reply=3D0x295d7430, struct_iter=3D
>        {dummy1 =3D 0x295d7430, dummy2 =3D 0x600000, dummy3 =3D 689989740,=
 =20
> dummy4 =3D 693990452, dummy5 =3D 166, dummy6 =3D 693990512, dummy7 =3D 8,=
 =20
> dummy8 =3D 683548200, dummy9 =3D 8, dummy10 =3D 1192, dummy11 =3D 0, pad1=
 =3D =20
> 693135252, pad2 =3D 1, pad3 =3D 0x292071c0}) at oobs-smbconfig.c:250
> #2  0x2a5456a0 in oobs_smb_config_update (object=3D0x2953e640)
>      at oobs-smbconfig.c:297
> #3  0x2a53a0ce in update_object_from_message (object=3D0x2953e640,
>      message=3D0x295d7430) at oobs-object.c:359
> #4  0x2a53a319 in async_message_cb (pending_call=3D0x29d4af40, data=3D0x2=
9d4f1b0)
>      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=3D0x2955ea20) at gmain.c:1824
> ---Type <return> to continue, or q <return> to quit---
> #10 0x28c602a9 in IA__g_main_context_dispatch (context=3D0x2955ea20)
>      at gmain.c:2377
> #11 0x28c60781 in g_main_context_iterate (context=3D0x2955ea20, block=3D1=
,
>      dispatch=3D1, self=3D0x29506040) at gmain.c:2455
> #12 0x28c60f75 in IA__g_main_loop_run (loop=3D0x29d5d230) at gmain.c:2663
> #13 0x284333b0 in IA__gtk_main () at gtkmain.c:1205
> #14 0x080830a7 in main (argc=3D1, argv=3D0xbfbfea80) at nautilus-main.c:5=
18
> (gdb)

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

Joe

>=20
>=20
> Quoting Joe Marcus Clarke <marcus@freebsd.org>:
>=20
> > bduke@box201.com wrote:
> >>
> >>
> >
> >> 6. stack trace *_WITH FRIGGEN DEGUGGING!_*
> >
> > No, there are no debugging symbols here.  You need to rebuild liboobs a=
t
> > 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, a=
nd
> >>     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 suppor=
ted
> >>     [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=3D0x2955ea20) at gmain.=
c:1824
> >>     #9  0x28c602a9 in IA__g_main_context_dispatch (context=3D0x2955ea2=
0)
> >>         at gmain.c:2377
> >>     #10 0x28c60781 in g_main_context_iterate (context=3D0x2955ea20, bl=
ock=3D1,
> >>         dispatch=3D1, self=3D0x29506040) at gmain.c:2455
> >>     #11 0x28c60f75 in IA__g_main_loop_run (loop=3D0x29d5d220) at gmain=
.c:2663
> >>     #12 0x284333b0 in IA__gtk_main () at gtkmain.c:1205
> >>     #13 0x080830a7 in main (argc=3D1, argv=3D0xbfbfea80) at nautilus-m=
ain.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=3D0x2955ea20) at gmain.=
c:1824
> >>     #9  0x28c602a9 in IA__g_main_context_dispatch (context=3D0x2955ea2=
0)
> >>         at gmain.c:2377
> >>     #10 0x28c60781 in g_main_context_iterate (context=3D0x2955ea20, bl=
ock=3D1,
> >>         dispatch=3D1, self=3D0x29506040) at gmain.c:2455
> >>     #11 0x28c60f75 in IA__g_main_loop_run (loop=3D0x29d5d220) at gmain=
.c:2663
> >>     #12 0x284333b0 in IA__gtk_main () at gtkmain.c:1205
> >>     #13 0x080830a7 in main (argc=3D1, argv=3D0xbfbfea80) at nautilus-m=
ain.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 figur=
e
> >> 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=3D"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, an=
d
> >>> they wouldn't cause what you're seeing anyway.
> >>>
> >>>>
> >>>>
> >>>>
> >>>> there is a permission problem with my dbus. We changed the system fi=
le
> >>>>
> >>>> /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/ causin=
g
> >>>> 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, no=
w
> >>>> the
> >>>> > gnome session locks up my mouse and continually fails to load a fi=
le
> >>>> manager
> >>>> > so it starts again and again until it fills the buffer or I kill t=
he
> >>>> 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=3D"YES"
> >>>> dbus_enable=3D"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, (=3D=3D) default sett=
ing,
> >>>> >
> >>>> >         (++) from command line, (!!) notice, (II) informational,
> >>>> >
> >>>> >         (WW) warning, (EE) error, (NI) not implemented, (??)
> >>>> unknown.
> >>>> >
> >>>> > (=3D=3D) Log file: "/var/log/Xorg.0.log", Time: Sat Jul 25 12:18:4=
0 2009
> >>>> >
> >>>> > (=3D=3D) 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=3D/var/tmp/keyring-uBfeUl/socket
> >>>> >
> >>>> > SSH_AUTH_SOCK=3D/var/tmp/keyring-uBfeUl/socket.ssh
> >>>> >
> >>>> > GNOME_KEYRING_PID=3D67485
> >>>> >
> >>>> >
> >>>> >
> >>>> > ** (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/10aaf9193ee33d96ee12485459281333800000=
674730
> >>>> > 014.ms: Failed to open file
> >>>> >
> >>>>
> >> '/user/.config/metacity/sessions/10aaf9193ee33d96ee1248545928133380000=
067473
> >>>> > 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
> >
>=20
>=20
>=20
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>=20
>=20
--=20
Joe Marcus Clarke
FreeBSD GNOME Team      ::      gnome@FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome

--=-bl+FwSUZ45S7N34Z5BN2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEABECAAYFAkpv4WQACgkQb2iPiv4Uz4foSQCfbKn7ey8md1Jit8iqh4vmrJg1
em8AnR8wNleAerNxZsgOYJxsWOCtaJ4J
=ri8r
-----END PGP SIGNATURE-----

--=-bl+FwSUZ45S7N34Z5BN2--




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