Closed Bug 1217707 Opened 9 years ago Closed 6 years ago

Aurora, Nightly crash when mdnsd is removed.

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: chriscjsus, Unassigned, NeedInfo)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:43.0) Gecko/20100101 Firefox/43.0
Build ID: 20151021004355

Steps to reproduce:

I removed mdnsd (Multicast DNS Daemon) from /system/bin because it uses too much battery on my phone.  I also used a process monitor to kill the mdnsd process.


Actual results:

Aurora 43 and Nightly 44 both crash shortly after starting them up.  I think it is when they start syncing.


Expected results:

This did not happen a week ago.  I could remove mdnsd with no ill effects.  Beta and release are not affected by this.  These are also the only apps that give problems from doing this.
OS: Unspecified → Android
Hardware: Unspecified → ARM
It seems to be tied to a lack of WiFi signal. Running 42 stable on Lollipop, Moto X 2014. I charged to 100% to reset Android statistics. Ran all 13 hours and mdnsd did not show in the battery usage statistics. Turned off WiFi (which I normally do at night) and it was up to 4% in 2 hours. It seems to be constantly searching for a network or for something over WiFi rather than querying the OS to determine if a network is connected first.
Chris - Do you have crash stacks? Maybe via logcat? or from the Mozilla crash reporter? I'd like to know what code is using the binary.

The patch I landed in bug 1215012 should stop Firefox from using mdnsd. Can you check tomorrow's Nightly and see if that is fixed?
Flags: needinfo?(chriscjsus)
Verified as fixed on latest Nightly build. The issue cannot be reproduced anymore as Firefox is not using mdnsd anymore as described in the Comment 2.
Device: Samsung Galaxy S8+ (Android 8.0.0).

Thanks,
Andrei
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.