[Konq/E] Same problems now as ever

Simon Hausmann konq-e@mail.kde.org
Thu, 28 Feb 2002 13:11:56 +0100


On Sat, Feb 23, 2002 at 06:55:29PM -0500, Imad Hussain wrote:
> > > Another problem is that konq crashes as soon as I try to get it to
> > > load a page (the menus and preferences dialogue work):
> > > 
> > >   Launcher::dispatchLoop()...
> > >   Xlib:  extension "RENDER" missing on display ":0.0".
> > >   debug: KHTMLPart::init this=0x569000 d=0x56e800
> > >   QAction::setAccel()  (saveDocument) requires widget in parent
> > >   chain. debug: dcopclient::send
> > >   debug: creating slave for http://www.kde.org/
> > >   error sending launcherCreateSlaveCmd: Invalid argument
> >     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > 
> >     Aha! Looks like there is some difference in the socket API
> >     between Linux and OpenBSD in terms of the interpretation of the
> >     passed arguments. (which confuses me, given that the API in
> >     linux is derived from the BSD sockets, no?)
> > 
> > Hmm, according to the sendmsg manage from openbsd.org EINVAL can
> > happen only in two situations:
> > 
> > * The flags parameter is invalid.
> > 
> > * The sum of the iov_len values in the msg_iov array overflowed an
> > ssize_t.
> > 
> > I can't see what's wrong with passing 0 for the flags (I don't need
> > any of the MSG_* ones) . And I can't imagine that sizeof( LauncherMsg
> > ) overflows an ssize_t...
> > 
> > I have to admit I'm a bit puzzled. Could this perhaps be a kernel
> > problem? 
> 
> Well, it's possible, but I do know that there are ports of Konqueror
> (full) available as part of the KDE package for OpenBSD. Maybe I (or
> you, if you have the time) should look at the patches for the KDE
> OpenBSD port (
> http://www.openbsd.org/cgi-bin/cvsweb/ports/x11/kde/base2/patches/ ) and
> see how that works?

It was another bug (my original patch to make it compile on *BSD was
broken) . It's fixed in the CVS repository now.


Simon