Closed Bug 1542770 Opened 5 years ago Closed 5 years ago

Intermittent gfx/tests/crashtests/1541113.html | application crashed [@ libc.so + 0x1c3dc]

Categories

(Core :: Graphics, defect, P3)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1536696

People

(Reporter: intermittent-bug-filer, Assigned: kats)

References

Details

(Keywords: crash, intermittent-failure, regression)

Crash Data

#[markdown(off)]
Filed by: kgupta [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=238502281&repo=autoland

https://queue.taskcluster.net/v1/task/Q4Dh5QaTQ_a5jlmHXtAgnw/runs/0/artifacts/public/logs/live_backing.log

The android test-verify job for the landing of bug 1541113 (which added this test) shows a failure

Assignee: nobody → kats

Moving these bugs (intermittent test failures with crashes) out of P5.

Priority: P5 → --
Priority: -- → P3

I can reproduce this locally. It seems that the crashtest itself works fine, but then when we go to shut down gecko that hangs for some reason. The GeckoThread state changes to EXITING but then never completes the transition to EXITED like it does normally.

.. and I can reproduce the exact same problem using other crashtests. So I don't think this is a regression from my new crashtest. The addition of the crashtest just triggered the verify task which exposed the problem. Something else caused the actual regression that prevents the Gecko thread from shutting down.

Also the ANR traces.txt is not helpful, just shows the Gecko thread in some mutex, although the Java main thread seems to be in some vsync dispatch so that might be somewhat interesting. Doesn't touch gecko though.

"main" prio=5 tid=1 NATIVE
  | group="main" sCount=1 dsCount=0 obj=0x414c9578 self=0x2a00d090
  | sysTid=962 nice=0 sched=0/0 cgrp=apps handle=1073811452
  | state=S schedstat=( 28950660083 18126977098 53373 ) utm=2361 stm=534 core=0
  #00  pc 0001c5a4  /system/lib/libc.so (__futex_syscall3+8)
  #01  pc 0000e688  /system/lib/libc.so (__pthread_cond_timedwait_relative+48)
  #02  pc 0000e6e8  /system/lib/libc.so (__pthread_cond_timedwait+64)
  #03  pc 00052e97  /system/lib/libdvm.so
  #04  pc 00053461  /system/lib/libdvm.so (dvmChangeStatus(Thread*, ThreadStatus)+30)
  #05  pc 00048d29  /system/lib/libdvm.so
  #06  pc 00039afd  /system/lib/libdvm.so
  #07  pc 0004b7a9  /system/lib/libandroid_runtime.so (android::AndroidRuntime::getJNIEnv()+16)
  #08  pc 0005eed5  /system/lib/libandroid_runtime.so (android::NativeDisplayEventReceiver::dispatchVsync(long long, int, unsigned int)+20)
  #09  pc 0005f0b9  /system/lib/libandroid_runtime.so (android::NativeDisplayEventReceiver::handleEvent(int, int, void*)+80)
  #10  pc 00015129  /system/lib/libutils.so (android::Looper::pollInner(int)+468)
  #11  pc 000151d5  /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+92)
  #12  pc 00067b69  /system/lib/libandroid_runtime.so (android::NativeMessageQueue::pollOnce(_JNIEnv*, int)+22)
  #13  pc 0001dc4c  /system/lib/libdvm.so (dvmPlatformInvoke+112)
  #14  pc 0004dcab  /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+394)
  #15  pc 000385e1  /system/lib/libdvm.so (dvmCheckCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+8)
  #16  pc 00027060  /system/lib/libdvm.so
  #17  pc 0002b580  /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
  #18  pc 0005ff7b  /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+350)
  #19  pc 00067a9f  /system/lib/libdvm.so
  #20  pc 00027060  /system/lib/libdvm.so
  #21  pc 0002b580  /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
  #22  pc 0005fcbd  /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+292)
  #23  pc 000499ab  /system/lib/libdvm.so
  #24  pc 0003cb3d  /system/lib/libdvm.so
  #25  pc 0004b68f  /system/lib/libandroid_runtime.so
  #26  pc 0004c30f  /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+378)
  #27  pc 0000105b  /system/bin/app_process
  #28  pc 0000db4f  /system/lib/libc.so (__libc_init+50)
  #29  pc 00000d7c  /system/bin/app_process
  at android.os.MessageQueue.nativePollOnce(Native Method)
  at android.os.MessageQueue.next(MessageQueue.java:132)
  at android.os.Looper.loop(Looper.java:124)
  at android.app.ActivityThread.main(ActivityThread.java:5103)
  at java.lang.reflect.Method.invokeNative(Native Method)
  at java.lang.reflect.Method.invoke(Method.java:525)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
  at dalvik.system.NativeStart.main(Native Method)

"Gecko" prio=5 tid=12 NATIVE
  | group="main" sCount=1 dsCount=0 obj=0x41765650 self=0x2a1ef0f8
  | sysTid=979 nice=0 sched=0/0 cgrp=apps handle=706671944
  | state=S schedstat=( 26640075274 18394786386 6624 ) utm=2477 stm=187 core=0
  #00  pc 0001c5a4  /system/lib/libc.so (__futex_syscall3+8)
  #01  pc 0000e688  /system/lib/libc.so (__pthread_cond_timedwait_relative+48)
  #02  pc 0000e6e8  /system/lib/libc.so (__pthread_cond_timedwait+64)
  #03  pc 0004145d  /data/app-lib/org.mozilla.fennec_aurora-1/libmozglue.so (mozilla::detail::ConditionVariableImpl::wait(mozilla::detail::MutexImpl&)+4294750212)
  #04  pc 01942dc3  /data/app-lib/org.mozilla.fennec_aurora-1/libxul.so
  at org.mozilla.gecko.mozglue.GeckoLoader.nativeRun(Native Method)
  at org.mozilla.gecko.GeckoThread.run(GeckoThread.java:476)
Status: NEW → RESOLVED
Closed: 5 years ago
No longer depends on: 1543987
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.