Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.8.0
    • Labels:
      None

      Description

      Hi!
      I try to read statistic for join cursor, but getting segfault. Attached program demonstrate the problem. It has next output:

      $ LD_LIBRARY_PATH=wt-2382-join-collator_libs/ ./jcursor_stat                                                                                                                                                                                   
      value from jcursor: key = 2, v = 12
      value from jcursor: key = 3, v = 13
      Segmentation fault (core dumped)
      

      backtrace:

      (gdb) bt
      #0  0x000000301353357f in __strlen_sse42 () from /lib64/libc.so.6
      #1  0x00007f5a2b6258ec in __curstat_join_desc (cst=0x17c1270, slot=<optimized out>, resultp=0x7fffe09574d0) at src/cursor/cur_stat.c:489
      #2  0x00007f5a2b626742 in __curstat_get_value (cursor=0x17c1270) at src/cursor/cur_stat.c:114
      #3  0x0000000000401279 in main () at jcursor_stat.c:80
      

        Attachments

          Activity

            People

            • Assignee:
              donald.anderson Donald Anderson
              Reporter:
              Denis Shkirya Denis Shkirya
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: