reference-browser icon indicating copy to clipboard operation
reference-browser copied to clipboard

Intermittent UI test failure - org.mozilla.reference.browser.ui.ContextMenusTest - openLinkInPrivateTabTest,openLinkInNewTabTest - Native crash of org.mozilla.reference.browser.debug

Open Archaeopteryx opened this issue 3 years ago • 6 comments

Firebase Test Run:

https://console.firebase.google.com/project/moz-reference-browser-230023/testlab/histories/bh.b4e77beaed81bc1c/matrices/5061344401179384781/executions/bs.d2b8c45165dc809c/test-cases

Stacktrace:

Native crash of org.mozilla.reference.browser.debug

A native crash was detected.

       *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'generic/cf_x86_phone/vsoc_x86:10/QP1A.190711.018.A1/5788817:userdebug/test-keys'
Revision: '0'
ABI: 'x86'
Timestamp: 2022-02-10 07:00:08-0800
pid: 10874, tid: 11360, name: Gecko  >>> org.mozilla.reference.browser.debug <<<
uid: 10132
signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0xe5e5e6b5
    eax e5e5e5e5  ebx b26aede0  ecx a9023d2e  edx 00000000
    edi 00000000  esi 9566a420
    ebp b3bd1b28  esp b3bd1b10  eip ab534e5b

Build:

https://github.com/mozilla-mobile/reference-browser/commit/288bc8dded95c981d7b3a1d98780c231c4b8faed

Archaeopteryx avatar Feb 10 '22 16:02 Archaeopteryx

STR:

  1. Open a website
  2. Long click a link
  3. Open the link in a private tab from the context menu
  4. Open private tabs tray
  5. Verify if Private tabs tray is opened

