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

statistic for join cursor

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

      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
      

        1. jcursor_stat.c
          2 kB
          Denis Shkirya

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

              Created:
              Updated:
              Resolved: