[SERVER-11140] directoryperdb.js failing on Linux 64 builders Created: 11/Oct/13  Updated: 11/Jul/16  Resolved: 11/Oct/13

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 2.5.3

Type: Bug Priority: Major - P3
Reporter: Ian Whalen (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Done Votes: 0
Labels: buildbot
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-11139 tool/dumpfilename1.js failing on Linu... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

Seen so far on DEBUG and DEBUG DUR OFF.

	
2013-10-11T13:36:15.744+0000 shell: started program /srv/10gen/mci-exec/mci/git@github.commongodb/mongo.git/master/mongorestore --dbpath /data/db/jstests_disk_directoryper/ --directoryperdb --dir /data/db/jstests_disk_directoryper_external/
sh12649| 2013-10-11T13:36:15.770+0000 [tools] /data/db/jstests_disk_directoryper_external/directoryperdb/directoryperdb.bson
sh12649| 2013-10-11T13:36:15.770+0000 [tools] 	going into namespace [directoryperdb.directoryperdb]
sh12649| memory allocation/deallocation mismatch at 0x7f0fa978c910: allocated with new [] being deallocated with delete
2013-10-11T13:36:15.888+0000 shell: started program /srv/10gen/mci-exec/mci/git@github.commongodb/mongo.git/master/mongod --port 31000 --dbpath /data/db/jstests_disk_directoryper --noprealloc --smallfiles --oplogSize 40 --nohttpinterface --directoryperdb --bind_ip 127.0.0.1 --setParameter enableTestCommands=1
2013-10-11T13:36:15.889+0000 warning: Failed to connect to 127.0.0.1, reason: errno:111 Connection refused

First known failure is a0f00754f2b5292e221cf25ec7024864a34bf294 and last known success is 3c469372db7db7a3ce13c59a85a619108b6adec1.

Given the allocation/deallocation error and the fact that we're only seeing this on DEBUG builds, I'm assigning to Drew under the guess this is being caused by https://github.com/mongodb/mongo/commit/c5b32e97207bf0edbdf3567eedc9082cdb96b4fb



 Comments   
Comment by Andrew Morrow (Inactive) [ 11/Oct/13 ]

Same root cause as SERVER-11139, will close this as fixed.

Comment by Andrew Morrow (Inactive) [ 11/Oct/13 ]

This test has the same root cause as SERVER-11139, where the 'mongorestore' tool misuses a scoped_ptr to hold the result of new[]. I verified that the fix for SERVER-11139 also fixes this ticket, I will close it as a duplicate.

Comment by Eric Milkie [ 11/Oct/13 ]

I'm looking at this too..

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