From owner-freebsd-questions@FreeBSD.ORG Tue Mar 20 13:24:23 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B48B91065670 for ; Tue, 20 Mar 2012 13:24:23 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 697FB8FC14 for ; Tue, 20 Mar 2012 13:24:23 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1S9z2o-0003P5-AI for freebsd-questions@freebsd.org; Tue, 20 Mar 2012 13:24:20 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1S9z2e-00047x-15 for freebsd-questions@freebsd.org; Tue, 20 Mar 2012 13:24:00 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q2KDNxZ4011582 for ; Tue, 20 Mar 2012 13:23:59 GMT (envelope-from mexas@bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q2KDNx4W011581 for freebsd-questions@freebsd.org; Tue, 20 Mar 2012 13:23:59 GMT (envelope-from mexas@bris.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bris.ac.uk using -f Date: Tue, 20 Mar 2012 13:23:59 +0000 From: Anton Shterenlikht To: freebsd-questions@freebsd.org Message-ID: <20120320132359.GA11557@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: freebsd-questions@freebsd.org References: <20120319122129.GA41308@mech-cluster241.men.bris.ac.uk> <20120319134423.b2202448.freebsd@edvax.de> <20120319130749.GA48574@mech-cluster241.men.bris.ac.uk> <4F673106.5080309@herveybayaustralia.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4F673106.5080309@herveybayaustralia.com.au> User-Agent: Mutt/1.4.2.3i Subject: Re: dbus, epiphany, rekonq X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Mar 2012 13:24:23 -0000 On Mon, Mar 19, 2012 at 11:13:42PM +1000, Da Rock wrote: > On 03/19/12 23:07, Anton Shterenlikht wrote: > >On Mon, Mar 19, 2012 at 01:44:23PM +0100, Polytropon wrote: > >>On Mon, 19 Mar 2012 12:21:29 +0000, Anton Shterenlikht wrote: > >>>I can't lauch www/epiphany or www/rekonq > >>>on ia64 -current, due to some dbus issue: > >>> > >>>TZAV> ps ax|grep dbus > >>> 1435 - Is 0:00.02 /usr/local/bin/dbus-daemon --fork > >>> --print-pid 5 --print-address 7 --sess > >>> 1434 2- I 0:00.01 dbus-launch > >>> --autolaunch=fb0372ea595109904f5a068e00000180 --binary-synta > >>>41284 5 RL+ 0:00.00 grep dbus > >>> > >>>TZAV> epiphany > >>> > >>>** (epiphany:41285): WARNING **: Unable to connect to session bus: > >>>Failed to connect to socket /tmp/dbus-dyUjnhLBwE: No such file or > >>>directory > >>> > >>>TZAV> rekonq > >>>unnamed app(41291): KUniqueApplication: Cannot find the D-Bus session > >>>server: "Failed to connect to socket /tmp/dbus-dyUjnhLBwE: No such file > >>>or directory" > >>> > >>>unnamed app(41290): KUniqueApplication: Pipe closed unexpectedly. > >>> > >>>TZAV> ps ax | grep dbus > >>> 1435 - Is 0:00.02 /usr/local/bin/dbus-daemon --fork > >>> --print-pid 5 --print-address 7 --sess > >>> 1434 2- I 0:00.01 dbus-launch > >>> --autolaunch=fb0372ea595109904f5a068e00000180 --binary-synta > >>>41294 5 RL+ 0:00.00 grep dbus > >>> > >>>What am I doing wrong? > >>Have you checked the presence of the /tmp/dbus-dyUjnhLBwE socket? > >sure, it's not there. > > > >>>I understand dbus is a required part of > >>>a modern browser, it is no longer an option, right? > >>What?! I don't think that this is an acceptable opinion. :-) > >> > >>Both browsers you mentioned are part of KDE or Gnome. > >>THOSE heavily rely on DBUS, that's right, and due to > >>the transition of dependencies, _their_ web browsers > >>also do. > >> > >>For example, I'm not running DBUS here, but I run modern > >>web browsers. I just don't run _those_ two. :-) > >> > >>So did you properly build your KDE and Gnome components > >>with DBUS enabled, and all of their configurable dependencies > >>also with DBUS enabled? It _may_ be that the use of DBUS > >>is not among the default building options for one of the > >>nested dependencies, and that one might be _the one_ that > >>now shoots your foot. :-) > >> > >>Your ps listing indicates that you are running DBUS, so > >>that shouldn't be the problem. Missing DBUS support in one > >>of the required components _could_ be. > >ok, this makes is clearer. > > > >My dbus comes from www/firefox36: > > > >TZAV> pwd > >/usr/ports/www/firefox36 > >TZAV> make showconfig > >===> The following configuration options are available for > >firefox-3.6.28,1: > > DBUS=on "Enable D-BUS support" > > SMB=off "Enable smb:// URI support using gnomevfs" > > DEBUG=off "Build a debugging image" > > LOGGING=off "Enable additional log messages" > > OPTIMIZED_CFLAGS=off "Enable some additional optimizations" > >===> Use 'make config' to modify these settings > >TZAV> > > > >and firefox36 works fine. > > > >I build from ports. Neither rekonq nor epiphany have > >dbus options. My reading of the rekonq Makefile > >is that it uses devel/dbus-qt4. Anyway, these are > >installed: > > > >TZAV> pkg info -xo dbus > >dbus-1.4.14_2: devel/dbus > >dbus-glib-0.94: devel/dbus-glib > >eggdbus-0.6_1: devel/eggdbus > >libdbusmenu-qt-0.9.0: devel/libdbusmenu-qt > >qt4-dbus-4.7.4: devel/dbus-qt4 > >qt4-qdbusviewer-4.7.4: devel/qt4-qdbusviewer > >TZAV> > > > >Many thanks > > > Have you got this in your session startup? May or may not be necessary > if you're using kdm/gdm. > > ## test for an existing bus daemon, just to be safe > if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then > ## if not found, launch a new one > eval 'dbus-launch --sh-syntax --exit-with-session' > echo "D-Bus per-session daemon address is: $DBUS_SESSION_BUS_ADDRESS" > fi Thanks, this helped. Now the browsers just dump core on startup: % epiphany ** (epiphany:11547): WARNING **: Unable to start Zeroconf subsystem ** (epiphany:11547): WARNING **: Throbber animation not found ** (epiphany:11547): WARNING **: Throbber fallback animation not found either ASSERTION FAILED: isPageAligned(size) ./Source/JavaScriptCore/wtf/PageAllocation.h(101) : static WTF::PageAllocation WTF::PageAllocation::allocate(size_t, WTF::OSAllocator::Usage, bool, bool) Segmentation fault (core dumped) % rekonq unnamed app(11553): Communication problem with "rekonq" , it probably crashed. Error message was: "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" " For epiphany the problem seems to be with webkit-gtk2. For rekonq is't probably in qt4-webkit. I'll try to ask upstream. Thanks again -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423