[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    [Kde-pim] kxml_compiler crashes without D-Bus session (was: Error
From:       "Friedrich W. H. Kossebau" <Friedrich.W.H () kossebau ! de>
Date:       2006-08-03 18:50:13
Message-ID: 200608032050.13710.Friedrich.W.H () kossebau ! de
[Download RAW message or body]

Am Donnerstag, 3. August 2006 18:19, schrieb Friedrich W. H. Kossebau:
> Am Donnerstag, 3. August 2006 17:57, schrieb Friedrich W. H. Kossebau:
> > Am Donnerstag, 3. August 2006 17:30, schrieb Tobias Koenig:
> > > On Thu, Aug 03, 2006 at 05:17:38PM +0200, Friedrich W. H. Kossebau 
wrote:
> > > > Which might make sense given the broken LD_LIBRARY_PATH in
> > > > kxml_compiler.sh: --- 8< ---
> > > > #!/bin/sh
> > > > # created by cmake, don't edit, changes will be lost
> > > >
> > > > LD_LIBRARY_PATH=/home/koder/Programmieren/kdesvn/trunk/KDE/build.debu
> > > >g/ kd
> > > > epim/lib/./:/home/koder/Programmieren/kdeinstall/lib:/home/koder/Prog
> > > >ra mmi
> > > > eren/kdeinstall/lib:/home/koder/Programmieren/kdeinstall/lib${LD_LIBR
> > > >AR Y_P ATH+: $LD_LIBRARY_PATH}
> > > > "/home/koder/Programmieren/kdesvn/trunk/KDE/build.debug/kdepim/kode/k
> > > >xm l_ compiler/kxml_compiler" "$@" --- 8< ---
> > > >
> > > > But where does cmake get their data to create this file? I tried
> > > > cmake 2.4.2 and 2.4.3, both on clean checkouts and cleared build
> > > > path. Looks like a typo + instead of }, but grepping for
> > > > "LIBRARY_PATH+" in kdepim did not yield anything, same with
> > > > ../../../kdeinstall/share/CMake
> > >
> > > The code which creates the .sh wrapper is in
> > >   cmake/modules/KDE4Macros.cmake
> > > under
> > >   KDE4_HANDLE_RPATH
> > >
> > > Maybe that helps during investigation?
> >
> > Thanks, but no success so far. Even worse. Could anybody please try this
> > on her system:
> > grep "LIBRARY_PATH+" build --include="*.sh" -R
> >
> > I have this problem for all modules obviously... :(

Did noone else try?

Linking seems to be only one problem. After patching kde4_exec_via_sh.cmake 
locally the .sh wrapper make more sense now (and works), but kxml_compiler 
keeps receiving a SIGSEGV signal.

Backtrace:
#0  0xb67efa22 in malloc_consolidate () from /lib/libc.so.6
#1  0xb67f1679 in _int_malloc () from /lib/libc.so.6
#2  0xb67f3206 in malloc () from /lib/libc.so.6
#3  0xb7e01a8f in qMalloc (size=512) 
at /home/koder/Programmieren/kdesvn/trunk/qt-copy/src/corelib/global/qglobal.cpp:1777
#4  0xb7e3fe5b in QString::realloc (this=0xbffd4b80, alloc=246) 
at /home/koder/Programmieren/kdesvn/trunk/qt-copy/src/corelib/tools/qstring.cpp:940
#5  0xb7e40c19 in QString::resize (this=0xbffd4b80, size=210) 
at /home/koder/Programmieren/kdesvn/trunk/qt-copy/src/corelib/tools/qstring.cpp:875
#6  0xb7e420b1 in QString::fromUtf8 (
    str=0x8065e30 "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 
w"..., size=210)
    
at /home/koder/Programmieren/kdesvn/trunk/qt-copy/src/corelib/tools/qstring.cpp:3322
#7  0xb74b3016 in QDBusError (this=0xbffd4bf8, error=0x8061bdc) 
at /home/koder/Programmieren/kdesvn/trunk/qt-copy/tools/qdbus/src/qdbuserror.cpp:175
#8  0xb74b6db5 in QDBusConnectionPrivate::handleError (this=0x8061bd0)
    
at /home/koder/Programmieren/kdesvn/trunk/qt-copy/tools/qdbus/src/qdbusintegrator.cpp:738
#9  0xb74b702f in QDBusConnectionPrivate::setConnection (this=0x8061bd0, 
dbc=0x0)
    
at /home/koder/Programmieren/kdesvn/trunk/qt-copy/tools/qdbus/src/qdbusintegrator.cpp:1203
#10 0xb74add49 in QDBusConnection::addConnection 
(type=QDBusConnection::SessionBus, name=@0xbffd4d80)
    
at /home/koder/Programmieren/kdesvn/trunk/qt-copy/tools/qdbus/src/qdbusconnection.cpp:295
#11 0xb74b0b14 in QDBusDefaultConnection (this=0x805d0a8, 
type=QDBusConnection::SessionBus, name=0xb74e1e0e "qt_default_session_bus")
    
at /home/koder/Programmieren/kdesvn/trunk/qt-copy/tools/qdbus/src/qdbusconnection.cpp:714
#12 0xb74adfd7 in sessionBus () 
at /home/koder/Programmieren/kdesvn/trunk/qt-copy/tools/qdbus/src/qdbusconnection.cpp:721
#13 0xb74ae04e in QDBus::sessionBus () 
at /home/koder/Programmieren/kdesvn/trunk/qt-copy/tools/qdbus/src/qdbusconnection.cpp:729
#14 0xb720d868 in KDebugDBusIface (this=0x805d200) 
at /home/koder/Programmieren/kdesvn/trunk/KDE/kdelibs/kdecore/kdebugdbusiface.cpp:27
#15 0xb716b1e4 in kDebugBackend (nLevel=2, nArea=0, data=0x805d2a8 "ERROR: Too 
few arguments.\n")
    
at /home/koder/Programmieren/kdesvn/trunk/KDE/kdelibs/kdecore/kdebug.cpp:191
#16 0xb716bcce in kdbgstream::flush (this=0xbffd6210) 
at /home/koder/Programmieren/kdesvn/trunk/KDE/kdelibs/kdecore/kdebug.cpp:406
#17 0xb71680ff in kdbgstream::operator<< (this=0xbffd6210, string=@0xbffd5fc0)
    
at /home/koder/Programmieren/kdesvn/trunk/KDE/kdelibs/kdecore/kdebug.cpp:459
#18 0x080515be in kdbgstream::operator<< (this=0xbffd6210, 
string=0x8058155 "\n") 
at /home/koder/Programmieren/kdeinstall/include/kdebug.h:227
#19 0x080515eb in endl (s=@0xbffd6210) 
at /home/koder/Programmieren/kdeinstall/include/kdebug.h:425
#20 0xb7167e57 in kdbgstream::operator<< (this=0xbffd6210, f=0x80515d2 
<endl(kdbgstream&)>)
    
at /home/koder/Programmieren/kdesvn/trunk/KDE/kdelibs/kdecore/kdebug.cpp:512
#21 0x0805241f in main (argc=1, argv=0xbffd6404) 
at /home/koder/Programmieren/kdesvn/trunk/KDE/kdepim/kode/kxml_compiler/kxml_compiler.cpp:76

Running a dbus session helps. But a crash is not too nice. No more time to 
pursue this. Please could any kxml_compiler pick this up (they are on this 
list, right?)

Will send the patch for kde4_exec_via_sh.cmake to k-c-d.

Thanks Tobias :)
Friedrich
_______________________________________________
kde-pim mailing list
kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic