[Magisk] xdagee:
Magisk FCs when am connected to the internet (data/wifi)

Hi All,

Magisk have started misbehaving on my HTC One M8 with S.Team HTC 10 ROM.

It force closes when i connected to the internet. Am on the latest version of Magisk.

Thankfully here is a full log of the problem.

10-26 23:54:40.766 6772-6812/? E/PnPMgr: Error when reading path (Bad file descriptor)
10-26 23:54:40.766 6772-6812/? E/PnPMgr: Error when reading path (Bad file descriptor)
10-26 23:54:40.773 6772-6812/? E/PnPMgr: Error when reading path (Bad file descriptor)
10-26 23:54:40.847 31903-31903/? E/BaseLoader: parseConfig error:java.io.FileNotFoundException: /system/customize/spn_map.xml: open failed: ENOENT (No such file or directory)
10-26 23:54:40.930 4412-6853/system_process E/SchedPolicy: add_tid_to_cgroup failed; fd=-1
10-26 23:54:42.361 6772-6812/? E/PnPMgr: Error when reading path (Bad file descriptor)
10-26 23:54:42.933 4412-4412/system_process E/SchedPolicy: add_tid_to_cgroup failed; fd=-1
10-26 23:54:43.214 31842-31973/com.topjohnwu.magisk E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #4
Process: com.topjohnwu.magisk, PID: 31842
java.lang.RuntimeException: An error occurred while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java)
at java.util.concurrent.FutureTask.setException(FutureTask.java)
at java.util.concurrent.FutureTask.run(FutureTask.java)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java)
at java.lang.Thread.run(Thread.java)
Caused by: java.lang.ClassCastException: com.google.gson.internal.LinkedTreeMap cannot be cast to com.topjohnwu.magisk.module.Repo
at com.topjohnwu.magisk.utils.ModuleHelper.createRepoMap(Unknown Source)
at com.topjohnwu.magisk.utils.Async$LoadRepos.doInBackground(Unknown Source)
at com.topjohnwu.magisk.utils.Async$LoadRepos.doInBackground(Unknown Source)
at android.os.AsyncTask$2.call(AsyncTask.java)
at java.util.concurrent.FutureTask.run(FutureTask.java)*
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java)*
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java)*
at java.lang.Thread.run(Thread.java)*
10-26 23:54:43.215 4412-5728/system_process E/ActivityManager: App crashed! Process: com.topjohnwu.magisk
10-26 23:54:43.250 4412-4589/system_process E/SchedPolicy: add_tid_to_cgroup failed; fd=-1
10-26 23:54:43.280 6772-6812/? E/PnPMgr: Error when reading path (Bad file descriptor)
10-26 23:54:43.427 6772-6812/? E/PnPMgr: Error when reading path (Bad file descriptor)
10-26 23:54:43.462 4412-4589/system_process E/SchedPolicy: add_tid_to_cgroup failed; fd=-1
10-26 23:54:46.431 6772-6812/? E/PnPMgr: Error when reading path (Bad file descriptor)
10-26 23:54:53.231 2695-3820/? E/NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'TIME_NS' not found
10-26 23:54:53.231 2695-3820/? E/NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'UID' not found
10-26 23:54:55.051 2695-3820/? E/NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'TIME_NS' not found
10-26 23:54:55.051 2695-3820/? E/NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'UID' not found

Any help/fix will be much appreciated.

Thank you xdagee