Closed Bug 1190133 Opened 9 years ago Closed 9 years ago

Startup crash loop on latest nightly

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
critical

Tracking

(firefox42 affected, fennec42+)

RESOLVED DUPLICATE of bug 1188935
Tracking Status
firefox42 --- affected
fennec 42+ ---

People

(Reporter: kats, Unassigned)

References

Details

(Keywords: crash)

Attachments

(1 file)

Attached file Logcat
I updated to the latest Fennec while my Wifi was off. Upon turning on the WiFi nightly crashed, and is now in a crash loop. Attaching logcat, will link to crash reports once I can find the IDs. Logcat shows this suspicious looking thing:

08-01 23:13:01.297 E/GeckoCrashHandler(11728): >>> REPORTING UNCAUGHT EXCEPTION FROM THREAD 4241 ("NsdManager")
08-01 23:13:01.297 E/GeckoCrashHandler(11728): java.lang.NullPointerException
08-01 23:13:01.297 E/GeckoCrashHandler(11728): 	at android.net.nsd.NsdManager$ServiceHandler.handleMessage(NsdManager.java:328)
08-01 23:13:01.297 E/GeckoCrashHandler(11728): 	at android.os.Handler.dispatchMessage(Handler.java:99)
08-01 23:13:01.297 E/GeckoCrashHandler(11728): 	at android.os.Looper.loop(Looper.java:137)
08-01 23:13:01.297 E/GeckoCrashHandler(11728): 	at android.os.HandlerThread.run(HandlerThread.java:60)
08-01 23:13:01.297 E/GeckoCrashHandler(11728): Main thread (1) stack:
08-01 23:13:01.297 E/GeckoCrashHandler(11728):     android.os.MessageQueue.nativePollOnce(Native Method)
08-01 23:13:01.297 E/GeckoCrashHandler(11728):     android.os.MessageQueue.next(MessageQueue.java:125)
08-01 23:13:01.297 E/GeckoCrashHandler(11728):     android.os.Looper.loop(Looper.java:124)
08-01 23:13:01.297 E/GeckoCrashHandler(11728):     android.app.ActivityThread.main(ActivityThread.java:5041)
08-01 23:13:01.297 E/GeckoCrashHandler(11728):     java.lang.reflect.Method.invokeNative(Native Method)
08-01 23:13:01.297 E/GeckoCrashHandler(11728):     java.lang.reflect.Method.invoke(Method.java:511)
08-01 23:13:01.297 E/GeckoCrashHandler(11728):     com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
08-01 23:13:01.297 E/GeckoCrashHandler(11728):     com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
08-01 23:13:01.297 E/GeckoCrashHandler(11728):     dalvik.system.NativeStart.main(Native Method)
Turning Wi-Fi back off doesn't fix this. Also FWIW I'm seeing the same crash in my local Fennec build which I just updated to latest m-c.
CC'ing :xeonchen and :mcmanus because the log seems to indicate that it's the Gecko mDNS code that's triggering the Java front-end to crash. I don't see any recent changes to that code but perhaps I'm not looking in the right places.
Commenting out the NsdManager:DiscoverServices handler implementation in MulticastDNSManager.java makes my local build start working at least. I'm running Android 4.2.2 on a Nexus 4, if that helps.
See Also: → 1190000
Blocks: 1158029
Keywords: crash
tracking-fennec: --- → 42+
Hi Kartikaya,

I'm trying but cannot reproduce this issue.

* Device is Nexus 4, Android 4.2.2 (JDQ39), flashed from official image.
* Fennec download from [1].

My step is:
1. turn off Wi-Fi
2. open Fennec, click "start browsing"
3. turn on Wi-Fi

Do you have any idea to reproduce this bug?

[1] https://ftp.mozilla.org/pub/mozilla.org/mobile/nightly/2015-08-01-03-02-11-mozilla-central-android-api-11/fennec-42.0a1.multi.android-arm.apk
Flags: needinfo?(bugmail.mozilla)
As far as I can tell those steps should be sufficient. Can you explain what the multicastdnsmanager code does? Might the crash depend on the specific Wi-Fi networks my device can see? I can provide more details about my environment if you tell me what might affect this, or if you have a rooted phone I can even give you a copy of a profile that I know crashes.
Flags: needinfo?(bugmail.mozilla)
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: