[SERVER-8029] mongodump crashs on empty database Created: 25/Dec/12  Updated: 26/Dec/12  Resolved: 26/Dec/12

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 2.0.2
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Peter Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File mongo-crash    
Issue Links:
Depends
depends on SERVER-7006 mongo tools seg fault in 2.2.0 with r... Closed
Operating System: Linux
Participants:

 Description   

mongodump crashs on empty database admin:

Tue Dec 25 17:15:56 DATABASE: admin to dump/admin
Logstream::get called in uninitialized state
Tue Dec 25 17:15:56 deleting replica set monitor for: akashi/mongo1.rt.bradburylab.tv:27018,mongo2.rt.bradburylab.tv:27018,mongo4.rt.bradburylab.tv:27018

Program received signal SIGSEGV, Segmentation fault.
std::local_Rb_tree_rotate_left (__x=0x7ffff8692100, __root=@0x7ffff8225890)
at /var/tmp/portage/sys-devel/gcc-4.5.4/work/gcc-4.5.4/libstdc++-v3/src/tree.cc:124
124 /var/tmp/portage/sys-devel/gcc-4.5.4/work/gcc-4.5.4/libstdc++-v3/src/tree.cc: No such file or directory.
in /var/tmp/portage/sys-devel/gcc-4.5.4/work/gcc-4.5.4/libstdc++-v3/src/tree.cc

Note admin is really empty database:

mongo2 ~ # mongo mongo1.rt.bradburylab.tv:27018
MongoDB shell version: 2.2.2
connecting to: mongo1.rt.bradburylab.tv:27018/test
akashi:PRIMARY> use admin
switched to db admin
akashi:PRIMARY> show collections
akashi:PRIMARY> db.stats()
{
"db" : "admin",
"collections" : 0,
"objects" : 0,
"avgObjSize" : 0,
"dataSize" : 0,
"storageSize" : 0,
"numExtents" : 0,
"indexes" : 0,
"indexSize" : 0,
"fileSize" : 0,
"nsSizeMB" : 0,
"ok" : 1
}

Full backtrace is in attachment.

mongodump versions 2.0.7 and 2.3.1 work as expected.



 Comments   
Comment by Daniel Pasette (Inactive) [ 26/Dec/12 ]

This is a duplicate of SERVER-7006

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