We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2014-11-08 10:53:19 +0200

Alien Dalvik in busyloop

I noticed that my battery was draining too fast. With top I saw that system_server was eating all of the available CPU time, which explained battery draining. After that I noticed that android apps were not starting at all. With powertop I noted following:

Usage Events/s Category Description 569,5 ms/s 50,2 Process system_server

with a strace I saw that one thread was doing this kind of thing, which looks like a spinloop activity: 12038 ioctl(118, FIONREAD <unfinished ...&gt;="" 12038="" &lt;...="" ioctl="" resumed=""> , [0]) = 0 12038 read(118, <unfinished ...&gt;="" 12038="" &lt;...="" read="" resumed=""> "", 8192) = 0 12038 ioctl(118, FIONREAD, [0]) = 0 12038 read(118, "", 8192) = 0 12038 ioctl(118, FIONREAD, [0]) = 0 12038 read(118, "", 8192) = 0 12038 ioctl(118, FIONREAD, [0]) = 0 12038 read(118, "", 8192) = 0 12038 ioctl(118, FIONREAD, [0]) = 0 12038 read(118, "", 8192) = 0 12038 ioctl(118, FIONREAD, [0]) = 0 12038 read(118, "", 8192) = 0 12038 ioctl(118, FIONREAD <unfinished ...&gt;="" 12038="" &lt;...="" ioctl="" resumed=""> , [0]) = 0 12038 read(118, <unfinished ...&gt;="" 12038="" &lt;...="" read="" resumed=""> "", 8192) = 0 .... 12038 futex(0x40d8e460, FUTEX_WAKE_PRIVATE, 1) = 1 12038 ioctl(118, FIONREAD, [0]) = 0 12038 read(118, "", 8192) = 0 12038 futex(0x40d8e460, FUTEX_WAKE_PRIVATE, 1) = 0 ..

Strace dump of aliendalvik start can be found from here: http://tilu.homelinux.net/alienstart1.strace.log Strace dump of system_server process & threads can be found from here: http://tilu.homelinux.net/alienspinloop.strace.log So far my eyes did not see any reason for this spinlooping, but I try to keep on looking.

I did one round of uninstall/reinstall for android support from the store, but it did not help on this issue.

Has anyone seen this same issue with 1.1.0.39 SW?