Bug: Intermittent browser/components/places/tests/unit/test_browserGlue_bookmarkshtml.js | application crashed [@ {virtual override thunk({offset(-8)}, mozilla::storage::Service::Observe(nsISupports*, char const*, char16_t const*))} + 0xd]
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-10-29 10:46:57+00:00
Resolved: 2022-01-11 17:11:32+00:00

**Filed by:** ctuns [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=356436541&repo=mozilla-central
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Jb2GpyRsSSu7WG-D5hpQ2w/runs/0/artifacts/public/logs/live_backing.log

---
```
[task 2021-10-29T10:22:15.166Z] 10:22:15     INFO -  TEST-PASS | browser/components/places/tests/unit/test_browserGlue_bookmarkshtml.js |  - true == true
[task 2021-10-29T10:22:15.167Z] 10:22:15     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "Failed to import bookmarks from chrome://browser/locale/bookmarks.html: Error: Connection closed before committing the transaction." {file: "resource://gre/modules/BookmarkHTMLUtils.jsm" line: 170}]
[task 2021-10-29T10:22:15.167Z] 10:22:15     INFO -  importFromURL@resource://gre/modules/BookmarkHTMLUtils.jsm:170:10
[task 2021-10-29T10:22:15.167Z] 10:22:15     INFO -  observe@resource://gre/modules/AsyncShutdown.jsm:575:16
[task 2021-10-29T10:22:15.168Z] 10:22:15     INFO -  _execute_test@/builds/worker/workspace/build/tests/xpcshell/head.js:710:23
[task 2021-10-29T10:22:15.168Z] 10:22:15     INFO -  @-e:1:1
[task 2021-10-29T10:22:15.168Z] 10:22:15     INFO -  "
[task 2021-10-29T10:22:15.169Z] 10:22:15     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "Bookmarks.html file could be corrupt. Error: Connection closed before committing the transaction." {file: "resource:///modules/BrowserGlue.jsm" line: 3157}]
[task 2021-10-29T10:22:15.169Z] 10:22:15     INFO -  BG__initPlaces/<@resource:///modules/BrowserGlue.jsm:3157:16
[task 2021-10-29T10:22:15.169Z] 10:22:15     INFO -  observe@resource://gre/modules/AsyncShutdown.jsm:575:16
[task 2021-10-29T10:22:15.170Z] 10:22:15     INFO -  _execute_test@/builds/worker/workspace/build/tests/xpcshell/head.js:710:23
[task 2021-10-29T10:22:15.170Z] 10:22:15     INFO -  @-e:1:1
[task 2021-10-29T10:22:15.170Z] 10:22:15     INFO -  "
[task 2021-10-29T10:22:15.171Z] 10:22:15     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "Unable to parse distribution.ini" {file: "resource:///modules/distribution.js" line: 98}]
[task 2021-10-29T10:22:15.172Z] 10:22:15     INFO -  get _ini@resource:///modules/distribution.js:98:12
[task 2021-10-29T10:22:15.172Z] 10:22:15     INFO -  _doApplyBookmarks@resource:///modules/distribution.js:287:9
[task 2021-10-29T10:22:15.173Z] 10:22:15     INFO -  applyBookmarks@resource:///modules/distribution.js:281:16
[task 2021-10-29T10:22:15.173Z] 10:22:15     INFO -  BG__initPlaces/<@resource:///modules/BrowserGlue.jsm:3162:48
[task 2021-10-29T10:22:15.174Z] 10:22:15     INFO -  observe@resource://gre/modules/AsyncShutdown.jsm:575:16
[task 2021-10-29T10:22:15.174Z] 10:22:15     INFO -  _execute_test@/builds/worker/workspace/build/tests/xpcshell/head.js:710:23
[task 2021-10-29T10:22:15.175Z] 10:22:15     INFO -  @-e:1:1
[task 2021-10-29T10:22:15.175Z] 10:22:15     INFO -  "
[task 2021-10-29T10:22:15.176Z] 10:22:15     INFO -  PID 3388 | ###!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2021-10-29T10:22:15.177Z] 10:22:15     INFO -  PID 3388 | [Socket 3406, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4439
[task 2021-10-29T10:22:15.177Z] 10:22:15     INFO -  PID 3388 | Storage connection not closed: places.sqliteHit MOZ_CRASH() at /builds/worker/checkouts/gecko/storage/mozStorageService.cpp:730
[task 2021-10-29T10:22:15.178Z] 10:22:15     INFO -  PID 3388 | #01: mozilla::storage::Service::Observe(nsISupports*, char const*, char16_t const*) [storage/mozStorageService.cpp:730]
[task 2021-10-29T10:22:15.178Z] 10:22:15     INFO -  PID 3388 | #02: {virtual override thunk({offset(-8)}, mozilla::storage::Service::Observe(nsISupports*, char const*, char16_t const*))} [/builds/worker/workspace/build/application/firefox/libxul.so + 0x508446d]
[task 2021-10-29T10:22:15.179Z] 10:22:15     INFO -  PID 3388 | #03: nsObserverList::NotifyObservers(nsISupports*, char const*, char16_t const*) [xpcom/ds/nsObserverList.cpp:69]
[task 2021-10-29T10:22:15.179Z] 10:22:15     INFO -  PID 3388 | #04: nsObserverService::NotifyObservers(nsISupports*, char const*, char16_t const*) [xpcom/ds/nsObserverService.cpp:295]
[task 2021-10-29T10:22:15.180Z] 10:22:15     INFO -  PID 3388 | #05: mozilla::AdvanceShutdownPhaseInternal(mozilla::ShutdownPhase, bool, char16_t const*, nsCOMPtr<nsISupports> const&) [xpcom/base/AppShutdown.cpp:363]
[task 2021-10-29T10:22:15.180Z] 10:22:15     INFO -  PID 3388 | #06: mozilla::ShutdownXPCOM(nsIServiceManager*) [xpcom/build/XPCOMInit.cpp:624]
[task 2021-10-29T10:22:15.180Z] 10:22:15     INFO -  PID 3388 | #07: XRE_XPCShellMain(int, char**, char**, XREShellData const*) [js/xpconnect/src/XPCShellImpl.cpp:1432]
[task 2021-10-29T10:22:15.224Z] 10:22:15     INFO -  PID 3388 | #08: main [js/xpconnect/shell/xpcshell.cpp:82]
[task 2021-10-29T10:22:15.226Z] 10:22:15     INFO -  PID 3388 | #09: __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6 + 0x21b97]
[task 2021-10-29T10:22:15.227Z] 10:22:15     INFO -  PID 3388 | #10: ??? [/builds/worker/workspace/build/application/firefox/xpcshell + 0x40a69]
[task 2021-10-29T10:22:15.227Z] 10:22:15     INFO -  PID 3388 | #11: ??? (???:???)
[task 2021-10-29T10:22:15.228Z] 10:22:15     INFO -  PID 3388 | ExceptionHandler::GenerateDump cloned child ExceptionHandler::WaitForContinueSignal waiting for continue signal...
[task 2021-10-29T10:22:15.228Z] 10:22:15     INFO -  PID 3388 | 3418
[task 2021-10-29T10:22:15.229Z] 10:22:15     INFO -  PID 3388 | ExceptionHandler::SendContinueSignalToChild sent continue signal to child
[task 2021-10-29T10:22:15.229Z] 10:22:15     INFO -  <<<<<<<
[task 2021-10-29T10:22:19.784Z] 10:22:19  WARNING -  PROCESS-CRASH | browser/components/places/tests/unit/test_browserGlue_bookmarkshtml.js | application crashed [@ {virtual override thunk({offset(-8)}, mozilla::storage::Service::Observe(nsISupports*, char const*, char16_t const*))} + 0xd]
[task 2021-10-29T10:22:19.784Z] 10:22:19     INFO -  Mozilla crash reason: MOZ_CRASH()
[task 2021-10-29T10:22:19.784Z] 10:22:19     INFO -  Crash dump filename: /tmp/xpc-other-n5n59ufw/6ac60fee-4be1-85d0-5b14-1f63c9c4c445.dmp
[task 2021-10-29T10:22:19.785Z] 10:22:19     INFO -  Operating system: Linux
[task 2021-10-29T10:22:19.785Z] 10:22:19     INFO -                    0.0.0 Linux 4.4.0-1014-aws #14taskcluster1-Ubuntu SMP Tue Apr 3 10:27:00 UTC 2018 x86_64
[task 2021-10-29T10:22:19.786Z] 10:22:19     INFO -  CPU: amd64
[task 2021-10-29T10:22:19.786Z] 10:22:19     INFO -       family 6 model 85 stepping 7
[task 2021-10-29T10:22:19.786Z] 10:22:19     INFO -       2 CPUs
[task 2021-10-29T10:22:19.786Z] 10:22:19     INFO -  GPU: UNKNOWN
[task 2021-10-29T10:22:19.787Z] 10:22:19     INFO -  Crash reason:  SIGSEGV / SEGV_MAPERR
[task 2021-10-29T10:22:19.787Z] 10:22:19     INFO -  Crash address: 0x0
[task 2021-10-29T10:22:19.787Z] 10:22:19     INFO -  Process uptime: not available
[task 2021-10-29T10:22:19.787Z] 10:22:19     INFO -  Thread 0 tid 3388 (crashed) 0  libxul.so!mozilla::storage::Service::Observe(nsISupports*, char const*, char16_t const*) [mozStorageService.cpp:2f3b5d0ef91160a8b34e6e22ebc4b1475f35d9fc : 730 + 0x29]
[task 2021-10-29T10:22:19.788Z] 10:22:19     INFO -      rax = 0x00007ff6b18c996b   rdx = 0x0000000000000000
[task 2021-10-29T10:22:19.788Z] 10:22:19     INFO -      rcx = 0x000055c727f2a870   rbx = 0x00007ffca2985470
[task 2021-10-29T10:22:19.788Z] 10:22:19     INFO -      rsi = 0x00007ff6ad9ac8b0   rdi = 0x00007ff6ad9ab680
[task 2021-10-29T10:22:19.788Z] 10:22:19     INFO -      rbp = 0x00007ffca2985500   rsp = 0x00007ffca2985360
[task 2021-10-29T10:22:19.788Z] 10:22:19     INFO -       r8 = 0x00007ff6ad9ac8b0    r9 = 0x00007ff6bbf9f200
[task 2021-10-29T10:22:19.789Z] 10:22:19     INFO -      r10 = 0x0000000000000000   r11 = 0x0000000000000000
[task 2021-10-29T10:22:19.789Z] 10:22:19     INFO -      r12 = 0x0000000000000000   r13 = 0x00007ff6b221b348
[task 2021-10-29T10:22:19.789Z] 10:22:19     INFO -      r14 = 0x00007ffca2985400   r15 = 0x00007ffca2985470
[task 2021-10-29T10:22:19.789Z] 10:22:19     INFO -      rip = 0x00007ff6b5849405
[task 2021-10-29T10:22:19.790Z] 10:22:19     INFO -      Found by: given as instruction pointer in context
[task 2021-10-29T10:22:19.790Z] 10:22:19     INFO -   1  libxul.so!{virtual override thunk({offset(-8)}, mozilla::storage::Service::Observe(nsISupports*, char const*, char16_t const*))} + 0xd
[task 2021-10-29T10:22:19.790Z] 10:22:19     INFO -      rbx = 0x0000000000000005   rbp = 0x00007ffca2985510
[task 2021-10-29T10:22:19.790Z] 10:22:19     INFO -      rsp = 0x00007ffca2985510   r12 = 0x0000000000000000
[task 2021-10-29T10:22:19.791Z] 10:22:19     INFO -      r13 = 0x00007ff6b195b9b7   r14 = 0x0000000000000000
[task 2021-10-29T10:22:19.791Z] 10:22:19     INFO -      r15 = 0x00007ff6b195b9b7   rip = 0x00007ff6b584946d
[task 2021-10-29T10:22:19.791Z] 10:22:19     INFO -      Found by: call frame info
[task 2021-10-29T10:22:19.791Z] 10:22:19     INFO -   2  libxul.so!nsObserverList::NotifyObservers(nsISupports*, char const*, char16_t const*) [nsObserverList.cpp:2f3b5d0ef91160a8b34e6e22ebc4b1475f35d9fc : 70 + 0xf]
[task 2021-10-29T10:22:19.792Z] 10:22:19     INFO -      rbx = 0x0000000000000005   rbp = 0x00007ffca2985550
[task 2021-10-29T10:22:19.792Z] 10:22:19     INFO -      rsp = 0x00007ffca2985520   r12 = 0x0000000000000000
[task 2021-10-29T10:22:19.792Z] 10:22:19     INFO -      r13 = 0x00007ff6b195b9b7   r14 = 0x0000000000000000
[task 2021-10-29T10:22:19.792Z] 10:22:19     INFO -      r15 = 0x00007ff6b195b9b7   rip = 0x00007ff6b4ca1a6e
[task 2021-10-29T10:22:19.792Z] 10:22:19     INFO -      Found by: call frame info
[task 2021-10-29T10:22:19.793Z] 10:22:19     INFO -   3  libxul.so!nsObserverService::NotifyObservers(nsISupports*, char const*, char16_t const*) [nsObserverService.cpp:2f3b5d0ef91160a8b34e6e22ebc4b1475f35d9fc : 292 + 0x19]
[task 2021-10-29T10:22:19.793Z] 10:22:19     INFO -      rbx = 0x0000000000000000   rbp = 0x00007ffca2985680
[task 2021-10-29T10:22:19.794Z] 10:22:19     INFO -      rsp = 0x00007ffca2985560   r12 = 0x0000000000000000
[task 2021-10-29T10:22:19.794Z] 10:22:19     INFO -      r13 = 0x00007ff6b195b9b7   r14 = 0x00007ff6a6189c18
[task 2021-10-29T10:22:19.795Z] 10:22:19     INFO -      r15 = 0x00007ffca29855b0   rip = 0x00007ff6b4ca5004
[task 2021-10-29T10:22:19.795Z] 10:22:19     INFO -      Found by: call frame info
[task 2021-10-29T10:22:19.795Z] 10:22:19     INFO -   4  libxul.so!mozilla::AdvanceShutdownPhaseInternal(mozilla::ShutdownPhase, bool, char16_t const*, nsCOMPtr<nsISupports> const&) [AppShutdown.cpp:2f3b5d0ef91160a8b34e6e22ebc4b1475f35d9fc : 361 + 0x18]
[task 2021-10-29T10:22:19.796Z] 10:22:19     INFO -      rbx = 0x00007ff6bb692580   rbp = 0x00007ffca29856d0
[task 2021-10-29T10:22:19.796Z] 10:22:19     INFO -      rsp = 0x00007ffca2985690   r12 = 0x00007ffca29856f8
[task 2021-10-29T10:22:19.797Z] 10:22:19     INFO -      r13 = 0x00007ffca2985698   r14 = 0x0000000000000000
[task 2021-10-29T10:22:19.797Z] 10:22:19     INFO -      r15 = 0x00007ff6b195b9b7   rip = 0x00007ff6b4c3962e
[task 2021-10-29T10:22:19.797Z] 10:22:19     INFO -      Found by: call frame info
[task 2021-10-29T10:22:19.798Z] 10:22:19     INFO -   5  libxul.so!mozilla::ShutdownXPCOM(nsIServiceManager*) [XPCOMInit.cpp:2f3b5d0ef91160a8b34e6e22ebc4b1475f35d9fc : 624 + 0x12]
[task 2021-10-29T10:22:19.798Z] 10:22:19     INFO -      rbx = 0x00007ffca29856f8   rbp = 0x00007ffca2985780
[task 2021-10-29T10:22:19.806Z] 10:22:19     INFO -      rsp = 0x00007ffca29856e0   r12 = 0x0000000000000000
[task 2021-10-29T10:22:19.806Z] 10:22:19     INFO -      r13 = 0x0000000000000000   r14 = 0x0000000000000000
[task 2021-10-29T10:22:19.807Z] 10:22:19     INFO -      r15 = 0x0000000000000000   rip = 0x00007ff6b4d63b68
[task 2021-10-29T10:22:19.807Z] 10:22:19     INFO -      Found by: call frame info
[task 2021-10-29T10:22:19.807Z] 10:22:19     INFO -   6  libxul.so!XRE_XPCShellMain(int, char**, char**, XREShellData const*) [XPCShellImpl.cpp:2f3b5d0ef91160a8b34e6e22ebc4b1475f35d9fc : 1432 + 0x7]
[task 2021-10-29T10:22:19.807Z] 10:22:19     INFO -      rbx = 0x0000000000000001   rbp = 0x00007ffca2985a70
[task 2021-10-29T10:22:19.807Z] 10:22:19     INFO -      rsp = 0x00007ffca2985790   r12 = 0x0000000000000000
[task 2021-10-29T10:22:19.807Z] 10:22:19     INFO -      r13 = 0x0000000000000000   r14 = 0x00007ffca2985820
[task 2021-10-29T10:22:19.808Z] 10:22:19     INFO -      r15 = 0x0000000000000000   rip = 0x00007ff6b57e1519
[task 2021-10-29T10:22:19.808Z] 10:22:19     INFO -      Found by: call frame info
[task 2021-10-29T10:22:19.808Z] 10:22:19     INFO -   7  xpcshell!main [xpcshell.cpp:2f3b5d0ef91160a8b34e6e22ebc4b1475f35d9fc : 82 + 0x1f]
[task 2021-10-29T10:22:19.808Z] 10:22:19     INFO -      rbx = 0x00007ff6bba416e8   rbp = 0x00007ffca2985af0
[task 2021-10-29T10:22:19.808Z] 10:22:19     INFO -      rsp = 0x00007ffca2985a80   r12 = 0xaaaaaaaaaaaaaaaa
[task 2021-10-29T10:22:19.809Z] 10:22:19     INFO -      r13 = 0x0000000000000000   r14 = 0x00007ff6a616b100
[task 2021-10-29T10:22:19.809Z] 10:22:19     INFO -      r15 = 0x00007ffca2985a98   rip = 0x000055c727e85c2e
[task 2021-10-29T10:22:19.809Z] 10:22:19     INFO -      Found by: call frame info
[task 2021-10-29T10:22:19.809Z] 10:22:19     INFO -   8  libc.so.6 + 0x21b97
[task 2021-10-29T10:22:19.809Z] 10:22:19     INFO -      rbx = 0x0000000000000000   rbp = 0x000055c727f248a0
[task 2021-10-29T10:22:19.810Z] 10:22:19     INFO -      rsp = 0x00007ffca2985b00   r12 = 0x000055c727e85a40
[task 2021-10-29T10:22:19.810Z] 10:22:19     INFO -      r13 = 0x00007ffca2985bd0   r14 = 0x0000000000000000
[task 2021-10-29T10:22:19.810Z] 10:22:19     INFO -      r15 = 0x0000000000000000   rip = 0x00007ff6ad5e0b97
[task 2021-10-29T10:22:19.810Z] 10:22:19     INFO -      Found by: call frame info
[task 2021-10-29T10:22:19.810Z] 10:22:19     INFO -   9  libxul.so!<.plt ELF section in libxul.so> + 0xb480
[task 2021-10-29T10:22:19.810Z] 10:22:19     INFO -      rsp = 0x00007ffca2985b08   rip = 0x00007ff6bb688dd0
[task 2021-10-29T10:22:19.811Z] 10:22:19     INFO -      Found by: stack scanning
[task 2021-10-29T10:22:19.811Z] 10:22:19     INFO -  10  xpcshell!frame_dummy + 0xc
[task 2021-10-29T10:22:19.811Z] 10:22:19     INFO -      rsp = 0x00007ffca2985b20   rip = 0x000055c727e85b4c
[task 2021-10-29T10:22:19.811Z] 10:22:19     INFO -      Found by: stack scanning
[task 2021-10-29T10:22:19.811Z] 10:22:19     INFO -  11  xpcshell + 0x40a40
[task 2021-10-29T10:22:19.812Z] 10:22:19     INFO -      rsp = 0x00007ffca2985b38   rip = 0x000055c727e85a40
[task 2021-10-29T10:22:19.812Z] 10:22:19     INFO -      Found by: stack scanning
[task 2021-10-29T10:22:19.812Z] 10:22:19     INFO -  12  ld-linux-x86-64.so.2 + 0x10783
[task 2021-10-29T10:22:19.812Z] 10:22:19     INFO -      rsp = 0x00007ffca2985b80   rip = 0x00007ff6bbf53783
[task 2021-10-29T10:22:19.812Z] 10:22:19     INFO -      Found by: stack scanning
[task 2021-10-29T10:22:19.813Z] 10:22:19     INFO -  13  libxul.so!<.plt ELF section in libxul.so> + 0xb488
[task 2021-10-29T10:22:19.813Z] 10:22:19     INFO -      rsp = 0x00007ffca2985b88   rip = 0x00007ff6bb688dd8
[task 2021-10-29T10:22:19.813Z] 10:22:19     INFO -      Found by: stack scanning
[task 2021-10-29T10:22:19.813Z] 10:22:19     INFO -  14  libpthread.so.0 + 0x219bb0
[task 2021-10-29T10:22:19.813Z] 10:22:19     INFO -      rsp = 0x00007ffca2985b90   rip = 0x00007ff6bbf3dbb0
[task 2021-10-29T10:22:19.813Z] 10:22:19     INFO -      Found by: stack scanning
[task 2021-10-29T10:22:19.814Z] 10:22:19     INFO -  15  xpcshell + 0x40a40
[task 2021-10-29T10:22:19.814Z] 10:22:19     INFO -      rsp = 0x00007ffca2985bb0   rip = 0x000055c727e85a40
[task 2021-10-29T10:22:19.814Z] 10:22:19     INFO -      Found by: stack scanning
[task 2021-10-29T10:22:19.814Z] 10:22:19     INFO -  16  xpcshell!_start + 0x29
[task 2021-10-29T10:22:19.814Z] 10:22:19     INFO -      rsp = 0x00007ffca2985bc0   rip = 0x000055c727e85a69
[task 2021-10-29T10:22:19.815Z] 10:22:19     INFO -      Found by: stack scanning
[task 2021-10-29T10:22:19.815Z] 10:22:19     INFO -  Thread 1 tid 3391
```