Closed Bug 1445170 Opened 7 years ago Closed 7 years ago

Intermittent toolkit/components/remotebrowserutils/tests/browser/browser_RemoteWebNavigation.js | application crashed [@ MOZ_CrashOOL]

Categories

(Core :: SQLite and Embedded Database Bindings, defect, P3)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: crash, intermittent-failure)

INFO - Thread 0 (crashed) INFO - 0 firefox!MOZ_CrashOOL [Assertions.cpp:50c5fcf0f6c3139d4e128514447482dcbb3dee52 : 33 + 0x0] INFO - eip = 0x0804d203 esp = 0xffdf2030 ebp = 0xffdf2038 ebx = 0xf3b36c7e INFO - esi = 0x0808a000 edi = 0xf54c1000 eax = 0x0808a980 ecx = 0xf753c864 INFO - edx = 0x00000000 efl = 0x00010282 INFO - Found by: given as instruction pointer in context INFO - 1 libxul.so!nsAutoOwningThread::AssertCurrentThreadOwnsMe [nsISupportsImpl.cpp:50c5fcf0f6c3139d4e128514447482dcbb3dee52 : 46 + 0x12] INFO - eip = 0xefa157c5 esp = 0xffdf2040 ebp = 0xffdf2058 ebx = 0xf54c1000 INFO - esi = 0xe5d99190 edi = 0xf54c1000 INFO - Found by: call frame info INFO - 2 libxul.so!mozilla::net::nsStandardURL::Release [nsISupportsImpl.h:50c5fcf0f6c3139d4e128514447482dcbb3dee52 : 69 + 0x6] INFO - eip = 0xefb2a121 esp = 0xffdf2060 ebp = 0xffdf2088 ebx = 0xdab10f40 INFO - esi = 0xe5d99190 edi = 0xf54c1000 INFO - Found by: call frame info INFO - 3 libxul.so!mozilla::storage::Connection::~Connection [mozStorageConnection.cpp:50c5fcf0f6c3139d4e128514447482dcbb3dee52 : 551 + 0x16] INFO - eip = 0xf0182453 esp = 0xffdf2090 ebp = 0xffdf20a8 ebx = 0xe5d99190 INFO - esi = 0xe5d99190 edi = 0xe5d99198 INFO - Found by: call frame info INFO - 4 libxul.so!mozilla::storage::Connection::Release [mozStorageConnection.cpp:50c5fcf0f6c3139d4e128514447482dcbb3dee52 : 628 + 0x9] INFO - eip = 0xf0184943 esp = 0xffdf20b0 ebp = 0xffdf20f8 ebx = 0xf54c1000 INFO - esi = 0xe5d99190 edi = 0xe5d99198 INFO - Found by: call frame info INFO - 5 libxul.so!mozilla::storage::Service::unregisterConnection [mozStorageService.cpp:50c5fcf0f6c3139d4e128514447482dcbb3dee52 : 279 + 0xc] INFO - eip = 0xf0198fb1 esp = 0xffdf2100 ebp = 0xffdf2158 ebx = 0xe70f60f0 INFO - esi = 0xffdf2134 edi = 0x00000007 INFO - Found by: call frame info INFO - 6 libxul.so!mozilla::storage::Connection::Release [mozStorageConnection.cpp:50c5fcf0f6c3139d4e128514447482dcbb3dee52 : 621 + 0x18] INFO - eip = 0xf018492b esp = 0xffdf2160 ebp = 0xffdf21a8 ebx = 0xf54c1000 INFO - esi = 0xe5d99190 edi = 0xffdf2188 INFO - Found by: call frame info
Severity: normal → critical
Component: Document Navigation → Storage
Keywords: crash
Product: Core → Toolkit
Summary: Intermittent toolkit/components/remotebrowserutils/tests/browser/browser_RemoteWebNavigation.js | application terminated with exit code 11 | After ShutdownLeaks → Intermittent toolkit/components/remotebrowserutils/tests/browser/browser_RemoteWebNavigation.js | application crashed [@ MOZ_CrashOOL]
Version: unspecified → Trunk
nsStandardURL was made threadsafe by bug 1447194 which hit mozilla-central on 2018-03-22, resolving this assertion explosion, and none of the duped-to-here bugs seem to contradict that, so resolving WFM.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Recent failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=175211634&repo=mozilla-beta&lineNumber=9313 [task 2018-04-23T23:39:50.024Z] 23:39:50 ERROR - TEST-UNEXPECTED-FAIL | ShutdownLeaks | process() called before end of test suite [task 2018-04-23T23:39:50.026Z] 23:39:50 INFO - Buffered messages finished [task 2018-04-23T23:39:50.027Z] 23:39:50 ERROR - TEST-UNEXPECTED-FAIL | dom/url/tests/browser_download_after_revoke.js | application terminated with exit code 11 [task 2018-04-23T23:39:50.028Z] 23:39:50 INFO - runtests.py | Application ran for: 0:00:20.560811 [task 2018-04-23T23:39:50.029Z] 23:39:50 INFO - zombiecheck | Reading PID log: /tmp/tmpLwMupVpidlog [task 2018-04-23T23:39:50.031Z] 23:39:50 INFO - ==> process 3008 launched child process 3028 [task 2018-04-23T23:39:50.032Z] 23:39:50 INFO - ==> process 3008 launched child process 3053 [task 2018-04-23T23:39:50.033Z] 23:39:50 INFO - ==> process 3008 launched child process 3097 [task 2018-04-23T23:39:50.034Z] 23:39:50 INFO - ==> process 3008 launched child process 3112 [task 2018-04-23T23:39:50.038Z] 23:39:50 INFO - ==> process 3008 launched child process 3141 [task 2018-04-23T23:39:50.039Z] 23:39:50 INFO - zombiecheck | Checking for orphan process with PID: 3112 [task 2018-04-23T23:39:50.040Z] 23:39:50 INFO - zombiecheck | Checking for orphan process with PID: 3097 [task 2018-04-23T23:39:50.042Z] 23:39:50 INFO - zombiecheck | Checking for orphan process with PID: 3028 [task 2018-04-23T23:39:50.043Z] 23:39:50 INFO - zombiecheck | Checking for orphan process with PID: 3053 [task 2018-04-23T23:39:50.044Z] 23:39:50 INFO - zombiecheck | Checking for orphan process with PID: 3141 [task 2018-04-23T23:39:50.045Z] 23:39:50 INFO - mozcrash Copy/paste: /usr/local/bin/linux64-minidump_stackwalk /tmp/tmpLfYkiM.mozrunner/minidumps/15d6a986-5b1c-cf62-fa49-345ae265b442.dmp /builds/worker/workspace/build/symbols [task 2018-04-23T23:39:58.437Z] 23:39:58 INFO - mozcrash Saved minidump as /builds/worker/workspace/build/blobber_upload_dir/15d6a986-5b1c-cf62-fa49-345ae265b442.dmp [task 2018-04-23T23:39:58.438Z] 23:39:58 INFO - mozcrash Saved app info as /builds/worker/workspace/build/blobber_upload_dir/15d6a986-5b1c-cf62-fa49-345ae265b442.extra [task 2018-04-23T23:39:58.603Z] 23:39:58 INFO - PROCESS-CRASH | dom/url/tests/browser_download_after_revoke.js | application crashed [@ MOZ_CrashOOL] [task 2018-04-23T23:39:58.604Z] 23:39:58 INFO - Crash dump filename: /tmp/tmpLfYkiM.mozrunner/minidumps/15d6a986-5b1c-cf62-fa49-345ae265b442.dmp [task 2018-04-23T23:39:58.604Z] 23:39:58 INFO - Operating system: Linux [task 2018-04-23T23:39:58.605Z] 23:39:58 INFO - 0.0.0 Linux 4.4.0-1014-aws #14taskcluster1-Ubuntu SMP Tue Apr 3 10:27:00 UTC 2018 x86_64 [task 2018-04-23T23:39:58.605Z] 23:39:58 INFO - CPU: x86 [task 2018-04-23T23:39:58.606Z] 23:39:58 INFO - GenuineIntel family 6 model 62 stepping 4 [task 2018-04-23T23:39:58.607Z] 23:39:58 INFO - 2 CPUs [task 2018-04-23T23:39:58.607Z] 23:39:58 INFO - [task 2018-04-23T23:39:58.608Z] 23:39:58 INFO - GPU: UNKNOWN [task 2018-04-23T23:39:58.609Z] 23:39:58 INFO - [task 2018-04-23T23:39:58.610Z] 23:39:58 INFO - Crash reason: SIGSEGV [task 2018-04-23T23:39:58.610Z] 23:39:58 INFO - Crash address: 0x0 [task 2018-04-23T23:39:58.611Z] 23:39:58 INFO - Process uptime: not available [task 2018-04-23T23:39:58.611Z] 23:39:58 INFO - [task 2018-04-23T23:39:58.612Z] 23:39:58 INFO - Thread 0 (crashed) [task 2018-04-23T23:39:58.613Z] 23:39:58 INFO - 0 firefox!MOZ_CrashOOL [Assertions.cpp:345b67c3fb35f8adaf71025c76bedb68ad383ada : 33 + 0x0] [task 2018-04-23T23:39:58.613Z] 23:39:58 INFO - eip = 0x0804d1f9 esp = 0xffcfdca0 ebp = 0xffcfdca8 ebx = 0xf31d8cfd [task 2018-04-23T23:39:58.613Z] 23:39:58 INFO - esi = 0x0808a000 edi = 0xf552a000 eax = 0x0808a980 ecx = 0xf7576864 [task 2018-04-23T23:39:58.614Z] 23:39:58 INFO - edx = 0x00000000 efl = 0x00210286 [task 2018-04-23T23:39:58.615Z] 23:39:58 INFO - Found by: given as instruction pointer in context [task 2018-04-23T23:39:58.620Z] 23:39:58 INFO - 1 libxul.so!nsAutoOwningThread::AssertCurrentThreadOwnsMe [nsISupportsImpl.cpp:345b67c3fb35f8adaf71025c76bedb68ad383ada : 46 + 0x12] [task 2018-04-23T23:39:58.622Z] 23:39:58 INFO - eip = 0xef4a0c81 esp = 0xffcfdcb0 ebp = 0xffcfdcc8 ebx = 0xf552a000 [task 2018-04-23T23:39:58.622Z] 23:39:58 INFO - esi = 0xe574d870 edi = 0xf552a000 [task 2018-04-23T23:39:58.623Z] 23:39:58 INFO - Found by: call frame info [task 2018-04-23T23:39:58.623Z] 23:39:58 INFO - 2 libxul.so!mozilla::net::nsStandardURL::Release [nsISupportsImpl.h:345b67c3fb35f8adaf71025c76bedb68ad383ada : 69 + 0x6] [task 2018-04-23T23:39:58.623Z] 23:39:58 INFO - eip = 0xef5b306b esp = 0xffcfdcd0 ebp = 0xffcfdcf8 ebx = 0xe55ecd00 [task 2018-04-23T23:39:58.624Z] 23:39:58 INFO - esi = 0xe574d870 edi = 0xf552a000 [task 2018-04-23T23:39:58.624Z] 23:39:58 INFO - Found by: call frame info [task 2018-04-23T23:39:58.625Z] 23:39:58 INFO - 3 libxul.so!mozilla::storage::Connection::~Connection [mozStorageConnection.cpp:345b67c3fb35f8adaf71025c76bedb68ad383ada : 550 + 0x16] [task 2018-04-23T23:39:58.625Z] 23:39:58 INFO - eip = 0xefc04a4e esp = 0xffcfdd00 ebp = 0xffcfdd18 ebx = 0xe574d870 [task 2018-04-23T23:39:58.625Z] 23:39:58 INFO - esi = 0xe574d870 edi = 0xe574d878 [task 2018-04-23T23:39:58.626Z] 23:39:58 INFO - Found by: call frame info [task 2018-04-23T23:39:58.626Z] 23:39:58 INFO - 4 libxul.so!mozilla::storage::Connection::Release [mozStorageConnection.cpp:345b67c3fb35f8adaf71025c76bedb68ad383ada : 627 + 0x9] [task 2018-04-23T23:39:58.627Z] 23:39:58 INFO - eip = 0xefc06f34 esp = 0xffcfdd20 ebp = 0xffcfdd68 ebx = 0xf552a000 [task 2018-04-23T23:39:58.627Z] 23:39:58 INFO - esi = 0xe574d870 edi = 0xe574d878 [task 2018-04-23T23:39:58.627Z] 23:39:58 INFO - Found by: call frame info [task 2018-04-23T23:39:58.628Z] 23:39:58 INFO - 5 libxul.so!mozilla::storage::Service::unregisterConnection [mozStorageService.cpp:345b67c3fb35f8adaf71025c76bedb68ad383ada : 279 + 0xc] [task 2018-04-23T23:39:58.628Z] 23:39:58 INFO - eip = 0xefc1b4c5 esp = 0xffcfdd70 ebp = 0xffcfddc8 ebx = 0xeb0688f0 [task 2018-04-23T23:39:58.629Z] 23:39:58 INFO - esi = 0xffcfdda4 edi = 0x00000007 [task 2018-04-23T23:39:58.629Z] 23:39:58 INFO - Found by: call frame info [task 2018-04-23T23:39:58.629Z] 23:39:58 INFO - 6 libxul.so!mozilla::storage::Connection::Release [mozStorageConnection.cpp:345b67c3fb35f8adaf71025c76bedb68ad383ada : 620 + 0x18] [task 2018-04-23T23:39:58.630Z] 23:39:58 INFO - eip = 0xefc06f1c esp = 0xffcfddd0 ebp = 0xffcfde18 ebx = 0xf552a000 [task 2018-04-23T23:39:58.630Z] 23:39:58 INFO - esi = 0xe574d870 edi = 0xffcfddf8 [task 2018-04-23T23:39:58.631Z] 23:39:58 INFO - Found by: call frame info [task 2018-04-23T23:39:58.631Z] 23:39:58 INFO - 7 libxul.so!nsTArray_Impl<RefPtr<mozilla::storage::Connection>, nsTArrayInfallibleAllocator>::DestructRange [nsTArray.h:345b67c3fb35f8adaf71025c76bedb68ad383ada : 542 + 0x5] [task 2018-04-23T23:39:58.631Z] 23:39:58 INFO - eip = 0xefc1aeb1 esp = 0xffcfde20 ebp = 0xffcfde38 ebx = 0xcc5564e8 [task 2018-04-23T23:39:58.632Z] 23:39:58 INFO - esi = 0xcc5564f0 edi = 0xffcfdec4 [task 2018-04-23T23:39:58.632Z] 23:39:58 INFO - Found by: call frame info [task 2018-04-23T23:39:58.633Z] 23:39:58 INFO - 8 libxul.so!nsTArray_Impl<RefPtr<mozilla::storage::Connection>, nsTArrayInfallibleAllocator>::ClearAndRetainStorage [nsTArray.h:345b67c3fb35f8adaf71025c76bedb68ad383ada : 1294 + 0xb] [task 2018-04-23T23:39:58.633Z] 23:39:58 INFO - eip = 0xefc1aee8 esp = 0xffcfde40 ebp = 0xffcfde58 ebx = 0xffcfdeac [task 2018-04-23T23:39:58.633Z] 23:39:58 INFO - esi = 0xffcfdeb0 edi = 0xffcfdec4 [task 2018-04-23T23:39:58.634Z] 23:39:58 INFO - Found by: call frame info [task 2018-04-23T23:39:58.634Z] 23:39:58 INFO - 9 libxul.so!nsTArray_Impl<RefPtr<mozilla::storage::Connection>, nsTArrayInfallibleAllocator>::~nsTArray_Impl [nsTArray.h:345b67c3fb35f8adaf71025c76bedb68ad383ada : 865 + 0x9] [task 2018-04-23T23:39:58.635Z] 23:39:58 INFO - eip = 0xefc1af10 esp = 0xffcfde60 ebp = 0xffcfde78 ebx = 0xffcfdeac [task 2018-04-23T23:39:58.635Z] 23:39:58 INFO - esi = 0xffcfdeb0 edi = 0xffcfdec4 [task 2018-04-23T23:39:58.635Z] 23:39:58 INFO - Found by: call frame info [task 2018-04-23T23:39:58.636Z] 23:39:58 INFO - 10 libxul.so!mozilla::storage::Service::minimizeMemory [nsTArray.h:345b67c3fb35f8adaf71025c76bedb68ad383ada : 2322 + 0xb] [task 2018-04-23T23:39:58.636Z] 23:39:58 INFO - eip = 0xefc1ca9d esp = 0xffcfde80 ebp = 0xffcfdee8 ebx = 0xf552a000 [task 2018-04-23T23:39:58.637Z] 23:39:58 INFO - esi = 0xffcfdeb0 edi = 0xffcfdec4 [task 2018-04-23T23:39:58.637Z] 23:39:58 INFO - Found by: call frame info
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Status: REOPENED → RESOLVED
Closed: 7 years ago7 years ago
Resolution: --- → INCOMPLETE
Did we ever figure out why this went away on trunk? Because ESR60 remains very-much affected.
(In reply to Ryan VanderMeulen [:RyanVM] from comment #38) > Did we ever figure out why this went away on trunk? Because ESR60 remains > very-much affected. (In reply to Andrew Sutherland [:asuth] from comment #28) > nsStandardURL was made threadsafe by bug 1447194 which hit mozilla-central > on 2018-03-22, resolving this assertion explosion, and none of the > duped-to-here bugs seem to contradict that, so resolving WFM. Bug 1447194 landed in Firefox 61 which would explain why 60 would have problems. The underlying cause is the mozStorage memory reporter (possibly triggered by explicit about:memory actions by the user, or... I think telemetry does it?) or the memory-pressure notification mechanism (which isn't really hooked up anywhere post-B2G?). We can certainly contribute a minimal patch to ESR to cause it to stop servicing memory-pressure and about:memory requests. Obviously, about:memory reporting will get worse.
That is, to make mozStorage stop servicing those requests. We wouldn't break all of about:memory.
Could we maybe limit it MOZ_AUTOMATION or debug builds?
I'll prepare an ESR only patch to make the crashes go away in (linux32 debug) automation where we're seeing the crashes. Where the patch is "active", we'll SQLite memory will still be reported, but only under "explicit/storage/sqlite/other" rather than having per-connection breakouts. (Because the goal is to avoid calling getConnections() which causes the connection to be "stolen" to the main thread and destroyed there instead of on its originating thread.)
Assignee: nobody → bugmail
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 7 years ago7 years ago
Resolution: --- → INCOMPLETE
ESR60 is still affected.
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Priority: P5 → P2
Assignee: bugmail → nobody
Priority: P2 → P3
Status: REOPENED → RESOLVED
Closed: 7 years ago7 years ago
Resolution: --- → INCOMPLETE
Product: Toolkit → Core
You need to log in before you can comment on or make changes to this bug.