02-10 07:00:08.463: I/Gecko(10874): --------- beginning of crash 02-10 07:00:08.463: A/libc(10874): Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0xe5e5e6b5 in tid 11360 (Gecko), pid 10874 (AndroidUI) 02-10 07:00:08.466: W/audio_hw_generic(1330): Hardware backing HAL too slow, could only write 0 of 661 frames 02-10 07:00:08.496: I/chatty(1330): uid=1041(audioserver) writer identical 2 lines 02-10 07:00:08.511: W/audio_hw_generic(1330): Hardware backing HAL too slow, could only write 0 of 661 frames 02-10 07:00:08.522: I/Finsky:background(11591): [2] kze.onDestroy(8): IPC-SERVER: Stopping gRPC host service... 02-10 07:00:08.526: W/audio_hw_generic(1330): Hardware backing HAL too slow, could only write 0 of 661 frames 02-10 07:00:08.586: I/chatty(1330): uid=1041(audioserver) writer identical 4 lines 02-10 07:00:08.601: W/audio_hw_generic(1330): Hardware backing HAL too slow, could only write 0 of 661 frames 02-10 07:00:08.609: E/memtrack(1539): Couldn't load memtrack module 02-10 07:00:08.609: W/android.os.Debug(1539): failed to get memory consumption info: -1 02-10 07:00:08.616: W/audio_hw_generic(1330): Hardware backing HAL too slow, could only write 0 of 661 frames 02-10 07:00:08.619: E/memtrack(1539): Couldn't load memtrack module 02-10 07:00:08.619: W/android.os.Debug(1539): failed to get memory consumption info: -1 02-10 07:00:08.631: W/audio_hw_generic(1330): Hardware backing HAL too slow, could only write 0 of 661 frames 02-10 07:00:08.641: E/ResolverController(1324): No valid NAT64 prefix (100, /0) 02-10 07:00:08.646: W/audio_hw_generic(1330): Hardware backing HAL too slow, could only write 0 of 661 frames 02-10 07:00:08.781: I/chatty(1330): uid=1041(audioserver) writer identical 9 lines 02-10 07:00:08.796: W/audio_hw_generic(1330): Hardware backing HAL too slow, could only write 0 of 661 frames 02-10 07:00:08.797: I/VSoCGrallocRegionRegistry(1345): Mapped gralloc-1345.103 hnd=0xf24155c0 fd=7 base=0xf1606000 format=RGBA_8888(0x1) width=1080 height=1920 02-10 07:00:08.797: I/VSoCGrallocRegionRegistry(1345): Unmapped gralloc-1345.103 hnd=0xf24155c0 fd=7 base=0xf1606000 02-10 07:00:08.797: I/VSoCGrallocRegionRegistry(1364): Mapped gralloc-1345.103 hnd=0xec116000 fd=38 base=0xe818e000 format=RGBA_8888(0x1) width=1080 height=1920 02-10 07:00:08.797: I/VSoCGrallocRegionRegistry(1364): Unmapped gralloc-1345.102 hnd=0xef021140 fd=54 base=0xe9b7e000 02-10 07:00:08.811: W/audio_hw_generic(1330): Hardware backing HAL too slow, could only write 0 of 661 frames 02-10 07:00:08.826: I/chatty(1330): uid=1041(audioserver) writer identical 1 line 02-10 07:00:08.841: W/audio_hw_generic(1330): Hardware backing HAL too slow, could only write 0 of 661 frames 02-10 07:00:08.849: I/hwservicemanager(1190): getTransport: Cannot find entry [email protected]::IMapper/default in either framework or device manifest. 02-10 07:00:08.849: W/Gralloc3(13454): mapper 3.x is not supported 02-10 07:00:08.856: W/audio_hw_generic(1330): Hardware backing HAL too slow, could only write 0 of 661 frames 02-10 07:00:08.871: W/audio_hw_generic(1330): Hardware backing HAL too slow, could only write 0 of 661 frames 02-10 07:00:08.885: I/VSoCGrallocRegionRegistry(13454): Mapped gralloc-1345.103 hnd=0xf32c5800 fd=10 base=0xeed7d000 format=RGBA_8888(0x1) width=1080 height=1920 02-10 07:00:08.886: W/audio_hw_generic(1330): Hardware backing HAL too slow, could only write 0 of 661 frames 02-10 07:00:08.901: I/chatty(1330): uid=1041(audioserver) writer identical 1 line 02-10 07:00:08.916: W/audio_hw_generic(1330): Hardware backing HAL too slow, could only write 0 of 661 frames 02-10 07:00:08.930: I/crash_dump32(13486): obtaining output fd from tombstoned, type: kDebuggerdTombstone 02-10 07:00:08.931: W/audio_hw_generic(1330): Hardware backing HAL too slow, could only write 0 of 661 frames 02-10 07:00:08.933: I//system/bin/tombstoned(1477): received crash request for pid 11360 02-10 07:00:08.934: I/crash_dump32(13486): performing dump of process 10874 (target tid = 11360) 02-10 07:00:08.946: W/audio_hw_generic(1330): Hardware backing HAL too slow, could only write 0 of 661 frames 02-10 07:00:08.988: A/DEBUG(13486): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 02-10 07:00:08.988: A/DEBUG(13486): Build fingerprint: 'generic/cf_x86_phone/vsoc_x86:10/QP1A.190711.018.A1/5788817:userdebug/test-keys' 02-10 07:00:08.988: A/DEBUG(13486): Revision: '0' 02-10 07:00:08.988: A/DEBUG(13486): ABI: 'x86' 02-10 07:00:08.989: A/DEBUG(13486): Timestamp: 2022-02-10 07:00:08-0800 02-10 07:00:08.989: A/DEBUG(13486): pid: 10874, tid: 11360, name: Gecko >>> org.mozilla.reference.browser.debug <<< 02-10 07:00:08.989: A/DEBUG(13486): uid: 10132 02-10 07:00:08.989: A/DEBUG(13486): signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0xe5e5e6b5 02-10 07:00:08.989: A/DEBUG(13486): eax e5e5e5e5 ebx b26aede0 ecx a9023d2e edx 00000000 02-10 07:00:08.989: A/DEBUG(13486): edi 00000000 esi 9566a420 02-10 07:00:08.989: A/DEBUG(13486): ebp b3bd1b28 esp b3bd1b10 eip ab534e5b 02-10 07:00:08.976: I/chatty(1330): uid=1041(audioserver) writer identical 2 lines 02-10 07:00:08.991: W/audio_hw_generic(1330): Hardware backing HAL too slow, could only write 0 of 661 frames 02-10 07:00:09.001: I/netd(1324): isAlive() -> {"true"} <0.00ms> 02-10 07:00:09.006: W/audio_hw_generic(1330): Hardware backing HAL too slow, could only write 0 of 661 frames 02-10 07:00:09.017: I/link_layer_controller(1332): Sending scan response 0

