Server restart with WiredTiger on full disk causes a segfault

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 3.0.0-rc6
    • Affects Version/s: 2.8.0-rc3
    • Component/s: Storage
    • Fully Compatible
    • OS X
    • Hide

      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

      Show
      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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Trying to restart a wiredTiger mongod after it has been terminated due to a full disk causes a segfault

        1. wt-files-st.txt
          9 kB
        2. wt-st-3.txt
          4 kB
        3. wt-st-4.txt
          9 kB

            Assignee:
            Susan LoVerso (Inactive)
            Reporter:
            Robert Guo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: