This forum has been archived. All content is frozen. Please use KDE Discuss instead.

DBUS group register error (invalid name)

Tags: None
(comma "," separated)
shanechko
Registered Member
Posts
9
Karma
0
After changing qt-4.7 to debug version, ktorrent (r1184268) fail to start.

Fatal: ASSERT failure in QDBusConnection::registerObject: "Invalid object path given", file qdbusconnection.cpp, line 716

Program received signal SIGABRT, Aborted.
0x0000003f13a324e5 in raise () from /lib/libc.so.6
(gdb) bt
#0 0x0000003f13a324e5 in raise () from /lib/libc.so.6
#1 0x0000003f13a33966 in abort () from /lib/libc.so.6
#2 0x00007ffff7c1f957 in QtMessageOutput (type=QtFatalMsg,
msg=0x191bff8 "ASSERT failure in QDBusConnection::registerObject: \"Invalid object path given\", file qdbusconnection.cpp, line 716")
at /var/tmp/portage/net-libs/libktorrent-9999/work/libktorrent-9999/src/util/log.cpp:308
#3 0x0000003c736719fe in qt_message_output (msgType=<value optimized out>, buf=<value optimized out>) at global/qglobal.cpp:2205
#4 0x0000003c73671bed in qt_message (msgType=<value optimized out>, msg=<value optimized out>, ap=<value optimized out>) at global/qglobal.cpp:2305
#5 0x0000003c73671d85 in qFatal (msg=<value optimized out>) at global/qglobal.cpp:2488
#6 0x0000003c74016ebf in QDBusConnection::registerObject (this=<value optimized out>, path=<value optimized out>, object=<value optimized out>,
options=<value optimized out>) at qdbusconnection.cpp:715
#7 0x00007ffff790f3dc in DBusGroup (this=0x191bb80, g=0x8abe60, gman=0x86df80, parent=0x18ef320)
at /var/tmp/portage/net-p2p/ktorrent-9999/work/ktorrent-9999/libktcore/dbus/dbusgroup.cpp:66
...

libktcore/dbus/dbusgroup.cpp:66 - path == "/group/интернет"
QDBusConnection::registerObject check path and fail if any non ascii char in the path.
George
Moderator
Posts
5421
Karma
1
It seems that the dbus spec only allows [A-Z][a-z][0-9]_

Will have to find something against this.
George
Moderator
Posts
5421
Karma
1
OK, in a situation like, we will now use group_X where X is a number for the dbus path


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]