AndiAJ avatar Feb 11 '22 06:02 AndiAJ

openLinkInPrivateTabTest flaky 1x on 2/11 Master crash Firebase link

openLinkInNewTabTest failed 1x on 2/11 Master Firebase link Firebase link

02-11 06:56:50.300: W/audio_hw_generic(1328): --------- beginning of crash 02-11 06:56:50.302: A/libc(8576): Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0xe5e5e6b5 in tid 9068 (Gecko), pid 8576 (AndroidUI) 02-11 06:56:50.360: I/chatty(1328): uid=1041(audioserver) writer identical 4 lines 02-11 06:56:50.375: W/audio_hw_generic(1328): Hardware backing HAL too slow, could only write 0 of 661 frames 02-11 06:56:50.386: I/Finsky(7041): [511] okb.a(15): [Counters Flush] finished, scheduled=false 02-11 06:56:50.386: I/Finsky(7041): [511] abvs.n(4): SCH: jobFinished: 10-47. TimeElapsed: 5618ms. 02-11 06:56:50.387: I/Finsky(7041): [2] abuj.e(4): SCH: Job 10-47 finished. Not rescheduling. 02-11 06:56:50.387: I/Finsky(7041): [2] abuj.b(10): SCH: Running job: 10-61 02-11 06:56:50.390: W/audio_hw_generic(1328): Hardware backing HAL too slow, could only write 0 of 661 frames 02-11 06:56:50.391: I/Finsky(7041): [2] abui.handleMessage(59): SCH: RunningQueue size: 4, PendingQueue size: 11 02-11 06:56:50.391: I/Finsky(7041): [2] abuj.p(3): SCH: Running queue: 10-3 10-33 10-59 10-61 02-11 06:56:50.405: W/audio_hw_generic(1328): Hardware backing HAL too slow, could only write 0 of 661 frames 02-11 06:56:50.407: I/Finsky(7041): [511] jmd.a(15): [ContentSync] finished, scheduled=false 02-11 06:56:50.420: W/audio_hw_generic(1328): Hardware backing HAL too slow, could only write 0 of 661 frames 02-11 06:56:50.450: I/chatty(1328): uid=1041(audioserver) writer identical 2 lines 02-11 06:56:50.465: W/audio_hw_generic(1328): Hardware backing HAL too slow, could only write 0 of 661 frames 02-11 06:56:50.472: I/ExperimentPackageManage(2050): Package com.google.android.networkstack name not found! Using module version. 02-11 06:56:50.479: I/ExperimentPackageManage(2050): Package com.android.refreshratecontrol name not found! Using module version. 02-11 06:56:50.480: W/audio_hw_generic(1328): Hardware backing HAL too slow, could only write 0 of 661 frames 02-11 06:56:50.487: I/ExperimentPackageManage(2050): Package com.google.android.extservices name not found! Using module version. 02-11 06:56:50.489: I/ExperimentPackageManage(2050): Package com.google.oslo name not found! Using module version. 02-11 06:56:50.490: I/ExperimentPackageManage(2050): Package com.google.android.art name not found! Using module version. 02-11 06:56:50.492: I/ExperimentPackageManage(2050): Package com.google.android.art name not found! Using module version. 02-11 06:56:50.493: I/ExperimentPackageManage(2050): Package com.google.android.extservices name not found! Using module version. 02-11 06:56:50.494: I/ExperimentPackageManage(2050): Package com.google.android.wifi name not found! Using module version. 02-11 06:56:50.495: W/audio_hw_generic(1328): Hardware backing HAL too slow, could only write 0 of 661 frames 02-11 06:56:50.497: I/ExperimentPackageManage(2050): Package com.google.android.os.statsd name not found! Using module version. 02-11 06:56:50.497: I/ExperimentPackageManage(2050): Package com.android.media name not found! Using module version. 02-11 06:56:50.497: I/ExperimentPackageManage(2050): Package com.android.media.swcodec name not found! Using module version. 02-11 06:56:50.500: I/ExperimentPackageManage(2050): Package com.google.android.os.statsd name not found! Using module version. 02-11 06:56:50.500: I/ExperimentPackageManage(2050): Package com.android.appsearch name not found! Using module version. 02-11 06:56:50.502: I/ExperimentPackageManage(2050): Package com.android.neuralnetworks name not found! Using module version. 02-11 06:56:50.504: I/ExperimentPackageManage(2050): Package com.google.android.odad name not found! Using module version. 02-11 06:56:50.510: W/audio_hw_generic(1328): Hardware backing HAL too slow, could only write 0 of 661 frames 02-11 06:56:50.512: I/ExperimentPackageManage(2050): Package com.android.media name not found! Using module version. 02-11 06:56:50.512: I/ExperimentPackageManage(2050): Package com.google.android.tethering name not found! Using module version. 02-11 06:56:50.513: I/ExperimentPackageManage(2050): Package com.google.android.os.statsd name not found! Using module version. 02-11 06:56:50.525: W/audio_hw_generic(1328): Hardware backing HAL too slow, could only write 0 of 661 frames 02-11 06:56:50.527: I/ExperimentPackageManage(2050): Package com.google.android.os.statsd name not found! Using module version. 02-11 06:56:50.540: W/audio_hw_generic(1328): Hardware backing HAL too slow, could only write 0 of 661 frames 02-11 06:56:50.541: W/PhenotypeConfigurationU(2050): Update for unknown DeviceConfig package com.google.android.gms.auth.proximity [CONTEXT service_id=204 ] 02-11 06:56:50.541: W/PhenotypeConfigurationU(2050): ayxa: No package exists for config package: com.google.android.gms.auth.proximity 02-11 06:56:50.541: W/PhenotypeConfigurationU(2050): at com.google.android.gms.platformconfigurator.PhenotypeConfigurationUpdateListener.a(:com.google.android.gms@[email protected] (100700-420364950):7) 02-11 06:56:50.541: W/PhenotypeConfigurationU(2050): at com.google.android.gms.platformconfigurator.PhenotypeConfigurationUpdateListener.onHandleIntent(:com.google.android.gms@[email protected] (100700-420364950):5) 02-11 06:56:50.541: W/PhenotypeConfigurationU(2050): at com.google.android.chimera.IntentOperation.onHandleIntent(:com.google.android.gms@[email protected] (100700-420364950):2) 02-11 06:56:50.541: W/PhenotypeConfigurationU(2050): at vdx.onHandleIntent(:com.google.android.gms@[email protected] (100700-420364950):4) 02-11 06:56:50.541: W/PhenotypeConfigurationU(2050): at epr.run(:com.google.android.gms@[email protected] (100700-420364950):4) 02-11 06:56:50.541: W/PhenotypeConfigurationU(2050): at epq.run(:com.google.android.gms@[email protected] (100700-420364950):11) 02-11 06:56:50.541: W/PhenotypeConfigurationU(2050): at cbig.run(:com.google.android.gms@[email protected] (100700-420364950):2) 02-11 06:56:50.541: W/PhenotypeConfigurationU(2050): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) 02-11 06:56:50.541: W/PhenotypeConfigurationU(2050): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) 02-11 06:56:50.541: W/PhenotypeConfigurationU(2050): at java.lang.Thread.run(Thread.java:919) 02-11 06:56:50.555: W/audio_hw_generic(1328): Hardware backing HAL too slow, could only write 0 of 661 frames 02-11 06:56:50.570: I/chatty(1328): uid=1041(audioserver) writer identical 1 line 02-11 06:56:50.585: W/audio_hw_generic(1328): Hardware backing HAL too slow, could only write 0 of 661 frames 02-11 06:56:50.587: I/ProximityAuth(2050): [PhoneHubService] Handling intent for PhoneHubChimeraService. 02-11 06:56:50.594: I/ProximityAuth(2050): [FeatureLoader] auth_easyunlock module load status: 2, auth_magictether module load status: 2 02-11 06:56:50.600: W/audio_hw_generic(1328): Hardware backing HAL too slow, could only write 0 of 661 frames 02-11 06:56:50.646: W/audio_hw_generic(1328): Not supplying enough data to HAL, expected position 1426698 , only wrote 1290272 02-11 06:56:50.660: E/memtrack(1537): Couldn't load memtrack module 02-11 06:56:50.660: W/android.os.Debug(1537): failed to get memory consumption info: -1 02-11 06:56:50.696: I/Finsky(7041): [506] abvs.n(4): SCH: jobFinished: 10-59. TimeElapsed: 487ms. 02-11 06:56:50.697: I/Finsky(7041): [2] abuj.e(4): SCH: Job 10-59 finished. Not rescheduling. 02-11 06:56:50.697: I/Finsky(7041): [2] abuj.b(10): SCH: Running job: 10-62 02-11 06:56:50.698: I/Finsky(7041): [2] abui.handleMessage(59): SCH: RunningQueue size: 4, PendingQueue size: 10 02-11 06:56:50.699: I/Finsky(7041): [2] abuj.p(3): SCH: Running queue: 10-3 10-33 10-61 10-62 02-11 06:56:50.705: D/BoundBrokerSvc(5542): onBind: Intent { act=com.google.android.gms.common.BIND_SHARED_PREFS pkg=com.google.android.gms } 02-11 06:56:50.705: D/BoundBrokerSvc(5542): Loading bound service for intent: Intent { act=com.google.android.gms.common.BIND_SHARED_PREFS pkg=com.google.android.gms } 02-11 06:56:50.723: I/.gms.persisten(2050): Background young concurrent copying GC freed 151228(8556KB) AllocSpace objects, 22(936KB) LOS objects, 38% free, 13MB/22MB, paused 95us total 328.463ms 02-11 06:56:50.755: I/CryptauthV2(5542): [HaveKeyWithKeyNameOperation] Have key with key name operation is called. 02-11 06:56:50.762: D/BoundBrokerSvc(5542): onUnbind: Intent { act=com.google.android.gms.common.BIND_SHARED_PREFS pkg=com.google.android.gms } 02-11 06:56:50.787: I/ProximityAuth(2050): [PhoneHubService] No enabled account, stopping service 02-11 06:56:50.809: I/link_layer_controller(1330): Sending scan response 02-11 06:56:50.813: I/link_layer_controller(1330): Sending scan response 02-11 06:56:50.837: I/crash_dump32(11122): obtaining output fd from tombstoned, type: kDebuggerdTombstone 02-11 06:56:50.868: I//system/bin/tombstoned(1453): received crash request for pid 9068 02-11 06:56:50.922: I/crash_dump32(11122): performing dump of process 8576 (target tid = 9068) 02-11 06:56:50.961: I/ProximityAuth(2050): [PhoneHubService] Destroying PhoneHubChimeraService. 02-11 06:56:50.962: I/ProximityAuth(2050): [PhoneHubService] All devices have disconnected. Performing cleanup...

AndiAJ avatar Feb 14 '22 07:02 AndiAJ

Flaky 1x on 2/13 Master Firebase link

AndiAJ avatar Feb 14 '22 08:02 AndiAJ

openLinkInPrivateTabTest Flaky 1x on 2/15 Main Firebase link

openLinkInNewTabTest Flaky 1x on 2/15 Main Firebase link

AndiAJ avatar Feb 16 '22 13:02 AndiAJ

openLinkInPrivateTabTest Failed 1x on 2/17 Main Firebase link Firebase link

AndiAJ avatar Feb 17 '22 09:02 AndiAJ

This crash seems to originate from gecko view... Load about:buildconfig a blank page will appear, just click on the blank page randomly several times... the error causes the app to crash... and logcat reveals it is the same error

daves254 avatar Feb 22 '22 15:02 daves254