| Steps To Reproduce: |
1. Create 1GB ramdisk: diskutil erasevolume HFS+ 'RAM Disk' `hdiutil attach -nomount ram://2000000`
2. start mongod with wiredTiger (default setting, except dbpath)
3. create some random 100MB binary files with: dd if=/dev/urandom of=file bs=1048576 count=100
4. insert them using mongofiles until disk is full and the server crashes
5. run df to determine the amount of free space left on the ramdisk
6. run: dd if=/dev/urandom of=file bs=xxxxx count=1 in the ramdisk directory, where bs= the free space from step 5. This should fill up the ramdisk completely.
7. restart the server and connect mongo
8. segmentation fault 11
stack trace is attached
|