Closed Bug 1677330 Opened 4 years ago Closed 3 years ago

Intermittent extensions/permissions/test/unit/test_permmanager_removeall.js | application crashed [@ mozilla::storage::Service::Observe(nsISupports*, char const*, char16_t const*)] | After xpcshell return code: 1

Categories

(Core :: Permission Manager, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1621759

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: crash, intermittent-failure)

Crash Data

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


[task 2020-11-14T19:49:48.973Z] 19:49:48  WARNING -  TEST-UNEXPECTED-FAIL | extensions/permissions/test/unit/test_permmanager_removeall.js | xpcshell return code: 1
[task 2020-11-14T19:49:48.973Z] 19:49:48     INFO -  TEST-INFO took 1023ms
[task 2020-11-14T19:49:48.973Z] 19:49:48     INFO -  >>>>>>>
[task 2020-11-14T19:49:48.973Z] 19:49:48     INFO -  PID 4564 | Couldn't convert chrome URL: chrome://branding/locale/brand.properties
[task 2020-11-14T19:49:48.973Z] 19:49:48     INFO -  PID 4564 | [4564, Main Thread] WARNING: Failed to get directory to cache.: file /builds/worker/checkouts/gecko/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp:119
[task 2020-11-14T19:49:48.973Z] 19:49:48     INFO -  PID 4564 | [4564, Main Thread] WARNING: Failed to get directory to cache.: file /builds/worker/checkouts/gecko/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp:119
[task 2020-11-14T19:49:48.973Z] 19:49:48     INFO -  PID 4564 | [4564, Main Thread] WARNING: Failed to get directory to cache.: file /builds/worker/checkouts/gecko/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp:119
[task 2020-11-14T19:49:48.973Z] 19:49:48     INFO -  PID 4564 | [4564, Main Thread] WARNING: Failed to get directory to cache.: file /builds/worker/checkouts/gecko/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp:119
[task 2020-11-14T19:49:48.973Z] 19:49:48     INFO -  PID 4564 | [4564, Main Thread] WARNING: Failed to get directory to cache.: file /builds/worker/checkouts/gecko/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp:119
[task 2020-11-14T19:49:48.974Z] 19:49:48     INFO -  PID 4564 | [4564, Main Thread] WARNING: Couldn't get the user appdata directory. Crash events may not be produced.: file /builds/worker/checkouts/gecko/toolkit/crashreporter/nsExceptionHandler.cpp:2949
[task 2020-11-14T19:49:48.974Z] 19:49:48     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2020-11-14T19:49:48.974Z] 19:49:48     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2020-11-14T19:49:48.974Z] 19:49:48     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2020-11-14T19:49:48.974Z] 19:49:48     INFO -  running event loop
[task 2020-11-14T19:49:48.974Z] 19:49:48     INFO -  PID 4564 | [4564, Main Thread] WARNING: Could not get the program name for a cubeb stream.: 'NS_SUCCEEDED(rv)', file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:387
[task 2020-11-14T19:49:48.974Z] 19:49:48     INFO -  extensions/permissions/test/unit/test_permmanager_removeall.js | Starting test
[task 2020-11-14T19:49:48.974Z] 19:49:48     INFO -  (xpcshell/head.js) | test test pending (2)
[task 2020-11-14T19:49:48.974Z] 19:49:48     INFO -  TEST-PASS | extensions/permissions/test/unit/test_permmanager_removeall.js | test - [test : 12] true == true
[task 2020-11-14T19:49:48.974Z] 19:49:48     INFO -  TEST-PASS | extensions/permissions/test/unit/test_permmanager_removeall.js | test - [test : 17] true == true
[task 2020-11-14T19:49:48.974Z] 19:49:48     INFO -  TEST-PASS | extensions/permissions/test/unit/test_permmanager_removeall.js | test - [test : 23] true == true
[task 2020-11-14T19:49:48.974Z] 19:49:48     INFO -  PID 4564 | [4564, Permis
[task 2020-11-14T19:49:48.974Z] 19:49:48     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2020-11-14T19:49:48.974Z] 19:49:48     INFO -  PID 4564 | sion] WARNING: 'NS_FAILED(rv)', file /builds/worker/checkouts/gecko/extensions/permissions/PermissionManager.cpp:2103
[task 2020-11-14T19:49:48.975Z] 19:49:48     INFO -  (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2020-11-14T19:49:48.975Z] 19:49:48     INFO -  (xpcshell/head.js) | test test finished (2)
[task 2020-11-14T19:49:48.975Z] 19:49:48     INFO -  (xpcshell/head.js) | test run_next_test 1 finished (1)
[task 2020-11-14T19:49:48.975Z] 19:49:48     INFO -  exiting test
[task 2020-11-14T19:49:48.975Z] 19:49:48     INFO -  PID 4564 | Storage connection not closed: permissions.sqliteHit MOZ_CRASH() at /builds/worker/checkouts/gecko/storage/mozStorageService.cpp:711
[task 2020-11-14T19:49:48.994Z] 19:49:48     INFO -  Initializing stack-fixing for the first stack frame, this may take a while...
[task 2020-11-14T19:50:01.909Z] 19:50:01     INFO -  PID 4564 | #01: nsObserverList::NotifyObservers(nsISupports*, char const*, char16_t const*) [xpcom/ds/nsObserverList.cpp:69]
[task 2020-11-14T19:50:01.909Z] 19:50:01     INFO -  PID 4564 | #02: nsObserverService::NotifyObservers(nsISupports*, char const*, char16_t const*) [xpcom/ds/nsObserverService.cpp:290]
[task 2020-11-14T19:50:01.909Z] 19:50:01     INFO -  PID 4564 | #03: mozilla::ShutdownXPCOM(nsIServiceManager*) [xpcom/build/XPCOMInit.cpp:639]
[task 2020-11-14T19:50:01.909Z] 19:50:01     INFO -  PID 4564 | #04: XRE_XPCShellMain(int, char**, char**, XREShellData const*) [js/xpconnect/src/XPCShellImpl.cpp:1384]
[task 2020-11-14T19:50:01.909Z] 19:50:01     INFO -  PID 4564 | #05: mozilla::BootstrapImpl::XRE_XPCShellMain(int, char**, char**, XREShellData const*) [toolkit/xre/Bootstrap.cpp:54]
[task 2020-11-14T19:50:01.968Z] 19:50:01     INFO -  PID 4564 | #06: NS_internal_main(int, char**, char**) [js/xpconnect/shell/xpcshell.cpp:66]
[task 2020-11-14T19:50:01.968Z] 19:50:01     INFO -  PID 4564 | #07: wmain(int, wchar_t**) [toolkit/xre/nsWindowsWMain.cpp:131]
[task 2020-11-14T19:50:01.968Z] 19:50:01     INFO -  PID 4564 | #08: __scrt_common_main_seh() [/builds/worker/workspace/obj-build/js/xpconnect/shell/f:/dd/vctools/crt/vcstartup/src/startup/exe_common.inl:288]
[task 2020-11-14T19:50:01.975Z] 19:50:01     INFO -  PID 4564 | #09: BaseThreadInitThunk [C:\\windows\\system32\\kernel32.dll + 0x4ef3c]
[task 2020-11-14T19:50:01.990Z] 19:50:01     INFO -  PID 4564 | #10: RtlInitializeExceptionChain [C:\\windows\\SYSTEM32\\ntdll.dll + 0x63618]
[task 2020-11-14T19:50:01.990Z] 19:50:01     INFO -  PID 4564 | #11: RtlInitializeExceptionChain [C:\\windows\\SYSTEM32\\ntdll.dll + 0x635eb]
[task 2020-11-14T19:50:01.990Z] 19:50:01     INFO -  <<<<<<<
[task 2020-11-14T19:50:15.293Z] 19:50:15  WARNING -  PROCESS-CRASH | extensions/permissions/test/unit/test_permmanager_removeall.js | application crashed [@ mozilla::storage::Service::Observe(nsISupports*, char const*, char16_t const*)]
[task 2020-11-14T19:50:15.294Z] 19:50:15     INFO -  Mozilla crash reason: MOZ_CRASH()
[task 2020-11-14T19:50:15.295Z] 19:50:15     INFO -  Crash dump filename: c:\users\task_1605381581\appdata\local\temp\xpc-other-2eqan0\a2a789f7-34b7-439e-8b0e-c83d510501b5.dmp
[task 2020-11-14T19:50:15.295Z] 19:50:15     INFO -  Operating system: Windows NT
[task 2020-11-14T19:50:15.296Z] 19:50:15     INFO -                    6.1.7601 Service Pack 1
[task 2020-11-14T19:50:15.296Z] 19:50:15     INFO -  CPU: x86
[task 2020-11-14T19:50:15.296Z] 19:50:15     INFO -       GenuineIntel family 6 model 63 stepping 2
[task 2020-11-14T19:50:15.297Z] 19:50:15     INFO -       8 CPUs
[task 2020-11-14T19:50:15.297Z] 19:50:15     INFO -  GPU: UNKNOWN
[task 2020-11-14T19:50:15.298Z] 19:50:15     INFO -  Crash reason:  EXCEPTION_BREAKPOINT
[task 2020-11-14T19:50:15.298Z] 19:50:15     INFO -  Crash address: 0x55caa027
[task 2020-11-14T19:50:15.299Z] 19:50:15     INFO -  Process uptime: 1 seconds
[task 2020-11-14T19:50:15.299Z] 19:50:15     INFO -  Thread 0 (crashed)
[task 2020-11-14T19:50:15.300Z] 19:50:15     INFO -   0  xul.dll!mozilla::storage::Service::Observe(nsISupports*, char const*, char16_t const*) [mozStorageService.cpp:e05b71dfbc64d955df332c901672a7e2979c25cb : 711 + 0x0]
[task 2020-11-14T19:50:15.300Z] 19:50:15     INFO -      eip = 0x55caa027   esp = 0x0037f514   ebp = 0x0037f540   ebx = 0x0037f51c
[task 2020-11-14T19:50:15.300Z] 19:50:15     INFO -      esi = 0x0037f528   edi = 0x00000000   eax = 0x6bba75b4   ecx = 0x000002c7
[task 2020-11-14T19:50:15.301Z] 19:50:15     INFO -      edx = 0x00000049   efl = 0x00000206
[task 2020-11-14T19:50:15.302Z] 19:50:15     INFO -      Found by: given as instruction pointer in context
[task 2020-11-14T19:50:15.302Z] 19:50:15     INFO -   1  xul.dll!nsObserverList::NotifyObservers(nsISupports*, char const*, char16_t const*) [nsObserverList.cpp:e05b71dfbc64d955df332c901672a7e2979c25cb : 70 + 0x15]
[task 2020-11-14T19:50:15.302Z] 19:50:15     INFO -      eip = 0x54d69981   esp = 0x0037f548   ebp = 0x0037f56c   ebx = 0x008e79d4
[task 2020-11-14T19:50:15.303Z] 19:50:15     INFO -      esi = 0x00000004   edi = 0x00000000
[task 2020-11-14T19:50:15.303Z] 19:50:15     INFO -      Found by: call frame info
[task 2020-11-14T19:50:15.304Z] 19:50:15     INFO -   2  xul.dll!nsObserverService::NotifyObservers(nsISupports*, char const*, char16_t const*) [nsObserverService.cpp:e05b71dfbc64d955df332c901672a7e2979c25cb : 287 + 0xe]
[task 2020-11-14T19:50:15.304Z] 19:50:15     INFO -      eip = 0x54d7369f   esp = 0x0037f574   ebp = 0x0037f6b0   ebx = 0x5c95f5d2
[task 2020-11-14T19:50:15.305Z] 19:50:15     INFO -      esi = 0x0037f5a8   edi = 0x00801864
[task 2020-11-14T19:50:15.305Z] 19:50:15     INFO -      Found by: call frame info
[task 2020-11-14T19:50:15.305Z] 19:50:15     INFO -   3  xul.dll!mozilla::ShutdownXPCOM(nsIServiceManager*) [XPCOMInit.cpp:e05b71dfbc64d955df332c901672a7e2979c25cb : 635 + 0xf]
[task 2020-11-14T19:50:15.306Z] 19:50:15     INFO -      eip = 0x54e55821   esp = 0x0037f6b8   ebp = 0x0037f754   ebx = 0x0087b534
[task 2020-11-14T19:50:15.306Z] 19:50:15     INFO -      esi = 0x0087b534   edi = 0x00000000
[task 2020-11-14T19:50:15.307Z] 19:50:15     INFO -      Found by: call frame info
[task 2020-11-14T19:50:15.307Z] 19:50:15     INFO -   4  xul.dll!XRE_XPCShellMain(int, char**, char**, XREShellData const*) [XPCShellImpl.cpp:e05b71dfbc64d955df332c901672a7e2979c25cb : 1384 + 0x7]
[task 2020-11-14T19:50:15.307Z] 19:50:15     INFO -      eip = 0x55c3cad6   esp = 0x0037f75c   ebp = 0x0037fa34   ebx = 0x00811040
[task 2020-11-14T19:50:15.308Z] 19:50:15     INFO -      esi = 0x0037f760   edi = 0x00000001
[task 2020-11-14T19:50:15.308Z] 19:50:15     INFO -      Found by: call frame info
[task 2020-11-14T19:50:15.309Z] 19:50:15     INFO -   5  xul.dll!mozilla::BootstrapImpl::XRE_XPCShellMain(int, char**, char**, XREShellData const*) [Bootstrap.cpp:e05b71dfbc64d955df332c901672a7e2979c25cb : 54 + 0x11]
[task 2020-11-14T19:50:15.309Z] 19:50:15     INFO -      eip = 0x5a292394   esp = 0x0037fa3c   ebp = 0x0037fa4c   ebx = 0x004baa20
[task 2020-11-14T19:50:15.309Z] 19:50:15     INFO -      esi = 0x008060d0   edi = 0x5a292380
[task 2020-11-14T19:50:15.310Z] 19:50:15     INFO -      Found by: call frame info
[task 2020-11-14T19:50:15.310Z] 19:50:15     INFO -   6  xpcshell.exe!NS_internal_main(int, char**, char**) [xpcshell.cpp:e05b71dfbc64d955df332c901672a7e2979c25cb : 66 + 0x1f]
[task 2020-11-14T19:50:15.311Z] 19:50:15     INFO -      eip = 0x01281256   esp = 0x0037fa54   ebp = 0x0037fa7c
[task 2020-11-14T19:50:15.311Z] 19:50:15     INFO -      Found by: call frame info
[task 2020-11-14T19:50:15.311Z] 19:50:15     INFO -   7  xpcshell.exe!wmain(int, wchar_t**) [nsWindowsWMain.cpp:e05b71dfbc64d955df332c901672a7e2979c25cb : 131 + 0xf]
[task 2020-11-14T19:50:15.312Z] 19:50:15     INFO -      eip = 0x01281187   esp = 0x0037fa84   ebp = 0x0037faa8   ebx = 0x00803d00
[task 2020-11-14T19:50:15.312Z] 19:50:15     INFO -      esi = 0x0000001c   edi = 0x00803880
[task 2020-11-14T19:50:15.313Z] 19:50:15     INFO -      Found by: call frame info
[task 2020-11-14T19:50:15.313Z] 19:50:15     INFO -   8  xpcshell.exe!__scrt_common_main_seh() [exe_common.inl : 288 + 0x1c]
[task 2020-11-14T19:50:15.314Z] 19:50:15     INFO -      eip = 0x012ef4c9   esp = 0x0037fab0   ebp = 0x0037faf0   ebx = 0x7ffd9000
[task 2020-11-14T19:50:15.314Z] 19:50:15     INFO -      esi = 0x6b4ef0b0   edi = 0x004b5de0
[task 2020-11-14T19:50:15.314Z] 19:50:15     INFO -      Found by: call frame info
[task 2020-11-14T19:50:15.315Z] 19:50:15     INFO -   9  kernel32.dll!BaseThreadInitThunk + 0x12
[task 2020-11-14T19:50:15.316Z] 19:50:15     INFO -      eip = 0x75fcef3c   esp = 0x0037faf8   ebp = 0x0037fafc
[task 2020-11-14T19:50:15.316Z] 19:50:15     INFO -      Found by: call frame info
[task 2020-11-14T19:50:15.316Z] 19:50:15     INFO -  10  ntdll.dll!BaseCheckVDMp + 0x8ff
[task 2020-11-14T19:50:15.317Z] 19:50:15     INFO -      eip = 0x77893618   esp = 0x0037fb04   ebp = 0x0037fb3c
[task 2020-11-14T19:50:15.317Z] 19:50:15     INFO -      Found by: call frame info
[task 2020-11-14T19:50:15.318Z] 19:50:15     INFO -  11  ntdll.dll!BaseCheckVDMp + 0x8d2
[task 2020-11-14T19:50:15.318Z] 19:50:15     INFO -      eip = 0x778935eb   esp = 0x0037fb44   ebp = 0x0037fb54
[task 2020-11-14T19:50:15.318Z] 19:50:15     INFO -      Found by: call frame info```

Although the storage service is the one asserting here, the problem is that the permissions service didn't close its database connection.

Component: Storage → Permission Manager
Product: Toolkit → Core
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.