[SERVER-19641] quit() in the shell quickExits from deep in the javascript stack Created: 28/Jul/15  Updated: 09/Jan/17  Resolved: 28/Jul/15

Status: Closed
Project: Core Server
Component/s: JavaScript
Affects Version/s: 3.1.7
Fix Version/s: 3.1.7

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

Issue Links:
Related
is related to SERVER-22021 Some top-level functions no longer ta... Closed
is related to SERVER-27576 MongoDB 3.4 'mongo' shell quit() not ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Platform 7 08/10/15
Participants:

 Description   

quit() in the shell calls quickExit() from deep in the stack. This is a problem because leak sanitizer can't trace reachability for our ImplScope's, so that looks like a leak. If we make quit() return from js and destroy the scope before quickExit we won't have this problem.



 Comments   
Comment by Mira Carey [ 28/Jul/15 ]

https://mongodbcr.appspot.com/18120002/

Comment by Githook User [ 28/Jul/15 ]

Author:

{u'username': u'hanumantmk', u'name': u'Jason Carey', u'email': u'jcarey@argv.me'}

Message: SERVER-19641 cleanup the js scope in quit()

make leak sanitizer happy
Branch: master
https://github.com/mongodb/mongo/commit/99103f65251459ea2fc8ad7e096284799702a234

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