Trace log is crashing on shutdown with late writes in e10s

NEW
Unassigned

Status

()

P5
normal
3 years ago
a year ago

People

(Reporter: ng, Unassigned)

Tracking

unspecified
Points:
---

Firefox Tracking Flags

(e10s+, firefox45 ?, firefox46 affected, firefox47 affected, firefox48 affected, firefox-esr45 ?)

Details

(Reporter)

Description

3 years ago
Trace logging is crashing during shutdown in e10s mode, with late writes.

#08: _swrite[/usr/lib/system/libsystem_c.dylib +0x44202]
#09: __sflush[/usr/lib/system/libsystem_c.dylib +0x3c72c]
#10: fflush[/usr/lib/system/libsystem_c.dylib +0x3c688]
#11: webrtc::FileWrapperImpl::FlushImpl()[/Users/ngrunbaum/tmp/debug.moz/Users/ngrunbaum/hg/mozilla-central/obj-x86_64-apple-darwin15.3.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x49323bc]
#12: webrtc::FileWrapperImpl::Flush()[/Users/ngrunbaum/tmp/debug.moz/Users/ngrunbaum/hg/mozilla-central/obj-x86_64-apple-darwin15.3.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x4932378]
#13: webrtc::TraceImpl::~TraceImpl()[/Users/ngrunbaum/tmp/debug.moz/Users/ngrunbaum/hg/mozilla-central/obj-x86_64-apple-darwin15.3.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x493a492]
#14: webrtc::TracePosix::~TracePosix()[/Users/ngrunbaum/tmp/debug.moz/Users/ngrunbaum/hg/mozilla-central/obj-x86_64-apple-darwin15.3.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x493bd3d]
#15: webrtc::TracePosix::~TracePosix()[/Users/ngrunbaum/tmp/debug.moz/Users/ngrunbaum/hg/mozilla-central/obj-x86_64-apple-darwin15.3.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x493bd65]
#16: webrtc::TracePosix::~TracePosix()[/Users/ngrunbaum/tmp/debug.moz/Users/ngrunbaum/hg/mozilla-central/obj-x86_64-apple-darwin15.3.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x493bd89]
#17: DefaultSingletonTraits<webrtc::TracePosix>::Delete(webrtc::TracePosix*)[/Users/ngrunbaum/tmp/debug.moz/Users/ngrunbaum/hg/mozilla-central/obj-x86_64-apple-darwin15.3.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x495e82b]
#18: Singleton<webrtc::TracePosix, DefaultSingletonTraits<webrtc::TracePosix>, webrtc::TracePosix>::OnExit(void*)[/Users/ngrunbaum/tmp/debug.moz/Users/ngrunbaum/hg/mozilla-central/obj-x86_64-apple-darwin15.3.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x495e7f7]
#19: base::AtExitManager::ProcessCallbacksNow()[/Users/ngrunbaum/tmp/debug.moz/Users/ngrunbaum/hg/mozilla-central/obj-x86_64-apple-darwin15.3.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x7f837b]
#20: base::AtExitManager::~AtExitManager()[/Users/ngrunbaum/tmp/debug.moz/Users/ngrunbaum/hg/mozilla-central/obj-x86_64-apple-darwin15.3.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x7f8216]
#21: base::AtExitManager::~AtExitManager()[/Users/ngrunbaum/tmp/debug.moz/Users/ngrunbaum/hg/mozilla-central/obj-x86_64-apple-darwin15.3.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x7f83a5]
#22: mozilla::ShutdownXPCOM(nsIServiceManager*)[/Users/ngrunbaum/tmp/debug.moz/Users/ngrunbaum/hg/mozilla-central/obj-x86_64-apple-darwin15.3.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x1f79b6]
#23: NS_ShutdownXPCOM[/Users/ngrunbaum/tmp/debug.moz/Users/ngrunbaum/hg/mozilla-central/obj-x86_64-apple-darwin15.3.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x1f7125]
#24: ScopedXPCOMStartup::~ScopedXPCOMStartup()[/Users/ngrunbaum/tmp/debug.moz/Users/ngrunbaum/hg/mozilla-central/obj-x86_64-apple-darwin15.3.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x528523c]
#25: ScopedXPCOMStartup::~ScopedXPCOMStartup()[/Users/ngrunbaum/tmp/debug.moz/Users/ngrunbaum/hg/mozilla-central/obj-x86_64-apple-darwin15.3.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x5285285]
#26: mozilla::DefaultDelete<ScopedXPCOMStartup>::operator()(ScopedXPCOMStartup*) const[/Users/ngrunbaum/tmp/debug.moz/Users/ngrunbaum/hg/mozilla-central/obj-x86_64-apple-darwin15.3.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x5293e3b]
#27: mozilla::UniquePtr<ScopedXPCOMStartup, mozilla::DefaultDelete<ScopedXPCOMStartup> >::reset(ScopedXPCOMStartup*)[/Users/ngrunbaum/tmp/debug.moz/Users/ngrunbaum/hg/mozilla-central/obj-x86_64-apple-darwin15.3.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x5293dbf]
#28: mozilla::UniquePtr<ScopedXPCOMStartup, mozilla::DefaultDelete<ScopedXPCOMStartup> >::operator=(std::nullptr_t)[/Users/ngrunbaum/tmp/debug.moz/Users/ngrunbaum/hg/mozilla-central/obj-x86_64-apple-darwin15.3.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x5292627]
#29: XREMain::XRE_main(int, char**, nsXREAppData const*)[/Users/ngrunbaum/tmp/debug.moz/Users/ngrunbaum/hg/mozilla-central/obj-x86_64-apple-darwin15.3.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x528f5ab]
#30: XRE_main[/Users/ngrunbaum/tmp/debug.moz/Users/ngrunbaum/hg/mozilla-central/obj-x86_64-apple-darwin15.3.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x528fa07]
#31: do_main(int, char**, char**, nsIFile*)[/Users/ngrunbaum/tmp/debug.moz/Users/ngrunbaum/hg/mozilla-central/obj-x86_64-apple-darwin15.3.0/dist/NightlyDebug.app/Contents/MacOS/firefox +0x2afa]
#32: main[/Users/ngrunbaum/tmp/debug.moz/Users/ngrunbaum/hg/mozilla-central/obj-x86_64-apple-darwin15.3.0/dist/NightlyDebug.app/Contents/MacOS/firefox +0x1e85]

Updated

3 years ago
tracking-e10s: --- → +
Priority: -- → P4
Mass change P4->P5 to align with new Mozilla triage process.
Priority: P4 → P5
You need to log in before you can comment on or make changes to this bug.