[SERVER-11139] tool/dumpfilename1.js failing on Linux 64-bit DEBUG 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: Matt Kangas Assignee: Shaun Verch
Resolution: Done Votes: 0
Labels: buildbot
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-11140 directoryperdb.js failing on Linux 64... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

0e179669313b Linux 64-bit DEBUG DUR OFF tool

I can repro this at a37211e (latest HEAD on master)

scons --mode=files jstests/tool/dumpfilename1.js

2013-10-11T11:59:08.023-0400 shell: started program /data02/workspace/mongo/mongodump --out /data/db/jstests_tool_dumpfilename1_external/ --host 127.0.0.1:31000
sh18278| connected to: 127.0.0.1:31000
 m31000| 2013-10-11T11:59:08.086-0400 [initandlisten] connection accepted from 127.0.0.1:56923 #2 (2 connections now open)
sh18278| 2013-10-11T11:59:08.087-0400 all dbs
sh18278| 2013-10-11T11:59:08.088-0400 DATABASE: jstests_tool_dumpfilename1	 to 	/data/db/jstests_tool_dumpfilename1_external/jstests_tool_dumpfilename1
sh18278| 2013-10-11T11:59:08.089-0400 ERROR: Cannot dump jstests_tool_dumpfilename1.df/. Collection has '/' or null in the collection name.
sh18278| 2013-10-11T11:59:08.089-0400 	jstests_tool_dumpfilename1.system.indexes to /data/db/jstests_tool_dumpfilename1_external/jstests_tool_dumpfilename1/system.indexes.bson
sh18278| 2013-10-11T11:59:08.090-0400 		 2 objects
sh18278| 2013-10-11T11:59:08.090-0400 	jstests_tool_dumpfilename1.df to /data/db/jstests_tool_dumpfilename1_external/jstests_tool_dumpfilename1/df.bson
sh18278| 2013-10-11T11:59:08.091-0400 		 1 objects
sh18278| 2013-10-11T11:59:08.092-0400 	Metadata for jstests_tool_dumpfilename1.df to /data/db/jstests_tool_dumpfilename1_external/jstests_tool_dumpfilename1/df.metadata.json
sh18278| 2013-10-11T11:59:08.092-0400 DATABASE: admin	 to 	/data/db/jstests_tool_dumpfilename1_external/admin

Note on the DEBUG build there's also this tidbit, which seems to be tcmalloc complaining. (Drew's new DEBUG option)

sh18755| 2013-10-11T15:43:36.731+0000 /data/db/jstests_tool_dumpfilename1_external/jstests_tool_dumpfilename1/df.bson
sh18755| 2013-10-11T15:43:36.731+0000 	going into namespace [jstests_tool_dumpfilename1.df]
sh18755| memory allocation/deallocation mismatch at 0x7f3053ef0480: allocated with new [] being deallocated with delete



 Comments   
Comment by auto [ 11/Oct/13 ]

Author:

{u'username': u'Zarkantho', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}

Message: SERVER-11139 Fix wrong smart pointer used for array allocation
Branch: master
https://github.com/mongodb/mongo/commit/ef132b3aa10765022cb9c1e23f3d91025094848d

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

Error is here: https://github.com/mongodb/mongo/blob/0ffa31cb9e1fdd281710aa872cac27c5ef8e3145/src/mongo/tools/restore.cpp#L425

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