Closed Bug 1687741 Opened 3 years ago Closed 3 years ago

Permanent browsertime failure line pid: None | application crashed [@ mozilla::jni::detail::Accessor<mozilla::widget::NPZCSupport>::Accessor(RefPtr<mozilla::jni::detail::NativeWeakPtrControlBlock<mozilla::widget::NPZCSupport> > const&)] NO CLASSIFICATION

Categories

(GeckoView :: General, defect)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: crash, intermittent-failure)

Crash Data

Filed by: archaeopteryx [at] coole-files.de
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=327260357&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/PJzXzCflQJiU7RpGCnx3pw/runs/0/artifacts/public/logs/live_backing.log


[task 2021-01-20T16:26:24.827Z] 16:26:24    ERROR -  PROCESS-CRASH | pid: None | application crashed [@ mozilla::jni::detail::Accessor<mozilla::widget::NPZCSupport>::Accessor(RefPtr<mozilla::jni::detail::NativeWeakPtrControlBlock<mozilla::widget::NPZCSupport> > const&)]
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -  Crash dump filename: /tmp/tmp1RHnkv/0a09455e-4b2f-05c6-bfbc-15425795254a.dmp
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -  Operating system: Android
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -                    0.0.0 Linux 3.18.31-perf-g708ac5e #1 SMP PREEMPT Fri Jan 13 08:46:35 CST 2017 armv7l
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -  CPU: arm
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -       ARMv7 ARM part(0x4100d030) features: half,thumb,fastmult,vfpv2,edsp,neon,vfpv3,tls,vfpv4,idiva,idivt
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -       8 CPUs
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -  GPU: UNKNOWN
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -  Crash reason:  SIGSEGV /SEGV_MAPERR
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -  Crash address: 0x0
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -  Process uptime: not available
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -  Thread 0 (crashed)
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -   0  libxul.so!mozilla::jni::detail::Accessor<mozilla::widget::NPZCSupport>::Accessor(RefPtr<mozilla::jni::detail::NativeWeakPtrControlBlock<mozilla::widget::NPZCSupport> > const&) [Natives.h:2b8fb933fba8a1b8239a22b879ff429e0234ff2e : 736 + 0x6]
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -       r0 = 0xbea3ec20    r1 = 0x00000000    r2 = 0x00430000    r3 = 0xa8f310b4
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -       r4 = 0xbea3ec20    r5 = 0xa8f99230    r6 = 0x000041f7    r7 = 0xbea3ec18
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -       r8 = 0xa9ad4008    r9 = 0xa8f84400   r10 = 0xa8f8448c   r12 = 0x8c633e31
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -       fp = 0xbea3ecbc    sp = 0xbea3ec10    lr = 0x8b377257    pc = 0x8c633e36
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -      Found by: given as instruction pointer in context
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -   1  libxul.so!void mozilla::jni::NativeStub<mozilla::java::GeckoSession::Compositor::SyncPauseCompositor_t, mozilla::widget::LayerViewSupport, mozilla::jni::Args<> >::Wrap<&mozilla::widget::LayerViewSupport()::SyncPauseCompositor>(_JNIEnv*, _jobject*) [Natives.h:2b8fb933fba8a1b8239a22b879ff429e0234ff2e : 1433 + 0x3]
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -       r4 = 0xbea3ec4c    r5 = 0xa8f99230    r6 = 0x000041f7    r7 = 0xbea3ec38
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -       r8 = 0xa9ad4008    r9 = 0xa8f84400   r10 = 0xa8f8448c    fp = 0xbea3ecbc
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -       sp = 0xbea3ec20    pc = 0x8b377257
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -      Found by: call frame info
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -   2  base.odex + 0x80230f
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -       r4 = 0xa7ccf52c    r5 = 0xbea3ef70    r6 = 0xbea3ed30    r7 = 0xbea3ecf0
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -       r8 = 0xbea3ef70    r9 = 0xa8f84400   r10 = 0xa8f8448c    fp = 0xbea3ecbc
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -       sp = 0xbea3ec40    pc = 0x90665311
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -      Found by: call frame info
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -   3  dalvik-LinearAlloc (deleted) + 0x4352a
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -       sp = 0xbea3ec44    pc = 0xa7ccf52c
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -      Found by: stack scanning
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -   4  dalvik-main space (deleted) + 0x1fb42e
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -       sp = 0xbea3ec50    pc = 0x12dfb430
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -      Found by: stack scanning
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -   5  dalvik-main space (deleted) + 0x1fb42e
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -       sp = 0xbea3ecb8    pc = 0x12dfb430
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -      Found by: stack scanning
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -   6  base.odex + 0x559ce1
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -       sp = 0xbea3ecc0    pc = 0x903bcce3
[task 2021-01-20T16:26:24.827Z] 16:26:24     INFO -      Found by: stack scanning```

This affects 40-50 browsertime performance tasks (and shows up even for successful tasks). Is this risk for users, and can we get rid of it in CI?

Flags: needinfo?(aklotz)
Summary: Intermittent pid: None | application crashed [@ mozilla::jni::detail::Accessor<mozilla::widget::NPZCSupport>::Accessor(RefPtr<mozilla::jni::detail::NativeWeakPtrControlBlock<mozilla::widget::NPZCSupport> > const&)] → Permanent browsertime failure line pid: None | application crashed [@ mozilla::jni::detail::Accessor<mozilla::widget::NPZCSupport>::Accessor(RefPtr<mozilla::jni::detail::NativeWeakPtrControlBlock<mozilla::widget::NPZCSupport> > const&)] NO CLASSIFICATION

It's not a security risk, given that it's a null pointer. But something worth investigating and fixing, of course.

I think we probably need to look at the original dump to figure this one out, unfortunately. The call stacks give a hint but I don't think there's enough there to give us a smoking gun.

Flags: needinfo?(aklotz)

Moving all open Core::Widget: Android bugs to GeckoView::General (then the triage owner of GeckoView will decide which ones are valuable and which ones should be closed).

Component: Widget: Android → General
Product: Core → GeckoView

This should be fixed now.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.