Startup Crash in [@ mozilla::interceptor::WindowsDllDetourPatcher<T>::CreateTrampoline]
Categories
(Firefox :: Launcher Process, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr78 | --- | unaffected |
| firefox81 | --- | unaffected |
| firefox82 | --- | unaffected |
| firefox83 | + | fixed |
People
(Reporter: aryx, Assigned: toshi)
References
(Regression)
Details
(Keywords: crash, regression)
Crash Data
Attachments
(1 obsolete file)
Regression from bug 1588245 on 4+ devices - reported as 5 installations: 4 crashes on Windows 8.1, 1 on Windows 10.
[Tracking Requested - why for this release]: Regression and startup crash.
Crash report: https://crash-stats.mozilla.org/report/index/96fb4591-abf2-4655-8d31-917770201010
MOZ_CRASH Reason: MOZ_DIAGNOSTIC_ASSERT(isSome())
Top 10 frames of crashing thread:
0 xul.dll mozilla::interceptor::WindowsDllDetourPatcher<mozilla::interceptor::VMSharingPolicyShared>::CreateTrampoline mozglue/misc/interceptor/PatcherDetour.h:1429
1 xul.dll mozilla::interceptor::WindowsDllDetourPatcher<mozilla::interceptor::VMSharingPolicyShared>::AddHook mozglue/misc/interceptor/PatcherDetour.h:460
2 xul.dll mozilla::interceptor::WindowsDllInterceptor<mozilla::interceptor::VMSharingPolicyShared>::AddDetour mozglue/misc/nsWindowsDllInterceptor.h:519
3 xul.dll mozilla::interceptor::WindowsDllInterceptor<mozilla::interceptor::VMSharingPolicyShared>::AddHook mozglue/misc/nsWindowsDllInterceptor.h:433
4 xul.dll static mozilla::interceptor::FuncHook<mozilla::interceptor::WindowsDllInterceptor<mozilla::interceptor::VMSharingPolicyShared>, HIMC__* mozglue/misc/nsWindowsDllInterceptor.h:200
5 ntdll.dll RtlRunOnceExecuteOnce
6 kernelbase.dll InitOnceExecuteOnce
7 xul.dll mozilla::plugins::BasicFunctionHook<mozilla::plugins::ID_CreateMutexW, void* dom/plugins/ipc/FunctionHook.h:183
8 xul.dll static mozilla::plugins::FunctionHook::HookFunctions dom/plugins/ipc/FunctionHook.cpp:51
9 xul.dll mozilla::plugins::PluginModuleChild::AllocPPluginInstanceChild dom/plugins/ipc/PluginModuleChild.cpp:1599
| Assignee | ||
Comment 1•5 years ago
|
||
Sorry, it's my bad. I meant to call WindowsDllPatcherBase::SetLastError, but it was calling the WinAPI ::SetLastError. Let me quickly prepare a patch..
| Assignee | ||
Comment 3•5 years ago
|
||
Calling SetLastError in a lambda unintentionally called ::SetLastError
instead of WindowsDllPatcherBase::SetLastError. The fix is to rename the
function to SetLastDetourError as well as adding the this-> prefix.
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
| Assignee | ||
Comment 7•5 years ago
|
||
The regressing change was backed out. This will be fixed by a newer fix on bug 1588245.
| Assignee | ||
Updated•5 years ago
|
| Comment hidden (Intermittent Failures Robot) |
Updated•5 years ago
|
Description
•