Open Bug 1898478 Opened 1 month ago Updated 14 days ago

Intermittent MOZ_ASSERT(PermissionAvailable(prin, aType)) [@ mozilla::PermissionManager::CommonTestPermissionInternal] | single tracking bug

Categories

(Core :: Permission Manager, defect, P3)

defect

Tracking

()

People

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

References

Details

(Keywords: crash, intermittent-failure, intermittent-testcase)

Crash Data

Filed by: tszentpeteri [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=459328542&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Ftnh1NFbQr-QF-M_H73JMA/runs/0/artifacts/public/logs/live_backing.log


[task 2024-05-23T10:41:30.883Z] 10:41:30     INFO - TEST-START | /notifications/permissions-non-secure.html
[task 2024-05-23T10:41:30.885Z] 10:41:30     INFO - Setting pref marionette.setpermission.enabled to true
[task 2024-05-23T10:41:30.931Z] 10:41:30     INFO - Setting pref dom.webnotifications.requireinteraction.enabled to true
[task 2024-05-23T10:41:30.967Z] 10:41:30     INFO - Setting pref dom.webnotifications.vibrate.enabled to true
[task 2024-05-23T10:41:31.003Z] 10:41:31     INFO - Setting pref dom.webnotifications.silent.enabled to true
[task 2024-05-23T10:41:31.057Z] 10:41:31     INFO - Setting pref marionette.setpermission.enabled to true
[task 2024-05-23T10:41:31.103Z] 10:41:31     INFO - Closing window fa6a51b3-e4c2-4d2a-808b-b33722531255
[task 2024-05-23T10:41:31.738Z] 10:41:31     INFO - NoSuchWindowException on command, setting status to CRASH
[task 2024-05-23T10:41:31.968Z] 10:41:31     INFO - mozcrash Copy/paste: /builds/worker/fetches/minidump-stackwalk/minidump-stackwalk --symbols-url=https://symbols.mozilla.org/ --cyborg=/tmp/tmpqjpce5wx/3b6e9148-46b4-d9b8-af24-7f4b57f87320.trace /tmp/tmp_9ej1d8w/3b6e9148-46b4-d9b8-af24-7f4b57f87320.dmp /builds/worker/workspace/build/symbols
[task 2024-05-23T10:41:36.751Z] 10:41:36     INFO - mozcrash Saved minidump as /builds/worker/workspace/build/blobber_upload_dir/3b6e9148-46b4-d9b8-af24-7f4b57f87320.dmp
[task 2024-05-23T10:41:36.751Z] 10:41:36     INFO - mozcrash Saved app info as /builds/worker/workspace/build/blobber_upload_dir/3b6e9148-46b4-d9b8-af24-7f4b57f87320.extra
[task 2024-05-23T10:41:36.844Z] 10:41:36     INFO - PROCESS-CRASH | MOZ_ASSERT(PermissionAvailable(prin, aType)) [@ mozilla::PermissionManager::CommonTestPermissionInternal] | /notifications/permissions-non-secure.html 
[task 2024-05-23T10:41:36.844Z] 10:41:36     INFO - Process type: content
[task 2024-05-23T10:41:36.844Z] 10:41:36     INFO - Process pid: 21790
[task 2024-05-23T10:41:36.844Z] 10:41:36     INFO - Mozilla crash reason: MOZ_ASSERT(PermissionAvailable(prin, aType))
[task 2024-05-23T10:41:36.844Z] 10:41:36     INFO - Crash dump filename: /tmp/tmp_9ej1d8w/3b6e9148-46b4-d9b8-af24-7f4b57f87320.dmp
[task 2024-05-23T10:41:36.845Z] 10:41:36     INFO - Operating system: Android
[task 2024-05-23T10:41:36.845Z] 10:41:36     INFO -                   0.0.0 Linux 3.10.0+ #260 SMP PREEMPT Fri May 19 12:48:14 PDT 2017 x86_64
[task 2024-05-23T10:41:36.845Z] 10:41:36     INFO - CPU: amd64
[task 2024-05-23T10:41:36.845Z] 10:41:36     INFO -      family 6 model 6 stepping 3
[task 2024-05-23T10:41:36.845Z] 10:41:36     INFO -      4 CPUs
[task 2024-05-23T10:41:36.845Z] 10:41:36     INFO - 
[task 2024-05-23T10:41:36.845Z] 10:41:36     INFO - Crash reason:  SIGSEGV / SEGV_MAPERR
[task 2024-05-23T10:41:36.845Z] 10:41:36     INFO - Crash address: 0x0000000000000000
[task 2024-05-23T10:41:36.845Z] 10:41:36     INFO - Crashing instruction: `mov dword [0x0], 0x983`
[task 2024-05-23T10:41:36.845Z] 10:41:36     INFO - Memory accessed by instruction:
[task 2024-05-23T10:41:36.845Z] 10:41:36     INFO -   0. Address: 0x0000000000000000
[task 2024-05-23T10:41:36.845Z] 10:41:36     INFO -      Size: 4
[task 2024-05-23T10:41:36.845Z] 10:41:36     INFO - Crashing address may be the result of a flipped bit:
[task 2024-05-23T10:41:36.845Z] 10:41:36     INFO -   0. Valid address: 0x0000000020000000 (0.250)
[task 2024-05-23T10:41:36.847Z] 10:41:36     INFO -   1. Valid address: 0x0000000040000000 (0.250)
[task 2024-05-23T10:41:36.847Z] 10:41:36     INFO - Process uptime: not available
[task 2024-05-23T10:41:36.847Z] 10:41:36     INFO - 
[task 2024-05-23T10:41:36.847Z] 10:41:36     INFO - Thread 11 Web Content (crashed)
[task 2024-05-23T10:41:36.847Z] 10:41:36     INFO -  0  libxul.so!mozilla::PermissionManager::CommonTestPermissionInternal(nsIPrincipal*, nsIURI*, mozilla::OriginAttributes const*, int, nsTSubstring<char> const&, unsigned int*, bool, bool) [PermissionManager.cpp:cc708138e8db12d2a1082017e92d7ee7651b074e : 2435 + 0x0]
[task 2024-05-23T10:41:36.847Z] 10:41:36     INFO -      rax = 0x000072e8310920f8    rdx = 0x0000000000000001
[task 2024-05-23T10:41:36.847Z] 10:41:36     INFO -      rcx = 0x000072e8574f78a0    rbx = 0x0000000000000000
[task 2024-05-23T10:41:36.847Z] 10:41:36     INFO -      rsi = 0x000072e8405cf283    rdi = 0x000072e8574f94f4
[task 2024-05-23T10:41:36.847Z] 10:41:36     INFO -      rbp = 0x000072e83f3f8fb0    rsp = 0x000072e83f3f8f10
[task 2024-05-23T10:41:36.847Z] 10:41:36     INFO -       r8 = 0x000000000000551e     r9 = 0x000072e83f3fb450
[task 2024-05-23T10:41:36.847Z] 10:41:36     INFO -      r10 = 0x0000000000000000    r11 = 0x0000000000000246
[task 2024-05-23T10:41:36.847Z] 10:41:36     INFO -      r12 = 0x0000000000000000    r13 = 0x000072e826507f20
[task 2024-05-23T10:41:36.847Z] 10:41:36     INFO -      r14 = 0x0000000000000000    r15 = 0x000072e851144e00
[task 2024-05-23T10:41:36.847Z] 10:41:36     INFO -      rip = 0x000072e8352e309e
[task 2024-05-23T10:41:36.847Z] 10:41:36     INFO -     Found by: given as instruction pointer in context
[task 2024-05-23T10:41:36.847Z] 10:41:36     INFO -  1  libxul.so!mozilla::PermissionManager::CommonTestPermission(nsIPrincipal*, int, nsTSubstring<char> const&, unsigned int*, unsigned int, bool, bool, bool) [PermissionManager.cpp:cc708138e8db12d2a1082017e92d7ee7651b074e : 3900]
[task 2024-05-23T10:41:36.847Z] 10:41:36     INFO -     Found by: inlining
[task 2024-05-23T10:41:36.847Z] 10:41:36     INFO -  2  libxul.so!mozilla::PermissionManager::TestPermissionFromPrincipal(nsIPrincipal*, nsTSubstring<char> const&, unsigned int*) [PermissionManager.cpp:cc708138e8db12d2a1082017e92d7ee7651b074e : 2353 + 0x2c]
[task 2024-05-23T10:41:36.847Z] 10:41:36     INFO -      rbx = 0x000072e83f3f902c    rbp = 0x000072e83f3f9010
[task 2024-05-23T10:41:36.847Z] 10:41:36     INFO -      rsp = 0x000072e83f3f8fc0    r12 = 0x000072e851144e00
[task 2024-05-23T10:41:36.847Z] 10:41:36     INFO -      r13 = 0x0000000000000008    r14 = 0x000072e83f3f9030
[task 2024-05-23T10:41:36.847Z] 10:41:36     INFO -      r15 = 0x000072e826507f20    rip = 0x000072e8352e1ce7
[task 2024-05-23T10:41:36.847Z] 10:41:36     INFO -     Found by: call frame info
[task 2024-05-23T10:41:36.847Z] 10:41:36     INFO -  3  libxul.so!mozilla::PermissionDelegateHandler::PopulateAllDelegatedPermissions() [PermissionDelegateHandler.cpp:cc708138e8db12d2a1082017e92d7ee7651b074e : 295 + 0xe]
[task 2024-05-23T10:41:36.847Z] 10:41:36     INFO -      rbx = 0x0000000000000030    rbp = 0x000072e83f3f91a0
[task 2024-05-23T10:41:36.847Z] 10:41:36     INFO -      rsp = 0x000072e83f3f9020    r12 = 0x000072e83f3f902c
[task 2024-05-23T10:41:36.847Z] 10:41:36     INFO -      r13 = 0x0000000000000008    r14 = 0x000072e8287a2610
[task 2024-05-23T10:41:36.847Z] 10:41:36     INFO -      r15 = 0x000072e83f3f9030    rip = 0x000072e8352d1bab
[task 2024-05-23T10:41:36.847Z] 10:41:36     INFO -     Found by: call frame info
<...>
[task 2024-05-23T10:41:36.855Z] 10:41:36     INFO - 101  libart.so + 0x4f897f
[task 2024-05-23T10:41:36.855Z] 10:41:36     INFO -      rsp = 0x000072e83f3fb428    rip = 0x000072e858a04980
[task 2024-05-23T10:41:36.855Z] 10:41:36     INFO -     Found by: stack scanning
[task 2024-05-23T10:41:36.855Z] 10:41:36     INFO - 102  libc.so + 0x299eb
[task 2024-05-23T10:41:36.855Z] 10:41:36     INFO -      rsp = 0x000072e83f3fb440    rip = 0x000072e85c9c49ec
[task 2024-05-23T10:41:36.855Z] 10:41:36     INFO -     Found by: stack scanning
[task 2024-05-23T10:41:36.855Z] 10:41:36     INFO - 103  libc.so + 0x896bf
[task 2024-05-23T10:41:36.855Z] 10:41:36     INFO -      rsp = 0x000072e83f3fb448    rip = 0x000072e85ca246c0
[task 2024-05-23T10:41:36.855Z] 10:41:36     INFO -     Found by: stack scanning
[task 2024-05-23T10:41:36.855Z] 10:41:36     INFO - 104  libc.so + 0x1ca65
[task 2024-05-23T10:41:36.855Z] 10:41:36     INFO -      rsp = 0x000072e83f3fb450    rip = 0x000072e85c9b7a66
[task 2024-05-23T10:41:36.855Z] 10:41:36     INFO -     Found by: stack scanning
[task 2024-05-23T10:41:36.855Z] 10:41:36     INFO - 105  libart.so + 0x4f897f
[task 2024-05-23T10:41:36.855Z] 10:41:36     INFO -      rsp = 0x000072e83f3fb4b8    rip = 0x000072e858a04980
[task 2024-05-23T10:41:36.855Z] 10:41:36     INFO -     Found by: stack scanning
[task 2024-05-23T10:41:36.855Z] 10:41:36     INFO - 
[task 2024-05-23T10:41:36.855Z] 10:41:36     INFO - Thread 0 st_runner:tab33

Assuming that the assertion is never expected to happen as I read the test, moving to PermissionManager for further triage.

Component: DOM: Notifications → Permission Manager
Flags: needinfo?(amadan)
Assignee: nobody → amadan
Flags: needinfo?(amadan)
Priority: -- → P3
Severity: -- → S3
You need to log in before you can comment on or make changes to this bug.