startup Crash in [@ mozilla::Sandbox Broker::Launch App]
Categories
(MailNews Core :: General, defect, P1)
Tracking
(Not tracked)
People
(Reporter: t.matsuu, Assigned: kershaw)
References
(Regression)
Details
(Keywords: crash, regression, topcrash-thunderbird)
Crash Data
Attachments
(1 file)
This bug is for crash report bp-93074412-2c14-4cbd-bf36-ab6400200528.
Build ID: 20200527191555
Version: Thunderbird 78.0a1 win64
Top 10 frames of crashing thread:
0 xul.dll mozilla::SandboxBroker::LaunchApp security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp:298
1 xul.dll mozilla::ipc::WindowsProcessLauncher::DoLaunch ipc/glue/GeckoChildProcessHost.cpp:1576
2 xul.dll mozilla::ipc::BaseProcessLauncher::PerformAsyncLaunch ipc/glue/GeckoChildProcessHost.cpp:1017
3 xul.dll mozilla::detail::ProxyRunnable<mozilla::MozPromise<mozilla::ipc::LaunchResults, mozilla::ipc::LaunchError, 0>, RefPtr<mozilla::MozPromise<mozilla::ipc::LaunchResults, mozilla::ipc::LaunchError, 0> > xpcom/threads/MozPromise.h:1433
4 xul.dll mozilla::TaskQueue::Runner::Run xpcom/threads/TaskQueue.cpp:212
5 xul.dll nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:1211
6 xul.dll NS_ProcessNextEvent xpcom/threads/nsThreadUtils.cpp:501
7 xul.dll mozilla::ipc::MessagePumpForNonMainThreads::Run ipc/glue/MessagePump.cpp:332
8 xul.dll MessageLoop::RunHandler ipc/chromium/src/base/message_loop.cc:308
9 xul.dll MessageLoop::Run ipc/chromium/src/base/message_loop.cc:290
Reporter | ||
Updated•4 years ago
|
Comment 2•4 years ago
|
||
I doubt we could ship next week's beta 78 with a crash of this magnitude
Comment 3•4 years ago
|
||
Pretty sure this is the windows 100% startup crash Richard tracked down - from bug 1602832 (starting from the first patch there)
Updated•4 years ago
|
Comment 4•4 years ago
|
||
Crashes here: https://searchfox.org/mozilla-central/rev/bc3600def806859c31b2c7ac06e3d69271052a89/security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp#298-299 - targetInfo null? Seems to be a possibility.
Comment 5•4 years ago
|
||
Richard, are you able to verify that? Insert this before that line:
printf("xxx targetInfo=%d\n", !!targetInfo);
If it shows 0 this is the problem.
Comment 6•4 years ago
|
||
Alternatively, if this bug is about timing, could dllSvc be null?
Comment 7•4 years ago
|
||
Richard confirmed in matrix both targetInfo and dllSvc are ok.
I guess we're not getting the full stack then. Maybe it's failing at https://searchfox.org/mozilla-central/source/mozglue/dllservices/WindowsDllServices.h#68
OH, that is the case, the crash report says MOZ_CRASH Reason (Sanitized): MOZ_RELEASE_ASSERT(mInitDllBlocklistOOPFnPtr)
But I don't know why it's not on the stack.
Assignee | ||
Comment 9•4 years ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #8)
Any idea what needs changing?
I think we can disable socket process for Thunderbird before I figure out the root cause.
I think the proper way to fix this is calling DllServicesBase::EnableFull
before launching socket process, but I have no idea why this is not called.
Assignee | ||
Comment 10•4 years ago
|
||
Updated•4 years ago
|
Assignee | ||
Comment 11•4 years ago
|
||
Could you also help to verify if disabling socket process can fix this crash?
Thanks.
Assignee | ||
Updated•4 years ago
|
Comment 12•4 years ago
|
||
I don't have a proper test setup for this myself, but Richard can reproduce and will check if this fixes it.
Comment 13•4 years ago
|
||
This patch works for me. TB starts again. Many thanks.
Comment 14•4 years ago
|
||
Pushed by kjang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cd3da1642381 Disable socket process for thunderbird r=mkmelin
Comment 15•4 years ago
|
||
Hi,
I updated TB daily just now , and recieved all times a crash.
I cannnot start or restart TB daily any more: creating a new profile doesnt help.
bp-094b8eb0-886a-490c-af07-1480c0200528 vor 1 Minute
bp-61d6db14-194a-4b85-ab9e-29a640200528 vor 3 Minuten
bp-f3bdd5c2-908e-4c61-a156-05b2d0200528 vor 3 Minuten
bp-936b0636-f028-4bd9-8e8d-d92800200528 vor 4 Minuten
bp-0d43cb2a-9c7d-4e7f-851d-063390200528 vor 4 Minuten
bp-003ebf80-a141-40ec-b08e-64e200200528 vor 5 Minuten
Comment 16•4 years ago
|
||
bugherder |
Comment 18•4 years ago
|
||
I downloaded thunderbird-79.0a1.en-US.win64.installer.exe (to install BuildID 20200604105934)
for updating from not startable Thunderbird 78.0a1, BuildID 20200528103753.
After Updating there was no mailprofile anymore but a error message at startup handled in bug 1643285 .
Description
•