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

crash in __curtable_close

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Resolution: Done
    • None
    • None
    • None
    • None

    Description

      Hi!

      Had the following crash during (failed) cursor creation:

      (gdb) bt
      #0  tbricks::transport::CRASH_HANDLER (signum=11) at src/Application.cpp:1065
      WT-1  <signal handler called>
      WT-2  0x00007fb5781eb0eb in __curtable_close (cursor=0x7fb576c92080) at /tb/builds/thd/sbn/2.6/src/thirdparty/wiredtiger/2.5.0/src/src/cursor/cur_table.c:728
      WT-3  0x00007fb5781e899d in __wt_curtable_open (session=0x7fb53ca59c80, uri=0x7fb567a9f898 "table:main", cfg=0x7fff888ce9c0, cursorp=0x7fff888ce9f0) at /tb/builds/thd/sbn/2.6/src/thirdparty/wiredtiger/2.5.0/src/src/cursor/cur_table.c:953
      WT-4  0x00007fb57824bf99 in __wt_open_cursor (session=0x7fb53ca59c80, uri=0x7fb567a9f898 "table:main", owner=0x0, cfg=0x7fff888ce9c0, cursorp=0x7fff888ce9f0)
          at /tb/builds/thd/sbn/2.6/src/thirdparty/wiredtiger/2.5.0/src/src/session/session_api.c:241
      WT-5  0x00007fb57824dc1a in __session_open_cursor (wt_session=0x7fb53ca59c80, uri=0x7fb567a9f898 "table:main", to_dup=0x0, config=0x7fff888ceb60 "", cursorp=0x7fb52fb42400)
          at /tb/builds/thd/sbn/2.6/src/thirdparty/wiredtiger/2.5.0/src/src/session/session_api.c:351
      ...
      (gdb) f 2
      WT-2  0x00007fb5781eb0eb in __curtable_close (cursor=0x7fb576c92080) at /tb/builds/thd/sbn/2.6/src/thirdparty/wiredtiger/2.5.0/src/src/cursor/cur_table.c:728
      728             for (i = 0; ctable->cfg[i] != NULL; ++i)
      (gdb) p ctable->cfg
      $20 = (const char **) 0x0
      

      So looks like

      ->cfg

      wasn't initialized when

       

      was called.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dmitri-shubin Dmitri Shubin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: