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

List:       kde-core-devel
Subject:    Trouble with udisks-daemon caused by solid
From:       Andreas Roth <aroth () arsoft-online ! com>
Date:       2011-07-26 17:48:06
Message-ID: 2223013.rltop2O7se () ar
[Download RAW message or body]

Hi,

i stumbled over this issue when running amarok. When amarok is running, the 
udisks-daemon is constantly active. It takes about 1-5% of CPU. At the same 
time the dbus-daemon also takes the same amount of CPU.
The original post to amarok-devel can be found here:
http://mail.kde.org/pipermail/amarok-devel/2011-July/009273.html

I've run a strace against the udisks-daemon and writes the following message 
to stderr:
write(2, "\n** (udisks-daemon:2797): WARNING **: Property get or set does not 
have an interface string as first arg\n\n", 106)

With the help of the amarok developers is found the piece of code, which 
triggers this issue. In amarok/src/MediaDeviceCache.cpp, function 
MediaDeviceCache::slotTimeout() calls Solid::Device::listFromType, which does 
some dbus/udisks magic and this causes the trouble. I haven't gone into the 
solid code to check what might be wrong there.

I created a small test program, which does exactly what amarok does and also 
triggers this issue. I've attach the program to this mail.

Hopefully someone could help me to track down this issue and fix it.

Thanks,
Andreas



["solidtest.zip" (solidtest.zip)]

PK
>
solidtest/UT	.N.NuxTDPKh>Rbsolidtest/main. \
cppUT	.NO.NuxTDSK)MIU	,q/t,(LN,ϳR*de(qqqe(&fiE:
 EZZ N&W5 XP Q	Vb
V7V!-?"dgk@V&kPK
h>solidtest/.kdev4/UT	.N
.NuxTDPKh>O?Bsolidtest/solidtest.kdev4UT	.N.NuxTD(JM.KM-L)I-.MKLO-vI-sMN
 pg9rPKT>_solidtest/CMakeLists.txtUT	.N. \
NuxTD}_k0şOJEƐwPu&ij(e[$w'uS}Jʕв6;HZR]AyT#H86ةRКK+.$(0A
 @+^ 
6P%;!aϻܱ.D0T66THc֚hCOӝfя
3U2
 Y2BP7.1ZHeCݥit
MS>MLGR骨i2V}jKNm.o𗻚5{iʃYMZzAtLP狸TL \
W<AƣIr6PK>giD	solidtest/solidtest.cppUT	d.N.Nu \
xTDV[O0~^)RpCh%CW4]IJҤ4?\F"<`δ \
W;{wlbԖ_̗?3݁G+98Q2VC3`g҂N*T't#	G+17Q<Sڲbft{2Vi"0f!3P
 g%kOXk^	8x>~oouLŻכH GA	?;%v
	=Gl{e)!yPZk	Hxq
TNaB@rn#%%D-2>?>V4
1
^H(xbi=bqf~Ь`Hh=Z~7[ͅ\4B9f
υf320*!PV,Ӗ~5&zϊǤǺwp^/`ܺKn,)c8ξdd5^fhCZk_j7m9e~GPCүZe/3 \
Mz p\lֱYRu'QVaQa4;HĈEEs&)l \
(1d8$}>y}%}ml*[G_|ǸG2%3fs]՗Ou&J	a0abs$7Z:|I?2(U \
Lw;ocܛS~9b3-G`Phۣߐ[Ʒt)r/e[=]ys"qoE~.'[vMMD%
 ÝrdLpf۲ZPKY>}Osolidtest/solidtest.hUT	.N.NuxTDU
  @E+V"
.K<B۝M=&V	jj u \
FzA.s\kVgVB̵߲(#4w	p:mۼ&*,&R;,agp_;
 |
]冞 #
bϾ~PK
>
Esolidtest/UT.NuxTDPKh>RbDsolidtest/main.cppUT.NuxTDPK
 h>Esolidtest/.kdev4/UT.NuxTDPK \
h>O?B]solidtest/solidtest.kdev4UT.NuxT \
DPKT>_solidtest/CMakeLists.txtUT.NuxTDPK>giD	 \
solidtest/solidtest.cppUTd.NuxTDPKY>}O5solidtest/solidtest.hUT.NuxTDPKt4




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

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