Skip to content
New issue

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

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

Already on GitHub? # to your account

[CRASH] keydb make test failed #855

Open
jcy1001 opened this issue Jul 31, 2024 · 2 comments
Open

[CRASH] keydb make test failed #855

jcy1001 opened this issue Jul 31, 2024 · 2 comments

Comments

@jcy1001
Copy link

jcy1001 commented Jul 31, 2024

Crash report

[root@localhost KeyDB]# make test
cd src && make test
make[1]: 进入目录“/opt/KeyDB/src”
KeyDB was not built with FLASH. Excluding FLASH tests
Cleanup: may take some time... OK
Starting test server at port 21079
KeyDB was not built with FLASH. Excluding FLASH tests
KeyDB was not built with FLASH. Excluding FLASH tests
KeyDB was not built with FLASH. Excluding FLASH tests
KeyDB was not built with FLASH. Excluding FLASH tests
KeyDB was not built with FLASH. Excluding FLASH tests
KeyDB was not built with FLASH. Excluding FLASH tests
KeyDB was not built with FLASH. Excluding FLASH tests
KeyDB was not built with FLASH. Excluding FLASH tests
KeyDB was not built with FLASH. Excluding FLASH tests
KeyDB was not built with FLASH. Excluding FLASH tests
[ready]: 2682383
Testing unit/printver
[ready]: 2682384
Testing unit/dump
[ready]: 2682382
Testing unit/auth
[ready]: 2682391
Testing unit/protocol
[ready]: 2682386
Testing unit/keyspace
KeyDB was not built with FLASH. Excluding FLASH tests
[ready]: 2682387
Testing unit/scan
[ready]: 2682395
Testing unit/info
[ready]: 2682388
Testing unit/type/string
[ready]: 2682393
KeyDB was not built with FLASH. Excluding FLASH tests
Testing unit/type/incr
[ready]: 2682385
Testing unit/type/list
[ready]: 2682396
Testing unit/type/list-2
KeyDB was not built with FLASH. Excluding FLASH tests
[ready]: 2682400
Testing unit/type/list-3
[ready]: 2682402
Testing unit/type/set
KeyDB was not built with FLASH. Excluding FLASH tests
[ready]: 2682407
Testing unit/type/zset
KeyDB was not built with FLASH. Excluding FLASH tests
[ready]: 2682406
Testing unit/type/hash
KeyDB was not built with FLASH. Excluding FLASH tests
[ready]: 2682410
Testing unit/type/stream
--- LOG CONTENT ---
[err]: Can't start the Redis server
CONFIGURATION:always-show-logo yes
notify-keyspace-events KEA
daemonize no
pidfile /var/run/keydb.pid
port 22611
timeout 0
bind 127.0.0.1
loglevel verbose
logfile ''
databases 16
latency-monitor-threshold 1
save 60 10000
rdbcompression yes
dbfilename dump.rdb
dir ./tests/tmp/server.2682385.1
slave-serve-stale-data yes
appendonly no
appendfsync everysec
no-appendfsync-on-rewrite no
activerehashing yes
unixsocket /opt/KeyDB/tests/tmp/server.2682385.1/socket
testmode yes
list-max-ziplist-size 5
server-threads 2
ERROR:No PID detected in log ./tests/tmp/server.2682385.1/stdout

Starting server for test

2682433:2682433:C 31 Jul 2024 16:31:27.774 # oO0OoO0OoO0Oo KeyDB is starting oO0OoO0OoO0Oo
2682433:2682433:C 31 Jul 2024 16:31:27.774 # KeyDB version=255.255.255, bits=64, commit=0731a050, modified=1, pid=2682433, just started
2682433:2682433:C 31 Jul 2024 16:31:27.774 # Configuration loaded

=== KEYDB BUG REPORT START: Cut & paste starting from here ===
2682433:2682433:C 31 Jul 2024 16:31:27.774 # === ASSERTION FAILED ===
2682433:2682433:C 31 Jul 2024 16:31:27.774 # ==> server.cpp:6531 '!ret' is not true

