Closed
Bug 1875657
Opened 2 years ago
Closed 2 years ago
Crash in [@ mozilla::Monitor::Lock]
Categories
(Core :: Graphics: Canvas2D, defect, P3)
Core
Graphics: Canvas2D
Tracking
()
RESOLVED
FIXED
123 Branch
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox122 | --- | unaffected |
| firefox123 | --- | fixed |
People
(Reporter: aosmond, Assigned: aosmond)
Details
(Keywords: crash)
Crash Data
Attachments
(1 file)
Crash report: https://crash-stats.mozilla.org/report/index/894e7727-149b-4288-9acb-deac40240115
Reason: SIGSEGV / SEGV_MAPERR
Top 10 frames of crashing thread:
0 libc.so.6 ___pthread_mutex_lock nptl/nptl/pthread_mutex_lock.c:80
1 firefox-bin mozilla::detail::MutexImpl::mutexLock mozglue/misc/Mutex_posix.cpp:94
1 firefox-bin mozilla::detail::MutexImpl::lock mozglue/misc/Mutex_posix.cpp:116
2 libxul.so mozilla::OffTheBooksMutex::Lock xpcom/threads/Mutex.h:66
2 libxul.so mozilla::Monitor::Lock xpcom/threads/Monitor.h:31
2 libxul.so mozilla::detail::BaseMonitorAutoLock<mozilla::Monitor>::BaseMonitorAutoLock xpcom/threads/Monitor.h:129
2 libxul.so mozilla::layers::RemoteTextureMap::UnregisterTextureOwners gfx/layers/RemoteTextureMap.cpp:696
3 libxul.so mozilla::layers::RemoteTextureOwnerClient::UnregisterAllTextureOwners gfx/layers/RemoteTextureMap.cpp:77
4 libxul.so mozilla::layers::CanvasTranslator::ClearTextureInfo gfx/layers/ipc/CanvasTranslator.cpp:1096
5 libxul.so mozilla::detail::RunnableMethodArguments<>::apply<mozilla::layers::CanvasTranslator, void const xpcom/threads/nsThreadUtils.h:1164
| Assignee | ||
Comment 1•2 years ago
|
||
Looks like a shutdown crash, where the RemoteTextureMap is already gone away, while the CanvasTranslator has yet to go away.
| Assignee | ||
Updated•2 years ago
|
Flags: needinfo?(aosmond)
| Assignee | ||
Updated•2 years ago
|
status-firefox122:
--- → unaffected
status-firefox123:
--- → affected
status-firefox124:
--- → affected
status-firefox-esr115:
--- → unaffected
OS: Unspecified → Linux
Hardware: Unspecified → Desktop
| Assignee | ||
Comment 2•2 years ago
•
|
||
Probably happens because of https://searchfox.org/mozilla-central/rev/85679f95a634d08307e115fb365ea287198bd4d2/gfx/layers/ipc/CanvasTranslator.cpp#359 dispatching after ActorDestroy is called.
| Assignee | ||
Comment 3•2 years ago
|
||
We need to complete shutdown synchronously from
CanvasTranslator::ActorDestroy as once it completes, we may destroy the
RemoteTextureMap.
| Assignee | ||
Updated•2 years ago
|
Flags: needinfo?(aosmond)
| Assignee | ||
Updated•2 years ago
|
OS: Linux → All
Hardware: Desktop → All
Updated•2 years ago
|
Assignee: nobody → aosmond
Status: NEW → ASSIGNED
| Assignee | ||
Updated•2 years ago
|
Severity: -- → S3
Priority: -- → P3
Pushed by aosmond@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0361c1f29bab
Ensure that we run CanvasTranslator::FinishShutdown without dispatching from task queue. r=gfx-reviewers,lsalzman
Comment 5•2 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
Updated•2 years ago
|
status-firefox124:
affected → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•