[Bug 279676] New: kded4 crashes when solid_networkmanager07.desktop is mentioned in servicetype_profilerc

Børre Gaup boerre at skolelinux.no
Mon Aug 8 18:58:17 BST 2011


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

           Summary: kded4 crashes when solid_networkmanager07.desktop is
                    mentioned in servicetype_profilerc
           Product: kdelibs
           Version: 4.7
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: kded
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: boerre at skolelinux.no


Version:           4.7 (using KDE 4.7.0) 
OS:                Linux

When I logged in and when I manually started kded4, it crashed. Here is the
backtrace:
-- Backtrace:
Application: KDE-duogášprográmma (kded4), signal: Segmentation fault
[Current thread is 1 (Thread 0xb77aa710 (LWP 21885))]

Thread 3 (Thread 0xb4f10b70 (LWP 21891)):
#0  0x00ef0d31 in *__GI_clock_gettime (clock_id=1, tp=0xb4f10028) at
../sysdeps/unix/clock_gettime.c:116
#1  0x046fd1f5 in do_gettime (frac=0xb4f10020, sec=0xb4f10018) at
tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x047cfb86 in QTimerInfoList::updateCurrentTime (this=0xb46007ec) at
kernel/qeventdispatcher_unix.cpp:339
#4  0x047cfeda in QTimerInfoList::timerWait (this=0xb46007ec, tm=...) at
kernel/qeventdispatcher_unix.cpp:442
#5  0x047ce723 in timerSourcePrepareHelper (src=<optimized out>,
timeout=0xb4f1012c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x047ce7bd in timerSourcePrepare (source=0xb46007b8, timeout=<optimized
out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x02cba43c in g_main_context_prepare (context=0x9acb9b8,
priority=0xb4f10188) at /build/buildd/glib2.0-2.29.14/./glib/gmain.c:2821
#8  0x02cbb1f7 in g_main_context_iterate (context=0x9acb9b8, block=1,
dispatch=1, self=<optimized out>) at
/build/buildd/glib2.0-2.29.14/./glib/gmain.c:3141
#9  0x02cbb7ea in g_main_context_iteration (context=0x9acb9b8, may_block=1) at
/build/buildd/glib2.0-2.29.14/./glib/gmain.c:3224
#10 0x047cf207 in QEventDispatcherGlib::processEvents (this=0x9acb1f0,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x0479ff5d in QEventLoop::processEvents (this=0xb4f102b0, flags=...) at
kernel/qeventloop.cpp:149
#12 0x047a01a1 in QEventLoop::exec (this=0xb4f102b0, flags=...) at
kernel/qeventloop.cpp:201
#13 0x046a33db in QThread::exec (this=0x9acb688) at thread/qthread.cpp:492
#14 0x04780bad in QInotifyFileSystemWatcherEngine::run (this=0x9acb688) at
io/qfilesystemwatcher_inotify.cpp:248
#15 0x046a6283 in QThreadPrivate::start (arg=0x9acb688) at
thread/qthread_unix.cpp:320
#16 0x00c61e99 in start_thread (arg=0xb4f10b70) at pthread_create.c:304
#17 0x00d8e6de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb05feb70 (LWP 21893)):
#0  0x02cbaaec in g_main_context_check (context=0x9b33570,
max_priority=2147483647, fds=0x9b1f2b8, n_fds=1) at
/build/buildd/glib2.0-2.29.14/./glib/gmain.c:3033
#1  0x02cbb4b0 in g_main_context_iterate (context=0x9b33570, block=46964512,
dispatch=1, self=<optimized out>) at
/build/buildd/glib2.0-2.29.14/./glib/gmain.c:3158
#2  0x02cbb7ea in g_main_context_iteration (context=0x9b33570, may_block=1) at
/build/buildd/glib2.0-2.29.14/./glib/gmain.c:3224
#3  0x047cf207 in QEventDispatcherGlib::processEvents (this=0x9b26a90,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x0479ff5d in QEventLoop::processEvents (this=0xb05fe2c0, flags=...) at
kernel/qeventloop.cpp:149
#5  0x047a01a1 in QEventLoop::exec (this=0xb05fe2c0, flags=...) at
kernel/qeventloop.cpp:201
#6  0x046a33db in QThread::exec (this=0x9afb400) at thread/qthread.cpp:492
#7  0x0271a1f7 in ?? () from /usr/lib/kde4/kded_bluedevil.so
#8  0x046a6283 in QThreadPrivate::start (arg=0x9afb400) at
thread/qthread_unix.cpp:320
#9  0x00c61e99 in start_thread (arg=0xb05feb70) at pthread_create.c:304
#10 0x00d8e6de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb77aa710 (LWP 21885)):
[KCrash Handler]
#7  0x02f04378 in WicdNetworkManager::createNetworkInterface (this=0xbffe41bc,
uni=...) at ../../../solid/wicd/networkmanager.cpp:165
#8  0x04fa7a1b in Solid::Control::NetworkManagerNm09Private::networkInterfaces
(this=0x9bc9100) at
../../../../../solidcontrolfuture/libs/solid/control/networkmanager.cpp:109
#9  0x04fa7aba in Solid::Control::NetworkManagerNm09::networkInterfaces () at
../../../../../solidcontrolfuture/libs/solid/control/networkmanager.cpp:119
#10 0x02de366c in ConnectionUsageMonitor::ConnectionUsageMonitor
(this=0x9bd3910, connectionList=0x9bec878, activatableList=0x9bd38d8,
parent=0x9bd38d8) at ../../../libs/service/connectionusagemonitor.cpp:55
#11 0x091659ea in NetworkManagementService::NetworkManagementService
(this=0x9bd5318, parent=0x98aba98) at ../../kded/service.cpp:92
#12 0x09165dfa in KPluginFactory::createInstance<NetworkManagementService,
QObject> (parentWidget=0x0, parent=0x98aba98, args=...) at
/usr/include/kpluginfactory.h:477
#13 0x00ac1b5e in KPluginFactory::create (this=0x9bf1458, iface=0xb18ee0
"KDEDModule", parentWidget=0x0, parent=0x98aba98, args=..., keyword=...) at
../../kdecore/util/kpluginfactory.cpp:203
#14 0x008a0fea in create<KDEDModule> (args=..., parent=0x98aba98,
this=<optimized out>) at ../../kdecore/util/kpluginfactory.h:507
#15 Kded::loadModule (this=0x98aba98, s=..., onDemand=false) at
../../kded/kded.cpp:409
#16 0x008a2354 in Kded::initModules (this=0x98aba98) at ../../kded/kded.cpp:268
#17 0x008a3ab6 in newInstance (this=0xbffe5070) at ../../kded/kded.cpp:846
#18 KDEDApplication::newInstance (this=0xbffe5070) at ../../kded/kded.cpp:803
#19 0x005a4637 in KUniqueApplicationAdaptor::newInstance (this=0x9999fb8,
asn_id=..., args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:442
#20 0x005a470c in KUniqueApplicationAdaptor::qt_metacall (this=0x9999fb8,
_c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbffe478c) at
./kuniqueapplication_p.moc:81
#21 0x002ccce7 in QDBusConnectionPrivate::deliverCall (this=0x98a7248,
object=0x9999fb8, msg=..., metaTypes=..., slotIdx=0) at qdbusintegrator.cpp:942
#22 0x002cde16 in QDBusConnectionPrivate::activateCall (this=0x98a7248,
object=0x9999fb8, flags=337, msg=...) at qdbusintegrator.cpp:845
#23 0x002ce764 in QDBusConnectionPrivate::activateObject (this=0x98a7248,
node=..., msg=..., pathStartPos=-1073854256) at qdbusintegrator.cpp:1430
#24 0x002ce978 in QDBusActivateObjectEvent::placeMetaCall (this=0x99a6208) at
qdbusintegrator.cpp:1524
#25 0x047b91f2 in QObject::event (this=0xbffe5070, e=0x99a6208) at
kernel/qobject.cpp:1217
#26 0x047a14fa in QCoreApplication::event (this=0xbffe5070, e=0x99a6208) at
kernel/qcoreapplication.cpp:1560
#27 0x0110f9f1 in QApplication::event (this=0xbffe5070, e=0x99a6208) at
kernel/qapplication.cpp:2508
#28 0x0110b374 in notify_helper (e=0x99a6208, receiver=0xbffe5070,
this=0x98ac530) at kernel/qapplication.cpp:4467
#29 QApplicationPrivate::notify_helper (this=0x98ac530, receiver=0xbffe5070,
e=0x99a6208) at kernel/qapplication.cpp:4439
#30 0x01110723 in QApplication::notify (this=0x99a6208, receiver=0xbffe5070,
e=0x99a6208) at kernel/qapplication.cpp:3867
#31 0x0059e3d1 in KApplication::notify (this=0xbffe5070, receiver=0xbffe5070,
event=0x99a6208) at ../../kdeui/kernel/kapplication.cpp:311
#32 0x047a0f1e in QCoreApplication::notifyInternal (this=0xbffe5070,
receiver=0xbffe5070, event=0x99a6208) at kernel/qcoreapplication.cpp:731
#33 0x047a46f3 in sendEvent (event=<optimized out>, receiver=<optimized out>)
at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#34 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x9884ca8) at kernel/qcoreapplication.cpp:1372
#35 0x047a484c in QCoreApplication::sendPostedEvents (receiver=0x0,
event_type=0) at kernel/qcoreapplication.cpp:1265
#36 0x047ced74 in sendPostedEvents () at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#37 postEventSourceDispatch (s=0x98aeaf0) at
kernel/qeventdispatcher_glib.cpp:277
#38 0x02cbae1f in g_main_dispatch (context=0x98af560) at
/build/buildd/glib2.0-2.29.14/./glib/gmain.c:2500
#39 g_main_context_dispatch (context=0x98af560) at
/build/buildd/glib2.0-2.29.14/./glib/gmain.c:3083
#40 0x02cbb550 in g_main_context_iterate (context=0x98af560, block=46964512,
dispatch=1, self=<optimized out>) at
/build/buildd/glib2.0-2.29.14/./glib/gmain.c:3161
#41 0x02cbb7ea in g_main_context_iteration (context=0x98af560, may_block=1) at
/build/buildd/glib2.0-2.29.14/./glib/gmain.c:3224
#42 0x047cf1aa in QEventDispatcherGlib::processEvents (this=0x98859e8,
flags=...) at kernel/qeventdispatcher_glib.cpp:422
#43 0x011c2e0a in QGuiEventDispatcherGlib::processEvents (this=0x98859e8,
flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x0479ff5d in QEventLoop::processEvents (this=0xbffe4fd4, flags=...) at
kernel/qeventloop.cpp:149
#45 0x047a01a1 in QEventLoop::exec (this=0xbffe4fd4, flags=...) at
kernel/qeventloop.cpp:201
#46 0x047a48fd in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#47 0x01108f14 in QApplication::exec () at kernel/qapplication.cpp:3741
#48 0x008a0899 in kdemain (argc=1, argv=0xbffe5294) at ../../kded/kded.cpp:924
#49 0x0804850b in main (argc=1, argv=0xbffe5294) at kded4_dummy.cpp:3




Reproducible: Always

Steps to Reproduce:
The file .kde/share/config/servicetype_profilerc contained:

[SolidNetworkManager]
Entry0_Preference=3
Entry0_Service=solidbackends/solid_networkmanager07.desktop
Entry1_Preference=2
Entry1_Service=solidbackends/solid_wicd.desktop
Entry2_Preference=1
Entry2_Service=solidbackends/solid_fakenet.desktop
NumberOfEntries=3


Actual Results:  
kded4 crashes with this setup

Expected Results:  
kded4 shold be able to detect that nm07 isn't available, and use the current
version (in this case nm09) instead.

KDE Platform Version: 4.7.00 (4.7.0)
Qt Version: 4.7.3
Operating System: Linux 3.0.0-7-generic i686
Distribution: Ubuntu oneiric (development branch)


When I removed the text shown below from servicetype_profilerc, and started
kded4 from the command line it worked as it should again:

[SolidNetworkManager]
Entry0_Preference=3
Entry0_Service=solidbackends/solid_networkmanager07.desktop
Entry1_Preference=2
Entry1_Service=solidbackends/solid_wicd.desktop
Entry2_Preference=1
Entry2_Service=solidbackends/solid_fakenet.desktop
NumberOfEntries=3

After that I started systemsettings, and went to Information Sources and set
networkmanager to have top priority in Network Management Backend.
servicetype_profilerc now shows:
[SolidNetworkManager]
Entry0_Preference=3
Entry0_Service=solidbackends/solid_networkmanager09.desktop
Entry1_Preference=2
Entry1_Service=solidbackends/solid_wicd.desktop
Entry2_Preference=1
Entry2_Service=solidbackends/solid_fakenet.desktop
NumberOfEntries=3

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list