[SERVER-7542] V8 crashes on startup Created: 02/Nov/12  Updated: 11/Jul/16  Resolved: 09/Nov/12

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: 2.3.0
Fix Version/s: 2.3.1

Type: Bug Priority: Major - P3
Reporter: Eric Milkie Assignee: Eric Milkie
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows


Issue Links:
Depends
is depended on by SERVER-2407 Switch to v8 Closed
Operating System: Windows
Participants:

 Description   

V8 seems to have an issue with initialization on startup. Only happens in release mode, and is hard to reliably reproduce unless you use AppVerifier and WinDbg.
See possibly related ticket:
http://code.google.com/p/v8/issues/detail?id=2207



 Comments   
Comment by Eric Milkie [ 05/Nov/12 ]

I forgot to say in the description that this is for mongo.exe. mongod.exe may have the same issue but I didn't test it.
To reliably reproduce the issue, run mongo.exe with AppVerifier – just the default checks should be sufficient.

Comment by auto [ 05/Nov/12 ]

Author:

{u'date': u'2012-11-05T14:04:16Z', u'email': u'milkie@10gen.com', u'name': u'Eric Milkie'}

Message: SERVER-7542 prevent 32-bit crash on startup

The V8 team has suggested we turn off fast-tls for Windows because it is
using undocumented Windows features and is interacting badly with the way
it initializes thread local variables on startup.
Branch: master
https://github.com/mongodb/mongo/commit/09e8a4aa16f3aef1dfb6d89fd12384141ee0ed24

Comment by Eric Milkie [ 05/Nov/12 ]

The V8 team has recommended that we disable fast TLS mode. This may fix the crash in 32-bit mode, but there may still be problems in 64-bit Windows.

Generated at Thu Feb 08 03:14:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.