Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Jul 2010 16:37:35 -0700
From:      "Kevin Oberman" <oberman@es.net>
To:        Barbara <barbara.xxx1975@libero.it>
Cc:        gnome@freebsd.org, marcus@freebsd.org
Subject:   Re: R: Re: ports/148272: polkit-gnome-authen core dumps when starting gnome 
Message-ID:  <20100704233735.F36DD1CC0D@ptavv.es.net>
In-Reply-To: Your message of "Mon, 05 Jul 2010 01:00:51 %2B0200." <14101673.1065931278284451980.JavaMail.defaultUser@defaultHost> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Mon, 5 Jul 2010 01:00:51 +0200 (CEST)
> From: Barbara <barbara.xxx1975@libero.it>
> Sender: owner-freebsd-gnome@freebsd.org
> 
> 
> >
> >On 7/4/10 5:00 PM, Barbara wrote:
> >> 
> >>> On 7/4/10 6:06 AM, Barbara wrote:
> >>>>
> >>>>> Synopsis: polkit-gnome-authen core dumps when starting gnome
> >>>>>
> >>>>> State-Changed-From-To: open->feedback
> >>>>> State-Changed-By: marcus
> >>>>> State-Changed-When: Sun Jul 4 01:37:18 UTC 2010
> >>>>> State-Changed-Why: 
> >>>>> You need to compile polkit and polkit-gnome with debugging symbols, then
> >>>>> provide a backtrace of this crash following the instructions at
> >>>>> http://www.freebsd.org/gnome/docs/bugging.html .
> >>>>>
> >>>>> http://www.freebsd.org/cgi/query-pr.cgi?pr=148272
> >>>>
> >>>> This is what I get after rebuilding also bug-buddy WITH_DEBUG:
> >>>> http://freebsd-gnome.pastebin.com/NHQeUcqk
> >>>>
> >>>>
> >>>
> >>> Guys, can you try removing the date/time applet as described in
> >>> https://bugs.launchpad.net/ubuntu/+source/gnome-applets/+bug/599140 and
> >>> see if this problem (as well as the slowness) issue goes away?
> >>>
> >> 
> >> I've tested removing the clock applet, but it doesn't solve the problem.
> >> 
> >> Anyway I think that there are two different issues, at least from what I 
> can 
> >> see on my desktop pc (i386, ports).
> >> 
> >> One is that polkit-gnome-authen.core is dumped in /var/gdm when logging in 
> >> with GDM, but everything seems working correctly.
> >> I can't even remember how I've found it. The following line is printed in 
> ~/.
> >> xsession-errors:
> >> Gtk-Message: Failed to load module "gnomebreakpad": libgnomebreakpad.so: 
> >> cannot open shared object file: No such file or directory
> >
> >You should have a /usr/local/lib/gtk-2.0/modules/libgnomebreakpad.so
> >file (installed by bug-buddy).
> >
> 
> Yes indeed.
> But this is what appears in ~/.xsession-errors.
> I don't know why.
> 
> >> 
> >> The other is the problem about slow start of panel and/or nautilus when 
> >> running startx.
> >> Here you can find what is printed on the console:
> >> http://freebsd-gnome.pastebin.com/BnGRPB5L
> >> 
> >> I have no idea if they are related and if it's correct mixing them, but if 
> I 
> >> use GDM, the desktop starts normally, if I use startx no core is dumped.
> >
> >Koop's suggestion to use ck-launch-session for startx sessions is a good
> >one.  You need to do that.  
> 
> I tried with ck-launch-session...: the desktop appears immediately, the panel 
> take a lot of time.
> It seems different from what Kevin says: "the panel comes up MUCH more 
> quickly" here
> http://lists.freebsd.org/pipermail/freebsd-gnome/2010-July/024583.html
> Unless he means about 20 secs.
> It appears when the following message is printed, just like there a timeout 
> while waiting for a response occurs:
> ** (gnome-panel:8811): WARNING **: Could not ask session manager if shut down 
> is available: Did not receive a reply. Possible causes include: the remote 
> application did not send a reply, the message bus security policy blocked the 
> reply, the reply timeout expired, or the network connection was broken.
> 
> Again, using GDM, as I normally do, I have no such issue.
> 
> > As for the core dump, I have been unable to
> >reproduce locally.  My research led me to the clock applet suggestion.
> >The backtrace was not terribly useful.
> 
> Building bug-buddy without WITH_DEBUG=yes was even less useful.
> Can I do something more about that?
> Please, ask me.
> 
> >
> >Can you try testing a virgin account with GDM as well as with startx
> >(and ck-launch-session) to see what problems still exist?
> >
> 
> I've tried it yet, with both GDM and startx, with or without clock applet.
> Same effects in all cases.

Noticed another delay of about the same length. It's a bit complicated
to explain, though.

I have a short script that is run as a startup application, ssh-wait. It
executes a command either when the ssh agent has at least one key
loaded or after 2 minutes, regardless of the keys. I have it as a
startup application which runs a script to open a gnome-terminal and log
it into a remote system with ssh. (I warned you that it was
complicated.) 

If the key is already present when gnome-terminal (also added to my
startup applications), the session starts immediately, but if the key is
not yeat loaded, it does not start for about the same 25 seconds. I have
seen this on several of my systems when I run the same script, even long
after gnome starts, to open a terminal window logged into another
system, but it is not consistent. It seems to happen only when I am
using the panel. I have the command defined in a menu launcher.

If I run the same command from a local window, the window pops up and
logs in to the remote system instantly.

The only common element I see is the panel.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751



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