Ofonod cpu guzzling

REPRODUCIBILITY (% or how often): 100%
BUILD ID = OS VERSION (Settings > About product): 4.2.0.21
HARDWARE (XA2, X10, X10 II, …): XA2 Plus
UI LANGUAGE: English
REGRESSION: (compared to previous public release: Yes, No, ?): Unknown

DESCRIPTION:

ofonod periodically goes into a situation where it consumes about 150% CPU (at least htop seems to jump by about 1.5 seconds every second when it refreshes). This keeps more cores active than normal (at least 3 cores remain active at all times) and drains the battery.

PRECONDITIONS:

Not exactly sure. BLE?

STEPS TO REPRODUCE:

  1. Turn on the phone
  2. wait
  3. (sometimes) wait some more

EXPECTED RESULT:

No runaway processes killing the battery

ACTUAL RESULT:

The battery drains with about 15% per hour.

ADDITIONAL INFORMATION:

Note: The process is basically unkillable by any other means than restarting the phone. I’ve tried SIGTERM, SIGKILL, restarting networking from utilities. Without success. Rebooting the phone work, for anything between 30 minutes to 1-2 days until the problem recurs.

Seen ofono consume cpu. I have no idea what might have caused it. I am on a community device.