-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
5
-
Storage Engines 2020-03-23
While testing backup, I hit a segfault in the verify addr code. wt_addr_string assumes the buffer it is passed is non-NULL and the path I see is sending in NULL.
Here's the stack:
(gdb) bt #0 0x000000000041f4a6 in __wt_addr_string (session=0x7f918002b230, addr=0x0, addr_size=0, buf=0x0) at ../src/btree/bt_misc.c:24 #1 0x0000000000585943 in __verify_addr_string (session=0x7f918002b230, ref=0x7f9180067118, buf=0x7f918006e780) at ../src/btree/bt_vrfy.c:537 #2 0x000000000058754b in __verify_ts_addr_cmp (session=0x7f918002b230, ref=0x7f9180067118, cell_num=0, ts1_name=0x63cbd9 "newest durable", ts1=48947, ts2_name=0x63cbd9 "newest durable", ts2=48940, gt=false, vs=0x7f91967fb250) at ../src/btree/bt_vrfy.c:1079 #3 0x0000000000587e09 in __verify_page_cell (session=0x7f918002b230, ref=0x7f9180067118, addr_unpack=0x7f91967fb8f0, vs=0x7f91967fb250) at ../src/btree/bt_vrfy.c:1265 #4 0x00000000005868ca in __verify_tree (session=0x7f918002b230, ref=0x7f9180067118, addr_unpack=0x7f91967fb8f0, vs=0x7f91967fb250) at ../src/btree/bt_vrfy.c:868 #5 0x000000000058552a in __wt_verify (session=0x7f918002b230, cfg=0x7f91967fbb70) at ../src/btree/bt_vrfy.c:446 #6 0x00000000004c50d5 in __wt_exclusive_handle_operation (session=0x7f918002b230, uri=0x7f9180022220 "file:wt.wt", file_func=0x584f5c <__wt_verify>, cfg=0x7f91967fbb70, open_flags=2097168) at ../src/schema/schema_worker.c:32 #7 0x00000000004c51ef in __wt_schema_worker (session=0x7f918002b230, uri=0x7f9180022220 "file:wt.wt", file_func=0x584f5c <__wt_verify>, name_func=0x0, cfg=0x7f91967fbb70, open_flags=2097168) at ../src/schema/schema_worker.c:70 #8 0x00000000004c5490 in __wt_schema_worker (session=0x7f918002b230, uri=0x14ae5f0 "table:wt", file_func=0x584f5c <__wt_verify>, name_func=0x0, cfg=0x7f91967fbb70, open_flags=2097168) at ../src/schema/schema_worker.c:100 #9 0x00000000004d58d1 in __session_verify (wt_session=0x7f918002b230, uri=0x14ae5f0 "table:wt", config=0x0) at ../src/session/session_api.c:1596