------ STACK TRACE ------

Backtrace:
src/keydb-server(linuxMadvFreeForkBugCheck()+0x360) [0x4e0720]
src/keydb-server(main+0x318) [0x441970]
/usr/lib64/libc.so.6(__libc_start_main+0xe0) [0xfffe5b663f80]
src/keydb-server(_start+0x4c) [0x44558c]

------ INFO OUTPUT ------

--- LOG CONTENT ---
[err]: Can't start the Redis server
CONFIGURATION:always-show-logo yes
notify-keyspace-events KEA
daemonize no
pidfile /var/run/keydb.pid
port 23611
timeout 0
bind 127.0.0.1
loglevel verbose
logfile ''
databases 16
latency-monitor-threshold 1
save 60 10000
rdbcompression yes
dbfilename dump.rdb
dir ./tests/tmp/server.2682387.1
slave-serve-stale-data yes
appendonly no
appendfsync everysec
no-appendfsync-on-rewrite no
activerehashing yes
unixsocket /opt/KeyDB/tests/tmp/server.2682387.1/socket
testmode yes
ERROR:No PID detected in log ./tests/tmp/server.2682387.1/stdout

Starting server for test

2682430:2682430:C 31 Jul 2024 16:31:27.737 # oO0OoO0OoO0Oo KeyDB is starting oO0OoO0OoO0Oo
2682430:2682430:C 31 Jul 2024 16:31:27.737 # KeyDB version=255.255.255, bits=64, commit=0731a050, modified=1, pid=2682430, just started
2682430:2682430:C 31 Jul 2024 16:31:27.737 # Configuration loaded

=== KEYDB BUG REPORT START: Cut & paste starting from here ===
2682430:2682430:C 31 Jul 2024 16:31:27.737 # === ASSERTION FAILED ===
2682430:2682430:C 31 Jul 2024 16:31:27.737 # ==> server.cpp:6531 '!ret' is not true

------ STACK TRACE ------

Backtrace:
src/keydb-server(linuxMadvFreeForkBugCheck()+0x360) [0x4e0720]
src/keydb-server(main+0x318) [0x441970]
/usr/lib64/libc.so.6(__libc_start_main+0xe0) [0xfffbcac53f80]
src/keydb-server(_start+0x4c) [0x44558c]

------ INFO OUTPUT ------

--- LOG CONTENT ---
[err]: Can't start the Redis server
CONFIGURATION:always-show-logo yes
notify-keyspace-events KEA
daemonize no
pidfile /var/run/keydb.pid
port 26611
timeout 0
bind 127.0.0.1
loglevel verbose
logfile ''
databases 16
latency-monitor-threshold 1
save 60 10000
rdbcompression yes
dbfilename dump.rdb
dir ./tests/tmp/server.2682400.1
slave-serve-stale-data yes
appendonly no
appendfsync everysec
no-appendfsync-on-rewrite no
activerehashing yes
unixsocket /opt/KeyDB/tests/tmp/server.2682400.1/socket
testmode yes
list-max-ziplist-size 16
ERROR:No PID detected in log ./tests/tmp/server.2682400.1/stdout

Starting server for test

2682439:2682439:C 31 Jul 2024 16:31:27.758 # oO0OoO0OoO0Oo KeyDB is starting oO0OoO0OoO0Oo
2682439:2682439:C 31 Jul 2024 16:31:27.759 # KeyDB version=255.255.255, bits=64, commit=0731a050, modified=1, pid=2682439, just started
2682439:2682439:C 31 Jul 2024 16:31:27.759 # Configuration loaded

=== KEYDB BUG REPORT START: Cut & paste starting from here ===
2682439:2682439:C 31 Jul 2024 16:31:27.759 # === ASSERTION FAILED ===
2682439:2682439:C 31 Jul 2024 16:31:27.759 # ==> server.cpp:6531 '!ret' is not true

------ STACK TRACE ------

Backtrace:
src/keydb-server(linuxMadvFreeForkBugCheck()+0x360) [0x4e0720]
src/keydb-server(main+0x318) [0x441970]
/usr/lib64/libc.so.6(__libc_start_main+0xe0) [0xfffd62123f80]
src/keydb-server(_start+0x4c) [0x44558c]

------ INFO OUTPUT ------

--- LOG CONTENT ---
[err]: Can't start the Redis server
CONFIGURATION:always-show-logo yes
notify-keyspace-events KEA
daemonize no
pidfile /var/run/keydb.pid
port 21611
timeout 0
bind 127.0.0.1
loglevel verbose
logfile ''
databases 16
latency-monitor-threshold 1
save 60 10000
rdbcompression yes
dbfilename dump.rdb
dir ./tests/tmp/server.2682383.1
slave-serve-stale-data yes
appendonly no
appendfsync everysec
no-appendfsync-on-rewrite no
activerehashing yes
unixsocket /opt/KeyDB/tests/tmp/server.2682383.1/socket
testmode yes
ERROR:No PID detected in log ./tests/tmp/server.2682383.1/stdout

Starting server for test

2682418:2682418:C 31 Jul 2024 16:31:27.755 # oO0OoO0OoO0Oo KeyDB is starting oO0OoO0OoO0Oo
2682418:2682418:C 31 Jul 2024 16:31:27.755 # KeyDB version=255.255.255, bits=64, commit=0731a050, modified=1, pid=2682418, just started
2682418:2682418:C 31 Jul 2024 16:31:27.755 # Configuration loaded

=== KEYDB BUG REPORT START: Cut & paste starting from here ===
2682418:2682418:C 31 Jul 2024 16:31:27.755 # === ASSERTION FAILED ===
2682418:2682418:C 31 Jul 2024 16:31:27.755 # ==> server.cpp:6531 '!ret' is not true

------ STACK TRACE ------

Backtrace:
src/keydb-server(linuxMadvFreeForkBugCheck()+0x360) [0x4e0720]
src/keydb-server(main+0x318) [0x441970]
/usr/lib64/libc.so.6(__libc_start_main+0xe0) [0xfffbd3c73f80]
src/keydb-server(_start+0x4c) [0x44558c]

------ INFO OUTPUT ------

--- LOG CONTENT ---
[err]: Can't start the Redis server
CONFIGURATION:always-show-logo yes
notify-keyspace-events KEA
daemonize no
pidfile /var/run/keydb.pid
port 25611
timeout 0
bind 127.0.0.1
loglevel verbose
logfile ''
databases 16
latency-monitor-threshold 1
save 60 10000
rdbcompression yes
dbfilename dump.rdb
dir ./tests/tmp/server.2682395.1
slave-serve-stale-data yes
appendonly no
appendfsync everysec
no-appendfsync-on-rewrite no
activerehashing yes
unixsocket /opt/KeyDB/tests/tmp/server.2682395.1/socket
testmode yes
ERROR:No PID detected in log ./tests/tmp/server.2682395.1/stdout

Starting server for test

2682447:2682447:C 31 Jul 2024 16:31:27.760 # oO0OoO0OoO0Oo KeyDB is starting oO0OoO0OoO0Oo
2682447:2682447:C 31 Jul 2024 16:31:27.760 # KeyDB version=255.255.255, bits=64, commit=0731a050, modified=1, pid=2682447, just started
2682447:2682447:C 31 Jul 2024 16:31:27.760 # Configuration loaded

=== KEYDB BUG REPORT START: Cut & paste starting from here ===
2682447:2682447:C 31 Jul 2024 16:31:27.760 # === ASSERTION FAILED ===
2682447:2682447:C 31 Jul 2024 16:31:27.760 # ==> server.cpp:6531 '!ret' is not true

------ STACK TRACE ------

Backtrace:
src/keydb-server(linuxMadvFreeForkBugCheck()+0x360) [0x4e0720]
src/keydb-server(main+0x318) [0x441970]
/usr/lib64/libc.so.6(__libc_start_main+0xe0) [0xfffe13533f80]
src/keydb-server(_start+0x4c) [0x44558c]

------ INFO OUTPUT ------

--- LOG CONTENT ---
[err]: Can't start the Redis server
CONFIGURATION:always-show-logo yes
notify-keyspace-events KEA
daemonize no
pidfile /var/run/keydb.pid
port 22111
timeout 0
bind 127.0.0.1
loglevel verbose
logfile ''
databases 16
latency-monitor-threshold 1
save 60 10000
rdbcompression yes
dbfilename dump.rdb
dir ./tests/tmp/server.2682384.1
slave-serve-stale-data yes
appendonly no
appendfsync everysec
no-appendfsync-on-rewrite no
activerehashing yes
unixsocket /opt/KeyDB/tests/tmp/server.2682384.1/socket
testmode yes
ERROR:No PID detected in log ./tests/tmp/server.2682384.1/stdout
--- LOG CONTENT ---
[err]: Can't start the Redis server
CONFIGURATION:always-show-logo yes
notify-keyspace-events KEA
daemonize no
pidfile /var/run/keydb.pid
port 21111
timeout 0
bind 127.0.0.1
loglevel verbose
logfile ''
databases 16
latency-monitor-threshold 1
save 60 10000
rdbcompression yes
dbfilename dump.rdb
dir ./tests/tmp/server.2682382.1
slave-serve-stale-data yes
appendonly no
appendfsync everysec
no-appendfsync-on-rewrite no
activerehashing yes
unixsocket /opt/KeyDB/tests/tmp/server.2682382.1/socket
testmode yes
ERROR:No PID detected in log ./tests/tmp/server.2682382.1/stdout

Starting server for test

2682444:2682444:C 31 Jul 2024 16:31:27.797 # oO0OoO0OoO0Oo KeyDB is starting oO0OoO0OoO0Oo
2682444:2682444:C 31 Jul 2024 16:31:27.797 # KeyDB version=255.255.255, bits=64, commit=0731a050, modified=1, pid=2682444, just started
2682444:2682444:C 31 Jul 2024 16:31:27.797 # Configuration loaded

=== KEYDB BUG REPORT START: Cut & paste starting from here ===
2682444:2682444:C 31 Jul 2024 16:31:27.797 # === ASSERTION FAILED ===
2682444:2682444:C 31 Jul 2024 16:31:27.797 # ==> server.cpp:6531 '!ret' is not true

------ STACK TRACE ------

Backtrace:
src/keydb-server(linuxMadvFreeForkBugCheck()+0x360) [0x4e0720]
src/keydb-server(main+0x318) [0x441970]
/usr/lib64/libc.so.6(__libc_start_main+0xe0) [0xfffe40383f80]
src/keydb-server(_start+0x4c) [0x44558c]

------ INFO OUTPUT ------

Starting server for test

2682432:2682432:C 31 Jul 2024 16:31:27.756 # oO0OoO0OoO0Oo KeyDB is starting oO0OoO0OoO0Oo
2682432:2682432:C 31 Jul 2024 16:31:27.756 # KeyDB version=255.255.255, bits=64, commit=0731a050, modified=1, pid=2682432, just started
2682432:2682432:C 31 Jul 2024 16:31:27.756 # Configuration loaded

=== KEYDB BUG REPORT START: Cut & paste starting from here ===
2682432:2682432:C 31 Jul 2024 16:31:27.757 # === ASSERTION FAILED ===
2682432:2682432:C 31 Jul 2024 16:31:27.757 # ==> server.cpp:6531 '!ret' is not true

------ STACK TRACE ------

Backtrace:
src/keydb-server(linuxMadvFreeForkBugCheck()+0x360) [0x4e0720]
src/keydb-server(main+0x318) [0x441970]
/usr/lib64/libc.so.6(__libc_start_main+0xe0) [0xfffc74e73f80]
src/keydb-server(_start+0x4c) [0x44558c]


**Aditional information**

1. OS distribution and version

- Host:
    Hostname: localhost.localdomain
    Version:  Linux version 4.19.90-52.15.v2207.ky10.aarch64 (KYLINSOFT@localhost.localdomain) (gcc version 7.3.0 (GCC)) #1 SMP Thu Nov 24 15:59:41 CST 2022

- CPU:
    Current CPU load:  19%

- RAM:
    Total RAM:     63931 MB
    Used RAM:      47176 MB
    Available RAM: 16754 MB
    Cached RAM:    8440 MB
    Buffers:       4 MB

- Net (upload):
    vnet0 total out:     40979443 kB
    vnet0 errors:        0
    vnet0 dropped:       0
    vnet2 total out:     15679159 kB
    vnet2 errors:        0
    vnet2 dropped:       0
    vnet1 total out:     20596073 kB
    vnet1 errors:        0
    vnet1 dropped:       670
    vnet3 total out:     15625492 kB
    vnet3 errors:        0
    vnet3 dropped:       0
    virbr0 total out:    0 kB
    virbr0 errors:       0
    virbr0 dropped:      0
    br0 total out:       949195695 kB
    br0 errors:          0
    br0 dropped:         0
    virbr0-nic total out: 0 kB
    virbr0-nic errors:    0
    virbr0-nic dropped:   0
    enaphyt4i0 total out: 984295883 kB
    enaphyt4i0 errors:    0
    enaphyt4i0 dropped:   0
    

- Net (download):
    vnet0 total in:      28540519 kB
    vnet0 errors:        0
    vnet0 dropped:       0
    vnet2 total in:      45221 kB
    vnet2 errors:        0
    vnet2 dropped:       0
    vnet1 total in:      4918493 kB
    vnet1 errors:        0
    vnet1 dropped:       0
    vnet3 total in:      24730 kB
    vnet3 errors:        0
    vnet3 dropped:       0
    virbr0 total in:     0 kB
    virbr0 errors:       0
    virbr0 dropped:      0
    br0 total in:        2014778293 kB
    br0 errors:          0
    br0 dropped:         7554
    virbr0-nic total in:  0 kB
    virbr0-nic errors:    0
    virbr0-nic dropped:   0
    enaphyt4i0 total in:  2191019717 kB
    enaphyt4i0 errors:    0
    enaphyt4i0 dropped:   2114825
    

- Netstat:
    

- UpTime:
    Uptime:  183 days
    (15870063.59 seconds)

- Processes:
    Number of processes (active/total):  2/1272

- File descriptors:
    Number of opened file descriptors:  9312
    Maximum number of file descriptors:  9223372036854775807

- Users:
    Output of the "who" command:
    root     pts/5        2024-07-31 09:01 (10.168.22.8)
    root     pts/6        2024-07-31 10:21 (10.168.22.8)
    root     pts/7        2024-07-31 11:22 (10.168.22.8)

- Partitions:
    Output of the "df" command:
     ļ ϵͳ                  1K-                           %    ص 
    devtmpfs                 31.20G        64    31.20G    1% /dev
    tmpfs                    31.22G        64    31.22G    1% /dev/shm
    tmpfs                    31.22G     1.56G    29.66G    6% /run
    tmpfs                    31.22G         0    31.22G    0% /sys/fs/cgroup
    /dev/mapper/klas-root   869.95G   227.84G   642.11G   27% /
    tmpfs                    31.22G       21M    31.20G    1% /tmp
    /dev/nvme0n1p2            1014M      162M      851M   17% /boot
    /dev/nvme0n1p1             598M        6M      592M    2% /boot/efi
    tmpfs                     6.24G         0     6.24G    0% /run/user/993
    tmpfs                     6.24G         0     6.24G    0% /run/user/0

3. Steps to reproduce (if any)
   100% happen
@jcy1001
Copy link
Author

jcy1001 commented Jul 31, 2024

redis 7.2 make test on this machine is OK

@jcy1001
Copy link
Author

jcy1001 commented Aug 1, 2024

redis 5.0.14 make test on this machine is OK

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant