Crash report
1:M 16 May 2022 15:41:21.014 # Redis 6.2.6 crashed by signal: 11, si_code: 1 1:M 16 May 2022 15:41:21.014 # Accessing address: 0x2000 1:M 16 May 2022 15:41:21.014 # Crashed running the instruction at: 0x40049c16a3
------ STACK TRACE ------ EIP: /usr/lib/redis/modules/redisgraph.so(+0x2396a3)[0x40049c16a3]
Backtrace: /lib/x86_64-linux-gnu/libpthread.so.0(+0x12980)[0x4002f85980] /usr/lib/redis/modules/redisgraph.so(+0x2396a3)[0x40049c16a3] /usr/lib/redis/modules/redisgraph.so(ResultSet_EmitVerboseRow+0x49)[0x40049c1cd9] /usr/lib/redis/modules/redisgraph.so(ResultSet_Reply+0xf2)[0x40049c08a2] /usr/lib/redis/modules/redisgraph.so(+0x1f4af8)[0x400497caf8] /usr/lib/redis/modules/redisgraph.so(+0x243ab4)[0x40049cbab4] /lib/x86_64-linux-gnu/libpthread.so.0(+0x76db)[0x4002f7a6db] /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x40032b361f]
------ REGISTERS ------ 1:M 16 May 2022 15:41:21.030 # RAX:0000000000002000 RBX:0000004038dd1980 RCX:000000000000035c RDX:0000000000000a0d RDI:0000004038dd1980 RSI:0000004003b9288b RBP:00000040092f9410 RSP:00000040092f9240 R8 :00000040092f9248 R9 :0000004003300440 R10:0000000000000001 R11:000000400334eda0 R12:0000004038e08c00 R13:0000004003bbf140 R14:00000040060c4660 R15:00000040060c46f0 RIP:00000040049c16a3 EFL:0000000000000202 CSGSFS:002b000000000033 1:M 16 May 2022 15:41:21.030 # (00000040092f924f) -> 0000004041591b20 1:M 16 May 2022 15:41:21.030 # (00000040092f924e) -> 0000000000000002 1:M 16 May 2022 15:41:21.030 # (00000040092f924d) -> 0000004000057763 1:M 16 May 2022 15:41:21.030 # (00000040092f924c) -> 0000000000000000 1:M 16 May 2022 15:41:21.030 # (00000040092f924b) -> 000000400d42d1f0 1:M 16 May 2022 15:41:21.030 # (00000040092f924a) -> 00000040092f9240 1:M 16 May 2022 15:41:21.031 # (00000040092f9249) -> 00000040092f9248 1:M 16 May 2022 15:41:21.031 # (00000040092f9248) -> 00000040092f9280 1:M 16 May 2022 15:41:21.031 # (00000040092f9247) -> 00000040049c15cb 1:M 16 May 2022 15:41:21.031 # (00000040092f9246) -> 0000004038e08c00 1:M 16 May 2022 15:41:21.031 # (00000040092f9245) -> 00000040000d831c 1:M 16 May 2022 15:41:21.031 # (00000040092f9244) -> 0000004038e08c00 1:M 16 May 2022 15:41:21.031 # (00000040092f9243) -> 00000040092f9410 1:M 16 May 2022 15:41:21.031 # (00000040092f9242) -> 0000004038dd1980 1:M 16 May 2022 15:41:21.031 # (00000040092f9241) -> efcc9f4d65ab3600 1:M 16 May 2022 15:41:21.031 # (00000040092f9240) -> 0000000000000001
------ INFO OUTPUT ------
Server
redis_version:6.2.6 redis_git_sha1:00000000 redis_git_dirty:0 redis_build_id:e15697f1a083b6bc redis_mode:standalone os:Linux 5.10.104-linuxkit x86_64 arch_bits:64 multiplexing_api:epoll atomicvar_api:c11-builtin gcc_version:7.5.0 process_id:1 process_supervised:no run_id:d065b288215c0a6d54745ba2ecd426a1cb2038fd tcp_port:6379 server_time_usec:1652715681014593 uptime_in_seconds:10822 uptime_in_days:0 hz:10 configured_hz:10 lru_clock:8548513 executable:/data/redis-server config_file: io_threads_active:0
Clients
connected_clients:3 cluster_connections:0 maxclients:10000 client_recent_max_input_buffer:127 client_recent_max_output_buffer:0 blocked_clients:1 tracking_clients:0 clients_in_timeout_table:0
Memory
used_memory:22504336 used_memory_human:21.46M used_memory_rss:0 used_memory_rss_human:0B used_memory_peak:25792360 used_memory_peak_human:24.60M used_memory_peak_perc:87.25% used_memory_overhead:905783 used_memory_startup:844048 used_memory_dataset:21598553 used_memory_dataset_perc:99.71% allocator_allocated:24512000 allocator_active:27054080 allocator_resident:32485376 total_system_memory:8232747008 total_system_memory_human:7.67G 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.10 allocator_frag_bytes:2542080 allocator_rss_ratio:1.20 allocator_rss_bytes:5431296 rss_overhead_ratio:0.00 rss_overhead_bytes:-32485376 mem_fragmentation_ratio:0.00 mem_fragmentation_bytes:-22543496 mem_not_counted_for_evict:0 mem_replication_backlog:0 mem_clients_slaves:0 mem_clients_normal:61623 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:0 rdb_bgsave_in_progress:0 rdb_last_save_time:1652715182 rdb_last_bgsave_status:ok rdb_last_bgsave_time_sec:0 rdb_current_bgsave_time_sec:-1 rdb_last_cow_size:5627904 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:20 total_commands_processed:171153 instantaneous_ops_per_sec:1 total_net_input_bytes:49725716 total_net_output_bytes:44283673 instantaneous_input_kbps:0.08 instantaneous_output_kbps:2.46 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:1779 evicted_keys:0 keyspace_hits:340603 keyspace_misses:5 pubsub_channels:0 pubsub_patterns:0 latest_fork_usec:75659 total_forks:13 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:19 dump_payload_sanitizations:0 total_reads_processed:171175 total_writes_processed:171286 io_threaded_reads_processed:0 io_threaded_writes_processed:0
Replication
role:master connected_slaves:0 master_failover_state:no-failover master_replid:2f2bed8ca150085d41c0eb19914890699ad94cd7 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:142.359307 used_cpu_user:473.754635 used_cpu_sys_children:0.235701 used_cpu_user_children:2.638958 used_cpu_sys_main_thread:0.688920 used_cpu_user_main_thread:29.472587
Modules
module:name=graph,ver=20812,api=1,filters=0,usedby=[],using=[],options=[]
Commandstats
cmdstat_acl:calls=4,usec=826,usec_per_call=206.50,rejected_calls=0,failed_calls=0 cmdstat_ttl:calls=23,usec=428,usec_per_call=18.61,rejected_calls=0,failed_calls=0 cmdstat_graph.RO_QUERY:calls=12,usec=4154,usec_per_call=346.17,rejected_calls=0,failed_calls=0 cmdstat_type:calls=8,usec=490,usec_per_call=61.25,rejected_calls=0,failed_calls=0 cmdstat_client:calls=11,usec=419,usec_per_call=38.09,rejected_calls=0,failed_calls=0 cmdstat_info:calls=737,usec=898319,usec_per_call=1218.89,rejected_calls=0,failed_calls=0 cmdstat_config:calls=1,usec=660,usec_per_call=660.00,rejected_calls=0,failed_calls=0 cmdstat_scan:calls=20,usec=4037,usec_per_call=201.85,rejected_calls=0,failed_calls=0 cmdstat_memory:calls=14,usec=408,usec_per_call=29.14,rejected_calls=0,failed_calls=0 cmdstat_module:calls=4,usec=3629,usec_per_call=907.25,rejected_calls=0,failed_calls=0 cmdstat_cluster:calls=1,usec=332,usec_per_call=332.00,rejected_calls=0,failed_calls=1 cmdstat_dbsize:calls=21,usec=848,usec_per_call=40.38,rejected_calls=0,failed_calls=0 cmdstat_command:calls=3,usec=27479,usec_per_call=9159.67,rejected_calls=0,failed_calls=0 cmdstat_del:calls=3,usec=27205,usec_per_call=9068.33,rejected_calls=0,failed_calls=0 cmdstat_graph.QUERY:calls=170290,usec=10712086,usec_per_call=62.90,rejected_calls=0,failed_calls=0 cmdstat_ping:calls=1,usec=38,usec_per_call=38.00,rejected_calls=0,failed_calls=0
Errorstats
errorstat_ERR:count=13 errorstat_encountered:count=6
Cluster
cluster_enabled:0
Keyspace
db0:keys=2,expires=0,avg_ttl=0
------ CLIENT LIST OUTPUT ------ id=113566 addr=172.17.0.1:55856 laddr=172.17.0.3:6379 fd=10 name=redisinsight-common-c7952259 age=3762 idle=2 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=20496 events=r cmd=info user=default redir=-1 id=113567 addr=172.17.0.1:55858 laddr=172.17.0.3:6379 fd=11 name=redisinsight-browser-66fb8b6a age=3762 idle=3581 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=20520 events=r cmd=graph.QUERY user=default redir=-1 id=113568 addr=172.17.0.1:55866 laddr=172.17.0.3:6379 fd=12 name=redisinsight-workbench-93392805 age=3754 idle=1 flags=b db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 argv-mem=95 obl=0 oll=0 omem=0 tot-mem=20607 events=r cmd=graph.QUERY user=default redir=-1
------ MODULES INFO OUTPUT ------
graph_executing commands
graph_command:GRAPH.QUERY MATCH (m:AOV), (o:AO) WHERE o.type = m.type RETURN (m), (o)
------ FAST MEMORY TEST ------ 1:M 16 May 2022 15:41:21.037 # main thread terminated 1:M 16 May 2022 15:41:21.038 # Bio thread for job type #0 terminated 1:M 16 May 2022 15:41:21.038 # Bio thread for job type #1 terminated 1:M 16 May 2022 15:41:21.038 # 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: (null) (base: (nil)) Module: /usr/lib/redis/modules/redisgraph.so (base 0x4004788000) $ xxd -r -p /tmp/dump.hex /tmp/dump.bin $ objdump --adjust-vma=(nil) -D -b binary -m i386:x86-64 /tmp/dump.bin
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Additional information
macOS Monterey (M1 Pro, 32GB Memory) over Docker by running 'docker run -p 6379:6379 -it --rm redislabs/redisgraph'
Comment From: oranagra
This is the known QEMU issue. Please try the docker image mentioned here: https://github.com/redis/redis/issues/10162#issuecomment-1072359526