Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-2794

glibc invalid fastbin entry

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      The automated stress testing reported a memory corruption error - invalid fastbin entry (free) - when running on zSeries:

      *** Error in `/mnt/workspace/wiredtiger-test-format-stress-zseries/build_posix/.libs/lt-wt': invalid fastbin entry (free): 0x000000008ea6ac90 ***
      ======= Backtrace: =========
      /lib64/libc.so.6(+0x880e8)[0x3ff7e9080e8]
      /mnt/workspace/wiredtiger-test-format-stress-zseries/build_posix/.libs/libwiredtiger-2.8.1.so(__wt_free_int+0x19a)[0x3ff7ef4711a]
      /mnt/workspace/wiredtiger-test-format-stress-zseries/build_posix/.libs/libwiredtiger-2.8.1.so(__wt_page_out+0x42c)[0x3ff7ee5eb3c]
      /mnt/workspace/wiredtiger-test-format-stress-zseries/build_posix/.libs/libwiredtiger-2.8.1.so(__wt_ref_out+0x80)[0x3ff7ee5e700]
      /mnt/workspace/wiredtiger-test-format-stress-zseries/build_posix/.libs/libwiredtiger-2.8.1.so(+0x10fde4)[0x3ff7ef0fde4]
      /mnt/workspace/wiredtiger-test-format-stress-zseries/build_posix/.libs/libwiredtiger-2.8.1.so(__wt_evict+0x558)[0x3ff7ef0f3c8]
      /mnt/workspace/wiredtiger-test-format-stress-zseries/build_posix/.libs/libwiredtiger-2.8.1.so(+0x10c304)[0x3ff7ef0c304]
      /mnt/workspace/wiredtiger-test-format-stress-zseries/build_posix/.libs/libwiredtiger-2.8.1.so(+0x1094e6)[0x3ff7ef094e6]
      /mnt/workspace/wiredtiger-test-format-stress-zseries/build_posix/.libs/libwiredtiger-2.8.1.so(+0x107fec)[0x3ff7ef07fec]
      /mnt/workspace/wiredtiger-test-format-stress-zseries/build_posix/.libs/libwiredtiger-2.8.1.so(+0x10709c)[0x3ff7ef0709c]
      /lib64/libpthread.so.0(+0x820a)[0x3ff7ec0820a]
      /lib64/libc.so.6(+0xfcea2)[0x3ff7e97cea2]
      

      It was the shelled rebalance command that fails:

      wts_rebalance/71: system(cmd): command failed: ../../wt -h RUNDIR dump -f RUNDIR/rebalance.new table:wt: Unknown error 134
      

      There has been some precedence of this error being caused by a GLIBC bug (https://bugzilla.redhat.com/show_bug.cgi?id=593396). That was in glibc 2.12, the machine this failed on is running:

      $ rpm -qa | grep glibc
      glibc-2.17-106.el7_2.4.s390x
      

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: