[SERVER-410] mongoimport crashes on windows Created: 09/Nov/09  Updated: 12/Jul/16  Resolved: 29/Dec/09

Status: Closed
Project: Core Server
Component/s: Tools
Affects Version/s: None
Fix Version/s: 1.2.1, 1.3.0

Type: Bug Priority: Major - P3
Reporter: Dwight Merriman Assignee: Mathias Stearn
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-411 make smokeTool work on windows Closed
Participants:

 Description   

also we should add a unit test for mongoimport if we don't have one to the regression suite before closing this

http://groups.google.com/group/mongodb-user/browse_thread/thread/bce1a45155ccee2/783d3ee7f9bcb64a?lnk=gst&q=mongoimport#783d3ee7f9bcb64a

Scott
More options Oct 31, 2:06 pm
Same thing with the nightly. The -v doesn't give any additional
output. It crashes pretty much immediatly, although it does seem to
connect to the server before crashing.
c:\Program Files\MongoDB\bin>mongoimport -v -d test -c fec --file c:
\temp\junk.csv --type csv -f this,that,other
connected to: 127.0.0.1
c:\Program Files\MongoDB\bin>mongoimport -vvvvv -d test -c fec --file
c:\temp\junk.csv --type csv -f this,that,other
connected to: 127.0.0.1



 Comments   
Comment by auto [ 29/Dec/09 ]

Author:

{'name': 'Mathias Stearn', 'email': 'mathias@10gen.com'}

Message: Backport fix to 1.2 branch. SERVER-410.
http://github.com/mongodb/mongo/commit/961d3ab8b21c06f633ddd83513baa848145b7916

Comment by Eliot Horowitz (Inactive) [ 28/Dec/09 ]

we should backport this to 1.2

Comment by auto [ 28/Dec/09 ]

Author:

{'name': 'Mathias Stearn', 'email': 'mathias@10gen.com'}

Message: Allocate line buffer on heap to avoid blowing the stack on windows. SERVER-410
http://github.com/mongodb/mongo/commit/afbe8c64d9fe1e36a302f5264d82462b200056f1

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