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.
14654:M 07 Sep 2021 05:00:36.123 .
atomic_inc_bulk_refcount.lua finally done with cfs_id:cfs_id_SnapNRollbacks1 and returnng
14654:M 07 Sep 2021 05:00:36.124 .
atomic_inc_bulk_refcount.lua: entered
14654:M 07 Sep 2021 05:00:36.124 .
atomic_inc_bulk_refcount.lua: STEP1
14654:M 07 Sep 2021 05:00:36.124 .
atomic_inc_bulk_refcount.lua: STEP2
14654:M 07 Sep 2021 05:00:36.124 .
atomic_inc_bulk_refcount.lua: idx:6
14654:M 07 Sep 2021 05:00:36.124 .
atomic_inc_bulk_refcount.lua: sig:v����+6�H�}j�?�b�:]W��ִA�A�
14654:M 07 Sep 2021 05:00:36.124 .
atomic_inc_bulk_refcount.lua: STEP376931fac9dab2b36c248b87d6ae33f9a62d7183a5d5789e4b2d6b441e2411dc7
14654:M 07 Sep 2021 05:00:36.124 . atomic_inc_bulk_refcount.lua:update_rc sig:76931fac9dab2b36c248b87d6ae33f9a62d7183a5d5789e4b2d6b441e2411dc7 inc:80 sig_sz: 64 for_snapshotting:1
=== REDIS BUG REPORT START: Cut & paste starting from here ===
14654:M 07 Sep 2021 05:00:36.124 . atomic_inc_bulk_refcount.lua:update_rc sig:76931fac9dab2b36c248b87d6ae33f9a62d7183a5d5789e4b2d6b441e2411dc7 inc:80 sig_sz: 64 for_snapshotting:1 entered
14654:M 07 Sep 2021 05:00:36.124 # Redis 6.0.9 crashed by signal: 11, si_code: 128
14654:M 07 Sep 2021 05:00:36.124 . atomic_inc_bulk_refcount.lua: snapshot count of 76931fac9dab2b36c248b87d6ae33f9a62d7183a5d5789e4b2d6b441e2411dc7 is incremented to 8741
14654:M 07 Sep 2021 05:00:36.124 # Crashed running the instruction at: 0x4cff88
14654:M 07 Sep 2021 05:00:36.124 . atomic_inc_bulk_refcount.lua: Ref count of 76931fac9dab2b36c248b87d6ae33f9a62d7183a5d5789e4b2d6b441e2411dc7 stays at 2
14654:M 07 Sep 2021 05:00:36.124 # Accessing address: (nil)
14654:M 07 Sep 2021 05:00:36.124 .
atomic_inc_bulk_refcount.lua: updated_rc is:2
14654:M 07 Sep 2021 05:00:36.124 # Killed by PID: 0, UID: 0
14654:M 07 Sep 2021 05:00:36.124 .
atomic_inc_bulk_refcount.lua: update_excl: updated_rc is:2
14654:M 07 Sep 2021 05:00:36.124 # Failed assertion: <no assertion failed> (<no file>:0)
------ STACK TRACE ------
14654:M 07 Sep 2021 05:00:36.124 . atomic_inc_bulk_refcount.lua:76931fac9dab2b36c248b87d6ae33f9a62d7183a5d5789e4b2d6b441e2411dc7 : existing exclusive usr = NIL : existing exclusive cfs = NIL
14654:M 07 Sep 2021 05:00:36.124 . atomic_inc_bulk_refcount.lua: usr_excl_true:false
14654:M 07 Sep 2021 05:00:36.124 . atomic_inc_bulk_refcount.lua: cfs_excl_true:false
14654:M 07 Sep 2021 05:00:36.124 . atomic_inc_bulk_refcount.lua: pre_excl_true:false
14654:M 07 Sep 2021 05:00:36.124 . atomic_inc_bulk_refcount.lua: usr_excl_false
EIP:
14654:M 07 Sep 2021 05:00:36.124 . atomic_inc_bulk_refcount.lua: cfs_excl_false
14654:M 07 Sep 2021 05:00:36.124 . atomic_inc_bulk_refcount.lua: pre_excl_false
14654:M 07 Sep 2021 05:00:36.124 . atomic_inc_bulk_refcount.lua: content not exclusive
redis-server *:0(lua_rawseti+0x28)[0x4cff88]
Backtrace:
14654:M 07 Sep 2021 05:00:36.125 .
atomic_inc_bulk_refcount.lua done with cfs_id:cfs_id_SnapNRollbacks1 idx:6 and sig:76931fac9dab2b36c248b87d6ae33f9a62d7183a5d5789e4b2d6b441e2411dc7
14654:M 07 Sep 2021 05:00:36.125 .
atomic_inc_bulk_refcount.lua: idx:7
redis-server *:0(logStackTrace+0x32)[0x47ca02]
14654:M 07 Sep 2021 05:00:36.125 .
atomic_inc_bulk_refcount.lua: sig:v����+6�H�}j�?�b�:]W��ִA�A�
14654:M 07 Sep 2021 05:00:36.125 .
atomic_inc_bulk_refcount.lua: STEP376931fac9dab2b36c248b87d6ae33f9a62d7183a5d5789e4b2d6b441e2411dc7
redis-server *:0(sigsegvHandler+0xc8)[0x47d118]
/lib64/libpthread.so.0(+0xf7e0)[0x7ffff753f7e0]
14654:M 07 Sep 2021 05:00:36.125 . atomic_inc_bulk_refcount.lua:update_rc sig:76931fac9dab2b36c248b87d6ae33f9a62d7183a5d5789e4b2d6b441e2411dc7 inc:38 sig_sz: 64 for_snapshotting:1
14654:M 07 Sep 2021 05:00:36.125 . atomic_inc_bulk_refcount.lua:update_rc sig:76931fac9dab2b36c248b87d6ae33f9a62d7183a5d5789e4b2d6b441e2411dc7 inc:38 sig_sz: 64 for_snapshotting:1 entered
redis-server *:0(lua_rawseti+0x28)[0x4cff88]
14654:M 07 Sep 2021 05:00:36.125 . atomic_inc_bulk_refcount.lua: snapshot count of 76931fac9dab2b36c248b87d6ae33f9a62d7183a5d5789e4b2d6b441e2411dc7 is incremented to 8779
redis-server *:0(luaSetGlobalArray+0x71)[0x48b611]
14654:M 07 Sep 2021 05:00:36.125 . atomic_inc_bulk_refcount.lua: Ref count of 76931fac9dab2b36c248b87d6ae33f9a62d7183a5d5789e4b2d6b441e2411dc7 stays at 2
14654:M 07 Sep 2021 05:00:36.125 .
atomic_inc_bulk_refcount.lua: updated_rc is:2
redis-server *:0(evalGenericCommand+0xf1)[0x48bb21]
14654:M 07 Sep 2021 05:00:36.125 .
atomic_inc_bulk_refcount.lua: update_excl: updated_rc is:2
14654:M 07 Sep 2021 05:00:36.125 . atomic_inc_bulk_refcount.lua:76931fac9dab2b36c248b87d6ae33f9a62d7183a5d5789e4b2d6b441e2411dc7 : existing exclusive usr = NIL : existing exclusive cfs = NIL
redis-server *:0(call+0x9b)[0x43a1db]
14654:M 07 Sep 2021 05:00:36.125 . atomic_inc_bulk_refcount.lua: usr_excl_true:false
14654:M 07 Sep 2021 05:00:36.125 . atomic_inc_bulk_refcount.lua: cfs_excl_true:false
redis-server *:0(RM_Call+0x17d)[0x4ade0d]
14654:M 07 Sep 2021 05:00:36.125 . atomic_inc_bulk_refcount.lua: pre_excl_true:false
/home/scratch.ambars_inf/WORK/P4/ambars_crystal_atomicbulk/1.0/crsdb/redismodules/build/CrystalTransaction.so(_Z20rollback_transactionP14RedisModuleCtxxRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_+0x17b3)[0x7fffee20ee63]
14654:M 07 Sep 2021 05:00:36.125 . atomic_inc_bulk_refcount.lua: usr_excl_false
/home/scratch.ambars_inf/WORK/P4/ambars_crystal_atomicbulk/1.0/crsdb/redismodules/build/CrystalTransaction.so(_Z38CrystalTransaction_Rollback_ThreadMainPv+0xc7)[0x7fffee210777]
14654:M 07 Sep 2021 05:00:36.125 . atomic_inc_bulk_refcount.lua: cfs_excl_false
/lib64/libpthread.so.0(+0x7aa1)[0x7ffff7537aa1]
14654:M 07 Sep 2021 05:00:36.125 . atomic_inc_bulk_refcount.lua: pre_excl_false
14654:M 07 Sep 2021 05:00:36.125 . atomic_inc_bulk_refcount.lua: content not exclusive
/lib64/libc.so.6(clone+0x6d)[0x7ffff7284aad]
14654:M 07 Sep 2021 05:00:36.125 .
atomic_inc_bulk_refcount.lua done with cfs_id:cfs_id_SnapNRollbacks1 idx:7 and sig:76931fac9dab2b36c248b87d6ae33f9a62d7183a5d5789e4b2d6b441e2411dc7
------ INFO OUTPUT ------
14654:M 07 Sep 2021 05:00:36.125 .
atomic_inc_bulk_refcount.lua finally done with cfs_id:cfs_id_SnapNRollbacks1 and returnng
# Server
redis_version:6.0.9
redis_git_sha1:00000000
redis_git_dirty:0
redis_build_id:485d73e75f107e56
redis_mode:standalone
os:Linux 4.1.15.pnotify x86_64
arch_bits:64
multiplexing_api:epoll
atomicvar_api:atomic-builtin
gcc_version:5.5.0
process_id:14654
run_id:02a6336cad7fb1399caf27bb1ced52384d5fff22
tcp_port:0
uptime_in_seconds:2
uptime_in_days:0
hz:10
configured_hz:10
lru_clock:3626084
executable:/home/scratch.ambars_inf/WORK/P4/ambars_crystal_atomicbulk/1.0/crsdb/redis-server
config_file:/home/scratch.ambars_inf/WORK/P4/ambars_crystal_atomicbulk/1.0/misc/redis/redis.conf
io_threads_active:0
# Clients
connected_clients:4
client_recent_max_input_buffer:40960
client_recent_max_output_buffer:2280
blocked_clients:1
tracking_clients:0
clients_in_timeout_table:1
# Memory
used_memory:1260160
used_memory_human:1.20M
used_memory_rss:18587648
used_memory_rss_human:17.73M
used_memory_peak:1260160
used_memory_peak_human:1.20M
used_memory_peak_perc:99.97%
used_memory_overhead:975340
used_memory_startup:794784
used_memory_dataset:284476
used_memory_dataset_perc:61.17%
allocator_allocated:1399080
allocator_active:1949696
allocator_resident:6561792
total_system_memory:135169318912
total_system_memory_human:125.89G
used_memory_lua:165888
used_memory_lua_human:162.00K
used_memory_scripts:93392
used_memory_scripts_human:91.20K
number_of_cached_scripts:14
maxmemory:0
maxmemory_human:0B
maxmemory_policy:noeviction
allocator_frag_ratio:1.39
allocator_frag_bytes:550616
allocator_rss_ratio:3.37
allocator_rss_bytes:4612096
rss_overhead_ratio:2.83
rss_overhead_bytes:12025856
mem_fragmentation_ratio:15.02
mem_fragmentation_bytes:17350104
mem_not_counted_for_evict:0
mem_replication_backlog:0
mem_clients_slaves:0
mem_clients_normal:85292
mem_aof_buffer:0
mem_allocator:jemalloc-5.1.0
active_defrag_running:0
lazyfree_pending_objects:0
# Persistence
loading:0
rdb_changes_since_last_save:1363
rdb_bgsave_in_progress:0
rdb_last_save_time:1631016034
rdb_last_bgsave_status:ok
rdb_last_bgsave_time_sec:-1
rdb_current_bgsave_time_sec:-1
rdb_last_cow_size:0
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:4
total_commands_processed:10443
instantaneous_ops_per_sec:5677
total_net_input_bytes:167370
total_net_output_bytes:67328
instantaneous_input_kbps:92.94
instantaneous_output_kbps:34.88
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
keyspace_hits:6417
keyspace_misses:1281
pubsub_channels:0
pubsub_patterns:0
latest_fork_usec: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
tracking_total_keys:0
tracking_total_items:0
tracking_total_prefixes:0
unexpected_error_replies:0
total_reads_processed:163
total_writes_processed:161
io_threaded_reads_processed:0
io_threaded_writes_processed:0
# Replication
role:master
connected_slaves:0
master_replid:d560600a58fd03b8258389e43d90c4cb3b469ee0
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.283000
used_cpu_user:0.229000
used_cpu_sys_children:0.000000
used_cpu_user_children:0.000000
# Modules
module:name=CrystalUtils,ver=1,api=1,filters=0,usedby=[],using=[],options=[]
module:name=CrystalTransactions,ver=1,api=1,filters=0,usedby=[],using=[],options=[]
# Commandstats
cmdstat_del:calls=1,usec=1,usec_per_call=1.00
cmdstat_CrystalTransaction.Dump:calls=2,usec=693,usec_per_call=346.50
cmdstat_exists:calls=1,usec=1,usec_per_call=1.00
cmdstat_CrystalTransaction.IsActive:calls=1,usec=91,usec_per_call=91.00
cmdstat_srem:calls=3,usec=9,usec_per_call=3.00
cmdstat_zrem:calls=3,usec=1,usec_per_call=0.33
cmdstat_CrystalUtils.Cnv2Hex:calls=1272,usec=14516,usec_per_call=11.41
cmdstat_hexists:calls=1271,usec=1220,usec_per_call=0.96
cmdstat_hscan:calls=14,usec=104,usec_per_call=7.43
cmdstat_CrystalTransaction.IsDiscarding:calls=1,usec=77,usec_per_call=77.00
cmdstat_CrystalTransaction.Write:calls=2,usec=93,usec_per_call=46.50
cmdstat_zincrby:calls=2,usec=16,usec_per_call=8.00
cmdstat_module:calls=2,usec=57358,usec_per_call=28679.00
cmdstat_zadd:calls=2,usec=8,usec_per_call=4.00
cmdstat_hdel:calls=4,usec=14,usec_per_call=3.50
cmdstat_get:calls=6,usec=6,usec_per_call=1.00
cmdstat_sadd:calls=5,usec=22,usec_per_call=4.40
cmdstat_CrystalTransaction.IncRefCnt:calls=3,usec=334,usec_per_call=111.33
cmdstat_hget:calls=5127,usec=4324,usec_per_call=0.84
cmdstat_decrby:calls=1,usec=3,usec_per_call=3.00
cmdstat_CrystalTransaction.Rollback:calls=2,usec=66,usec_per_call=33.00
cmdstat_hincrby:calls=1281,usec=2518,usec_per_call=1.97
cmdstat_ping:calls=1,usec=3,usec_per_call=3.00
cmdstat_sismember:calls=1277,usec=742,usec_per_call=0.58
cmdstat_evalsha:calls=73,usec=439132,usec_per_call=6015.51
cmdstat_CrystalTransaction.GetTransactionId:calls=3,usec=94,usec_per_call=31.33
cmdstat_zscore:calls=2,usec=5,usec_per_call=2.50
cmdstat_incrby:calls=9,usec=16,usec_per_call=1.78
cmdstat_hset:calls=37,usec=130,usec_per_call=3.51
cmdstat_CrystalTransaction.ping:calls=1,usec=2,usec_per_call=2.00
cmdstat_memory:calls=1,usec=39,usec_per_call=39.00
cmdstat_set:calls=19,usec=30,usec_per_call=1.58
cmdstat_script:calls=14,usec=5333,usec_per_call=380.93
# Cluster
cluster_enabled:0
# Keyspace
db0:keys=34,expires=0,avg_ttl=0
------ CLIENT LIST OUTPUT ------
id=4 addr=/tmp/crs-9yGo5L/sock:0 fd=8 name= age=1 idle=0 flags=U db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=32768 argv-mem=0 obl=0 oll=0 omem=0 tot-mem=61464 events=r cmd=hget user=default
id=7 addr=/tmp/crs-9yGo5L/sock:0 fd=11 name= age=1 idle=0 flags=U db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=32768 argv-mem=0 obl=0 oll=0 omem=0 tot-mem=61456 events=r cmd=CrystalTransaction.IsDiscarding user=default
id=8 addr=/tmp/crs-9yGo5L/sock:0 fd=12 name= age=1 idle=0 flags=U db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=32768 argv-mem=0 obl=0 oll=0 omem=0 tot-mem=61600 events=r cmd=evalsha user=default
id=9 addr=/tmp/crs-9yGo5L/sock:0 fd=13 name= age=1 idle=0 flags=bU db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=32768 argv-mem=28 obl=0 oll=0 omem=0 tot-mem=61484 events=r cmd=CrystalTransaction.Rollback user=default
------ REGISTERS ------
14654:M 07 Sep 2021 05:00:36.125 #
RAX:362bab9dac1f9376 RBX:00000000009fcf30
RCX:362bab9dac1f9376 RDX:0000000000a0e880
RDI:00000000009fcf30 RSI:0000000000a59640
RBP:0000000000a89e00 RSP:00007fffd7ffcc90
R8 :0000000000a59640 R9 :00000000009fcf30
R10:0000000000000040 R11:00007ffff72f67d0
R12:0000000000a89de0 R13:000000000056a334
R14:00007fffe8627020 R15:0000000000000013
RIP:00000000004cff88 EFL:0000000000010206
CSGSFS:0000000000000033
14654:M 07 Sep 2021 05:00:36.125 # (00007fffd7ffcc9f) -> 6634633234353531
14654:M 07 Sep 2021 05:00:36.125 # (00007fffd7ffcc9e) -> 6234363432623138
14654:M 07 Sep 2021 05:00:36.125 # (00007fffd7ffcc9d) -> 3864333463636531
14654:M 07 Sep 2021 05:00:36.125 # (00007fffd7ffcc9c) -> 6461613238305f66
14654:M 07 Sep 2021 05:00:36.125 # (00007fffd7ffcc9b) -> 0000000000000004
14654:M 07 Sep 2021 05:00:36.125 # (00007fffd7ffcc9a) -> 00000000007c63a8
14654:M 07 Sep 2021 05:00:36.125 # (00007fffd7ffcc99) -> 000000000048bb21
14654:M 07 Sep 2021 05:00:36.125 # (00007fffd7ffcc98) -> 0000000000000551
14654:M 07 Sep 2021 05:00:36.125 # (00007fffd7ffcc97) -> 00007fffd7ffccf0
14654:M 07 Sep 2021 05:00:36.125 # (00007fffd7ffcc96) -> 0000000000000001
14654:M 07 Sep 2021 05:00:36.125 # (00007fffd7ffcc95) -> 00000000009fcf30
14654:M 07 Sep 2021 05:00:36.125 # (00007fffd7ffcc94) -> 00007fffe8614940
14654:M 07 Sep 2021 05:00:36.125 # (00007fffd7ffcc93) -> 000000000048b611
14654:M 07 Sep 2021 05:00:36.125 # (00007fffd7ffcc92) -> 0000000000000004
14654:M 07 Sep 2021 05:00:36.125 # (00007fffd7ffcc91) -> 00000000009fcf30
14654:M 07 Sep 2021 05:00:36.125 # (00007fffd7ffcc90) -> 0000000000000001
------ MODULES INFO OUTPUT ------
------ FAST MEMORY TEST ------
14654:M 07 Sep 2021 05:00:36.125 # main thread terminated
14654:M 07 Sep 2021 05:00:36.126 # Bio thread for job type #0 terminated
14654:M 07 Sep 2021 05:00:36.126 # Bio thread for job type #1 terminated
14654:M 07 Sep 2021 05:00:36.126 # Bio thread for job type #2 terminated
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: lua_rawseti (base: 0x4cff60)
Module: redis-server *:0 (base 0x400000)
$ xxd -r -p /tmp/dump.hex /tmp/dump.bin
$ objdump --adjust-vma=0x4cff60 -D -b binary -m i386:x86-64 /tmp/dump.bin
------
14654:M 07 Sep 2021 05:00:36.126 # dump of function (hexdump of 160 bytes):
4154554189d0534889fbe881f0ffff488b6b10488b304489c24889df4989c4e8cc8c0000488b55f04889108b55f8895008488b43108378f8037e14488b40f0f6400903740a498b3424f6460904751148836b10105b5d415cc30f1f80000000004889dfe82849000048836b10105b5d415cc30f1f4000662e0f1f840000000000534889fbe807f0ffff488b53108b4af885c9743c48634808488b52f04889d683
=== REDIS BUG REPORT END. Make sure to include from START to END. ===
Additional information I am not clear from the logs exactly where the crash is occurring. Help really appreciated.
- OS distribution and version
- Steps to reproduce (if any)
Comment From: sundb
Look like the CrystalTransaction module crashed.
This module should not be open source, you can ask the relevant developer for help.
Comment From: oranagra
Indeed, it crashes in Lua that's called from the module thread. Please take it to the module developer to debug.
Comment From: ambarsarkar
Thanks and I'll investigate.
It makes sense (isse in the C++ redismodule implementation) , but for posterity, how can one tell it was the CrystalTransaction.so from the log? I do see the sigsegvhandler, but cannot tell from the backtrace what specifically caused it as there are other messages from the lua scripts as well, so the trace sequence is unclear.
Has anyone been successful in attaching a gdb debugger or identify the line/code where the C++ module is crashing?
Appreciated, -Ambar
On Tue, Sep 7, 2021 at 8:56 AM sundb @.***> wrote:
Look like the CrystalTransaction module crashed.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/redis/redis/issues/9466#issuecomment-914283629, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC4DZWDTTEXUUVY6H65FMELUAYDZFANCNFSM5DSIG3UA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
-- Ambar Sarkar: @.*** Skype: ambar.sarkar
Comment From: oranagra
First, whenever a module is present, it's the immediate suspect since they're usually less tested, are lower maturity level, and they can corrupt heap, so even if the module's code is not in the stack trace, unless the error is clearly in Redis, we'll ask the module developer to debug it first.
Secondly, in this case we see clone in the top of the stack trace, so it's a thread, and then we see the module code (I.E. A module thread) calling RM_Call and then it crashes inside Lua, so I'd suspect that the module is doing something invalid.
Regarding all these prints in the log, I never seen them in plain redis, so I suspect they're also a result of something invalid that the module is doing.
Comment From: ambarsarkar
Okay, I believe the following scenario is likely happening:
I make a RM_Call from a client, which starts a thread on the server and returns. The server thread keeps working. In parallel, another client makes a .lua call which prints the other messages (I know that for sure). The earlier thread crashes, and the .lua call thus fails.
Thanks for the hints. -Ambar
On Tue, Sep 7, 2021 at 9:30 AM Oran Agra @.***> wrote:
First, whenever a module is present, it's the immediate suspect since they're usually less tested, are lower maturity level, and they can corrupt heap, so even if the module's code is not in the stack trace, unless the error is clearly in Redis, we'll ask the module developer to debug it first.
Secondly, in this case we see clone in the top of the stack trace, so it's a thread, and then we see the module code (I.E. A module thread) calling RM_Call and then it crashes inside Lua, so I'd suspect that the module is doing something invalid.
Regarding all these prints in the log, I never seen them in plain redis, so I suspect they're also a result of something invalid that the module is doing.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/redis/redis/issues/9466#issuecomment-914308192, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC4DZWAYHGP5DQOKNFLDHWLUAYHWLANCNFSM5DSIG3UA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
-- Ambar Sarkar: @.*** Skype: ambar.sarkar