bytedance / terarkdb

A RocksDB compatible KV storage engine with better performance
Apache License 2.0
2.05k stars 202 forks source link

db_properties_test received signal SIGSEGV, Segmentation fault #181

Closed yapple closed 2 years ago

yapple commented 2 years ago

[BUG]

Expected behavior

Pass db_properties_test

Actual behavior

Thread 3 "rocksdb:high0" received signal SIGSEGV, Segmentation fault.

Steps to reproduce the behavior

gdb ./db_properties_test

image image

[Enhancement]

Problem

we add a GetInfoLogLevel cause the problem

Solution

add more nullptr check https://github.com/bytedance/terarkdb/blob/dev.1.4/util/event_logger.h#L179

yapple commented 2 years ago

maybe the reason for the compaction_filter core problem in our newest version