RikkaApps / Riru

Inject into zygote process
4.79k stars 572 forks source link

[Bug] Rirud socket not release after system_server restart #304

Closed eebssk1 closed 2 years ago

eebssk1 commented 2 years ago

This is a bug of Riru itself

Other modules are disabled

Zygisk are disabled

Riru version

26.1.3

Android version

a11

Device

phoenix

Describe the bug

My rom has a weired bug that if it reboot into system from recovery, there's a chance that CameraService will crash with nullpointerdeference which triggers system_server restart. However I got a bootloop after this and during invesgating the log I don't find any crash. But I found rirud throw a "Address already in use" exception and then says zygote is died and restart system_server again, then this become a loop hell. (I'm already unlocking my device when rirud decide to soft restart)

Relevant logs

(will update soon when I trigger this)