Bug 248664 - bluedevil: crash on login
Summary: bluedevil: crash on login
Status: RESOLVED NOT A BUG
Alias: None
Product: solid
Classification: Frameworks and Libraries
Component: bluetooth-daemon (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Alex Fiestas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-22 08:11 UTC by Unknown
Modified: 2010-11-29 00:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
crash infro from drkonqi (7.34 KB, application/octet-stream)
2010-08-22 08:11 UTC, Unknown
Details
New crash information added by DrKonqi (7.96 KB, text/plain)
2010-11-29 00:22 UTC, Christoph Feck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Unknown 2010-08-22 08:11:57 UTC
Created attachment 50822 [details]
crash infro from drkonqi

Version:           SVN (using Devel) 
OS:                Linux

Info from DrKonqi:

Application: kded4 ($Id: kded.cpp 1156841 2010-07-29 19:59:05Z zander $)
KDE Platform Version: 4.5.00 (KDE 4.5.0) (Compiled from sources)
Qt Version: 4.6.3
Operating System: Linux 2.6.35.2 i686
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:
I think this is related to bluedevil. Happend third time after I was using bluetooth device with bluedevil. After a reboot KDE Deamon crashed (it crashed once with bluedevil right after login) as in the title. Also — one time after such crash I lost all my plasmoids and wallpaper — had to set them again.

Seems that it happend few days ago and the problem won't go away (currently at revision 1166141).

The crash can be reproduced some of the time.

-- Backtrace:
Application: KDE Daemon (kdeinit4), signal: Aborted
[KCrash Handler]
#7  0xb7760424 in __kernel_vsyscall ()
#8  0xb5fe9431 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0xb5feab72 in *__GI_abort () at abort.c:92
#10 0xb6daedbc in qt_message_output (msgType=QtFatalMsg, buf=0x8d112a0 "QDBusArgument: read from a write-only object") at global/qglobal.cpp:2266
#11 0xb6daef7b in qt_message (msgType=<value optimized out>, msg=0xb5e9a7c4 "QDBusArgument: read from a write-only object", ap=0xbfa36284 "") at global/qglobal.cpp:23
12
#12 0xb6daf089 in qFatal (msg=0xb5e9a7c4 "QDBusArgument: read from a write-only object") at global/qglobal.cpp:2495
#13 0xb5e86015 in QDBusArgumentPrivate::checkRead (d=0x6) at qdbusargument.cpp:142
#14 0xb5e866c8 in QDBusArgumentPrivate::checkReadAndDetach (d=@0xbfa363b4) at qdbusargument.cpp:152
#15 0xb5e86822 in QDBusArgument::beginArray (this=0xbfa363b4) at qdbusargument.cpp:963
#16 0xaf8fbb05 in operator>><QDBusObjectPath> (this=0x8d0cd38, parent=0x0) at /usr/include/qt4/QtDBus/qdbusargument.h:269
#17 qdbus_cast<QList<QDBusObjectPath> > (this=0x8d0cd38, parent=0x0) at /usr/include/qt4/QtDBus/qdbusargument.h:156
#18 Manager (this=0x8d0cd38, parent=0x0) at /home/porttmp/portage/net-libs/libbluedevil-9999/work/libbluedevil-9999/bluedevil/bluedevilmanager.cpp:130
#19 0xaf8fc6e8 in BlueDevil::Manager::self () at /home/porttmp/portage/net-libs/libbluedevil-9999/work/libbluedevil-9999/bluedevil/bluedevilmanager.cpp:146
#20 0xafda7fea in BlueDevilDaemon (this=0x8c0a6b8, parent=0x8ba3fd0) at /home/porttmp/portage/net-wireless/bluedevil-9999/work/bluedevil-9999/src/daemon/kded/BlueDevi
lDaemon.cpp:80
#21 0xafda95d3 in KPluginFactory::createInstance<BlueDevilDaemon, QObject> (parentWidget=0x0, parent=0x8ba3fd0, args=...) at /usr/include/KDE/../kpluginfactory.h:461
#22 0xb71e822a in KPluginFactory::create (this=0x8c32af0, iface=0xb72381c0 "KDEDModule", parentWidget=0x0, parent=0x8ba3fd0, args=..., keyword=...)
    at /home/porttmp/portage/kde-base/kdelibs-4.5.9999/work/kdelibs-4.5.9999/kdecore/util/kpluginfactory.cpp:191
#23 0xb1ce144a in KPluginFactory::create<KDEDModule> (this=0x8c32af0, parent=0x8ba3fd0, args=...)
    at /home/porttmp/portage/kde-base/kdelibs-4.5.9999/work/kdelibs-4.5.9999/kdecore/util/kpluginfactory.h:491
#24 0xb1cda974 in Kded::loadModule (this=0x8ba3fd0, s=..., onDemand=false) at /home/porttmp/portage/kde-base/kdelibs-4.5.9999/work/kdelibs-4.5.9999/kded/kded.cpp:381
#25 0xb1cdb717 in Kded::initModules (this=0x8ba3fd0) at /home/porttmp/portage/kde-base/kdelibs-4.5.9999/work/kdelibs-4.5.9999/kded/kded.cpp:239
#26 0xb1ce1795 in KDEDApplication::newInstance (this=0xbfa375d8) at /home/porttmp/portage/kde-base/kdelibs-4.5.9999/work/kdelibs-4.5.9999/kded/kded.cpp:818
#27 0xb755c62f in KUniqueApplicationAdaptor::newInstance (this=0x8bfc6e0, asn_id=..., args=...)
    at /home/porttmp/portage/kde-base/kdelibs-4.5.9999/work/kdelibs-4.5.9999/kdeui/kernel/kuniqueapplication.cpp:440
#28 0xb755c6d3 in KUniqueApplicationAdaptor::qt_metacall (this=0x8bfc6e0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfa36a78)
    at /home/porttmp/portage/kde-base/kdelibs-4.5.9999/work/kdelibs-4.5.9999_build/kdeui/kuniqueapplication_p.moc:81
#29 0xb5e5402e in QDBusConnectionPrivate::deliverCall (this=0x8ba5518, object=0x8bfc6e0, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:904
#30 0xb5e5536e in QDBusConnectionPrivate::activateCall (this=0x8ba5518, object=0x8bfc6e0, flags=337, msg=...) at qdbusintegrator.cpp:809
#31 0xb5e55e60 in QDBusConnectionPrivate::activateObject (this=0x8ba5518, node=..., msg=..., pathStartPos=16) at qdbusintegrator.cpp:1364
#32 0xb5e5613a in QDBusActivateObjectEvent::placeMetaCall (this=0x8c34be0) at qdbusintegrator.cpp:1477
#33 0xb6ed9c86 in QObject::event (this=0xbfa375d8, e=0x8c34be0) at kernel/qobject.cpp:1240
#34 0xb6ec71bc in QCoreApplication::event (this=0xbfa375d8, e=0x8c34be0) at kernel/qcoreapplication.cpp:1555
#35 0xb6335a37 in QApplication::event (this=0xbfa375d8, e=0x8c34be0) at kernel/qapplication.cpp:2355
#36 0xb6332b1f in QApplicationPrivate::notify_helper (this=0x8bc3680, receiver=0xbfa375d8, e=0x8c34be0) at kernel/qapplication.cpp:4302
#37 0xb633b252 in QApplication::notify (this=0xbfa375d8, receiver=0xbfa375d8, e=0x8c34be0) at kernel/qapplication.cpp:3706
#38 0xb75573c1 in KApplication::notify (this=0xbfa375d8, receiver=0xbfa375d8, event=0x8c34be0)
    at /home/porttmp/portage/kde-base/kdelibs-4.5.9999/work/kdelibs-4.5.9999/kdeui/kernel/kapplication.cpp:310
#39 0xb6ec7632 in QCoreApplication::notifyInternal (this=0xbfa375d8, receiver=0xbfa375d8, event=0x8c34be0) at kernel/qcoreapplication.cpp:726
#40 0xb6ec85f5 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x8b34fd0) at kernel/qcoreapplication.h:215
#41 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8b34fd0) at kernel/qcoreapplication.cpp:1367
#42 0xb6ec882e in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1260
#43 0xb6ef79e0 in QCoreApplication::sendPostedEvents (s=0x8bc5778) at kernel/qcoreapplication.h:220
#44 postEventSourceDispatch (s=0x8bc5778) at kernel/qeventdispatcher_glib.cpp:276
#45 0xb5bac11c in g_main_dispatch (context=0x8bc56f8) at gmain.c:1960
#46 IA__g_main_context_dispatch (context=0x8bc56f8) at gmain.c:2513
#47 0xb5baff28 in g_main_context_iterate (context=0x8bc56f8, block=<value optimized out>, dispatch=1, self=0x8b36278) at gmain.c:2591
#48 0xb5bb0119 in IA__g_main_context_iteration (context=0x8bc56f8, may_block=1) at gmain.c:2654
#49 0xb6ef7536 in QEventDispatcherGlib::processEvents (this=0x8ba4a18, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#50 0xb63fe296 in QGuiEventDispatcherGlib::processEvents (this=0x8ba4a18, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#51 0xb6ec5a5a in QEventLoop::processEvents (this=0xbfa37524, flags=) at kernel/qeventloop.cpp:149
#52 0xb6ec5eba in QEventLoop::exec (this=0xbfa37524, flags=...) at kernel/qeventloop.cpp:201
#53 0xb6ec88f1 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#54 0xb6331c58 in QApplication::exec () at kernel/qapplication.cpp:3581
#55 0xb1cdc84a in kdemain (argc=1, argv=0x8b92590) at /home/porttmp/portage/kde-base/kdelibs-4.5.9999/work/kdelibs-4.5.9999/kded/kded.cpp:894
#56 0x0804ec2a in launch (argc=<value optimized out>, _name=<value optimized out>, args=<value optimized out>, cwd=0x0, envc=0, envs=0x0, reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x8053260 "0") at /home/porttmp/portage/kde-base/kdelibs-4.5.9999/work/kdelibs-4.5.9999/kinit/kinit.cpp:716
#57 0x08050c1d in main (argc=4, argv=0xbfa37964, envp=0xbfa37978) at /home/porttmp/portage/kde-base/kdelibs-4.5.9999/work/kdelibs-4.5.9999/kinit/kinit.cpp:1828


Reproducible: Sometimes
Comment 1 Alex Fiestas 2010-09-05 01:25:38 UTC
Hi, this is a known issue, and it happens because of a wrong Dbus policy configuration.

see https://bugs.kde.org/show_bug.cgi?id=246039

Anyway, with an updated bluedevil it should not crash, try again please (with master or with the incoming RC4).

Thanks!
Comment 2 Alex Fiestas 2010-09-05 22:54:10 UTC
Closing it as INVALID.

Thanks for reporting.
Comment 3 Unknown 2010-09-07 08:45:53 UTC
(In reply to comment #1)
> Anyway, with an updated bluedevil it should not crash, try again please (with
> master or with the incoming RC4).

Works fine with latest trunk, thanks.
Comment 4 Alex Fiestas 2010-10-03 16:13:22 UTC
Start to move bluedevil bugs into solid product as Albert and Kevin tell me.
Comment 5 Christoph Feck 2010-11-29 00:22:47 UTC
Created attachment 53837 [details]
New crash information added by DrKonqi

kded4 ($Id: kded.cpp 1192875 2010-11-04 08:22:15Z ervin $) on KDE Platform 4.5.81 (4.6 >=20101125) using Qt 4.7.2

- What I was doing when the application crashed:

The duplicates state that the bug has been fixed, but since today's latest trunk, the crash happens again. I had to remove share/kde4/services/kded/obexftpdaemon.desktop so that I can start it again :)

Please reopen.

-- Backtrace (Reduced):
#13 0xb6f5472f in QDBusArgumentPrivate::checkRead (d=0x8184d48) at /local/git/Qt/qt/src/dbus/qdbusargument.cpp:144
#14 0xb6f5475a in QDBusArgumentPrivate::checkReadAndDetach (d=@0xbfe113b4) at /local/git/Qt/qt/src/dbus/qdbusargument.cpp:154
#15 0xb6f5555d in QDBusArgument::beginArray (this=0xbfe113b4) at /local/git/Qt/qt/src/dbus/qdbusargument.cpp:965
#16 0xaf82d2da in QDBusArgument const& operator>><QDBusObjectPath>(QDBusArgument const&, QList<QDBusObjectPath>&) () from /local/kde4/lib/libbluedevil.so.1
#17 0xaf82c5c2 in QList<QDBusObjectPath> qdbus_cast<QList<QDBusObjectPath> >(QDBusArgument const&, QList<QDBusObjectPath>*) () from /local/kde4/lib/libbluedevil.so.1