Error:
Starting redis-stack-server, database path /var/lib/redis-stack
9074:C 04 Jun 2022 16:30:17.607 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
9074:C 04 Jun 2022 16:30:17.607 # Redis version=7.0.0, bits=64, commit=00000000, modified=0, pid=9074, just started
9074:C 04 Jun 2022 16:30:17.607 # Configuration loaded
9074:M 04 Jun 2022 16:30:17.608 * monotonic clock: POSIX clock_gettime
9074:M 04 Jun 2022 16:30:17.608 * Node configuration loaded, I'm cadbd99a6900d66ce46364b53787a584377042ab
_._
_.-``__ ''-._
_.-`` `. `_. ''-._ Redis 7.0.0 (00000000/0) 64 bit
.-`` .-```. ```\/ _.,_ ''-._
( ' , .-` | `, ) Running in cluster mode
|`-._`-...-` __...-.``-._|'` _.-'| Port: 7000
| `-._ `._ / _.-' | PID: 9074
`-._ `-._ `-./ _.-' _.-'
|`-._`-._ `-.__.-' _.-'_.-'|
| `-._`-._ _.-'_.-' | https://redis.io
`-._ `-._`-.__.-'_.-' _.-'
|`-._`-._ `-.__.-' _.-'_.-'|
| `-._`-._ _.-'_.-' |
`-._ `-._`-.__.-'_.-' _.-'
`-._ `-.__.-' _.-'
`-._ _.-'
`-.__.-'
9074:M 04 Jun 2022 16:30:17.609 # Server initialized
9074:M 04 Jun 2022 16:30:17.609 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
9074:M 04 Jun 2022 16:30:17.609 * <ReJSON> version: 999999 git sha: 8cad4bb branch: master
9074:M 04 Jun 2022 16:30:17.609 * <ReJSON> Exported RedisJSON_V1 API
9074:M 04 Jun 2022 16:30:17.609 * <ReJSON> Enabled diskless replication
9074:M 04 Jun 2022 16:30:17.609 * <ReJSON> Created new data type 'ReJSON-RL'
9074:M 04 Jun 2022 16:30:17.609 * Module 'ReJSON' loaded from /etc/redis/modules/librejson.so
9074:M 04 Jun 2022 16:30:17.610 * <search> Redis version found by RedisSearch : 7.0.0 - oss
9074:M 04 Jun 2022 16:30:17.610 * <search> RediSearch version 2.4.5 (Git=HEAD-4000a57a)
9074:M 04 Jun 2022 16:30:17.610 * <search> Low level api version 1 initialized successfully
redis-server: /build/src/module-init/module-init.c:55: validateAofSettings: Assertion `reply' failed.
=== REDIS BUG REPORT START: Cut & paste starting from here ===
9074:M 04 Jun 2022 16:30:17.610 # Redis 7.0.0 crashed by signal: 6, si_code: -6
9074:M 04 Jun 2022 16:30:17.610 # Crashed running the instruction at: 0x7fbb776ec00b
------ STACK TRACE ------
EIP:
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7fbb776ec00b]
Backtrace:
/lib/x86_64-linux-gnu/libpthread.so.0(+0x14420)[0x7fbb778b1420]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7fbb776ec00b]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x7fbb776cb859]
/lib/x86_64-linux-gnu/libc.so.6(+0x22729)[0x7fbb776cb729]
/lib/x86_64-linux-gnu/libc.so.6(+0x33fd6)[0x7fbb776dcfd6]
/opt/redis-stack/lib/redisearch.so(+0xdef5d)[0x7fbb760c4f5d]
/opt/redis-stack/lib/redisearch.so(RediSearch_InitModuleInternal+0x2d3)[0x7fbb7611c7c3]
/opt/redis-stack/bin/redis-server 109.71.253.171:7000 [cluster](moduleLoad+0xf5)[0x5568ad0ccd25]
/opt/redis-stack/bin/redis-server 109.71.253.171:7000 [cluster](moduleLoadFromQueue+0x45)[0x5568ad0cd025]
/opt/redis-stack/bin/redis-server 109.71.253.171:7000 [cluster](main+0x27d)[0x5568ad01f75d]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7fbb776cd083]
/opt/redis-stack/bin/redis-server 109.71.253.171:7000 [cluster](_start+0x2a)[0x5568ad01fcda]
------ REGISTERS ------
9074:M 04 Jun 2022 16:30:17.610 #
RAX:0000000000000000 RBX:00007fbb776a6fc0
RCX:00007fbb776ec00b RDX:0000000000000000
RDI:0000000000000002 RSI:00007ffdc08a1d30
RBP:00007fbb77861588 RSP:00007ffdc08a1d30
R8 :0000000000000000 R9 :00007ffdc08a1d30
R10:0000000000000008 R11:0000000000000246
R12:00007fbb7623cb78 R13:0000000000000037
R14:00007fbb7623ba7e R15:00007fbb76623908
RIP:00007fbb776ec00b EFL:0000000000000246
CSGSFS:002b000000000033
9074:M 04 Jun 2022 16:30:17.610 # (00007ffdc08a1d3f) -> 0000000000000000
9074:M 04 Jun 2022 16:30:17.610 # (00007ffdc08a1d3e) -> 0000000000000000
9074:M 04 Jun 2022 16:30:17.610 # (00007ffdc08a1d3d) -> 0000000000000000
9074:M 04 Jun 2022 16:30:17.610 # (00007ffdc08a1d3c) -> 0000000000000000
9074:M 04 Jun 2022 16:30:17.610 # (00007ffdc08a1d3b) -> 0000000000000000
9074:M 04 Jun 2022 16:30:17.610 # (00007ffdc08a1d3a) -> 00005568aec25f4c
9074:M 04 Jun 2022 16:30:17.611 # (00007ffdc08a1d39) -> 00005568aec25e20
9074:M 04 Jun 2022 16:30:17.611 # (00007ffdc08a1d38) -> 00005568aec25f4c
9074:M 04 Jun 2022 16:30:17.611 # (00007ffdc08a1d37) -> 00005568aec25e86
9074:M 04 Jun 2022 16:30:17.611 # (00007ffdc08a1d36) -> 00005568aec25e20
9074:M 04 Jun 2022 16:30:17.611 # (00007ffdc08a1d35) -> 00005568aec25e20
9074:M 04 Jun 2022 16:30:17.611 # (00007ffdc08a1d34) -> 00005568aec25e85
9074:M 04 Jun 2022 16:30:17.611 # (00007ffdc08a1d33) -> 00005568aec25e20
9074:M 04 Jun 2022 16:30:17.611 # (00007ffdc08a1d32) -> 00000000fbad8000
9074:M 04 Jun 2022 16:30:17.611 # (00007ffdc08a1d31) -> 00007fbb777436d0
9074:M 04 Jun 2022 16:30:17.611 # (00007ffdc08a1d30) -> 0000000000000000
------ INFO OUTPUT ------
# Server
redis_version:7.0.0
redis_git_sha1:00000000
redis_git_dirty:0
redis_build_id:7e0fbac4064a563f
redis_mode:cluster
os:Linux 5.4.0-113-generic x86_64
arch_bits:64
monotonic_clock:POSIX clock_gettime
multiplexing_api:epoll
atomicvar_api:c11-builtin
gcc_version:7.5.0
process_id:9074
process_supervised:no
run_id:06c65eeccbe9e956b71e8b2bed0511b0bf2d3e26
tcp_port:7000
server_time_usec:1654353017610335
uptime_in_seconds:0
uptime_in_days:0
hz:10
configured_hz:10
lru_clock:10185849
executable:/opt/redis-stack/bin/redis-server
config_file:/etc/redis/cluster/7000/./redis.conf
io_threads_active:0
# Clients
connected_clients:0
cluster_connections:0
maxclients:10000
client_recent_max_input_buffer:0
client_recent_max_output_buffer:0
blocked_clients:0
tracking_clients:0
clients_in_timeout_table:0
# Memory
used_memory:1714792
used_memory_human:1.64M
used_memory_rss:0
used_memory_rss_human:0B
used_memory_peak:1714792
used_memory_peak_human:1.64M
used_memory_peak_perc:100.27%
used_memory_overhead:192
used_memory_startup:0
used_memory_dataset:1714600
used_memory_dataset_perc:99.99%
allocator_allocated:0
allocator_active:0
allocator_resident:0
total_system_memory:25216151552
total_system_memory_human:23.48G
used_memory_lua:31744
used_memory_vm_eval:31744
used_memory_lua_human:31.00K
used_memory_scripts_eval:0
number_of_cached_scripts:0
number_of_functions:0
number_of_libraries:0
used_memory_vm_functions:32768
used_memory_vm_total:64512
used_memory_vm_total_human:63.00K
used_memory_functions:184
used_memory_scripts:184
used_memory_scripts_human:184B
maxmemory:0
maxmemory_human:0B
maxmemory_policy:noeviction
allocator_frag_ratio:-nan
allocator_frag_bytes:0
allocator_rss_ratio:-nan
allocator_rss_bytes:0
rss_overhead_ratio:-nan
rss_overhead_bytes:0
mem_fragmentation_ratio:-nan
mem_fragmentation_bytes:0
mem_not_counted_for_evict:8
mem_replication_backlog:0
mem_total_replication_buffers:0
mem_clients_slaves:0
mem_clients_normal:0
mem_cluster_links:0
mem_aof_buffer:8
mem_allocator:jemalloc-5.2.1
active_defrag_running:0
lazyfree_pending_objects:0
lazyfreed_objects:0
# Persistence
loading:0
async_loading:0
current_cow_peak:0
current_cow_size:0
current_cow_size_age:0
current_fork_perc:0.00
current_save_keys_processed:0
current_save_keys_total:0
rdb_changes_since_last_save:0
rdb_bgsave_in_progress:0
rdb_last_save_time:1654353017
rdb_last_bgsave_status:ok
rdb_last_bgsave_time_sec:-1
rdb_current_bgsave_time_sec:-1
rdb_saves:0
rdb_last_cow_size:0
rdb_last_load_keys_expired:0
rdb_last_load_keys_loaded:0
aof_enabled:1
aof_rewrite_in_progress:0
aof_rewrite_scheduled:0
aof_last_rewrite_time_sec:-1
aof_current_rewrite_time_sec:-1
aof_last_bgrewrite_status:ok
aof_rewrites:0
aof_rewrites_consecutive_failures:0
aof_last_write_status:ok
aof_last_cow_size:0
module_fork_in_progress:0
module_fork_last_cow_size:0
aof_current_size:0
aof_base_size:0
aof_pending_rewrite:0
aof_buffer_length:0
aof_pending_bio_fsync:0
aof_delayed_fsync:0
# Stats
total_connections_received:0
total_commands_processed:1
instantaneous_ops_per_sec:0
total_net_input_bytes:0
total_net_output_bytes:0
instantaneous_input_kbps:0.00
instantaneous_output_kbps:0.00
rejected_connections:0
sync_full:0
sync_partial_ok:0
sync_partial_err:0
expired_keys:0
expired_stale_perc:0.00
expired_time_cap_reached_count:0
expire_cycle_cpu_milliseconds:0
evicted_keys:0
evicted_clients:0
total_eviction_exceeded_time:0
current_eviction_exceeded_time:0
keyspace_hits:0
keyspace_misses:0
pubsub_channels:0
pubsub_patterns:0
latest_fork_usec:0
total_forks:0
migrate_cached_sockets:0
slave_expires_tracked_keys:0
active_defrag_hits:0
active_defrag_misses:0
active_defrag_key_hits:0
active_defrag_key_misses:0
total_active_defrag_time:0
current_active_defrag_time:0
tracking_total_keys:0
tracking_total_items:0
tracking_total_prefixes:0
unexpected_error_replies:0
total_error_replies:0
dump_payload_sanitizations:0
total_reads_processed:0
total_writes_processed:0
io_threaded_reads_processed:0
io_threaded_writes_processed:0
reply_buffer_shrinks:0
reply_buffer_expands:0
# Replication
role:master
connected_slaves:0
master_failover_state:no-failover
master_replid:1a16fe517db8ad58d493ec8d892c8f0645ad76d5
master_replid2:0000000000000000000000000000000000000000
master_repl_offset:0
second_repl_offset:-1
repl_backlog_active:0
repl_backlog_size:1048576
repl_backlog_first_byte_offset:0
repl_backlog_histlen:0
# CPU
used_cpu_sys:0.000000
used_cpu_user:0.005673
used_cpu_sys_children:0.000000
used_cpu_user_children:0.000000
used_cpu_sys_main_thread:0.000000
used_cpu_user_main_thread:0.005673
# Modules
module:name=ReJSON,ver=999999,api=1,filters=0,usedby=[],using=[],options=[handle-io-errors]
# Commandstats
cmdstat_info:calls=1,usec=18,usec_per_call=18.00,rejected_calls=0,failed_calls=0
# Errorstats
# Latencystats
latency_percentiles_usec_info:p50=18.047,p99=18.047,p99.9=18.047
# Cluster
cluster_enabled:1
# Keyspace
------ CLIENT LIST OUTPUT ------
------ MODULES INFO OUTPUT ------
# ReJSON_trace
ReJSON_trace: 0: redis_module::base_info_func
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/redis-module-1.0.1/src/lib.rs:73:37
1: rejson::__info_func
at /root/.cargo/registry/src/github.com-1ecc6299db9ec823/redis-module-1.0.1/src/macros.rs:120:13
2: modulesCollectInfo
at /__w/redis-stack/redis-stack/redis/src/module.c:9288
3: logModulesInfo
at /__w/redis-stack/redis-stack/redis/src/debug.c:1744
4: printCrashReport
at /__w/redis-stack/redis-stack/redis/src/debug.c:2000
5: sigsegvHandler
at /__w/redis-stack/redis-stack/redis/src/debug.c:1982
6: <unknown>
7: gsignal
8: abort
9: <unknown>
10: __assert_fail
11: RediSearch_Init
12: RediSearch_InitModuleInternal
13: moduleLoad
at /__w/redis-stack/redis-stack/redis/src/module.c:11077
14: moduleLoadFromQueue
at /__w/redis-stack/redis-stack/redis/src/module.c:10901
15: main
at /__w/redis-stack/redis-stack/redis/src/server.c:7040
16: __libc_start_main
17: _start
------ CONFIG DEBUG OUTPUT ------
list-compress-depth 0
proto-max-bulk-len 512mb
client-query-buffer-limit 1gb
replica-read-only yes
sanitize-dump-payload no
activedefrag no
repl-diskless-sync yes
lazyfree-lazy-server-del no
slave-read-only yes
io-threads 1
lazyfree-lazy-user-flush no
lazyfree-lazy-expire no
repl-diskless-load disabled
lazyfree-lazy-user-del no
lazyfree-lazy-eviction no
io-threads-do-reads no
------ FAST MEMORY TEST ------
*** Preparing to test memory region 5568ad479000 (2297856 bytes)
*** Preparing to test memory region 5568aebf4000 (417792 bytes)
*** Preparing to test memory region 7fbb73828000 (4194304 bytes)
*** Preparing to test memory region 7fbb747f6000 (3670016 bytes)
*** Preparing to test memory region 7fbb76624000 (28672 bytes)
*** Preparing to test memory region 7fbb767c6000 (3145728 bytes)
*** Preparing to test memory region 7fbb76e00000 (8388608 bytes)
*** Preparing to test memory region 7fbb776a5000 (16384 bytes)
*** Preparing to test memory region 7fbb77897000 (24576 bytes)
*** Preparing to test memory region 7fbb778bc000 (16384 bytes)
*** Preparing to test memory region 7fbb77b92000 (16384 bytes)
*** Preparing to test memory region 7fbb77d88000 (8192 bytes)
*** Preparing to test memory region 7fbb77dc4000 (4096 bytes)
*** Preparing to test memory region 7fbb77dc7000 (4096 bytes)
.O.O.O.O.O.O.O.O.O.O.O.O.O.O
Fast memory test PASSED, however your memory can still be broken. Please run a memory test for several hours if possible.
------ DUMPING CODE AROUND EIP ------
Symbol: gsignal (base: 0x7fbb776ebf40)
Module: /lib/x86_64-linux-gnu/libc.so.6 (base 0x7fbb776a9000)
$ xxd -r -p /tmp/dump.hex /tmp/dump.bin
$ objdump --adjust-vma=0x7fbb776ebf40 -D -b binary -m i386:x86-64 /tmp/dump.bin
------
9074:M 04 Jun 2022 16:30:17.688 # dump of function (hexdump of 331 bytes):
f30f1efa4881ec180100004189f831ff660f6f058898170064488b042528000000488984240801000031c04989e1b80e000000488db424800000000f29842480000000660f76c041ba080000004c89ca0f298424900000000f298424a00000000f298424b00000000f298424c00000000f298424d00000000f298424e00000000f298424f00000000f05b92700000089c80f054889c7b8ba0000000f0589c64489c2b8ea0000000f05483d00f0ffff773f4189c041ba0800000031d24c89cebf02000000b80e0000000f05488b84240801000064483304252800000075264489c04881c418010000c30f1f8000000000488b15398e1a00f7d841b8ffffffff648902ebb0e827ca0e000f1f8000000000f30f1efa85ff7808f7dfe97103000090488b05098e1a0064c70016000000b8ffffffffc3662e0f1f84000000000066909066662e0f1f8400000000
Function at 0x7fbb777d8a70 is __stack_chk_fail
=== REDIS BUG REPORT END. Make sure to include from START to END. ===
Please report the crash by opening an issue on github:
http://github.com/redis/redis/issues
Suspect RAM error? Use redis-server --test-memory to verify it.
Aborted
I wanted to use RedisSearch with RedisJson if i just start redis-server with the json module it works if i add redissearch it crashes the same
so i tried redis-stack-server which ends up the same
please help thanks
OS: Ubuntu 20.04 Everything lts stable versions updated installed
Comment From: oranagra
@Tomato6966 please open in https://github.com/RediSearch/RediSearch @gkorland FYI