Closed Bug 1435964 Opened 7 years ago Closed 7 years ago

mozilla::net::CacheFileIOManager::SyncRemoveDir() blocks the shutdown of other components

Categories

(Core :: Networking, defect)

58 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1356853
Tracking Status
firefox59 --- affected

People

(Reporter: baku, Unassigned)

References

(Blocks 1 open bug)

Details

Crash Data

Similar crash report of bug 1435962 https://crash-stats.mozilla.com/report/index/68ae56fb-016f-4ac1-be5c-d0acd0180206#allthreads mozilla::net::CacheFileIOManager::SyncRemoveDir() does I/O on main-thread blocking the shutting down of other components.
https://crash-stats.mozilla.com/report/index/7cd7e0ae-bba3-43ef-ae44-0ba890180206#allthreads here netwerk/cache2/CacheFileIOManager.cpp:583 calls: mozilla::net::ShutdownEvent::PostAndWait()
Flags: needinfo?(michal.novotny)
(In reply to Andrea Marchesini [:baku] from comment #0) > Similar crash report of bug 1435962 > https://crash-stats.mozilla.com/report/index/68ae56fb-016f-4ac1-be5c- > d0acd0180206#allthreads > > mozilla::net::CacheFileIOManager::SyncRemoveDir() does I/O on main-thread > blocking the shutting down of other components. This is a dupe of 1356853.
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(michal.novotny)
Resolution: --- → DUPLICATE
(In reply to Andrea Marchesini [:baku] from comment #1) > https://crash-stats.mozilla.com/report/index/7cd7e0ae-bba3-43ef-ae44- > 0ba890180206#allthreads > here netwerk/cache2/CacheFileIOManager.cpp:583 calls: > mozilla::net::ShutdownEvent::PostAndWait() In this case it looks like the process hung in GetVolumePathNameInternalW. I guess it might be blocked by Trusteer Rapport (there is rooksbas_x64.dll in the call stack).
Blocks: 1437575
Blocks: 1405290
Crash Signature: mozilla::dom::workers::RuntimeService::CrashIfHanging
Crash Signature: mozilla::dom::workers::RuntimeService::CrashIfHanging → [@ mozilla::dom::workers::RuntimeService::CrashIfHanging]
Crash Signature: [@ mozilla::dom::workers::RuntimeService::CrashIfHanging] → [@ mozilla::dom::workers::RuntimeService::CrashIfHanging] [@ mozilla::net::CacheFileIOManager::SyncRemoveDir ]
Signature report for mozilla::net::CacheFileIOManager::SyncRemoveDir Showing results from 3 months ago 94 Results … 7e92c574-1f79-49e4-8037-3c7740180324 2018-03-24 11:58:04 Firefox 59.0.1 20180315233128 Windows NT EXCEPTION_ACCESS_VIOLATION_READ 0x0 2018-03-16 20:39:23 62ba1012-ae44-44b2-b97a-4291d0180226 2018-02-26 18:44:52 Firefox 58.0.2 20180206200532 Windows NT EXCEPTION_ACCESS_VIOLATION_READ 0x0 2018-02-09 04:40:48 dd35dd17-bb8d-4b17-81d4-69f550180201 2018-02-01 06:52:43 Firefox 58.0.1 20180128191252 Windows NT EXCEPTION_ACCESS_VIOLATION_READ 0x0 2018-02-01 06:51:13 d4ff7ac8-3c03-49b1-a915-9bcab0180201 2018-02-01 06:52:42 Firefox 58.0.1 20180128191252 Windows NT EXCEPTION_ACCESS_VIOLATION_READ 0x0 2018-02-01 06:51:13 a01bdd1a-db46-497b-8746-ee0d80180110 2018-01-10 15:33:33 Firefox 57.0.4 20180103231032 Windows NT EXCEPTION_ACCESS_VIOLATION_READ 0x0 2018-01-09 17:01:40 Uptime Range < 1 min 93 98.9% 5-15 min 1 1.1% UUID 7e92c574-1f79-49e4-8037-3c7740180324 Date Processed 2018-03-24 11:58:04 Uptime 4 seconds UUID 62ba1012-ae44-44b2-b97a-4291d0180226 Date Processed 2018-02-26 18:44:52 Uptime 10 seconds UUID dd35dd17-bb8d-4b17-81d4-69f550180201 Date Processed 2018-02-01 06:52:43 Uptime 1 seconds Last Crash 8 seconds before submission UUID a01bdd1a-db46-497b-8746-ee0d80180110 Date Processed 2018-01-10 15:33:33 Uptime 1 seconds https://crash-stats.mozilla.com/report/index/dd35dd17-bb8d-4b17-81d4-69f550180201#allthreads Thread 1 Frame Module Signature Source 0 ntdll.dll ZwWaitForSingleObject 1 KERNELBASE.dll WaitForSingleObjectEx Ø 2 tmmon64.dll tmmon64.dll@0x83175 Ø 3 tmmon64.dll tmmon64.dll@0x71f0e Ø 4 tmmon64.dll tmmon64.dll@0x69ec6 Ø 5 tmmon64.dll tmmon64.dll@0x6a06d 6 ntdll.dll RtlUserThreadStart Thread 2 Frame Module Signature Source 0 ntdll.dll NtWaitForMultipleObjects 1 KERNELBASE.dll RtlAnsiStringToUnicodeString 2 kernel32.dll WaitForMultipleObjects Ø 3 TmUmEvt64.dll TmUmEvt64.dll@0x1b125 Ø 4 TmUmEvt64.dll TmUmEvt64.dll@0x19fff 5 ntdll.dll RtlUserThreadStart https://crash-stats.mozilla.com/report/index/a01bdd1a-db46-497b-8746-ee0d80180110#allthreads Crashing Thread (0) Frame Module Signature Source 0 xul.dll mozilla::net::CacheFileIOManager::SyncRemoveDir(nsIFile*, char const*) netwerk/cache2/CacheFileIOManager.cpp:4148 14 kernel32.dll BaseThreadInitThunk Ø 15 ntdll.dll ntdll.dll@0x6efb0 16 kernelbase.dll TerminateProcessOnMemoryExhaustion Thread 1 Frame Module Signature Source Ø 0 ntdll.dll ntdll.dll@0x9ff94 1 KERNELBASE.dll GetQueuedCompletionStatus 2 firefox.exe sandbox::BrokerServicesBase::TargetEventsThread(void*) security/sandbox/chromium/sandbox/win/src/broker_services.cc:200 3 kernel32.dll BaseThreadInitThunk Ø 4 ntdll.dll ntdll.dll@0x6efb0 Thread 2 Frame Module Signature Source Ø 0 ntdll.dll ntdll.dll@0xa1ba4 Ø 1 ntdll.dll ntdll.dll@0x28931 Ø 2 ntdll.dll ntdll.dll@0x28931 Ø 3 ntdll.dll ntdll.dll@0x5f5b7 Ø 4 ntdll.dll ntdll.dll@0x28931 Ø 5 ntdll.dll ntdll.dll@0x1131af Ø 6 ntdll.dll ntdll.dll@0x1314f Ø 7 ntdll.dll ntdll.dll@0x20eda Ø 8 ntdll.dll ntdll.dll@0x5fecc Ø 9 ntdll.dll ntdll.dll@0x1907c 10 dbgcore.dll guard_dispatch_icall_nop 11 dbgcore.dll guard_dispatch_icall_nop
Blocks: 1633342
No longer blocks: 1633342
You need to log in before you can comment on or make changes to this bug.