-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: JavaScript
-
None
-
Environment:Ubuntu 10.10 x86_64, libv8-2.2.18
-
ALL
On my machine, killop.js does not end queries with a "while( 1 )
{ ; }" where clause - the shell hangs for a long period of time. Seems like the root of the problem is the v8::Locker l; mutex in V8ScriptEngine::interrupt(). As far as I can tell, this never yields when there's other javascript executing.
If this is expected behavior (or difficult to fix), the test case should probably be modified - adding a sleep( 1 ) to the loop allows the operation to be killed.
Observed this generally through many versions of mongodb.
- related to
-
SERVER-3481 interrupting --eval while(true){ ; } loops using killOp
- Closed