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

LSM core dump in the checkpoint code

    • Type: Icon: Task Task
    • Resolution: Done
    • WT1.6.6
    • Affects Version/s: None
    • Component/s: None

      When I run test/format with this CONFIG:

      data_source=lsm
      cache=20
      compression=none
      key_max=64
      ops=2000
      rows=100
      insert_pct=45
      leaf_page_max=12
      value_max=64
      

      I see this core dump:

      #0  0x000000000041eb60 in __meta_track_apply (session=0x801d95c30, 
          trk=0x80221e8c8, unroll=0) at ../src/meta/meta_track.c:112
      112				WT_WITH_BTREE(session, trk->btree,
      [New Thread 8014095c0 (LWP 100156)]
      [New Thread 801409240 (LWP 100155)]
      [New Thread 801503e40 (LWP 100154)]
      [New Thread 801404540 (LWP 100153)]
      [New Thread 801408b40 (LWP 100152)]
      [New Thread 801408ec0 (LWP 100151)]
      [New Thread 801409940 (LWP 100150)]
      h[New Thread 8015c71c0 (LWP 100149)]
      [New Thread 801409780 (LWP 100148)]
      [New Thread 8014fd380 (LWP 100147)]
      [New Thread 8014fd540 (LWP 100146)]
      [New Thread 80140a900 (LWP 100144)]
      [New Thread 80140ae40 (LWP 100143)]
      [New Thread 801409b00 (LWP 100108)]
      [New Thread 80140a3c0 (LWP 100096)]
      [New Thread 8014fd1c0 (LWP 100095)]
      [New Thread 8014041c0 (LWP 100097)]
      (gdb) where
      #0  0x000000000041eb60 in __meta_track_apply (session=0x801d95c30, 
          trk=0x80221e8c8, unroll=0) at ../src/meta/meta_track.c:112
      WT-1  0x000000000041eff7 in __wt_meta_track_off (session=0x801d95c30, unroll=0)
          at ../src/meta/meta_track.c:212
      WT-2  0x0000000000436b96 in __wt_txn_checkpoint (session=0x801d95c30, 
          cfg=0x7fffffbfee00) at ../src/txn/txn_ckpt.c:176
      WT-3  0x000000000042f9c4 in __session_checkpoint (wt_session=0x801d95c30, 
          config=0x0) at ../src/session/session_api.c:725
      WT-4  0x000000000041229d in ops (arg=0x8023d6870)
          at ../../../test/format/wts_ops.c:207
      WT-5  0x00000008009ff4f1 in pthread_getprio () from /lib/libthr.so.3
      WT-6  0x00007fffff9ff000 in ?? ()
      Cannot access memory at address 0x7fffffbff000
      

      The problem is that trk->btree->bm is NULL.

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

              Created:
              Updated:
              Resolved: