Closed Bug 1204752 Opened 9 years ago Closed 9 years ago

startup crash on xp sp3 with VS2015 build

Categories

(Firefox Build System :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(firefox46 fixed)

RESOLVED FIXED
mozilla46
Tracking Status
firefox46 --- fixed

People

(Reporter: c, Assigned: poiru)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 5.1; rv:40.0) Gecko/20100101 Firefox/40.0 Light/40.0 Build ID: 20150809115331 Steps to reproduce: vs2015 builds. startup crash on xp sp3. works fine on win10.
(a68.a6c): Access violation - code c0000005 (first chance) First chance exceptions are reported before any exception handling. This exception may be expected and handled. eax=00000000 ebx=00e5184c ecx=00000000 edx=00000000 esi=000000ad edi=028d606c eip=01a1f760 esp=0012ee90 ebp=0012eeb4 iopl=0 nv up ei pl nz na po nc cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010202 xul!nsTHashtable<nsBaseHashtableET<nsUint32HashKey,mozilla::MediaStreamGraphImpl *> >::Ops+0xc [f:\develop\mozilla\central\obj\obj-vc\dist\include\nsthashtable.h @ 347] *** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\WINDOWS\system32\ucrtbase.dll - 0012ee98 00498273 00dc0001 00000001 00000001 xul!mozilla::`dynamic initializer for 'gGraphs''+0x9 [f:\develop\mozilla\central\dom\media\mediastreamgraph.cpp @ 63] WARNING: Stack unwind information not available. Following frames may be wrong. 0012eeb4 028d1d6b 028d5db8 028d6a98 9635c193 ucrtbase!initterm+0x43 0012eef4 028d1cac 00dc0000 00000000 0012ef44 xul!dllmain_crt_process_attach+0xa7 [f:\dd\vctools\crt\vcstartup\src\startup\dll_dllmain.cpp @ 65] 0012ef04 028d1e99 00dc0000 00000001 00000000 xul!dllmain_crt_dispatch+0x3b [f:\dd\vctools\crt\vcstartup\src\startup\dll_dllmain.cpp @ 133] 0012ef44 028d1fa2 00dc0000 00000001 00000000 xul!dllmain_dispatch+0x46 [f:\dd\vctools\crt\vcstartup\src\startup\dll_dllmain.cpp @ 182] 0012ef58 7c92118a 00dc0000 00000001 00000000 xul!_DllMainCRTStartup+0x1c [f:\dd\vctools\crt\vcstartup\src\startup\dll_dllmain.cpp @ 250] 0012ef78 7c93c4da 028d1f86 00dc0000 00000001 ntdll!LdrInitializeThunk+0x24 0012f080 7c936351 00000000 c0150008 00000000 ntdll!LdrFindResourceDirectory_U+0x28d 0012f32c 7c9364b3 00000000 0015e788 0012f700 ntdll!RtlValidateUnicodeString+0x507 *** WARNING: Unable to verify checksum for E:\develop\mozilla\obj\obj-VC\dist\bin\mozglue.dll 0012f5d4 002e2559 0015e788 0012f700 0012f6e0 ntdll!LdrLoadDll+0x110 *** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\WINDOWS\system32\kernel32.dll - 0012f6b4 7c801bbd 0015e788 0012f700 0012f6e0 mozglue!`anonymous namespace'::patched_LdrLoadDll+0x444 [f:\develop\mozilla\central\mozglue\build\windowsdllblocklist.cpp @ 703] *** WARNING: Unable to verify checksum for firefox.exe 0012f71c 0040252d 0012f734 00000000 00000008 kernel32!LoadLibraryExW+0xc8 0012f940 00402719 0012fa60 00000001 00000001 firefox!ReadDependentCB+0x57 [f:\develop\mozilla\central\xpcom\glue\standalone\nsxpcomglue.cpp @ 228] 0012fb68 004028ed 0012fd9c 004019e5 0012fd9c firefox!XPCOMGlueLoad+0x162 [f:\develop\mozilla\central\xpcom\glue\standalone\nsxpcomglue.cpp @ 383] 0012fb70 004019e5 0012fd9c 00000001 00000000 firefox!XPCOMGlueStartup+0x27 [f:\develop\mozilla\central\xpcom\glue\standalone\nsxpcomglue.cpp @ 485] 0012fea4 00401b79 001569f0 0012fed8 00000001 firefox!InitXPCOMGlue+0xea [f:\develop\mozilla\central\browser\app\nsbrowserapp.cpp @ 301] 0012ff44 004024ba 00000001 001569d0 00421358 firefox!NS_internal_main+0x4f [f:\develop\mozilla\central\browser\app\nsbrowserapp.cpp @ 367] 0012ff74 00403393 00000001 ffffe868 00155b40 firefox!wmain+0x132 [f:\develop\mozilla\central\toolkit\xre\nswindowswmain.cpp @ 138] 0012ffc0 7c817077 01d9f6ee 01d9f76e 7ffdf000 firefox!__scrt_common_main_seh+0xff [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl @ 264] 0012fff0 00000000 00403410 00000000 78746341 kernel32!RegisterWaitForInputIdle+0x49
(a58.92c): Access violation - code c0000005 (first chance) First chance exceptions are reported before any exception handling. This exception may be expected and handled. eax=00000000 ebx=00000001 ecx=00000000 edx=61666564 esi=00000000 edi=02f37570 eip=00ff786c esp=0012f9b8 ebp=00000000 iopl=0 nv up ei pl zr na pe nc cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010246 0012f9b4 02244748 00000001 0012f9d4 0012fc50 xul!EmptyCString+0xc [f:\develop\mozilla\central\xpcom\string\nsreadableutils.cpp @ 1094] 0012fb6c 02244de5 0012fc54 0012fc40 0224b1ed xul!nsToolkitProfileService::Init+0x2a8 [f:\develop\mozilla\central\toolkit\profile\nstoolkitprofileservice.cpp @ 474] 0012fb78 0224b1ed 0012fc54 00000000 00751380 xul!NS_NewToolkitProfileService+0x25 [f:\develop\mozilla\central\toolkit\profile\nstoolkitprofileservice.cpp @ 1088] 0012fc14 0224a1f0 0012fc40 02f48240 0012fd98 xul!XREMain::XRE_mainStartup+0xed [f:\develop\mozilla\central\toolkit\xre\nsapprunner.cpp @ 3891] 0012fc38 0224b6fd 00000000 001569d0 0012fd98 xul!XREMain::XRE_main+0x120 [f:\develop\mozilla\central\toolkit\xre\nsapprunner.cpp @ 4382]
Blocks: VC14
OS: Unspecified → Windows XP
Hardware: Unspecified → x86
Summary: startup crash on xp sp3 → startup crash on xp sp3 with VS2015 build
Hello Dmajor, Are you still encountering this bug on Firefox 42.0 or Nightly 45.0a1? If so please view bug id: 1119082 and 1124017. Thank you, Justin
Component: Untriaged → Build Config
Flags: needinfo?(zhoubcfan)
AFAIK Dmajor left from Mozilla.
Yes
Flags: needinfo?(zhoubcfan)
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Oops, wrong button! I was supposed to assign myself.
Assignee: nobody → birunthan
Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: FIXED → ---
VS2015 added thread-safe statics, but it causes a crash on Windows XP. The suggested workaround provided by Microsoft is to disable the feature enitrely: https://connect.microsoft.com/VisualStudio/feedback/details/1789709/visual-c-2015-runtime-broken-on-windows-server-2003-c-11-magic-statics Note that thread-safe statics were not available in VS2013 so disabling them should not be considered a regression.
Attachment #8702129 - Flags: review?(mh+mozilla)
Attachment #8702129 - Flags: review?(mh+mozilla) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/fc169db1ce4d97bc61ccd0f8278cb8e2c6824725 Bug 1204752 - Disable thread-safe statics on VS2015 to fix WinXP startup crash. r=glandium
Status: REOPENED → RESOLVED
Closed: 9 years ago9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
Blocks: 1318025
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: