Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

db_stress coredumped with segfault #10960

Open
rockeet opened this issue Nov 17, 2022 · 0 comments
Open

db_stress coredumped with segfault #10960

rockeet opened this issue Nov 17, 2022 · 0 comments

Comments

@rockeet
Copy link
Contributor

rockeet commented Nov 17, 2022

Expected behavior

./db_stress should run successfully.

Actual behavior

./db_stress coredumped with segfault, is it by design?

Steps to reproduce the behavior

$ git log -n1
commit 8fa8780932f3bb510093b176d67733c08c84f0a6 (HEAD -> main, facebook/main)
Author: Levi Tamasi <ltamasi@fb.com>
Date:   2022-11-16 12:22:35 -0800

    Mention wide-column support in HISTORY.md (#10959)
    
    Summary: Pull Request resolved: https://github.com/facebook/rocksdb/pull/10959
    
    Reviewed By: akankshamahajan15
    
    Differential Revision: D41348198
    
    Pulled By: ltamasi
    
    fbshipit-source-id: 51e89d03c1fe87f576a766f609a7f233a519c83d
make DISABLE_WARNING_AS_ERROR=1 DEBUG_LEVEL=1 -j70 check
$ ./db_stress
Choosing random keys with no overwrite
Creating 2621440 locks
2022/11/17-15:05:53  Initializing db_stress
RocksDB version           : 7.9
Format version            : 5
TransactionDB             : false
Stacked BlobDB            : false
Read only mode            : false
Atomic flush              : false
Manual WAL flush          : false
Column families           : 10
Clear CFs one in          : 1000000
Number of threads         : 32
Ops per thread            : 1200000
Time to live(sec)         : unused
Read percentage           : 10%
Prefix percentage         : 20%
Write percentage          : 45%
Delete percentage         : 15%
Delete range percentage   : 0%
No overwrite percentage   : 60%
Iterate percentage        : 10%
Custom ops percentage     : 0%
DB-write-buffer-size      : 0
Write-buffer-size         : 67108864
Iterations                : 10
Max key                   : 1048576
Ratio #ops/#keys          : 36.621094
Num times DB reopens      : 10
Batches/snapshots         : 0
Do update in place        : 0
Num keys per lock         : 4
Compression               : Snappy
Bottommost Compression    : DisableOption
Checksum type             : kCRC32c
File checksum impl        : none
Bloom bits / key          : 10.000000
Max subcompactions        : 1
Use MultiGet              : false
Memtablerep               : skip_list
Test kill odd             : 0
Periodic Compaction Secs  : 1000
Compaction TTL            : 1000
Compaction Pri            : kMinOverlappingRatio
Background Purge          : 0
Write DB ID to manifest   : 0
Max Write Batch Group Size: 1048576
Use dynamic level         : 0
Read fault one in         : 1000
Write fault one in        : 0
Open metadata write fault one in:
                            0
Sync fault injection      : 0
Best efforts recovery     : 0
Fail if OPTIONS file error: 0
User timestamp size bytes : 0
WAL compression           : none
Try verify sst unique id  : 0
------------------------------------------------
WARNING: prefix_size is non-zero but memtablerep != prefix_hash
Integrated BlobDB: blob files enabled 0, min blob size 0, blob file size 268435456, blob compression type NoCompression, blob GC enabled 0, cutoff 0.250000, force threshold 1.000000, blob compaction readahead size 0, blob file starting level 0
Integrated BlobDB: blob cache disabled
DB path: [/tmp/rocksdbtest-1001/dbstress]
(Re-)verified 2777 unique IDs
2022/11/17-15:05:53  Initializing worker threads
2022/11/17-15:05:53  Starting database operations
[CF 8] Dropping and recreating column family. new name: 10
Received signal 11 (Segmentation fault)

System info

$ uname -a
Linux file-server 5.4.173-1.el8.elrepo.x86_64 #1 SMP Tue Jan 18 14:58:13 EST 2022 x86_64 x86_64 x86_64 GNU/Linux
$ free
              total        used        free      shared  buff/cache   available
Mem:      264019576   156017492    79569628      319304    28432456   105231544
Swap:             0           0           0
$ lscpu
Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
CPU(s):              64
On-line CPU(s) list: 0-63
Thread(s) per core:  2
Core(s) per socket:  16
Socket(s):           2
NUMA node(s):        2
Vendor ID:           GenuineIntel
CPU family:          6
Model:               79
Model name:          Intel(R) Xeon(R) CPU E5-2682 v4 @ 2.50GHz
Stepping:            1
CPU MHz:             2910.435
CPU max MHz:         3000.0000
CPU min MHz:         1200.0000
BogoMIPS:            4988.57
Virtualization:      VT-x
L1d cache:           32K
L1i cache:           32K
L2 cache:            256K
L3 cache:            40960K
NUMA node0 CPU(s):   0-15,32-47
NUMA node1 CPU(s):   16-31,48-63
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm rdt_a rdseed adx smap intel_pt xsaveopt cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts flush_l1d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant