Notice! - If a Redis module was involved, please open an issue in the module's repo instead! - If you're using docker on Apple M1, please make sure the image you're using was compiled for ARM!

Crash report

Paste the complete crash log between the quotes below. Please include a few lines from the log preceding the crash report to provide some context.

1:C 07 Jun 2022 18:27:27.106 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
1:C 07 Jun 2022 18:27:27.106 # Redis version=6.2.6, bits=64, commit=00000000, modified=0, pid=1, just started
1:C 07 Jun 2022 18:27:27.106 # Configuration loaded
1:M 07 Jun 2022 18:27:27.107 * monotonic clock: POSIX clock_gettime
1:M 07 Jun 2022 18:27:27.108 * Running mode=standalone, port=6379.
1:M 07 Jun 2022 18:27:27.108 # Server initialized
1:M 07 Jun 2022 18:27:27.108 * <ai> Redis version found by RedisAI: 6.2.6 - oss
1:M 07 Jun 2022 18:27:27.108 * <ai> RedisAI version 10205, git_sha=746b199e69f272d12aab00c26d31c8e35eb48b29
1:M 07 Jun 2022 18:27:27.108 * Module 'ai' loaded from /usr/lib/redis/modules/redisai.so
1:M 07 Jun 2022 18:27:27.109 * <search> Redis version found by RedisSearch : 6.2.6 - oss
1:M 07 Jun 2022 18:27:27.109 * <search> RediSearch version 99.99.99 (Git=master-06a4938c)
1:M 07 Jun 2022 18:27:27.109 * <search> Low level api version 1 initialized successfully
1:M 07 Jun 2022 18:27:27.109 * <search> concurrent writes: OFF, gc: ON, prefix min length: 2, prefix max expansions: 200, query timeout (ms): 500, timeout policy: return, cursor read size: 1000, cursor max idle (ms): 300000, max doctable size: 1000000, max number of search results:  1000000, search pool size: 20, index pool size: 8, 
1:M 07 Jun 2022 18:27:27.110 * <search> Initialized thread pool!
1:M 07 Jun 2022 18:27:27.110 * <search> Enabled diskless replication
1:M 07 Jun 2022 18:27:27.110 * Module 'search' loaded from /usr/lib/redis/modules/redisearch.so
1:M 07 Jun 2022 18:27:27.112 * <graph> Starting up RedisGraph version 2.8.13.
1:M 07 Jun 2022 18:27:27.113 * <graph> Thread pool created, using 12 threads.
1:M 07 Jun 2022 18:27:27.113 * <graph> Maximum number of OpenMP threads set to 12
1:M 07 Jun 2022 18:27:27.113 * Module 'graph' loaded from /usr/lib/redis/modules/redisgraph.so
1:M 07 Jun 2022 18:27:27.115 * <timeseries> RedisTimeSeries version 10611, git_sha=ac24ed70355e718b4778b3f237e9649cbdfb7a71
1:M 07 Jun 2022 18:27:27.115 * <timeseries> Redis version found by RedisTimeSeries : 6.2.6 - oss
1:M 07 Jun 2022 18:27:27.115 * <timeseries> loaded default CHUNK_SIZE_BYTES policy: 4096
1:M 07 Jun 2022 18:27:27.115 * <timeseries> loaded server DUPLICATE_POLICY: block
1:M 07 Jun 2022 18:27:27.115 * <timeseries> Setting default series ENCODING to: compressed
1:M 07 Jun 2022 18:27:27.115 * <timeseries> Detected redis oss
1:M 07 Jun 2022 18:27:27.115 * <timeseries> Enabled diskless replication
1:M 07 Jun 2022 18:27:27.115 * Module 'timeseries' loaded from /usr/lib/redis/modules/redistimeseries.so
1:M 07 Jun 2022 18:27:27.115 * <ReJSON> version: 20009 git sha: d8d4b19 branch: HEAD
1:M 07 Jun 2022 18:27:27.115 * <ReJSON> Exported RedisJSON_V1 API
1:M 07 Jun 2022 18:27:27.115 * <ReJSON> Enabled diskless replication
1:M 07 Jun 2022 18:27:27.115 * <ReJSON> Created new data type 'ReJSON-RL'
1:M 07 Jun 2022 18:27:27.115 * Module 'ReJSON' loaded from /usr/lib/redis/modules/rejson.so
1:M 07 Jun 2022 18:27:27.115 * <search> Acquired RedisJSON_V1 API
1:M 07 Jun 2022 18:27:27.115 * <graph> Acquired RedisJSON_V1 API
1:M 07 Jun 2022 18:27:27.115 * Module 'bf' loaded from /usr/lib/redis/modules/redisbloom.so
1:M 07 Jun 2022 18:27:27.116 * <rg> RedisGears version 1.2.4, git_sha=0c8365367cd345a965d675343558585e923555a7, compiled_os=linux-bullseye-x64
1:M 07 Jun 2022 18:27:27.116 * <rg> Redis version found by RedisGears : 6.2.6 - oss
1:M 07 Jun 2022 18:27:27.116 * <rg> MaxExecutions:1000
1:M 07 Jun 2022 18:27:27.116 * <rg> MaxExecutionsPerRegistration:100
1:M 07 Jun 2022 18:27:27.116 * <rg> ProfileExecutions:0
1:M 07 Jun 2022 18:27:27.116 * <rg> ExecutionThreads:3
1:M 07 Jun 2022 18:27:27.116 * <rg> ExecutionMaxIdleTime:5000
1:M 07 Jun 2022 18:27:27.116 * <rg> SendMsgRetries:3
1:M 07 Jun 2022 18:27:27.116 * <rg> Plugin:[/var/opt/redislabs/modules/rg/plugin/gears_python.so]
1:M 07 Jun 2022 18:27:27.117 # <rg> Loading plugin GearsPythonPlugin version 10000 
1:M 07 Jun 2022 18:27:27.117 * <rg> Initializing GearsPythonPlugin version 1.0.0
1:M 07 Jun 2022 18:27:27.117 * <rg> Python config:
1:M 07 Jun 2022 18:27:27.117 * <rg>     CreateVenv : 0
1:M 07 Jun 2022 18:27:27.117 * <rg>     DownloadDeps : 0
1:M 07 Jun 2022 18:27:27.117 * <rg>     ForeceDownloadDepsOnEnterprise : 0
1:M 07 Jun 2022 18:27:27.117 * <rg>     PythonAttemptTraceback : 1
1:M 07 Jun 2022 18:27:27.117 * <rg>     OverridePythonAllocators : 1
1:M 07 Jun 2022 18:27:27.117 * <rg>     PythonInstallReqMaxIdleTime : 30000
1:M 07 Jun 2022 18:27:27.117 * <rg>     DependenciesUrl : http://redismodules.s3.amazonaws.com/redisgears/redisgears-python.Linux-bullseye-x86_64.1.2.4.tgz
1:M 07 Jun 2022 18:27:27.117 * <rg>     DependenciesSha256 : a82d7a74dcdffdac54a1ca882aee64993f980380d791b4aef9244f618b43ff59
1:M 07 Jun 2022 18:27:27.117 * <rg>     PythonInstallationDir : /var/opt/redislabs/modules/rg
1:M 07 Jun 2022 18:27:27.118 * <rg> PYENV_DIR: /var/opt/redislabs/modules/rg//python3_1.2.4/
1:M 07 Jun 2022 18:27:27.118 * <rg> PYENV_HOME_DIR: /var/opt/redislabs/modules/rg//python3_1.2.4//.venv/
1:M 07 Jun 2022 18:27:27.118 * <rg> PYENV_BIN_DIR: /var/opt/redislabs/modules/rg//python3_1.2.4//.venv//bin
1:M 07 Jun 2022 18:27:27.118 * <rg> PYENV_ACTIVATE: /var/opt/redislabs/modules/rg//python3_1.2.4//.venv//bin/activate_this.py
1:M 07 Jun 2022 18:27:27.118 * <rg> PYENV_ACTIVATE_SCRIPT: /var/opt/redislabs/modules/rg//python3_1.2.4//.venv//bin/activate
1:M 07 Jun 2022 18:27:27.118 * <rg> log file is 

1:M 07 Jun 2022 18:27:27.118 * <rg> Found python installation under: /var/opt/redislabs/modules/rg//python3_1.2.4/
1:M 07 Jun 2022 18:27:27.185 * Module 'rg' loaded from /usr/lib/redis/modules/redisgears.so
1:M 07 Jun 2022 18:27:27.186 * Ready to accept connections
1:M 07 Jun 2022 18:28:00.333 * DB saved on disk
1:M 07 Jun 2022 18:28:22.365 * DB saved on disk
1:M 07 Jun 2022 18:33:23.031 * 100 changes in 300 seconds. Saving...
1:M 07 Jun 2022 18:33:23.032 * Background saving started by pid 60
60:C 07 Jun 2022 18:33:23.041 * DB saved on disk
60:C 07 Jun 2022 18:33:23.043 * RDB: 0 MB of memory used by copy-on-write
1:M 07 Jun 2022 18:33:23.133 * Background saving terminated with success


=== REDIS BUG REPORT START: Cut & paste starting from here ===
1:M 07 Jun 2022 18:37:13.926 # Redis 6.2.6 crashed by signal: 11, si_code: 1
1:M 07 Jun 2022 18:37:13.926 # Accessing address: 0xfffffffffffffff4
1:M 07 Jun 2022 18:37:13.926 # Crashed running the instruction at: 0x7f52830b9b70

------ STACK TRACE ------
EIP:
/usr/lib/redis/modules/redisearch.so(NumericRange_Add+0xa0)[0x7f52830b9b70]

Backtrace:
/lib/x86_64-linux-gnu/libpthread.so.0(+0x14140)[0x7f528496f140]
/usr/lib/redis/modules/redisearch.so(NumericRange_Add+0xa0)[0x7f52830b9b70]
/usr/lib/redis/modules/redisearch.so(NumericRangeNode_Add+0x125)[0x7f52830b9f25]
/usr/lib/redis/modules/redisearch.so(NumericRangeTree_Add+0x20)[0x7f52830ba290]
/usr/lib/redis/modules/redisearch.so(IndexerBulkAdd+0x6d)[0x7f528309c16d]
/usr/lib/redis/modules/redisearch.so(+0x12b2f7)[0x7f52830ae2f7]
/usr/lib/redis/modules/redisearch.so(+0x12b882)[0x7f52830ae882]
/usr/lib/redis/modules/redisearch.so(Indexer_Add+0x55)[0x7f52830af065]
/usr/lib/redis/modules/redisearch.so(Document_AddToIndexes+0xe0)[0x7f528309c490]
/usr/lib/redis/modules/redisearch.so(IndexSpec_UpdateDoc+0x10d)[0x7f52830d7aed]
/usr/lib/redis/modules/redisearch.so(Indexes_UpdateMatchingWithSchemaRules+0x94)[0x7f52830d8204]
/usr/lib/redis/modules/redisearch.so(HashNotificationCallback+0x182)[0x7f52830b8dc2]
redis-server *:6379(moduleNotifyKeyspaceEvent+0xce)[0x5583110a869e]
redis-server *:6379(notifyKeyspaceEvent+0x21)[0x558311094fa1]
redis-server *:6379(RM_NotifyKeyspaceEvent+0x2f)[0x55831109f4ff]
/usr/lib/redis/modules/rejson.so(+0xd67b0)[0x7f527761e7b0]
/usr/lib/redis/modules/rejson.so(+0x36e10)[0x7f527757ee10]
/usr/lib/redis/modules/rejson.so(+0x61951)[0x7f52775a9951]
redis-server *:6379(RedisModuleCommandDispatcher+0x53)[0x5583110a6453]
redis-server *:6379(call+0xa1)[0x55831101b1a1]
redis-server *:6379(processCommand+0x593)[0x55831101cd23]
redis-server *:6379(processInputBuffer+0xf8)[0x55831102fec8]
redis-server *:6379(+0xfbbb8)[0x5583110c7bb8]
redis-server *:6379(aeProcessEvents+0x292)[0x558311013e32]
redis-server *:6379(aeMain+0x1d)[0x55831101409d]
redis-server *:6379(main+0x316)[0x5583110102b6]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea)[0x7f52847bcd0a]
redis-server *:6379(_start+0x2a)[0x55831101078a]

------ REGISTERS ------
1:M 07 Jun 2022 18:37:13.928 # 
RAX:000000000000000a RBX:00007f52733ce790
RCX:0000000000000000 RDX:0000000000000001
RDI:00007f52733ce790 RSI:0000000000000330
RBP:0000000000000330 RSP:00007ffcb4ca13b0
R8 :cfa6062247c2fade R9 :00007f5284211f23
R10:0000000000000006 R11:00007f52832cacd0
R12:0000000000000330 R13:0000000000000001
R14:00007f527307aba0 R15:00007ffcb4cb9540
RIP:00007f52830b9b70 EFL:0000000000010246
CSGSFS:002b000000000033
1:M 07 Jun 2022 18:37:13.928 # (00007ffcb4ca13bf) -> 00007f52830ba290
1:M 07 Jun 2022 18:37:13.928 # (00007ffcb4ca13be) -> 00007f527307aba0
1:M 07 Jun 2022 18:37:13.928 # (00007ffcb4ca13bd) -> 0000000000000001
1:M 07 Jun 2022 18:37:13.928 # (00007ffcb4ca13bc) -> 00007ffcb4ca3770
1:M 07 Jun 2022 18:37:13.928 # (00007ffcb4ca13bb) -> 00007f5273370800
1:M 07 Jun 2022 18:37:13.928 # (00007ffcb4ca13ba) -> 00007f52733cd5d8
1:M 07 Jun 2022 18:37:13.928 # (00007ffcb4ca13b9) -> 0000000000000000
1:M 07 Jun 2022 18:37:13.928 # (00007ffcb4ca13b8) -> 0000000000000000
1:M 07 Jun 2022 18:37:13.928 # (00007ffcb4ca13b7) -> 00007f52830e2b59
1:M 07 Jun 2022 18:37:13.928 # (00007ffcb4ca13b6) -> 00007ffcb4cb9540
1:M 07 Jun 2022 18:37:13.928 # (00007ffcb4ca13b5) -> 00007f52830b9f25
1:M 07 Jun 2022 18:37:13.928 # (00007ffcb4ca13b4) -> 00007f52732e2668
1:M 07 Jun 2022 18:37:13.928 # (00007ffcb4ca13b3) -> 00007f52733cd5d8
1:M 07 Jun 2022 18:37:13.928 # (00007ffcb4ca13b2) -> 00007f52733d9630
1:M 07 Jun 2022 18:37:13.928 # (00007ffcb4ca13b1) -> 0000000000000002
1:M 07 Jun 2022 18:37:13.928 # (00007ffcb4ca13b0) -> 00007f52734cb500

------ INFO OUTPUT ------
# Server
redis_version:6.2.6
redis_git_sha1:00000000
redis_git_dirty:0
redis_build_id:9c335ca9779faba5
redis_mode:standalone
os:Linux 5.10.104-linuxkit x86_64
arch_bits:64
multiplexing_api:epoll
atomicvar_api:atomic-builtin
gcc_version:10.2.1
process_id:1
process_supervised:no
run_id:a15e7bdb45af784307c602d897cd7a0a13df2030
tcp_port:6379
server_time_usec:1654627033925959
uptime_in_seconds:586
uptime_in_days:0
hz:10
configured_hz:10
lru_clock:10459865
executable:/data/redis-server
config_file:
io_threads_active:0

# Clients
connected_clients:2
cluster_connections:0
maxclients:10000
client_recent_max_input_buffer:520
client_recent_max_output_buffer:21720
blocked_clients:0
tracking_clients:0
clients_in_timeout_table:0

# Memory
used_memory:10472464
used_memory_human:9.99M
used_memory_rss:33411072
used_memory_rss_human:31.86M
used_memory_peak:10555704
used_memory_peak_human:10.07M
used_memory_peak_perc:99.21%
used_memory_overhead:9362432
used_memory_startup:9310608
used_memory_dataset:1110032
used_memory_dataset_perc:95.54%
allocator_allocated:10925312
allocator_active:11587584
allocator_resident:17072128
total_system_memory:33674465280
total_system_memory_human:31.36G
used_memory_lua:37888
used_memory_lua_human:37.00K
used_memory_scripts:0
used_memory_scripts_human:0B
number_of_cached_scripts:0
maxmemory:0
maxmemory_human:0B
maxmemory_policy:noeviction
allocator_frag_ratio:1.06
allocator_frag_bytes:662272
allocator_rss_ratio:1.47
allocator_rss_bytes:5484544
rss_overhead_ratio:1.96
rss_overhead_bytes:16338944
mem_fragmentation_ratio:3.19
mem_fragmentation_bytes:22942392
mem_not_counted_for_evict:0
mem_replication_backlog:0
mem_clients_slaves:0
mem_clients_normal:41032
mem_aof_buffer:0
mem_allocator:jemalloc-5.1.0
active_defrag_running:0
lazyfree_pending_objects:0
lazyfreed_objects:0

# Persistence
loading: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:3201
rdb_bgsave_in_progress:0
rdb_last_save_time:1654626803
rdb_last_bgsave_status:ok
rdb_last_bgsave_time_sec:0
rdb_current_bgsave_time_sec:-1
rdb_last_cow_size:811008
aof_enabled:0
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_last_write_status:ok
aof_last_cow_size:0
module_fork_in_progress:0
module_fork_last_cow_size:0

# Stats
total_connections_received:3
total_commands_processed:20482
instantaneous_ops_per_sec:44
total_net_input_bytes:5659232
total_net_output_bytes:5988375
instantaneous_input_kbps:11.99
instantaneous_output_kbps:13.17
rejected_connections:0
sync_full:0
sync_partial_ok:0
sync_partial_err:0
expired_keys:39
expired_stale_perc:0.00
expired_time_cap_reached_count:0
expire_cycle_cpu_milliseconds:15
evicted_keys:0
keyspace_hits:19822
keyspace_misses:2423
pubsub_channels:0
pubsub_patterns:0
latest_fork_usec:944
total_forks:6
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
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:20479
total_writes_processed:20477
io_threaded_reads_processed:0
io_threaded_writes_processed:0

# Replication
role:master
connected_slaves:0
master_failover_state:no-failover
master_replid:3e34689ec20d73807dcec81f7d8017e44140be83
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:11.910317
used_cpu_user:10.257825
used_cpu_sys_children:0.010372
used_cpu_user_children:0.008196
used_cpu_sys_main_thread:2.537683
used_cpu_user_main_thread:2.556233

# Modules
module:name=bf,ver=20209,api=1,filters=0,usedby=[],using=[],options=[]
module:name=search,ver=999999,api=1,filters=0,usedby=[],using=[ReJSON],options=[handle-io-errors]
module:name=graph,ver=20813,api=1,filters=0,usedby=[],using=[ReJSON],options=[]
module:name=timeseries,ver=10611,api=1,filters=0,usedby=[],using=[],options=[handle-io-errors]
module:name=ReJSON,ver=20009,api=1,filters=0,usedby=[search|graph],using=[],options=[handle-io-errors]
module:name=ai,ver=10205,api=1,filters=0,usedby=[],using=[],options=[handle-io-errors]
module:name=rg,ver=10204,api=1,filters=1,usedby=[rg],using=[rg],options=[]

# Commandstats
cmdstat_keys:calls=3,usec=97,usec_per_call=32.33,rejected_calls=0,failed_calls=0
cmdstat_ts.mrange:calls=2913,usec=720012,usec_per_call=247.17,rejected_calls=0,failed_calls=0
cmdstat_ts.revrange:calls=2913,usec=65191,usec_per_call=22.38,rejected_calls=0,failed_calls=0
cmdstat_flushall:calls=2,usec=5826,usec_per_call=2913.00,rejected_calls=0,failed_calls=0
cmdstat_pexpireat:calls=813,usec=10252,usec_per_call=12.61,rejected_calls=0,failed_calls=0
cmdstat_FT.SEARCH:calls=26,usec=1722,usec_per_call=66.23,rejected_calls=0,failed_calls=0
cmdstat_info:calls=4,usec=38,usec_per_call=9.50,rejected_calls=0,failed_calls=0
cmdstat_json.set:calls=3761,usec=210027,usec_per_call=55.84,rejected_calls=0,failed_calls=0
cmdstat_ts.madd:calls=2913,usec=179731,usec_per_call=61.70,rejected_calls=0,failed_calls=0
cmdstat_FT.CREATE:calls=2,usec=271,usec_per_call=135.50,rejected_calls=0,failed_calls=0
cmdstat_config:calls=1,usec=13,usec_per_call=13.00,rejected_calls=0,failed_calls=0
cmdstat_command:calls=1,usec=980,usec_per_call=980.00,rejected_calls=0,failed_calls=0
cmdstat_ts.create:calls=300,usec=11196,usec_per_call=37.32,rejected_calls=0,failed_calls=0
cmdstat_json.get:calls=6830,usec=119460,usec_per_call=17.49,rejected_calls=0,failed_calls=0

# Errorstats

# Cluster
cluster_enabled:0

# Keyspace
db0:keys=205,expires=12,avg_ttl=1589530

------ CLIENT LIST OUTPUT ------
id=20 addr=172.18.0.1:59178 laddr=172.18.0.2:6379 fd=20 name= age=531 idle=0 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=80 qbuf-free=40874 argv-mem=49 obl=0 oll=0 omem=0 tot-mem=61521 events=r cmd=json.set user=default redir=-1
id=23 addr=127.0.0.1:34318 laddr=127.0.0.1:6379 fd=21 name= age=329 idle=33 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 argv-mem=0 obl=0 oll=0 omem=0 tot-mem=20504 events=r cmd=json.get user=default redir=-1

------ CURRENT CLIENT INFO ------
id=20 addr=172.18.0.1:59178 laddr=172.18.0.2:6379 fd=20 name= age=531 idle=0 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=80 qbuf-free=40874 argv-mem=49 obl=0 oll=0 omem=0 tot-mem=61521 events=r cmd=json.set user=default redir=-1
argv[0]: 'JSON.SET'
argv[1]: 'trade:TGT:1m'
argv[2]: '$.parent_status'
argv[3]: '"PreSubmitted"'
1:M 07 Jun 2022 18:37:13.928 # key 'trade:TGT:1m' found in DB containing the following object:
1:M 07 Jun 2022 18:37:13.928 # Object type: 5
1:M 07 Jun 2022 18:37:13.928 # Object encoding: 0
1:M 07 Jun 2022 18:37:13.928 # Object refcount: 1

------ MODULES INFO OUTPUT ------
# graph_executing commands

# ReJSON_trace
ReJSON_trace:   0: redis_module::base_info_func
   1: rejson::__info_func
   2: modulesCollectInfo
             at /usr/src/redis/src/module.c:7078:9
   3: logModulesInfo
             at /usr/src/redis/src/debug.c:1598:22
   4: printCrashReport
             at /usr/src/redis/src/debug.c:1849:5
      sigsegvHandler
             at /usr/src/redis/src/debug.c:1831:5
   5: <unknown>
   6: NumericRange_Add
   7: NumericRangeNode_Add
   8: NumericRangeTree_Add
   9: IndexerBulkAdd
  10: indexBulkFields
  11: Indexer_Process
  12: Indexer_Add
  13: Document_AddToIndexes
  14: IndexSpec_UpdateDoc
  15: Indexes_UpdateMatchingWithSchemaRules
  16: HashNotificationCallback
  17: moduleNotifyKeyspaceEvent
             at /usr/src/redis/src/module.c:5961:13
  18: notifyKeyspaceEvent
             at /usr/src/redis/src/notify.c:111:6
  19: RM_NotifyKeyspaceEvent
             at /usr/src/redis/src/module.c:5929:5
  20: redis_module::raw::notify_keyspace_event
  21: rejson::commands::json_set
  22: rejson::RedisModule_OnLoad::__do_command
  23: RedisModuleCommandDispatcher
             at /usr/src/redis/src/module.c:694:5
  24: call
             at /usr/src/redis/src/server.c:3721:5
  25: processCommand
             at /usr/src/redis/src/server.c:4241:9
  26: processCommandAndResetClient
             at /usr/src/redis/src/networking.c:2039:9
      processInputBuffer
             at /usr/src/redis/src/networking.c:2140:17
  27: callHandler
             at /usr/src/redis/src/connhelpers.h:79:18
      connSocketEventHandler
             at /usr/src/redis/src/connection.c:295:14
  28: aeProcessEvents
             at /usr/src/redis/src/ae.c:427:17
  29: aeMain
             at /usr/src/redis/src/ae.c:487:9
  30: main
             at /usr/src/redis/src/server.c:6401:5
  31: __libc_start_main
  32: _start


# ai_versions
ai_RedisAI_version:1.2.5
ai_low_level_API_version:1
ai_rdb_version:4

# ai_git
ai_git_sha:746b199e69f272d12aab00c26d31c8e35eb48b29

# ai_load_time_configs
ai_threads_per_queue:1
ai_inter_op_parallelism:0
ai_intra_op_parallelism:0
ai_model_execution_timeout:5000
ai_backend_memory_limit:0

# ai_backends_info

# ai_cpu
ai_self_used_cpu_sys:11.910756
ai_self_used_cpu_user:10.274309
ai_children_used_cpu_sys:0.010372
ai_children_used_cpu_user:0.008196
ai_main_thread_used_cpu_sys:2.910756
ai_main_thread_used_cpu_user:2.274309
ai_queue_CPU_bthread_n1_used_cpu_total:17.023022

# rg
rg_nexecutions:0
rg_nregistrations:0

# rg_regisrations

# rg_plugins
rg_GearsPythonPlugin:version=10000

# rg_python_stats
rg_TotalAllocated:23743656
rg_PeakAllocated:8294040
rg_CurrAllocated:8201528

# rg_python_requirements

# rg_python_sessions

------ FAST MEMORY TEST ------
1:M 07 Jun 2022 18:37:13.947 # Bio thread for job type #0 terminated
1:M 07 Jun 2022 18:37:13.948 # Bio thread for job type #1 terminated
1:M 07 Jun 2022 18:37:13.948 # Bio thread for job type #2 terminated
*** Preparing to test memory region 5583111df000 (2277376 bytes)
*** Preparing to test memory region 558312f3d000 (544768 bytes)
*** Preparing to test memory region 7f52675f4000 (5242880 bytes)
*** Preparing to test memory region 7f5268000000 (135168 bytes)
*** Preparing to test memory region 7f526cff3000 (4194304 bytes)
*** Preparing to test memory region 7f526d600000 (8388608 bytes)
*** Preparing to test memory region 7f526de00000 (4194304 bytes)
*** Preparing to test memory region 7f526e400000 (8388608 bytes)
*** Preparing to test memory region 7f526ec00000 (4194304 bytes)
*** Preparing to test memory region 7f526f1fb000 (8388608 bytes)
*** Preparing to test memory region 7f526f9fc000 (8388608 bytes)
*** Preparing to test memory region 7f52701fd000 (8388608 bytes)
*** Preparing to test memory region 7f52709fe000 (8388608 bytes)
*** Preparing to test memory region 7f52711ff000 (8388608 bytes)
*** Preparing to test memory region 7f5271a00000 (8388608 bytes)
*** Preparing to test memory region 7f5272200000 (4194304 bytes)
*** Preparing to test memory region 7f5272780000 (8388608 bytes)
*** Preparing to test memory region 7f5272f80000 (13107200 bytes)
*** Preparing to test memory region 7f5273d27000 (2621440 bytes)
*** Preparing to test memory region 7f5273fa8000 (8388608 bytes)
*** Preparing to test memory region 7f5274b0e000 (139264 bytes)
*** Preparing to test memory region 7f5274b31000 (8388608 bytes)
*** Preparing to test memory region 7f5275332000 (8388608 bytes)
*** Preparing to test memory region 7f5275b33000 (8388608 bytes)
*** Preparing to test memory region 7f5276334000 (8388608 bytes)
*** Preparing to test memory region 7f5276b35000 (8388608 bytes)
*** Preparing to test memory region 7f52776e4000 (8388608 bytes)
*** Preparing to test memory region 7f5277ee5000 (8388608 bytes)
*** Preparing to test memory region 7f52788af000 (12288 bytes)
*** Preparing to test memory region 7f52788b3000 (8388608 bytes)
*** Preparing to test memory region 7f52790b4000 (8388608 bytes)
*** Preparing to test memory region 7f52798b5000 (8388608 bytes)
*** Preparing to test memory region 7f527a0b6000 (8388608 bytes)
*** Preparing to test memory region 7f527a8b7000 (8388608 bytes)
*** Preparing to test memory region 7f527b0b8000 (8388608 bytes)
*** Preparing to test memory region 7f527b8b9000 (8388608 bytes)
*** Preparing to test memory region 7f527c0ba000 (8388608 bytes)
*** Preparing to test memory region 7f527c8bb000 (8388608 bytes)
*** Preparing to test memory region 7f527d0bc000 (8388608 bytes)
*** Preparing to test memory region 7f527d8bd000 (8388608 bytes)
*** Preparing to test memory region 7f527e0be000 (8388608 bytes)
*** Preparing to test memory region 7f527e8bf000 (8388608 bytes)
*** Preparing to test memory region 7f527f0c0000 (8388608 bytes)
*** Preparing to test memory region 7f527f8c1000 (8388608 bytes)
*** Preparing to test memory region 7f52819fb000 (12288 bytes)
*** Preparing to test memory region 7f52819ff000 (8388608 bytes)
*** Preparing to test memory region 7f5282200000 (8388608 bytes)
*** Preparing to test memory region 7f5282a00000 (4194304 bytes)
*** Preparing to test memory region 7f5282f81000 (8192 bytes)
*** Preparing to test memory region 7f52833b9000 (28672 bytes)
*** Preparing to test memory region 7f52833c1000 (8388608 bytes)
*** Preparing to test memory region 7f5283dff000 (4096 bytes)
*** Preparing to test memory region 7f5283e00000 (8388608 bytes)
*** Preparing to test memory region 7f5284649000 (4096 bytes)
*** Preparing to test memory region 7f528474f000 (4096 bytes)
*** Preparing to test memory region 7f5284790000 (24576 bytes)
*** Preparing to test memory region 7f5284957000 (16384 bytes)
*** Preparing to test memory region 7f5284979000 (16384 bytes)
*** Preparing to test memory region 7f5284c6d000 (16384 bytes)
*** Preparing to test memory region 7f5284e4e000 (8192 bytes)
*** Preparing to test memory region 7f5284e7e000 (4096 bytes)

Additional information

  1. redislabs/redismod:latest on Docker Desktop 4.8.2 on MacBook Pro (15-inch, 2018), macOS 12.4
  2. No reliably consistent way to reproduce that I have found.
  3. docker:
# docker-compose.yml
services:
  redis:
    restart: always
    image: redislabs/redismod:latest
    ports:
      - 6379:6379

Comment From: sundb

@jlixfeld Please create a new issue in https://github.com/RedisLabsModules/redismod.

Comment From: oranagra

or in https://github.com/RediSearch/RediSearch (it looks like the crash is there).

Comment From: jlixfeld

Ah. I was very confused when I looked in the repositories under https://github.com/redis and couldn't find repos for the redismod or redisearch repos to create the issue there. I assumed at that point the bug template was referring to something else and created the issue here.

Comment From: oranagra

thanks for that feedback.. we'll look into ways to make it clearer.