Intermittent java-exception | java.lang.NoClassDefFoundError: [generic] at dalvik.system.NativeStart.main(Native Method)

RESOLVED WORKSFORME

Status

()

P3
normal
RESOLVED WORKSFORME
3 years ago
2 years ago

People

(Reporter: RyanVM, Assigned: gbrown)

Tracking

({intermittent-failure})

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
10:24:13 INFO - SimpleTest START
10:24:13 INFO - TEST-START | testGeckoRequest
10:24:14 INFO - INFO | automation.py | Application ran for: 0:00:25.364614
10:24:14 INFO - INFO | zombiecheck | Reading PID log: /tmp/tmp6uQlMZpidlog
10:24:14 INFO - Contents of /data/anr/traces.txt:
10:24:14 INFO - /data/tombstones does not exist; tombstone check skipped
10:24:15 WARNING - PROCESS-CRASH | java-exception | java.lang.NoClassDefFoundError: [generic] at dalvik.system.NativeStart.main(Native Method)
10:24:15 INFO - Stopping web server
10:25:18 INFO - Stopping web socket server
10:25:18 INFO - Stopping ssltunnel
10:25:18 INFO - WARNING | leakcheck | refcount logging is off, so leaks can't be detected!
10:25:18 INFO - runtests.py | Running tests: end.
10:25:20 INFO - 0 ERROR runTests() exited with code 1
10:25:20 WARNING - PROCESS-CRASH | Automation Error: Missing end of test marker (process crashed?)
Comment hidden (Treeherder Robot)
(Assignee)

Comment 2

3 years ago
Note that there are 2 separate failures in Comment 1.

10:29:45     INFO -  TEST-START | testNativeCrypto
10:29:46     INFO -  INFO | automation.py | Application ran for: 0:00:13.289683
10:29:46     INFO -  INFO | zombiecheck | Reading PID log: /tmp/tmpLZlKchpidlog
10:29:46     INFO -  Contents of /data/anr/traces.txt:
10:29:47     INFO -  /data/tombstones does not exist; tombstone check skipped
10:29:47  WARNING -  PROCESS-CRASH | java-exception | java.lang.ClassNotFoundException: Didn't find class "org.mozilla.gecko.R$anim" on path: DexPathList[[zip file "/system/framework/android.test.runner.jar", zip file "/data/app/org.mozilla.roboexample.test-2.apk", zip file "/data/app/org.mozilla.fennec-1.apk"],nativeLibraryDirectories=[/data/app-lib/org.mozilla.roboexample.test-2, /data/app-lib/org.mozilla.fennec-1, /system/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:53)

10:30:52     INFO -  06-23 10:29:40.132 E/GeckoLibLoad( 2073): Load sqlite done
10:30:52     INFO -  06-23 10:29:40.132 E/GeckoLibLoad( 2073): Load nss start
10:30:52     INFO -  06-23 10:29:40.142 E/GeckoLibLoad( 2073): Load nss done
10:30:52     INFO -  06-23 10:29:40.203 I/GeckoAxis( 2073): Prefs: 0.85,0.97,10.0,0.1,0.04,0.3,0.5
10:30:52     INFO -  06-23 10:29:40.432 D/AndroidRuntime( 2073): Shutting down VM
10:30:52     INFO -  06-23 10:29:40.442 W/dalvikvm( 2073): threadid=1: thread exiting with uncaught exception (group=0x414c8700)
10:30:52     INFO -  06-23 10:29:40.562 E/GeckoCrashHandler( 2073): >>> REPORTING UNCAUGHT EXCEPTION FROM THREAD 1 ("main")
10:30:52     INFO -  06-23 10:29:40.562 E/GeckoCrashHandler( 2073): java.lang.ClassNotFoundException: Didn't find class "org.mozilla.gecko.R$anim" on path: DexPathList[[zip file "/system/framework/android.test.runner.jar", zip file "/data/app/org.mozilla.roboexample.test-2.apk", zip file "/data/app/org.mozilla.fennec-1.apk"],nativeLibraryDirectories=[/data/app-lib/org.mozilla.roboexample.test-2, /data/app-lib/org.mozilla.fennec-1, /system/lib]]
10:30:52     INFO -  06-23 10:29:40.562 E/GeckoCrashHandler( 2073): 	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:53)
10:30:52     INFO -  06-23 10:29:40.562 E/GeckoCrashHandler( 2073): 	at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
10:30:52     INFO -  06-23 10:29:40.562 E/GeckoCrashHandler( 2073): 	at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
10:30:52     INFO -  06-23 10:29:40.562 E/GeckoCrashHandler( 2073): 	at org.mozilla.gecko.FormAssistPopup.<init>(FormAssistPopup.java:88)
10:30:52     INFO -  06-23 10:29:40.562 E/GeckoCrashHandler( 2073): 	at java.lang.reflect.Constructor.constructNative(Native Method)
10:30:52     INFO -  06-23 10:29:40.562 E/GeckoCrashHandler( 2073): 	at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
10:30:52     INFO -  06-23 10:29:40.562 E/GeckoCrashHandler( 2073): 	at android.view.LayoutInflater.createView(LayoutInflater.java:594)
10:30:52     INFO -  06-23 10:29:40.562 E/GeckoCrashHandler( 2073): 	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696)
10:30:52     INFO -  06-23 10:29:40.562 E/GeckoCrashHandler( 2073): 	at android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
10:30:52     INFO -  06-23 10:29:40.562 E/GeckoCrashHandler( 2073): 	at android.view.LayoutInflater.parseInclude(LayoutInflater.java:814)
10:30:52     INFO -  06-23 10:29:40.562 E/GeckoCrashHandler( 2073): 	at android.view.LayoutInflater.rInflate(LayoutInflater.java:745)
10:30:52     INFO -  06-23 10:29:40.562 E/GeckoCrashHandler( 2073): 	at android.view.LayoutInflater.rInflate(LayoutInflater.java:758)
10:30:52     INFO -  06-23 10:29:40.562 E/GeckoCrashHandler( 2073): 	at android.view.LayoutInflater.rInflate(LayoutInflater.java:758)
10:30:52     INFO -  06-23 10:29:40.562 E/GeckoCrashHandler( 2073): 	at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
10:30:52     INFO -  06-23 10:29:40.562 E/GeckoCrashHandler( 2073): 	at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
10:30:52     INFO -  06-23 10:29:40.562 E/GeckoCrashHandler( 2073): 	at android.view.LayoutInflater.inflate(LayoutInflater.java:353)
10:30:52     INFO -  06-23 10:29:40.562 E/GeckoCrashHandler( 2073): 	at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:267)
10:30:52     INFO -  06-23 10:29:40.562 E/GeckoCrashHandler( 2073): 	at android.app.Activity.setContentView(Activity.java:1895)
10:30:52     INFO -  06-23 10:29:40.562 E/GeckoCrashHandler( 2073): 	at org.mozilla.gecko.GeckoApp.onCreate(GeckoApp.java:1275)
10:30:52     INFO -  06-23 10:29:40.562 E/GeckoCrashHandler( 2073): 	at org.mozilla.gecko.BrowserApp.onCreate(BrowserApp.java:738)
10:30:52     INFO -  06-23 10:29:40.562 E/GeckoCrashHandler( 2073): 	at android.app.Activity.performCreate(Activity.java:5133)
10:30:52     INFO -  06-23 10:29:40.562 E/GeckoCrashHandler( 2073): 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
10:30:52     INFO -  06-23 10:29:40.562 E/GeckoCrashHandler( 2073): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2175)
10:30:52     INFO -  06-23 10:29:40.562 E/GeckoCrashHandler( 2073): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)
10:30:52     INFO -  06-23 10:29:40.562 E/GeckoCrashHandler( 2073): 	at android.app.ActivityThread.access$600(ActivityThread.java:141)
10:30:52     INFO -  06-23 10:29:40.562 E/GeckoCrashHandler( 2073): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
10:30:52     INFO -  06-23 10:29:40.562 E/GeckoCrashHandler( 2073): 	at android.os.Handler.dispatchMessage(Handler.java:99)
10:30:52     INFO -  06-23 10:29:40.562 E/GeckoCrashHandler( 2073): 	at android.os.Looper.loop(Looper.java:137)
10:30:52     INFO -  06-23 10:29:40.562 E/GeckoCrashHandler( 2073): 	at android.app.ActivityThread.main(ActivityThread.java:5103)
10:30:52     INFO -  06-23 10:29:40.562 E/GeckoCrashHandler( 2073): 	at java.lang.reflect.Method.invokeNative(Native Method)
10:30:52     INFO -  06-23 10:29:40.562 E/GeckoCrashHandler( 2073): 	at java.lang.reflect.Method.invoke(Method.java:525)
10:30:52     INFO -  06-23 10:29:40.562 E/GeckoCrashHandler( 2073): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
10:30:52     INFO -  06-23 10:29:40.562 E/GeckoCrashHandler( 2073): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
10:30:52     INFO -  06-23 10:29:40.562 E/GeckoCrashHandler( 2073): 	at dalvik.system.NativeStart.main(Native Method)




10:24:13     INFO -  TEST-START | testGeckoRequest
10:24:14     INFO -  INFO | automation.py | Application ran for: 0:00:25.364614
10:24:14     INFO -  INFO | zombiecheck | Reading PID log: /tmp/tmp6uQlMZpidlog
10:24:14     INFO -  Contents of /data/anr/traces.txt:
10:24:14     INFO -  /data/tombstones does not exist; tombstone check skipped
10:24:15  WARNING -  PROCESS-CRASH | java-exception | java.lang.NoClassDefFoundError: [generic] at dalvik.system.NativeStart.main(Native Method)

10:25:20     INFO -  06-23 10:24:06.832 E/GeckoCrashHandler( 1753): >>> REPORTING UNCAUGHT EXCEPTION FROM THREAD 1 ("main")
10:25:20     INFO -  06-23 10:24:06.832 E/GeckoCrashHandler( 1753): java.lang.NoClassDefFoundError: [generic]
10:25:20     INFO -  06-23 10:24:06.832 E/GeckoCrashHandler( 1753): 	at dalvik.system.NativeStart.main(Native Method)
10:25:20     INFO -  06-23 10:24:07.472 E/SQLiteLog( 1753): (1) no such table: bookmarks

I don't know what happened here.

:nalexander -- Any interest?
Flags: needinfo?(nalexander)
(In reply to Geoff Brown [:gbrown] from comment #2)
> Note that there are 2 separate failures in Comment 1.

I think these are the same failure.

I can't explain this.  org.mozilla.R$anim may be getting PGed out -- worth checking.  (I wish this was easier, see Bug 1080671.)

But the animation is ancient and not API specific.  I wonder if there's a mozglue loading race, triggered by recent changes to GeckoJarReader?  But that's spitballin'.
Flags: needinfo?(nalexander)

Comment 4

2 years ago
Bulk assigning P3 to all open intermittent bugs without a priority set in Firefox components per bug 1298978.
Priority: -- → P3
(Assignee)

Comment 5

2 years ago
One-off failure.
Assignee: nobody → gbrown
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.