Bug 192006 - Recurring crash on startup: Qt DBUS registerObject
Summary: Recurring crash on startup: Qt DBUS registerObject
Status: RESOLVED DUPLICATE of bug 182265
Alias: None
Product: printer-applet
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Jonathan Riddell
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-08 09:40 UTC by peaches
Modified: 2009-05-08 15:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description peaches 2009-05-08 09:40:49 UTC
Version:           KDE trunk r965053, qt-copy r964678 (using Devel)
OS:                Linux
Installed from:    Compiled sources

I have qt-copy compiled with -dbus, and it doesn't like printer-applet's start dbus call:

ASSERT failure in QDBusConnection::registerObject: "Invalid object path given", file /opt/kde/trunk/src/qt-copy/src/dbus/qdbusconnection.cpp, line 706

Its QDBusUtil::isValidObjectPath only allows alphanumeric and underscore chars, and printer-applet uses something like /printer-applet/MainWindow 

==

Application: Printer Applet (printer-applet), signal: Aborted
[KCrash Handler]
#5  0x00007f0d1d76cfb5 in raise () from /lib/libc.so.6
#6  0x00007f0d1d76ebc3 in abort () from /lib/libc.so.6
#7  0x00007f0d1cea78f1 in qt_message_output (msgType=QtFatalMsg, 
    buf=0x2551538 "ASSERT failure in QDBusConnection::registerObject: \"Invalid object path given\", file /opt/kde/trunk/src/qt-copy/src/dbus/qdbusconnection.cpp, line 706")
    at /opt/kde/trunk/src/qt-copy/src/corelib/global/qglobal.cpp:2017
#8  0x00007f0d1cea7a1b in qFatal (msg=0x7f0d1cff49a8 "ASSERT failure in %s: \"%s\", file %s, line %d") at /opt/kde/trunk/src/qt-copy/src/corelib/global/qglobal.cpp:2216
#9  0x00007f0d1cea7a6f in qt_assert_x (where=0x7f0d1706e1f0 "QDBusConnection::registerObject", what=0x7f0d1706e1a8 "Invalid object path given", 
    file=0x7f0d1706e170 "/opt/kde/trunk/src/qt-copy/src/dbus/qdbusconnection.cpp", line=706) at /opt/kde/trunk/src/qt-copy/src/corelib/global/qglobal.cpp:1794
#10 0x00007f0d1702efcc in QDBusConnection::registerObject (this=0x7fff26787aa0, path=@0x227c770, object=0x2277220, options={i = 645430144})
    at /opt/kde/trunk/src/qt-copy/src/dbus/qdbusconnection.cpp:705
#11 0x00007f0d15a58e3f in KMainWindowPrivate::polish () from /opt/kde/trunk/install/KDE/lib/libkdeui.so.5
#12 0x00007f0d15a58fbd in KMainWindow::event () from /opt/kde/trunk/install/KDE/lib/libkdeui.so.5
#13 0x00007f0d15a96088 in KXmlGuiWindow::event () from /opt/kde/trunk/install/KDE/lib/libkdeui.so.5
#14 0x00007f0d1608c323 in sipKXmlGuiWindow::event () from /usr/lib/python2.6/dist-packages/PyKDE4/kdeui.so
#15 0x00007f0d1a9bc0ef in QApplicationPrivate::notify_helper (this=0x215d0c0, receiver=0x2277220, e=0x7fff267882f0) at /opt/kde/trunk/src/qt-copy/src/gui/kernel/qapplication.cpp:4057
#16 0x00007f0d1a9be00c in QApplication::notify (this=0x215cea0, receiver=0x2277220, e=0x7fff267882f0) at /opt/kde/trunk/src/qt-copy/src/gui/kernel/qapplication.cpp:4022
#17 0x00007f0d159892cb in KApplication::notify () from /opt/kde/trunk/install/KDE/lib/libkdeui.so.5
#18 0x00007f0d1623bd86 in sipKApplication::notify () from /usr/lib/python2.6/dist-packages/PyKDE4/kdeui.so
#19 0x00007f0d1cfa1729 in QCoreApplication::notifyInternal (this=0x215cea0, receiver=0x2277220, event=0x7fff267882f0) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:606
#20 0x00007f0d1a9b8f7d in QCoreApplication::sendEvent (receiver=0x2277220, event=0x7fff267882f0) at ../../include/QtCore/../../../../src/qt-copy/src/corelib/kernel/qcoreapplication.h:213
#21 0x00007f0d1aa0b693 in QWidget::ensurePolished (this=0x2277220) at /opt/kde/trunk/src/qt-copy/src/gui/kernel/qwidget.cpp:8739
#22 0x00007f0d1aa18d70 in QWidget::event (this=0x2277220, event=0x2268280) at /opt/kde/trunk/src/qt-copy/src/gui/kernel/qwidget.cpp:7592
#23 0x00007f0d1ae25c63 in QMainWindow::event (this=0x2277220, event=0x2268280) at /opt/kde/trunk/src/qt-copy/src/gui/widgets/qmainwindow.cpp:1402
#24 0x00007f0d15a96088 in KXmlGuiWindow::event () from /opt/kde/trunk/install/KDE/lib/libkdeui.so.5
#25 0x00007f0d1608c323 in sipKXmlGuiWindow::event () from /usr/lib/python2.6/dist-packages/PyKDE4/kdeui.so
#26 0x00007f0d1a9bc0ef in QApplicationPrivate::notify_helper (this=0x215d0c0, receiver=0x2277220, e=0x2268280) at /opt/kde/trunk/src/qt-copy/src/gui/kernel/qapplication.cpp:4057
#27 0x00007f0d1a9be00c in QApplication::notify (this=0x215cea0, receiver=0x2277220, e=0x2268280) at /opt/kde/trunk/src/qt-copy/src/gui/kernel/qapplication.cpp:4022
#28 0x00007f0d159892cb in KApplication::notify () from /opt/kde/trunk/install/KDE/lib/libkdeui.so.5
#29 0x00007f0d1623bd86 in sipKApplication::notify () from /usr/lib/python2.6/dist-packages/PyKDE4/kdeui.so
#30 0x00007f0d1cfa1729 in QCoreApplication::notifyInternal (this=0x215cea0, receiver=0x2277220, event=0x2268280) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:606
#31 0x00007f0d1cfa51c7 in QCoreApplication::sendEvent (receiver=0x2277220, event=0x2268280) at ../../include/QtCore/../../../../src/qt-copy/src/corelib/kernel/qcoreapplication.h:213
#32 0x00007f0d1cfa1c7b in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1e1c720) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1244
#33 0x00007f0d1cfa1e52 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1140
#34 0x00007f0d1cfd0df3 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../../../src/qt-copy/src/corelib/kernel/qcoreapplication.h:218
#35 0x00007f0d1cfd0035 in postEventSourceDispatch (s=0x215fd20) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:209
#36 0x00007f0d1c28220a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#37 0x00007f0d1c2858e0 in ?? () from /usr/lib/libglib-2.0.so.0
#38 0x00007f0d1c285a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#39 0x00007f0d1cfcf346 in QEventDispatcherGlib::processEvents (this=0x215d090, flags={i = 645435392}) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:324
#40 0x00007f0d1aa649df in QGuiEventDispatcherGlib::processEvents (this=0x215d090, flags={i = 645435488}) at /opt/kde/trunk/src/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:202
#41 0x00007f0d1cf9e9d7 in QEventLoop::processEvents (this=0x7fff26789130, flags={i = 645435616}) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#42 0x00007f0d1cf9ebe4 in QEventLoop::exec (this=0x7fff26789130, flags={i = 645435728}) at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qeventloop.cpp:196
#43 0x00007f0d1cfa1f74 in QCoreApplication::exec () at /opt/kde/trunk/src/qt-copy/src/corelib/kernel/qcoreapplication.cpp:888
#44 0x00007f0d1a9bbe4c in QApplication::exec () at /opt/kde/trunk/src/qt-copy/src/gui/kernel/qapplication.cpp:3526
#45 0x00007f0d1b9b98d9 in ?? () from /usr/lib/python2.6/dist-packages/PyQt4/QtGui.so
#46 0x00000000004a2b03 in PyEval_EvalFrameEx ()
#47 0x00000000004a4649 in PyEval_EvalCodeEx ()
#48 0x00000000004a4762 in PyEval_EvalCode ()
#49 0x00000000004c4c3c in PyRun_FileExFlags ()
#50 0x00000000004c4f6b in PyRun_SimpleFileExFlags ()
#51 0x00000000004189ce in Py_Main ()
#52 0x00007f0d1d7585a6 in __libc_start_main () from /lib/libc.so.6
#53 0x0000000000417ae9 in _start ()
Comment 1 Dario Andres 2009-05-08 15:24:10 UTC
Marking as duplicate of bug 182265
Thanks

*** This bug has been marked as a duplicate of bug 182265 ***