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

List:       kde-devel
Subject:    QDBusConnection::registerObject: "Invalid object path given" - help?
From:       Matthew Woehlke <mw_triad () users ! sourceforge ! net>
Date:       2009-08-08 18:42:20
Message-ID: h5kgud$lpn$1 () ger ! gmane ! org
[Download RAW message or body]

I'm tripping this assert in an app I am developing, and have no idea 
why. Any suggestions?

The path in question appears to be "/kaleo-fire/MainWindow_1". 
"kaleo-fire" is the name of the binary, MainWindow is the name of the 
main window class (Kaleo::Fire::MainWindow).

The code is adapted from a different app that I didn't write, so it's 
possible I messed something up, though I couldn't say what...

Here's the stack trace, event handlers omitted:

#2  0x04dbce28 in abort () from /lib/libc.so.6 

#3  0x00f93d13 in qt_message_output (msgType=QtFatalMsg, 

     buf=0x879ba18 "ASSERT failure in QDBusConnection::registerObject: 
\"Invalid object path given\", file qt-kde/src/dbus/qdbusconnection.cpp, 
line 706") 

     at qt-kde/src/corelib/global/qglobal.cpp:2042 

#4  0x00f93d8a in qFatal (msg=0x10e9678 "ASSERT failure in %s: \"%s\", 
file %s, line %d")
     at qt-kde/src/corelib/global/qglobal.cpp:2241 

#5  0x00f93de1 in qt_assert_x (where=0x4c74b0 
"QDBusConnection::registerObject",
     what=0x4c7471 "Invalid object path given",
     file=0x4c7430 "qt-kde/src/dbus/qdbusconnection.cpp", line=706) 

     at qt-kde/src/corelib/global/qglobal.cpp:1819 

#6  0x00485484 in QDBusConnection::registerObject (this=0xbfffecbc, 
path=@0x80f7580, object=0x80f83b0, options={i = 1361})
     at qt-kde/src/dbus/qdbusconnection.cpp:705 

#7  0x00d8c849 in KMainWindowPrivate::polish (this=0x80f7550, 
q=0x80f83b0)
     at kdelibs/kdeui/widgets/kmainwindow.cpp:380 

...
#17 0x0804ef9c in QWidget::show ()
     at qt4-kde/include/QtGui/qwidget.h:473
#18 Kaleo::Fire::MainWindow::init (this=0x80f83b0)
     at kaleo/fire/mainwindow.cpp:81
#19 0x0804f04b in MainWindow (this=0x80f83b0, url={<QUrl> = {d = 
0xbffff360}, d = 0xbffff380})
     at kaleo/fire/mainwindow.cpp:35
#20 0x0804d9f7 in main (argc=1, argv=0xbffff474)
     at kaleo/fire/main.cpp:39

-- 
Matthew
ENOWIT: .sig file for this machine not set up yet

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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