loupsis / jellaxy

Automatically exported from code.google.com/p/jellaxy
0 stars 0 forks source link

/system/bin/netd starts consuming 100% CPU time infinitely #73

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
You will have to complete all fields in order to get the issue accepted.
Also please include logcat. We cannot investigate what we cannot reproduce.

Which device are you on? (Ace,Fit, Gio or Mini)
Ace

What steps will reproduce the problem?
1. Run CM10 (build date end of November) for some time, usually a couple of days
and use it normally.

What is the expected output? What do you see instead?
/system/bin/netd eats 100% of CPU time infinitely
Obviously it is not supposed to

What version of the product are you using? On what operating system?
cm-10-120112-UNOFFICIAL-cooper

Please provide any additional information below.

killing netd manually resolved the issue.

shell@android:/ $ top
 User 43%, System 56%, IOW 0%, IRQ 0%
 User 139 + Nice 0 + Sys 178 + Idle 0 + IOW 0 + IRQ 0 + SIRQ 0 = 317

 PID PR CPU% S #THR VSS RSS PCY UID Name
 126 0 93% S 8 10024K 956K root /system/bin/netd

Original issue reported on code.google.com by christia...@gmail.com on 3 Dec 2012 at 9:46

Attachments:

GoogleCodeExporter commented 8 years ago
strace on netd consuming 100% CPU

Original comment by christia...@gmail.com on 3 Dec 2012 at 9:49

Attachments:

GoogleCodeExporter commented 8 years ago
hi,

I have exactly the same issue on my Galaxy Axe. I also tried Wayland cm9.1, and 
Maclaw aosp, and  issue remains. I also saw in xda some other people who have 
the same issue, on CM10.1, on Mini or Gio.

Original comment by gregory....@gmail.com on 14 Jan 2013 at 11:29

GoogleCodeExporter commented 8 years ago
I have exactly the same issue on my Gio. CyanogenMod10.1 (OS 4.2.2).

Original comment by incoming...@gmail.com on 18 Feb 2013 at 1:10

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Exactly the same issue (Ace, CM 10.1-20130615-NIGHTLY-cooper)

Original comment by ri...@boogiepalace.hopto.org on 30 Jul 2013 at 9:11

GoogleCodeExporter commented 8 years ago
I got exactly the same issues in 
CyanogenMod10.1,aokp,aosp,paranoid,pacrom........

Anyone know how to fix this issue  ????

Original comment by a...@camerocks.com on 23 Aug 2013 at 4:05

GoogleCodeExporter commented 8 years ago
I think I found the cause of this issue. The problem is in the code parsing 
netlink messages, which is used by netd. It seems that netd gets stuck in 
infinite loop as soon as it receives buggy netlink message. I've created a 
patch to avoid that, however it needs more testing and possibly some refining. 

Original comment by Kazimier...@gmail.com on 21 Dec 2013 at 9:54

Attachments:

GoogleCodeExporter commented 8 years ago
but how to apply the patch ?

Original comment by junnick....@gmail.com on 5 Jan 2014 at 1:26

GoogleCodeExporter commented 8 years ago
Same problem on Galaxy Mini/Next with cm-10.1-20130402-NIGHTLY-tass from 
http://forum.xda-developers.com/showthread.php?t=2085347

Original comment by davide.cavestro on 7 Jan 2014 at 4:26

GoogleCodeExporter commented 8 years ago
The patch should be applied on a CM9 source code before build a rom. Here is a 
compiled libsysutils.so for Galaxy Gio using the MMB CM9 source tree and above 
patch. Anyone brave enough may replace the original library with this one. Of 
course I'm not responsible for any bricked phone :)

Original comment by Kazimier...@gmail.com on 7 Jan 2014 at 7:08

Attachments:

GoogleCodeExporter commented 8 years ago
Anyone can build a libsysutils.so for Galaxy ACE CM 10.1 ?

Original comment by wilson.c...@oppa.com.br on 8 Jan 2014 at 1:44