Redisgraph: Execution plan crash on `>2.2.2`

Created on 27 Aug 2020  路  17Comments  路  Source: RedisGraph/RedisGraph

This query make redisgraph crash, but removing the WITH close above the WHERE returns correctly.

MATCH (i:Intervention)-[:HAS_CUSTOMER]->(manager:Group)
WHERE manager.uuid = 'Group:a8a88bc8-2b5b-426b-8374-bdb1de6c033c'
AND NOT ()-[:STARTED]->(i)
AND (:Group { type: 'MANAGER' })-[:CREATED]->(i)

WITH DISTINCT i, manager

MATCH (u:User) WHERE u.uuid = 'User:537ec3af-c3bb-4b64-837b-2049c925dfe9'

WITH DISTINCT i, u, manager

MATCH (creator)-[:CREATED]->(i)
OPTIONAL MATCH (i)-[:ON]->(on_property:Property)
OPTIONAL MATCH (i)-[:ON]->(on_parcel:Parcel)<--(parent_property:Property)

WITH DISTINCT i,
              u,
              manager,
              creator,
              on_property,
              on_parcel,
              parent_property

OPTIONAL MATCH (patch:InterventionPatch)-->(i)

WITH DISTINCT i,
              u,
              manager,
              creator,
              on_property,
              on_parcel,
              parent_property,
              collect(DISTINCT patch) AS patches

OPTIONAL MATCH (manager)<--(assign:Assign)<--(u)
OPTIONAL MATCH (manager)-->(tag:Tag)<--(u)

WITH DISTINCT i,
              manager,
              creator,
              on_property,
              on_parcel,
              parent_property,
              patches,
              assign,
              tag

WHERE
  (u)-[:IS_OWNER]->(manager)
  OR 'ADMIN' IN tag.policies
  OR 'MANAGE_PROPERTIES' IN tag.policies
  OR (assign)-->()<--(on_property)
  OR (assign)-->(on_parcel)

OPTIONAL MATCH (i)-[:HAS_PROVIDER]->(provider:Group)
OPTIONAL MATCH (provider)-[c:CANCELED]->(i)

WITH DISTINCT i,
              creator,
              on_property,
              on_parcel,
              parent_property,
              patches,
              collect(DISTINCT [provider, c]) AS providers

OPTIONAL MATCH (i)-[:HAS_CUSTOMER]->(customer:Group)

RETURN DISTINCT
  i AS intervention,
  on_property,
  on_parcel,
  parent_property,
  creator,
  providers,
  collect(DISTINCT customer) AS customers,
  patches

SKIP 0
LIMIT 20
Trace
redis-graph_1     | 
redis-graph_1     | 
redis-graph_1     | === REDIS BUG REPORT START: Cut & paste starting from here ===
redis-graph_1     | 1:M 27 Aug 2020 13:16:13.403 # Redis 6.0.5 crashed by signal: 11
redis-graph_1     | 1:M 27 Aug 2020 13:16:13.403 # Crashed running the instruction at: 0x7f746f2f0f54
redis-graph_1     | 1:M 27 Aug 2020 13:16:13.403 # Accessing address: (nil)
redis-graph_1     | 1:M 27 Aug 2020 13:16:13.403 # Failed assertion:  (:0)
redis-graph_1     | 
redis-graph_1     | ------ STACK TRACE ------
redis-graph_1     | EIP:
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(ExecutionPlan_LocateOpMatchingType+0x4)[0x7f746f2f0f54]
redis-graph_1     | 
redis-graph_1     | Backtrace:
redis-graph_1     | redis-server *:6379(logStackTrace+0x32)[0x55b598ac0e02]
redis-graph_1     | redis-server *:6379(sigsegvHandler+0x9e)[0x55b598ac14de]
redis-graph_1     | /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7f7470552730]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(ExecutionPlan_LocateOpMatchingType+0x4)[0x7f746f2f0f54]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(ExecutionPlan_Clone+0x30d)[0x7f746f2efc3d]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(ExecutionCtx_FromQuery+0x199)[0x7f746f2ed389]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(Graph_Query+0x40)[0x7f746f2ed460]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1f4d2d)[0x7f746f320d2d]
redis-graph_1     | /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3)[0x7f7470547fa3]
redis-graph_1     | /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f74704764cf]
redis-graph_1     | 
redis-graph_1     | ------ INFO OUTPUT ------
redis-graph_1     | # Server
redis-graph_1     | redis_version:6.0.5
redis-graph_1     | redis_git_sha1:00000000
redis-graph_1     | redis_git_dirty:0
redis-graph_1     | redis_build_id:7c345cef74f59a8c
redis-graph_1     | redis_mode:standalone
redis-graph_1     | os:Linux 5.4.58-1-MANJARO x86_64
redis-graph_1     | arch_bits:64
redis-graph_1     | multiplexing_api:epoll
redis-graph_1     | atomicvar_api:atomic-builtin
redis-graph_1     | gcc_version:8.3.0
redis-graph_1     | process_id:1
redis-graph_1     | run_id:f060a760cf9b80915f5c1c3e3adeffe8f5e85eba
redis-graph_1     | tcp_port:6379
redis-graph_1     | uptime_in_seconds:346
redis-graph_1     | uptime_in_days:0
redis-graph_1     | hz:10
redis-graph_1     | configured_hz:10
redis-graph_1     | lru_clock:4698653
redis-graph_1     | executable:/data/redis-server
redis-graph_1     | config_file:
redis-graph_1     | 
redis-graph_1     | # Clients
redis-graph_1     | connected_clients:1
redis-graph_1     | client_recent_max_input_buffer:2
redis-graph_1     | client_recent_max_output_buffer:0
redis-graph_1     | blocked_clients:1
redis-graph_1     | tracking_clients:0
redis-graph_1     | clients_in_timeout_table:0
redis-graph_1     | 
redis-graph_1     | # Memory
redis-graph_1     | used_memory:2494592
redis-graph_1     | used_memory_human:2.38M
redis-graph_1     | used_memory_rss:12386304
redis-graph_1     | used_memory_rss_human:11.81M
redis-graph_1     | used_memory_peak:2494592
redis-graph_1     | used_memory_peak_human:2.38M
redis-graph_1     | used_memory_peak_perc:105.93%
redis-graph_1     | used_memory_overhead:855058
redis-graph_1     | used_memory_startup:837968
redis-graph_1     | used_memory_dataset:1639534
redis-graph_1     | used_memory_dataset_perc:98.97%
redis-graph_1     | allocator_allocated:2957088
redis-graph_1     | allocator_active:3403776
redis-graph_1     | allocator_resident:6037504
redis-graph_1     | total_system_memory:16675385344
redis-graph_1     | total_system_memory_human:15.53G
redis-graph_1     | used_memory_lua:37888
redis-graph_1     | used_memory_lua_human:37.00K
redis-graph_1     | used_memory_scripts:0
redis-graph_1     | used_memory_scripts_human:0B
redis-graph_1     | number_of_cached_scripts:0
redis-graph_1     | maxmemory:0
redis-graph_1     | maxmemory_human:0B
redis-graph_1     | maxmemory_policy:noeviction
redis-graph_1     | allocator_frag_ratio:1.15
redis-graph_1     | allocator_frag_bytes:446688
redis-graph_1     | allocator_rss_ratio:1.77
redis-graph_1     | allocator_rss_bytes:2633728
redis-graph_1     | rss_overhead_ratio:2.05
redis-graph_1     | rss_overhead_bytes:6348800
redis-graph_1     | mem_fragmentation_ratio:5.35
redis-graph_1     | mem_fragmentation_bytes:10072280
redis-graph_1     | mem_not_counted_for_evict:0
redis-graph_1     | mem_replication_backlog:0
redis-graph_1     | mem_clients_slaves:0
redis-graph_1     | mem_clients_normal:16986
redis-graph_1     | mem_aof_buffer:0
redis-graph_1     | mem_allocator:jemalloc-5.1.0
redis-graph_1     | active_defrag_running:0
redis-graph_1     | lazyfree_pending_objects:0
redis-graph_1     | 
redis-graph_1     | # Persistence
redis-graph_1     | loading:0
redis-graph_1     | rdb_changes_since_last_save:0
redis-graph_1     | rdb_bgsave_in_progress:0
redis-graph_1     | rdb_last_save_time:1598533827
redis-graph_1     | rdb_last_bgsave_status:ok
redis-graph_1     | rdb_last_bgsave_time_sec:-1
redis-graph_1     | rdb_current_bgsave_time_sec:-1
redis-graph_1     | rdb_last_cow_size:0
redis-graph_1     | aof_enabled:0
redis-graph_1     | aof_rewrite_in_progress:0
redis-graph_1     | aof_rewrite_scheduled:0
redis-graph_1     | aof_last_rewrite_time_sec:-1
redis-graph_1     | aof_current_rewrite_time_sec:-1
redis-graph_1     | aof_last_bgrewrite_status:ok
redis-graph_1     | aof_last_write_status:ok
redis-graph_1     | aof_last_cow_size:0
redis-graph_1     | module_fork_in_progress:0
redis-graph_1     | module_fork_last_cow_size:0
redis-graph_1     | 
redis-graph_1     | # Stats
redis-graph_1     | total_connections_received:1
redis-graph_1     | total_commands_processed:5
redis-graph_1     | instantaneous_ops_per_sec:0
redis-graph_1     | total_net_input_bytes:4105
redis-graph_1     | total_net_output_bytes:1513
redis-graph_1     | instantaneous_input_kbps:0.00
redis-graph_1     | instantaneous_output_kbps:0.00
redis-graph_1     | rejected_connections:0
redis-graph_1     | sync_full:0
redis-graph_1     | sync_partial_ok:0
redis-graph_1     | sync_partial_err:0
redis-graph_1     | expired_keys:0
redis-graph_1     | expired_stale_perc:0.00
redis-graph_1     | expired_time_cap_reached_count:0
redis-graph_1     | expire_cycle_cpu_milliseconds:6
redis-graph_1     | evicted_keys:0
redis-graph_1     | keyspace_hits:4
redis-graph_1     | keyspace_misses:0
redis-graph_1     | pubsub_channels:0
redis-graph_1     | pubsub_patterns:0
redis-graph_1     | latest_fork_usec:0
redis-graph_1     | migrate_cached_sockets:0
redis-graph_1     | slave_expires_tracked_keys:0
redis-graph_1     | active_defrag_hits:0
redis-graph_1     | active_defrag_misses:0
redis-graph_1     | active_defrag_key_hits:0
redis-graph_1     | active_defrag_key_misses:0
redis-graph_1     | tracking_total_keys:0
redis-graph_1     | tracking_total_items:0
redis-graph_1     | tracking_total_prefixes:0
redis-graph_1     | unexpected_error_replies:0
redis-graph_1     | 
redis-graph_1     | # Replication
redis-graph_1     | role:master
redis-graph_1     | connected_slaves:0
redis-graph_1     | master_replid:ada8e094142331a62aadf3347e8c7cb9d12a44c5
redis-graph_1     | master_replid2:0000000000000000000000000000000000000000
redis-graph_1     | master_repl_offset:0
redis-graph_1     | second_repl_offset:-1
redis-graph_1     | repl_backlog_active:0
redis-graph_1     | repl_backlog_size:1048576
redis-graph_1     | repl_backlog_first_byte_offset:0
redis-graph_1     | repl_backlog_histlen:0
redis-graph_1     | 
redis-graph_1     | # CPU
redis-graph_1     | used_cpu_sys:0.310506
redis-graph_1     | used_cpu_user:0.463950
redis-graph_1     | used_cpu_sys_children:0.001135
redis-graph_1     | used_cpu_user_children:0.000816
redis-graph_1     | 
redis-graph_1     | # Modules
redis-graph_1     | module:name=graph,ver=999999,api=1,filters=0,usedby=[],using=[],options=[]
redis-graph_1     | 
redis-graph_1     | # Commandstats
redis-graph_1     | cmdstat_client:calls=1,usec=2,usec_per_call=2.00
redis-graph_1     | cmdstat_graph.QUERY:calls=4,usec=51,usec_per_call=12.75
redis-graph_1     | 
redis-graph_1     | # Cluster
redis-graph_1     | cluster_enabled:0
redis-graph_1     | 
redis-graph_1     | # Keyspace
redis-graph_1     | db0:keys=1,expires=0,avg_ttl=0
redis-graph_1     | 
redis-graph_1     | ------ CLIENT LIST OUTPUT ------
redis-graph_1     | id=7 addr=[::1]:34602 fd=8 name=RedisInsight age=12 idle=0 flags=b db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=32768 obl=0 oll=0 omem=0 events=r cmd=graph.QUERY user=default
redis-graph_1     | 
redis-graph_1     | ------ REGISTERS ------
redis-graph_1     | 1:M 27 Aug 2020 13:16:13.405 # 
redis-graph_1     | RAX:00007f745b606768 RBX:0000000000000020
redis-graph_1     | RCX:0000000000000001 RDX:0000000000000002
redis-graph_1     | RDI:0000000000000000 RSI:00007f746f7ad868
redis-graph_1     | RBP:00007f745b61fe60 RSP:00007f746e928458
redis-graph_1     | R8 :000000000000000a R9 :000000000000003e
redis-graph_1     | R10:00007f746e929070 R11:0000000000000168
redis-graph_1     | R12:00007f745b620270 R13:00007f745b63f740
redis-graph_1     | R14:00007f746f7ad868 R15:0000000000000040
redis-graph_1     | RIP:00007f746f2f0f54 EFL:0000000000010202
redis-graph_1     | CSGSFS:002b000000000033
redis-graph_1     | 1:M 27 Aug 2020 13:16:13.405 # (00007f746e928467) -> 000055b598f85d18
redis-graph_1     | 1:M 27 Aug 2020 13:16:13.405 # (00007f746e928466) -> 000055b598f85cc0
redis-graph_1     | 1:M 27 Aug 2020 13:16:13.405 # (00007f746e928465) -> 000055b598f85cb0
redis-graph_1     | 1:M 27 Aug 2020 13:16:13.405 # (00007f746e928464) -> 00007f746fe35140
redis-graph_1     | 1:M 27 Aug 2020 13:16:13.405 # (00007f746e928463) -> 00007f746fe1b620
redis-graph_1     | 1:M 27 Aug 2020 13:16:13.405 # (00007f746e928462) -> 00007f7450202588
redis-graph_1     | 1:M 27 Aug 2020 13:16:13.405 # (00007f746e928461) -> 00007f746fe1b620
redis-graph_1     | 1:M 27 Aug 2020 13:16:13.405 # (00007f746e928460) -> 00007f746f2ed389
redis-graph_1     | 1:M 27 Aug 2020 13:16:13.405 # (00007f746e92845f) -> 00007f746f9fee10
redis-graph_1     | 1:M 27 Aug 2020 13:16:13.405 # (00007f746e92845e) -> 00007f746ff28810
redis-graph_1     | 1:M 27 Aug 2020 13:16:13.405 # (00007f746e92845d) -> 00007f745b61f050
redis-graph_1     | 1:M 27 Aug 2020 13:16:13.405 # (00007f746e92845c) -> 00007f7450000b20
redis-graph_1     | 1:M 27 Aug 2020 13:16:13.405 # (00007f746e92845b) -> 00007f745b61fc30
redis-graph_1     | 1:M 27 Aug 2020 13:16:13.405 # (00007f746e92845a) -> 00007f746e928510
redis-graph_1     | 1:M 27 Aug 2020 13:16:13.405 # (00007f746e928459) -> 00007f746f9fee10
redis-graph_1     | 1:M 27 Aug 2020 13:16:13.405 # (00007f746e928458) -> 00007f746f2efc3d
redis-graph_1     | 
redis-graph_1     | ------ MODULES INFO OUTPUT ------
redis-graph_1     | 
redis-graph_1     | ------ FAST MEMORY TEST ------
redis-graph_1     | 1:M 27 Aug 2020 13:16:13.405 # Bio thread for job type #0 terminated
redis-graph_1     | 1:M 27 Aug 2020 13:16:13.405 # Bio thread for job type #1 terminated
redis-graph_1     | 1:M 27 Aug 2020 13:16:13.405 # Bio thread for job type #2 terminated
redis-graph_1     | *** Preparing to test memory region 55b598c0c000 (2277376 bytes)
redis-graph_1     | *** Preparing to test memory region 55b598f55000 (270336 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7450000000 (2256896 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7454000000 (2117632 bytes)
redis-graph_1     | *** Preparing to test memory region 7f745b5ff000 (2097152 bytes)
redis-graph_1     | *** Preparing to test memory region 7f745b800000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f745c000000 (2117632 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7460000000 (2256896 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7464000000 (135168 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7468000000 (6291456 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7468800000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7469000000 (4194304 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7469600000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7469e00000 (4194304 bytes)
redis-graph_1     | *** Preparing to test memory region 7f746a3a3000 (5767168 bytes)
redis-graph_1     | *** Preparing to test memory region 7f746a924000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f746b125000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f746b926000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f746c127000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f746c928000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f746d129000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f746d92a000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f746e12b000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f746e92c000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f746f9fc000 (16384 bytes)
redis-graph_1     | *** Preparing to test memory region 7f746fa00000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7470379000 (16384 bytes)
redis-graph_1     | *** Preparing to test memory region 7f747053a000 (24576 bytes)
redis-graph_1     | *** Preparing to test memory region 7f747055d000 (16384 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7470846000 (16384 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7470a6e000 (8192 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7470a9b000 (4096 bytes)

bug

All 17 comments

by simplifying the WHERE i can get redis to just hang instead of crashing

WHERE i IS NOT NULL

(i is a valid node)

@Sceat
Regarding the first message:
I guess you are using edge
Can you please validate and re-pull the docker image?
ExecutionPlan_Clone logic has changed on August 13th in
https://github.com/RedisGraph/RedisGraph/commit/3d371fcd8b73734119a9cba3712f7498725bf22e#diff-eae5a6b0d3056b1be74aa12cb257746b
and no longer contains ExecutionPlan_LocateOpMatchingType
check: https://github.com/RedisGraph/RedisGraph/blob/master/src/execution_plan/execution_plan_clone.c
I cannot reproduce locally on current master

Regarding the second message, can you elaborate?

I'm on the very last edge version as of today, i managed to reproduce it from scratch

CREATE (a:Foo)-[:BAR]->()
MATCH (a)
WITH DISTINCT a, collect(a) AS b
OPTIONAL MATCH (a)<--(:Foo)
WITH a
WHERE (a)-->()
RETURN true

for the second message, try to remove the label on the 3rd line OPTIONAL MATCH (a)<--() and it will hang

note that this time the trace is as below, but the crash probably occurs for a related reason as i simply slowly shrinked down the query trying to make it crash everytime with less chars

EIP:
/lib/x86_64-linux-gnu/libc.so.6(abort+0x1fd)[0x7ff7a5d90611]
Backtrace:
redis-server *:6379(logStackTrace+0x32)[0x563ca5e41e02]
redis-server *:6379(sigsegvHandler+0x9e)[0x563ca5e424de]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7ff7a5f43730]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x1fd)[0x7ff7a5d90611]
/lib/x86_64-linux-gnu/libc.so.6(+0x2240f)[0x7ff7a5d9040f]
/lib/x86_64-linux-gnu/libc.so.6(+0x30102)[0x7ff7a5d9e102]
/usr/lib/redis/modules/redisgraph.so(+0x1c3949)[0x7ff7a4cf8949]
/usr/lib/redis/modules/redisgraph.so(+0x1c7a1f)[0x7ff7a4cfca1f]
/usr/lib/redis/modules/redisgraph.so(+0x1cadec)[0x7ff7a4cffdec]
/usr/lib/redis/modules/redisgraph.so(+0x1cadec)[0x7ff7a4cffdec]
/usr/lib/redis/modules/redisgraph.so(+0x1d2ecc)[0x7ff7a4d07ecc]
/usr/lib/redis/modules/redisgraph.so(ExecutionPlan_Execute+0x58)[0x7ff7a4cfc288]
/usr/lib/redis/modules/redisgraph.so(Graph_Query+0x3d0)[0x7ff7a4cf6290]
/usr/lib/redis/modules/redisgraph.so(+0x1f742d)[0x7ff7a4d2c42d]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3)[0x7ff7a5f38fa3]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7ff7a5e674cf]

@DvirDukhan hum i tested on redislabs/redisgraph:2.2.2 and now i'm getting that crash on many queries, my current datas must have an impact on it
still here /lib/x86_64-linux-gnu/libc.so.6(abort+0x1fd)[0x7f143e2dc611]

however, the way to reproduce described below throw a /usr/lib/redis/modules/redisgraph.so(ExecutionPlan_Clone+0x30d)[0x7f0475eefc2d] on 2.2.2

I'm on the very last edge version as of today, i managed to reproduce it from scratch

CREATE (a:Foo)-[:BAR]->()
MATCH (a)
WITH DISTINCT a, collect(a) AS b
OPTIONAL MATCH (a)<--(:Foo)
WITH a
WHERE (a)-->()
RETURN true

for the second message, try to remove the label on the 3rd line OPTIONAL MATCH (a)<--() and it will hang

Testing on 2.2.5

First query of the issue throws :

redis-graph_1     | ------ STACK TRACE ------
redis-graph_1     | EIP:
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(AR_EXP_Clone+0x13)[0x7fa99d4ec793]
redis-graph_1     | 
redis-graph_1     | Backtrace:
redis-graph_1     | redis-server *:6379(logStackTrace+0x32)[0x5580151a2e02]
redis-graph_1     | redis-server *:6379(sigsegvHandler+0x9e)[0x5580151a34de]
redis-graph_1     | /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7fa99e6a0730]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(AR_EXP_Clone+0x13)[0x7fa99d4ec793]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(AR_EXP_Clone+0x184)[0x7fa99d4ec904]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(AR_EXP_Clone+0x184)[0x7fa99d4ec904]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1ceff9)[0x7fa99d503ff9]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1cf23b)[0x7fa99d50423b]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1cf2f3)[0x7fa99d5042f3]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c7a3c)[0x7fa99d4fca3c]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1cf2fb)[0x7fa99d5042fb]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1d2ecc)[0x7fa99d507ecc]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(ExecutionPlan_Execute+0x58)[0x7fa99d4fc288]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(Graph_Query+0x3d0)[0x7fa99d4f6290]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1f742d)[0x7fa99d52c42d]
redis-graph_1     | /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3)[0x7fa99e695fa3]
redis-graph_1     | /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7fa99e5c44cf]

Small reproduction query :

redis-graph_1     | ------ STACK TRACE ------
redis-graph_1     | redis-server: /build/src/execution_plan/record.c:70: Record_Merge: Assertion `a->owner == b->owner' failed.
redis-graph_1     | EIP:
redis-graph_1     | /lib/x86_64-linux-gnu/libc.so.6(abort+0x1fd)[0x7fbf971cd611]
redis-graph_1     | 
redis-graph_1     | Backtrace:
redis-graph_1     | redis-server *:6379(logStackTrace+0x32)[0x55c8a79cfe02]
redis-graph_1     | redis-server *:6379(sigsegvHandler+0x9e)[0x55c8a79d04de]
redis-graph_1     | /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7fbf97380730]
redis-graph_1     | /lib/x86_64-linux-gnu/libc.so.6(abort+0x1fd)[0x7fbf971cd611]
redis-graph_1     | /lib/x86_64-linux-gnu/libc.so.6(+0x2240f)[0x7fbf971cd40f]
redis-graph_1     | /lib/x86_64-linux-gnu/libc.so.6(+0x30102)[0x7fbf971db102]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c3949)[0x7fbf960f8949]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c7a1f)[0x7fbf960fca1f]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1cadec)[0x7fbf960ffdec]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1cadec)[0x7fbf960ffdec]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1d2ecc)[0x7fbf96107ecc]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(ExecutionPlan_Execute+0x58)[0x7fbf960fc288]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(Graph_Query+0x3d0)[0x7fbf960f6290]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1f742d)[0x7fbf9612c42d]
redis-graph_1     | /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3)[0x7fbf97375fa3]
redis-graph_1     | /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7fbf972a44cf]

All of the queries above are working on 2.2.1

Hi @Sceat,

I've written a PR that resolves the issue seen in your reproduction query.

I'm not certain if this will resolve the crash seen in your first query, so I'll update here when edge is updated and we can re-check!

@jeffreylovitz the new edge indeed fix the reproduction and not the other one

redis-graph_1     | ------ STACK TRACE ------
redis-graph_1     | EIP:
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(SIArray_Free+0x20)[0x7f02b98f7030]
redis-graph_1     | 
redis-graph_1     | Backtrace:
redis-graph_1     | redis-server *:6379(logStackTrace+0x32)[0x5560b5031e02]
redis-graph_1     | redis-server *:6379(sigsegvHandler+0x9e)[0x5560b50324de]
redis-graph_1     | /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7f02baa0f730]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(SIArray_Free+0x20)[0x7f02b98f7030]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(Record_FreeEntries+0x5b)[0x7f02b98f90ab]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(ObjectPool_DeleteItem+0x20)[0x7f02b992c160]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1d3b50)[0x7f02b9908b50]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(OpBase_Free+0x14)[0x7f02b9903c24]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c52a3)[0x7f02b98fa2a3]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c5272)[0x7f02b98fa272]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c5272)[0x7f02b98fa272]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c5272)[0x7f02b98fa272]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c5272)[0x7f02b98fa272]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c5272)[0x7f02b98fa272]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c5272)[0x7f02b98fa272]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c5272)[0x7f02b98fa272]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c5272)[0x7f02b98fa272]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c5272)[0x7f02b98fa272]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c5272)[0x7f02b98fa272]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c5272)[0x7f02b98fa272]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c5272)[0x7f02b98fa272]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(ExecutionPlan_Free+0x63)[0x7f02b98fc493]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(Graph_Query+0x3ea)[0x7f02b98f62aa]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1f742d)[0x7f02b992c42d]
redis-graph_1     | /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3)[0x7f02baa04fa3]
redis-graph_1     | /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f02ba9334cf]

[...]

redis-graph_1     | ------ MODULES INFO OUTPUT ------
redis-graph_1     | # graph_executing commands
redis-graph_1     | graph_command:graph.QUERY MATCH (i:Intervention)-[:HAS_CUSTOMER]->(manager:Group) WHERE manager.uuid = 'Group:a8a88bc8-2b5b-426b-8374-bdb1de6c033c'   AND NOT ()-[:STARTED]->(i) AND ( (:Group { type: 'MANAGER' })-[:CREATED]->(i) OR (:User)-[:CREATED]->(i) )  WITH DISTINCT i, manager  MATCH (u:User) WHERE u.uuid = 'User:537ec3af-c3bb-4b64-837b-2049c925dfe9'  WITH DISTINCT i, manager, u MATCH (creator)-[:CREATED]->(i) OPTIONAL MATCH (i)-[:ON]->(on_property:Property) OPTIONAL MATCH (i)-[:ON]->(on_parcel:Parcel)<--(parent_property:Property)  WITH DISTINCT i, u, manager, creator, on_property, on_parcel, parent_property  OPTIONAL MATCH (patch:InterventionPatch)-->(i)  WITH DISTINCT i, u, manager, creator, on_property, on_parcel, parent_property, collect(DISTINCT patch) AS patches  OPTIONAL MATCH (manager)<--(assign:Assign)<--(u) OPTIONAL MATCH (manager)-->(tag:Tag)<--(u)  WHERE (u)-[:IS_OWNER]->(manager) OR 'ADMIN' IN tag.policies OR 'MANAGE_PROPERTIES' IN tag.policies OR ( (assign)-->()<--(on_property)  ) OR ( (assign)-->(on_parcel)  )  OPTIONAL MATCH (i)-[:HAS_PROVIDER]->(provider:Group) OPTIONAL MATCH (provider)-[c:CANCELED]->(i)  WITH DISTINCT i, creator, on_property, on_parcel, parent_property, patches, collect(DISTINCT [provider, c]) AS providers  OPTIONAL MATCH (i)-[:HAS_CUSTOMER]->(customer:Group)  RETURN DISTINCT i AS intervention, on_property, on_parcel, parent_property, creator, providers, collect(DISTINCT customer) AS customers, patches  SKIP 0 LIMIT 20

Playing around i get some other crash, however 2.2.1 is working fine


trace

redis-graph_1     | === REDIS BUG REPORT START: Cut & paste starting from here ===
redis-graph_1     | 1:M 31 Aug 2020 08:22:43.957 # Redis 6.0.5 crashed by signal: 11
redis-graph_1     | 1:M 31 Aug 2020 08:22:43.957 # Crashed running the instruction at: 0x55f0cfbf208d
redis-graph_1     | 1:M 31 Aug 2020 08:22:43.957 # Accessing address: (nil)
redis-graph_1     | 1:M 31 Aug 2020 08:22:43.957 # Failed assertion:  (:0)
redis-graph_1     | 
redis-graph_1     | ------ STACK TRACE ------
redis-graph_1     | EIP:
redis-graph_1     | redis-server *:6379(je_malloc_usable_size+0x6d)[0x55f0cfbf208d]
redis-graph_1     | 
redis-graph_1     | Backtrace:
redis-graph_1     | redis-server *:6379(logStackTrace+0x32)[0x55f0cfb74e02]
redis-graph_1     | redis-server *:6379(sigsegvHandler+0x9e)[0x55f0cfb754de]
redis-graph_1     | /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7f221a5a7730]
redis-graph_1     | redis-server *:6379(je_malloc_usable_size+0x6d)[0x55f0cfbf208d]
redis-graph_1     | redis-server *:6379(+0x4dbc9)[0x55f0cfb38bc9]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(SIArray_Free+0x30)[0x7f22192f7040]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(SIArray_Free+0x30)[0x7f22192f7040]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(Record_FreeEntries+0x5b)[0x7f22192f90ab]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(ObjectPool_DeleteItem+0x20)[0x7f221932c160]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1d3b50)[0x7f2219308b50]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(OpBase_Free+0x14)[0x7f2219303c24]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c52a3)[0x7f22192fa2a3]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c5272)[0x7f22192fa272]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c5272)[0x7f22192fa272]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c5272)[0x7f22192fa272]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c5272)[0x7f22192fa272]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c5272)[0x7f22192fa272]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c5272)[0x7f22192fa272]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c5272)[0x7f22192fa272]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c5272)[0x7f22192fa272]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c5272)[0x7f22192fa272]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c5272)[0x7f22192fa272]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c5272)[0x7f22192fa272]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c5272)[0x7f22192fa272]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(ExecutionPlan_Free+0x63)[0x7f22192fc493]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(Graph_Query+0x3ea)[0x7f22192f62aa]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1f742d)[0x7f221932c42d]
redis-graph_1     | /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3)[0x7f221a59cfa3]
redis-graph_1     | /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f221a4cb4cf]
redis-graph_1     | 
redis-graph_1     | ------ INFO OUTPUT ------
redis-graph_1     | # Server
redis-graph_1     | redis_version:6.0.5
redis-graph_1     | redis_git_sha1:00000000
redis-graph_1     | redis_git_dirty:0
redis-graph_1     | redis_build_id:a552bef8bac6cf1c
redis-graph_1     | redis_mode:standalone
redis-graph_1     | os:Linux 5.4.60-2-MANJARO x86_64
redis-graph_1     | arch_bits:64
redis-graph_1     | multiplexing_api:epoll
redis-graph_1     | atomicvar_api:atomic-builtin
redis-graph_1     | gcc_version:8.3.0
redis-graph_1     | process_id:1
redis-graph_1     | run_id:a9afa7ea044acc2fb28d99704b9d15f08ef1583d
redis-graph_1     | tcp_port:6379
redis-graph_1     | uptime_in_seconds:103
redis-graph_1     | uptime_in_days:0
redis-graph_1     | hz:10
redis-graph_1     | configured_hz:10
redis-graph_1     | lru_clock:5026643
redis-graph_1     | executable:/data/redis-server
redis-graph_1     | config_file:
redis-graph_1     | 
redis-graph_1     | # Clients
redis-graph_1     | connected_clients:6
redis-graph_1     | client_recent_max_input_buffer:2
redis-graph_1     | client_recent_max_output_buffer:0
redis-graph_1     | blocked_clients:1
redis-graph_1     | tracking_clients:0
redis-graph_1     | clients_in_timeout_table:0
redis-graph_1     | 
redis-graph_1     | # Memory
redis-graph_1     | used_memory:4325736
redis-graph_1     | used_memory_human:4.13M
redis-graph_1     | used_memory_rss:16404480
redis-graph_1     | used_memory_rss_human:15.64M
redis-graph_1     | used_memory_peak:4325736
redis-graph_1     | used_memory_peak_human:4.13M
redis-graph_1     | used_memory_peak_perc:124.36%
redis-graph_1     | used_memory_overhead:941108
redis-graph_1     | used_memory_startup:839048
redis-graph_1     | used_memory_dataset:3384628
redis-graph_1     | used_memory_dataset_perc:97.07%
redis-graph_1     | allocator_allocated:5002424
redis-graph_1     | allocator_active:6316032
redis-graph_1     | allocator_resident:13082624
redis-graph_1     | total_system_memory:16675377152
redis-graph_1     | total_system_memory_human:15.53G
redis-graph_1     | used_memory_lua:37888
redis-graph_1     | used_memory_lua_human:37.00K
redis-graph_1     | used_memory_scripts:0
redis-graph_1     | used_memory_scripts_human:0B
redis-graph_1     | number_of_cached_scripts:0
redis-graph_1     | maxmemory:0
redis-graph_1     | maxmemory_human:0B
redis-graph_1     | maxmemory_policy:noeviction
redis-graph_1     | allocator_frag_ratio:1.26
redis-graph_1     | allocator_frag_bytes:1313608
redis-graph_1     | allocator_rss_ratio:2.07
redis-graph_1     | allocator_rss_bytes:6766592
redis-graph_1     | rss_overhead_ratio:1.25
redis-graph_1     | rss_overhead_bytes:3321856
redis-graph_1     | mem_fragmentation_ratio:4.77
redis-graph_1     | mem_fragmentation_bytes:12967000
redis-graph_1     | mem_not_counted_for_evict:0
redis-graph_1     | mem_replication_backlog:0
redis-graph_1     | mem_clients_slaves:0
redis-graph_1     | mem_clients_normal:101916
redis-graph_1     | mem_aof_buffer:0
redis-graph_1     | mem_allocator:jemalloc-5.1.0
redis-graph_1     | active_defrag_running:0
redis-graph_1     | lazyfree_pending_objects:0
redis-graph_1     | 
redis-graph_1     | # Persistence
redis-graph_1     | loading:0
redis-graph_1     | rdb_changes_since_last_save:4
redis-graph_1     | rdb_bgsave_in_progress:0
redis-graph_1     | rdb_last_save_time:1598862060
redis-graph_1     | rdb_last_bgsave_status:ok
redis-graph_1     | rdb_last_bgsave_time_sec:-1
redis-graph_1     | rdb_current_bgsave_time_sec:-1
redis-graph_1     | rdb_last_cow_size:0
redis-graph_1     | aof_enabled:0
redis-graph_1     | aof_rewrite_in_progress:0
redis-graph_1     | aof_rewrite_scheduled:0
redis-graph_1     | aof_last_rewrite_time_sec:-1
redis-graph_1     | aof_current_rewrite_time_sec:-1
redis-graph_1     | aof_last_bgrewrite_status:ok
redis-graph_1     | aof_last_write_status:ok
redis-graph_1     | aof_last_cow_size:0
redis-graph_1     | module_fork_in_progress:0
redis-graph_1     | module_fork_last_cow_size:0
redis-graph_1     | 
redis-graph_1     | # Stats
redis-graph_1     | total_connections_received:7
redis-graph_1     | total_commands_processed:77
redis-graph_1     | instantaneous_ops_per_sec:0
redis-graph_1     | total_net_input_bytes:41533
redis-graph_1     | total_net_output_bytes:72098
redis-graph_1     | instantaneous_input_kbps:0.00
redis-graph_1     | instantaneous_output_kbps:0.00
redis-graph_1     | rejected_connections:0
redis-graph_1     | sync_full:0
redis-graph_1     | sync_partial_ok:0
redis-graph_1     | sync_partial_err:0
redis-graph_1     | expired_keys:0
redis-graph_1     | expired_stale_perc:0.00
redis-graph_1     | expired_time_cap_reached_count:0
redis-graph_1     | expire_cycle_cpu_milliseconds:1
redis-graph_1     | evicted_keys:0
redis-graph_1     | keyspace_hits:66
redis-graph_1     | keyspace_misses:0
redis-graph_1     | pubsub_channels:2
redis-graph_1     | pubsub_patterns:0
redis-graph_1     | latest_fork_usec:0
redis-graph_1     | migrate_cached_sockets:0
redis-graph_1     | slave_expires_tracked_keys:0
redis-graph_1     | active_defrag_hits:0
redis-graph_1     | active_defrag_misses:0
redis-graph_1     | active_defrag_key_hits:0
redis-graph_1     | active_defrag_key_misses:0
redis-graph_1     | tracking_total_keys:0
redis-graph_1     | tracking_total_items:0
redis-graph_1     | tracking_total_prefixes:0
redis-graph_1     | unexpected_error_replies:0
redis-graph_1     | 
redis-graph_1     | # Replication
redis-graph_1     | role:master
redis-graph_1     | connected_slaves:0
redis-graph_1     | master_replid:fcc89238dab12850e7cf2ae33113d97296ede8b3
redis-graph_1     | master_replid2:0000000000000000000000000000000000000000
redis-graph_1     | master_repl_offset:0
redis-graph_1     | second_repl_offset:-1
redis-graph_1     | repl_backlog_active:0
redis-graph_1     | repl_backlog_size:1048576
redis-graph_1     | repl_backlog_first_byte_offset:0
redis-graph_1     | repl_backlog_histlen:0
redis-graph_1     | 
redis-graph_1     | # CPU
redis-graph_1     | used_cpu_sys:0.098267
redis-graph_1     | used_cpu_user:0.423203
redis-graph_1     | used_cpu_sys_children:0.000845
redis-graph_1     | used_cpu_user_children:0.001271
redis-graph_1     | 
redis-graph_1     | # Modules
redis-graph_1     | module:name=graph,ver=999999,api=1,filters=0,usedby=[],using=[],options=[]
redis-graph_1     | 
redis-graph_1     | # Commandstats
redis-graph_1     | cmdstat_info:calls=7,usec=226,usec_per_call=32.29
redis-graph_1     | cmdstat_subscribe:calls=2,usec=5,usec_per_call=2.50
redis-graph_1     | cmdstat_graph.QUERY:calls=62,usec=5188,usec_per_call=83.68
redis-graph_1     | cmdstat_publish:calls=6,usec=17,usec_per_call=2.83
redis-graph_1     | 
redis-graph_1     | # Cluster
redis-graph_1     | cluster_enabled:0
redis-graph_1     | 
redis-graph_1     | # Keyspace
redis-graph_1     | db0:keys=2,expires=0,avg_ttl=0
redis-graph_1     | 
redis-graph_1     | ------ CLIENT LIST OUTPUT ------
redis-graph_1     | id=12 addr=127.0.0.1:53570 fd=8 name= age=91 idle=91 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=info user=default
redis-graph_1     | id=13 addr=[::1]:44682 fd=13 name= age=91 idle=85 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=graph.QUERY user=default
redis-graph_1     | id=8 addr=127.0.0.1:53544 fd=9 name= age=95 idle=95 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=info user=default
redis-graph_1     | id=9 addr=127.0.0.1:53546 fd=10 name= age=95 idle=7 flags=P db=0 sub=1 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=subscribe user=default
redis-graph_1     | id=10 addr=127.0.0.1:53548 fd=11 name= age=95 idle=95 flags=P db=0 sub=1 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=subscribe user=default
redis-graph_1     | id=11 addr=[::1]:44660 fd=12 name= age=95 idle=0 flags=b db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=32768 obl=0 oll=0 omem=0 events=r cmd=graph.QUERY user=default
redis-graph_1     | 
redis-graph_1     | ------ REGISTERS ------
redis-graph_1     | 1:M 31 Aug 2020 08:22:43.964 # 
redis-graph_1     | RAX:0000000000000000 RBX:0000000100000000
redis-graph_1     | RCX:00007f221692df18 RDX:0000000000000001
redis-graph_1     | RDI:00007f221692dfe8 RSI:00007f221692dfd8
redis-graph_1     | RBP:00007f221692ded8 RSP:00007f221692cfa0
redis-graph_1     | R8 :0000000000000000 R9 :0000000100000000
redis-graph_1     | R10:0000000000000006 R11:0000000000000009
redis-graph_1     | R12:00007f2212608fcc R13:000000000000000c
redis-graph_1     | R14:0000000000000000 R15:0000000000000000
redis-graph_1     | RIP:000055f0cfbf208d EFL:0000000000010202
redis-graph_1     | CSGSFS:002b000000000033
redis-graph_1     | 1:M 31 Aug 2020 08:22:43.964 # (00007f221692cfaf) -> 00007f2212800900
redis-graph_1     | 1:M 31 Aug 2020 08:22:43.964 # (00007f221692cfae) -> 0000000000000000
redis-graph_1     | 1:M 31 Aug 2020 08:22:43.964 # (00007f221692cfad) -> 000055f0cfc24957
redis-graph_1     | 1:M 31 Aug 2020 08:22:43.964 # (00007f221692cfac) -> 00007f221692d03f
redis-graph_1     | 1:M 31 Aug 2020 08:22:43.964 # (00007f221692cfab) -> 000055f0cfc2491b
redis-graph_1     | 1:M 31 Aug 2020 08:22:43.964 # (00007f221692cfaa) -> 00007f2212802578
redis-graph_1     | 1:M 31 Aug 2020 08:22:43.964 # (00007f221692cfa9) -> 00007f221692ded8
redis-graph_1     | 1:M 31 Aug 2020 08:22:43.964 # (00007f221692cfa8) -> 00007f221692d238
redis-graph_1     | 1:M 31 Aug 2020 08:22:43.964 # (00007f221692cfa7) -> 0000000000000000
redis-graph_1     | 1:M 31 Aug 2020 08:22:43.964 # (00007f221692cfa6) -> 00007f221692deb0
redis-graph_1     | 1:M 31 Aug 2020 08:22:43.964 # (00007f221692cfa5) -> 000000000012f000
redis-graph_1     | 1:M 31 Aug 2020 08:22:43.964 # (00007f221692cfa4) -> 00007f2212800900
redis-graph_1     | 1:M 31 Aug 2020 08:22:43.964 # (00007f221692cfa3) -> 00007f221692d238
redis-graph_1     | 1:M 31 Aug 2020 08:22:43.964 # (00007f221692cfa2) -> 00007f22128025b8
redis-graph_1     | 1:M 31 Aug 2020 08:22:43.964 # (00007f221692cfa1) -> 0000000000000000
redis-graph_1     | 1:M 31 Aug 2020 08:22:43.964 # (00007f221692cfa0) -> 00007f2212800900
redis-graph_1     | 
redis-graph_1     | ------ MODULES INFO OUTPUT ------
redis-graph_1     | # graph_executing commands
redis-graph_1     | 
redis-graph_1     | ------ FAST MEMORY TEST ------
redis-graph_1     | 1:M 31 Aug 2020 08:22:43.964 # Bio thread for job type #0 terminated
redis-graph_1     | 1:M 31 Aug 2020 08:22:43.964 # Bio thread for job type #1 terminated
redis-graph_1     | 1:M 31 Aug 2020 08:22:43.964 # Bio thread for job type #2 terminated
redis-graph_1     | *** Preparing to test memory region 55f0cfcc0000 (2277376 bytes)
redis-graph_1     | *** Preparing to test memory region 55f0d04e6000 (270336 bytes)
redis-graph_1     | *** Preparing to test memory region 7f21fc000000 (2211840 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2200000000 (2322432 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2204000000 (135168 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2208000000 (2494464 bytes)
redis-graph_1     | *** Preparing to test memory region 7f220c000000 (2494464 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2210280000 (12058624 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2211000000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2211800000 (4194304 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2211e00000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2212600000 (4194304 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2212c00000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2213400000 (4194304 bytes)
redis-graph_1     | *** Preparing to test memory region 7f221382b000 (9437184 bytes)
redis-graph_1     | *** Preparing to test memory region 7f221412c000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f221492d000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f221512e000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f221592f000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2216130000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2216931000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2217132000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2217933000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2218134000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2218935000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f22199fc000 (16384 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2219a00000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f221a3ce000 (16384 bytes)
redis-graph_1     | *** Preparing to test memory region 7f221a58f000 (24576 bytes)
redis-graph_1     | *** Preparing to test memory region 7f221a5b2000 (16384 bytes)
redis-graph_1     | *** Preparing to test memory region 7f221a89b000 (16384 bytes)
redis-graph_1     | *** Preparing to test memory region 7f221aac3000 (8192 bytes)
redis-graph_1     | *** Preparing to test memory region 7f221aaf0000 (4096 bytes)
redis-graph_1     | .O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.files_redis-graph_1 exited with code 139


a different trace

redis-graph_1     | ------ STACK TRACE ------
redis-graph_1     | redis-server: /build/src/value.c:145: SI_CloneValue: Assertion `false && "Encountered heap-allocated SIValue of unhandled type"' failed.
redis-graph_1     | EIP:
redis-graph_1     | /lib/x86_64-linux-gnu/libc.so.6(abort+0x1fd)[0x7f584fecc611]
redis-graph_1     | 
redis-graph_1     | Backtrace:
redis-graph_1     | redis-server *:6379(logStackTrace+0x32)[0x5627862cc872]
redis-graph_1     | redis-server *:6379(sigsegvHandler+0x9e)[0x5627862ccf4e]
redis-graph_1     | /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7f585007f730]
redis-graph_1     | /lib/x86_64-linux-gnu/libc.so.6(abort+0x1fd)[0x7f584fecc611]
redis-graph_1     | /lib/x86_64-linux-gnu/libc.so.6(+0x2240f)[0x7f584fecc40f]
redis-graph_1     | /lib/x86_64-linux-gnu/libc.so.6(+0x30102)[0x7f584feda102]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1ade9c)[0x7f584eedfe9c]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(SIArray_Append+0x13)[0x7f584eef2333]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(SIArray_Clone+0x53)[0x7f584eef2433]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(SIValue_Persist+0x20)[0x7f584eedff00]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(Record_PersistScalars+0x4b)[0x7f584eef41bb]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1cdb37)[0x7f584eeffb37]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1ce290)[0x7f584ef00290]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c5bdf)[0x7f584eef7bdf]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c5c24)[0x7f584eef7c24]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1cca3b)[0x7f584eefea3b]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c5c24)[0x7f584eef7c24]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1cca3b)[0x7f584eefea3b]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c5c24)[0x7f584eef7c24]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c5c24)[0x7f584eef7c24]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c5c24)[0x7f584eef7c24]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c5c24)[0x7f584eef7c24]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c5c24)[0x7f584eef7c24]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c8fbc)[0x7f584eefafbc]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1d1bca)[0x7f584ef03bca]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1d0a2c)[0x7f584ef02a2c]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(ExecutionPlan_Execute+0x58)[0x7f584eef7588]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(Graph_Query+0x351)[0x7f584eef1921]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1f27bd)[0x7f584ef247bd]
redis-graph_1     | /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3)[0x7f5850074fa3]
redis-graph_1     | /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f584ffa34cf]

Another related crash on edge :thinking:


Details

redis-graph_1     | ------ STACK TRACE ------
redis-graph_1     | redis-server: /build/src/execution_plan/record.c:106: Record_GetNode: Assertion `"encountered unexpected type in Record; expected Node" && false' failed.
redis-graph_1     | EIP:
redis-graph_1     | /lib/x86_64-linux-gnu/libc.so.6(abort+0x1fd)[0x7f8b54fdb611]
redis-graph_1     | 
redis-graph_1     | Backtrace:
redis-graph_1     | redis-server *:6379(logStackTrace+0x32)[0x56018adbae02]
redis-graph_1     | redis-server *:6379(sigsegvHandler+0x9e)[0x56018adbb4de]
redis-graph_1     | /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7f8b5518e730]
redis-graph_1     | /lib/x86_64-linux-gnu/libc.so.6(abort+0x1fd)[0x7f8b54fdb611]
redis-graph_1     | /lib/x86_64-linux-gnu/libc.so.6(+0x2240f)[0x7f8b54fdb40f]
redis-graph_1     | /lib/x86_64-linux-gnu/libc.so.6(+0x30102)[0x7f8b54fe9102]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c3b3a)[0x7f8b53ef8b3a]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1d38b2)[0x7f8b53f088b2]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1d0700)[0x7f8b53f05700]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c79fd)[0x7f8b53efc9fd]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1cf2fb)[0x7f8b53f042fb]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c7a3c)[0x7f8b53efca3c]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1cadec)[0x7f8b53effdec]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1d2ecc)[0x7f8b53f07ecc]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(ExecutionPlan_Execute+0x58)[0x7f8b53efc288]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(Graph_Query+0x3d0)[0x7f8b53ef6290]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1f742d)[0x7f8b53f2c42d]
redis-graph_1     | /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3)[0x7f8b55183fa3]
redis-graph_1     | /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f8b550b24cf]

[...]

redis-graph_1     | ------ MODULES INFO OUTPUT ------
redis-graph_1     | # graph_executing commands
redis-graph_1     | graph_command:graph.QUERY OPTIONAL MATCH (u:User) WHERE u.uuid = 'User:537ec3af-c3bb-4b64-837b-2049c925dfe9' WITH u UNWIND ['Group:a8a88bc8-2b5b-426b-8374-bdb1de6c033c'] AS group_id OPTIONAL MATCH (u)-[m:IS_MEMBER]->(g:Group { uuid: group_id }) WITH u, g, m OPTIONAL MATCH (u)-[:HAS_TAG]->(t:Tag)<-[:HAS_TAG]-(g) WITH u, g, m, collect(DISTINCT t) AS tags OPTIONAL MATCH own=(u)-[:IS_OWNER]->(g) RETURN exists(own) AS is_owner, exists(m) AS is_member, g AS group, tags

@Sceat Thanks for being a one-man QA team!

I managed to reproduce the crash at https://github.com/RedisGraph/RedisGraph/issues/1309#issuecomment-683639797, and believe it should be fixed by the PR #1317.

I don't expect this to resolve the other issues you encountered:

Record_GetNode: Assertion `"encountered unexpected type in Record; expected Node" && false' failed.

and

SI_CloneValue: Assertion `false && "Encountered heap-allocated SIValue of unhandled type"' failed.

But I wasn't able to reproduce these. Could you provide an RDB file or some dummy create queries to make a dataset that exhibits these issues?

on latest edge


Assertion `rax->numnodes == 0' failed.

redis-graph_1     | === REDIS BUG REPORT START: Cut & paste starting from here ===
redis-graph_1     | 1:M 31 Aug 2020 14:11:27.631 # Redis 6.0.5 crashed by signal: 11
redis-graph_1     | 1:M 31 Aug 2020 14:11:27.631 # Crashed running the instruction at: 0x7ff78b80a611
redis-graph_1     | 1:M 31 Aug 2020 14:11:27.631 # Accessing address: (nil)
redis-graph_1     | 1:M 31 Aug 2020 14:11:27.631 # Failed assertion:  (:0)
redis-graph_1     | 
redis-graph_1     | ------ STACK TRACE ------
redis-graph_1     | redis-server: rax.c:1244: raxFreeWithCallback: Assertion `rax->numnodes == 0' failed.
redis-graph_1     | EIP:
redis-graph_1     | /lib/x86_64-linux-gnu/libc.so.6(abort+0x1fd)[0x7ff78b80a611]
redis-graph_1     | 
redis-graph_1     | Backtrace:
redis-graph_1     | redis-server *:6379(logStackTrace+0x32)[0x564bef7e3e02]
redis-graph_1     | redis-server *:6379(sigsegvHandler+0x9e)[0x564bef7e44de]
redis-graph_1     | /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7ff78b9bd730]
redis-graph_1     | /lib/x86_64-linux-gnu/libc.so.6(abort+0x1fd)[0x7ff78b80a611]
redis-graph_1     | /lib/x86_64-linux-gnu/libc.so.6(+0x2240f)[0x7ff78b80a40f]
redis-graph_1     | /lib/x86_64-linux-gnu/libc.so.6(+0x30102)[0x7ff78b818102]
redis-graph_1     | redis-server *:6379(+0xc614e)[0x564bef82014e]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(QueryGraph_ConnectedComponents+0x416)[0x7ff78a714ed6]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(ExecutionPlan_PopulateExecutionPlan+0x1bd)[0x7ff78a6faabd]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(NewExecutionPlan+0x20d)[0x7ff78a6fba3d]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(ExecutionCtx_FromQuery+0x15d)[0x7ff78a6f5d9d]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(Graph_Query+0x48)[0x7ff78a6f5f08]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1f742d)[0x7ff78a72c42d]
redis-graph_1     | /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3)[0x7ff78b9b2fa3]
redis-graph_1     | /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7ff78b8e14cf]
redis-graph_1     | 
redis-graph_1     | ------ INFO OUTPUT ------
redis-graph_1     | # Server
redis-graph_1     | redis_version:6.0.5
redis-graph_1     | redis_git_sha1:00000000
redis-graph_1     | redis_git_dirty:0
redis-graph_1     | redis_build_id:a552bef8bac6cf1c
redis-graph_1     | redis_mode:standalone
redis-graph_1     | os:Linux 5.4.60-2-MANJARO x86_64
redis-graph_1     | arch_bits:64
redis-graph_1     | multiplexing_api:epoll
redis-graph_1     | atomicvar_api:atomic-builtin
redis-graph_1     | gcc_version:8.3.0
redis-graph_1     | process_id:1
redis-graph_1     | run_id:fca02613ac5e867ef6241977b4a6f70990c127a1
redis-graph_1     | tcp_port:6379
redis-graph_1     | uptime_in_seconds:72
redis-graph_1     | uptime_in_days:0
redis-graph_1     | hz:10
redis-graph_1     | configured_hz:10
redis-graph_1     | lru_clock:5047567
redis-graph_1     | executable:/data/redis-server
redis-graph_1     | config_file:
redis-graph_1     | 
redis-graph_1     | # Clients
redis-graph_1     | connected_clients:8
redis-graph_1     | client_recent_max_input_buffer:2
redis-graph_1     | client_recent_max_output_buffer:0
redis-graph_1     | blocked_clients:1
redis-graph_1     | tracking_clients:0
redis-graph_1     | clients_in_timeout_table:0
redis-graph_1     | 
redis-graph_1     | # Memory
redis-graph_1     | used_memory:3192200
redis-graph_1     | used_memory_human:3.04M
redis-graph_1     | used_memory_rss:14671872
redis-graph_1     | used_memory_rss_human:13.99M
redis-graph_1     | used_memory_peak:3454128
redis-graph_1     | used_memory_peak_human:3.29M
redis-graph_1     | used_memory_peak_perc:92.42%
redis-graph_1     | used_memory_overhead:976104
redis-graph_1     | used_memory_startup:840072
redis-graph_1     | used_memory_dataset:2216096
redis-graph_1     | used_memory_dataset_perc:94.22%
redis-graph_1     | allocator_allocated:4870944
redis-graph_1     | allocator_active:5795840
redis-graph_1     | allocator_resident:12365824
redis-graph_1     | total_system_memory:16675377152
redis-graph_1     | total_system_memory_human:15.53G
redis-graph_1     | used_memory_lua:37888
redis-graph_1     | used_memory_lua_human:37.00K
redis-graph_1     | used_memory_scripts:0
redis-graph_1     | used_memory_scripts_human:0B
redis-graph_1     | number_of_cached_scripts:0
redis-graph_1     | maxmemory:0
redis-graph_1     | maxmemory_human:0B
redis-graph_1     | maxmemory_policy:noeviction
redis-graph_1     | allocator_frag_ratio:1.19
redis-graph_1     | allocator_frag_bytes:924896
redis-graph_1     | allocator_rss_ratio:2.13
redis-graph_1     | allocator_rss_bytes:6569984
redis-graph_1     | rss_overhead_ratio:1.19
redis-graph_1     | rss_overhead_bytes:2306048
redis-graph_1     | mem_fragmentation_ratio:4.86
redis-graph_1     | mem_fragmentation_bytes:11655416
redis-graph_1     | mem_not_counted_for_evict:0
redis-graph_1     | mem_replication_backlog:0
redis-graph_1     | mem_clients_slaves:0
redis-graph_1     | mem_clients_normal:135888
redis-graph_1     | mem_aof_buffer:0
redis-graph_1     | mem_allocator:jemalloc-5.1.0
redis-graph_1     | active_defrag_running:0
redis-graph_1     | lazyfree_pending_objects:0
redis-graph_1     | 
redis-graph_1     | # Persistence
redis-graph_1     | loading:0
redis-graph_1     | rdb_changes_since_last_save:0
redis-graph_1     | rdb_bgsave_in_progress:0
redis-graph_1     | rdb_last_save_time:1598883015
redis-graph_1     | rdb_last_bgsave_status:ok
redis-graph_1     | rdb_last_bgsave_time_sec:-1
redis-graph_1     | rdb_current_bgsave_time_sec:-1
redis-graph_1     | rdb_last_cow_size:0
redis-graph_1     | aof_enabled:0
redis-graph_1     | aof_rewrite_in_progress:0
redis-graph_1     | aof_rewrite_scheduled:0
redis-graph_1     | aof_last_rewrite_time_sec:-1
redis-graph_1     | aof_current_rewrite_time_sec:-1
redis-graph_1     | aof_last_bgrewrite_status:ok
redis-graph_1     | aof_last_write_status:ok
redis-graph_1     | aof_last_cow_size:0
redis-graph_1     | module_fork_in_progress:0
redis-graph_1     | module_fork_last_cow_size:0
redis-graph_1     | 
redis-graph_1     | # Stats
redis-graph_1     | total_connections_received:12
redis-graph_1     | total_commands_processed:41
redis-graph_1     | instantaneous_ops_per_sec:0
redis-graph_1     | total_net_input_bytes:9567
redis-graph_1     | total_net_output_bytes:62926
redis-graph_1     | instantaneous_input_kbps:0.00
redis-graph_1     | instantaneous_output_kbps:0.00
redis-graph_1     | rejected_connections:0
redis-graph_1     | sync_full:0
redis-graph_1     | sync_partial_ok:0
redis-graph_1     | sync_partial_err:0
redis-graph_1     | expired_keys:0
redis-graph_1     | expired_stale_perc:0.00
redis-graph_1     | expired_time_cap_reached_count:0
redis-graph_1     | expire_cycle_cpu_milliseconds:1
redis-graph_1     | evicted_keys:0
redis-graph_1     | keyspace_hits:22
redis-graph_1     | keyspace_misses:0
redis-graph_1     | pubsub_channels:2
redis-graph_1     | pubsub_patterns:0
redis-graph_1     | latest_fork_usec:0
redis-graph_1     | migrate_cached_sockets:0
redis-graph_1     | slave_expires_tracked_keys:0
redis-graph_1     | active_defrag_hits:0
redis-graph_1     | active_defrag_misses:0
redis-graph_1     | active_defrag_key_hits:0
redis-graph_1     | active_defrag_key_misses:0
redis-graph_1     | tracking_total_keys:0
redis-graph_1     | tracking_total_items:0
redis-graph_1     | tracking_total_prefixes:0
redis-graph_1     | unexpected_error_replies:0
redis-graph_1     | 
redis-graph_1     | # Replication
redis-graph_1     | role:master
redis-graph_1     | connected_slaves:0
redis-graph_1     | master_replid:5ff55e7906632a42fd87bbfab3d9102a137f652a
redis-graph_1     | master_replid2:0000000000000000000000000000000000000000
redis-graph_1     | master_repl_offset:0
redis-graph_1     | second_repl_offset:-1
redis-graph_1     | repl_backlog_active:0
redis-graph_1     | repl_backlog_size:1048576
redis-graph_1     | repl_backlog_first_byte_offset:0
redis-graph_1     | repl_backlog_histlen:0
redis-graph_1     | 
redis-graph_1     | # CPU
redis-graph_1     | used_cpu_sys:0.059055
redis-graph_1     | used_cpu_user:0.331979
redis-graph_1     | used_cpu_sys_children:0.000000
redis-graph_1     | used_cpu_user_children:0.002104
redis-graph_1     | 
redis-graph_1     | # Modules
redis-graph_1     | module:name=graph,ver=999999,api=1,filters=0,usedby=[],using=[],options=[]
redis-graph_1     | 
redis-graph_1     | # Commandstats
redis-graph_1     | cmdstat_scan:calls=1,usec=28,usec_per_call=28.00
redis-graph_1     | cmdstat_graph.QUERY:calls=20,usec=997,usec_per_call=49.85
redis-graph_1     | cmdstat_type:calls=2,usec=2,usec_per_call=1.00
redis-graph_1     | cmdstat_info:calls=11,usec=391,usec_per_call=35.55
redis-graph_1     | cmdstat_graph.DELETE:calls=1,usec=9,usec_per_call=9.00
redis-graph_1     | cmdstat_client:calls=2,usec=4,usec_per_call=2.00
redis-graph_1     | cmdstat_subscribe:calls=4,usec=14,usec_per_call=3.50
redis-graph_1     | 
redis-graph_1     | # Cluster
redis-graph_1     | cluster_enabled:0
redis-graph_1     | 
redis-graph_1     | # Keyspace
redis-graph_1     | db0:keys=2,expires=0,avg_ttl=0
redis-graph_1     | 
redis-graph_1     | ------ CLIENT LIST OUTPUT ------
redis-graph_1     | id=12 addr=[::1]:56188 fd=13 name=RedisInsight age=51 idle=51 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=graph.QUERY user=default
redis-graph_1     | id=25 addr=127.0.0.1:41768 fd=8 name= age=30 idle=30 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=info user=default
redis-graph_1     | id=26 addr=127.0.0.1:41770 fd=9 name= age=30 idle=30 flags=P db=0 sub=1 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=subscribe user=default
redis-graph_1     | id=27 addr=127.0.0.1:41772 fd=10 name= age=30 idle=30 flags=P db=0 sub=1 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=subscribe user=default
redis-graph_1     | id=28 addr=[::1]:56204 fd=11 name= age=30 idle=0 flags=b db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=32768 obl=0 oll=0 omem=0 events=r cmd=graph.QUERY user=default
redis-graph_1     | id=11 addr=[::1]:56182 fd=12 name=RedisInsight age=56 idle=54 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=type user=default
redis-graph_1     | id=29 addr=127.0.0.1:41808 fd=14 name= age=27 idle=27 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=info user=default
redis-graph_1     | id=30 addr=[::1]:56240 fd=15 name= age=27 idle=24 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=graph.QUERY user=default
redis-graph_1     | 
redis-graph_1     | ------ REGISTERS ------
redis-graph_1     | 1:M 31 Aug 2020 14:11:27.632 # 
redis-graph_1     | RAX:0000000000000000 RBX:0000000000000000
redis-graph_1     | RCX:0000000000000000 RDX:0000000000000000
redis-graph_1     | RDI:0000000000000002 RSI:00007ff78952ff00
redis-graph_1     | RBP:00007ff78b96cee0 RSP:00007ff789530020
redis-graph_1     | R8 :0000000000000000 R9 :00007ff78952ff00
redis-graph_1     | R10:0000000000000008 R11:0000000000000246
redis-graph_1     | R12:0000564bef8e03a8 R13:0000564bef8e03db
redis-graph_1     | R14:00000000000004dc R15:00007ff77e20ff68
redis-graph_1     | RIP:00007ff78b80a611 EFL:0000000000010246
redis-graph_1     | CSGSFS:002b000000000033
redis-graph_1     | 1:M 31 Aug 2020 14:11:27.632 # (00007ff78953002f) -> 0000000000000000
redis-graph_1     | 1:M 31 Aug 2020 14:11:27.632 # (00007ff78953002e) -> 0000000000000000
redis-graph_1     | 1:M 31 Aug 2020 14:11:27.632 # (00007ff78953002d) -> 0000000000000000
redis-graph_1     | 1:M 31 Aug 2020 14:11:27.632 # (00007ff78953002c) -> 0000000000000000
redis-graph_1     | 1:M 31 Aug 2020 14:11:27.632 # (00007ff78953002b) -> 0000000000000000
redis-graph_1     | 1:M 31 Aug 2020 14:11:27.632 # (00007ff78953002a) -> 0000000000000000
redis-graph_1     | 1:M 31 Aug 2020 14:11:27.632 # (00007ff789530029) -> 0000000000000000
redis-graph_1     | 1:M 31 Aug 2020 14:11:27.632 # (00007ff789530028) -> 0000000000000000
redis-graph_1     | 1:M 31 Aug 2020 14:11:27.632 # (00007ff789530027) -> 0000000000000000
redis-graph_1     | 1:M 31 Aug 2020 14:11:27.632 # (00007ff789530026) -> 0000000000000000
redis-graph_1     | 1:M 31 Aug 2020 14:11:27.632 # (00007ff789530025) -> 0000000000000000
redis-graph_1     | 1:M 31 Aug 2020 14:11:27.632 # (00007ff789530024) -> 0000000000000000
redis-graph_1     | 1:M 31 Aug 2020 14:11:27.632 # (00007ff789530023) -> 0000000000000000
redis-graph_1     | 1:M 31 Aug 2020 14:11:27.632 # (00007ff789530022) -> 0000000000000000
redis-graph_1     | 1:M 31 Aug 2020 14:11:27.632 # (00007ff789530021) -> 0000000000000000
redis-graph_1     | 1:M 31 Aug 2020 14:11:27.632 # (00007ff789530020) -> 0000000000000020
redis-graph_1     | 
redis-graph_1     | ------ MODULES INFO OUTPUT ------
redis-graph_1     | # graph_executing commands
redis-graph_1     | graph_command:graph.QUERY MATCH (i:Intervention)-[:HAS_CUSTOMER]->(manager:Group) WHERE manager.uuid = 'Group:a8a88bc8-2b5b-426b-8374-bdb1de6c033c'   AND ()-[:STARTED]->(i) AND NOT (:Group { type: 'MANAGER' })-[:CANCELED]->(i) AND NOT ()-[:PAYED_BILL]->(:InterventionPatch)-->(i)  WITH DISTINCT i, manager  MATCH (i)-[:HAS_PROVIDER]->(pro:Group) WHERE NOT (pro)-[:CANCELED]->(i)  WITH DISTINCT i, manager  MATCH (u:User) WHERE u.uuid = 'User:537ec3af-c3bb-4b64-837b-2049c925dfe9'  WITH DISTINCT i, manager, u  MATCH (creator)-[:CREATED]->(i)  WITH i, manager, u, creator  OPTIONAL MATCH (i)-[:ON]->(on_property:Property) OPTIONAL MATCH (i)-[:ON]->(on_parcel:Parcel)<--(parent_property:Property)  WITH DISTINCT i, manager, u, creator, on_property, on_parcel, parent_property  OPTIONAL MATCH (patch:InterventionPatch)-->(i)  WITH DISTINCT i, manager, u, creator, on_property, on_parcel, parent_property, collect(DISTINCT patch) AS patches  OPTIONAL MATCH (manager)<--(assign:Assign)<--(u) OPTIONAL MATCH (manager)-->(tag:Tag)<--(u)  WHERE (u)-[:IS_OWNER]->(manager) OR 'ADMIN' IN tag.policies OR 'MANAGE_PROPERTIES' IN tag.policies OR (assign)-->()<--(on_property) OR (assign)-->(on_parcel)  OPTIONAL MATCH (i)-[:HAS_PROVIDER]->(provider:Group) OPTIONAL MATCH (provider)-[c:CANCELED]->(i)  WITH DISTINCT i, creator, on_property, on_parcel, parent_property, patches, collect(DISTINCT [provider, c]) AS providers  OPTIONAL MATCH (i)-[:HAS_CUSTOMER]->(customer:Group)  WITH DISTINCT i, creator, on_property, on_parcel, parent_property, patches, providers, collect(DISTINCT customer) AS customers  OPTIONAL MATCH (appointment:InterventionPatch { _type: 'appointment' })-->(i) OPTIONAL MATCH (quote:InterventionPatch { _type: 'quote' })-->(i) OPTIONAL MATCH ()-[accept_q:ACCEPTED_QUOTE]->(quote) OPTIONAL MATCH (planning:InterventionPatch { _type: 'planning' })-->(i) OPTIONAL MATCH (overview:InterventionPatch { _type: 'overview' })-->(i)  RETURN DISTINCT i AS intervention, on_property, on_parcel, parent_property, creator, providers, customers, patches, exists(appointment) AS appointment_sent, exists(quote) AS quote_sent, exists(accept_q) AS quote_accepted, exists(planning) AS planning_sent, exists(overview) AS overview_sent  SKIP 0 LIMIT 20
redis-graph_1     | 
redis-graph_1     | ------ FAST MEMORY TEST ------
redis-graph_1     | 1:M 31 Aug 2020 14:11:27.632 # Bio thread for job type #0 terminated
redis-graph_1     | 1:M 31 Aug 2020 14:11:27.632 # Bio thread for job type #1 terminated
redis-graph_1     | 1:M 31 Aug 2020 14:11:27.632 # Bio thread for job type #2 terminated
redis-graph_1     | *** Preparing to test memory region 564bef92f000 (2277376 bytes)
redis-graph_1     | *** Preparing to test memory region 564bf1519000 (270336 bytes)
redis-graph_1     | *** Preparing to test memory region 7ff768000000 (2543616 bytes)
redis-graph_1     | *** Preparing to test memory region 7ff770000000 (3158016 bytes)
redis-graph_1     | *** Preparing to test memory region 7ff774000000 (2338816 bytes)
redis-graph_1     | *** Preparing to test memory region 7ff778000000 (135168 bytes)
redis-graph_1     | *** Preparing to test memory region 7ff77dc00000 (10485760 bytes)
redis-graph_1     | *** Preparing to test memory region 7ff77e7fe000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7ff77efff000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7ff77f800000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7ff780000000 (2166784 bytes)
redis-graph_1     | *** Preparing to test memory region 7ff784000000 (12582912 bytes)
redis-graph_1     | *** Preparing to test memory region 7ff784c2b000 (9437184 bytes)
redis-graph_1     | *** Preparing to test memory region 7ff78552c000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7ff785d2d000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7ff78652e000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7ff786d2f000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7ff787530000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7ff787d31000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7ff788532000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7ff788d33000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7ff789534000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7ff789d35000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7ff78adfc000 (16384 bytes)
redis-graph_1     | *** Preparing to test memory region 7ff78ae00000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7ff78b7e4000 (16384 bytes)
redis-graph_1     | *** Preparing to test memory region 7ff78b9a5000 (24576 bytes)
redis-graph_1     | *** Preparing to test memory region 7ff78b9c8000 (16384 bytes)
redis-graph_1     | *** Preparing to test memory region 7ff78bcb1000 (16384 bytes)
redis-graph_1     | *** Preparing to test memory region 7ff78bed9000 (8192 bytes)
redis-graph_1     | *** Preparing to test memory region 7ff78bedc000 (4096 bytes)
redis-graph_1     | *** Preparing to test memory region 7ff78bf06000 (4096 bytes)
redis-graph_1     | .O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.files_redis-graph_1 exited with code 139

this one below is by executing the query (which is in the trace) 2 consecutive times, it works the first time


redisgraph.so(AR_EXP_Clone+0x13)

redis-graph_1     | 
redis-graph_1     | 
redis-graph_1     | === REDIS BUG REPORT START: Cut & paste starting from here ===
redis-graph_1     | 1:M 31 Aug 2020 14:34:27.436 # Redis 6.0.5 crashed by signal: 11
redis-graph_1     | 1:M 31 Aug 2020 14:34:27.436 # Crashed running the instruction at: 0x7f5447aec793
redis-graph_1     | 1:M 31 Aug 2020 14:34:27.436 # Accessing address: 0x7f5400000030
redis-graph_1     | 1:M 31 Aug 2020 14:34:27.436 # Failed assertion:  (:0)
redis-graph_1     | 
redis-graph_1     | ------ STACK TRACE ------
redis-graph_1     | EIP:
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(AR_EXP_Clone+0x13)[0x7f5447aec793]
redis-graph_1     | 
redis-graph_1     | Backtrace:
redis-graph_1     | redis-server *:6379(logStackTrace+0x32)[0x5631f5d1ce02]
redis-graph_1     | redis-server *:6379(sigsegvHandler+0x9e)[0x5631f5d1d4de]
redis-graph_1     | /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7f5448c68730]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(AR_EXP_Clone+0x13)[0x7f5447aec793]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(AR_EXP_Clone+0x184)[0x7f5447aec904]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(AR_EXP_Clone+0x184)[0x7f5447aec904]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1ceff9)[0x7f5447b03ff9]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1cf23b)[0x7f5447b0423b]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1cf2f3)[0x7f5447b042f3]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c7a3c)[0x7f5447afca3c]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1cf2fb)[0x7f5447b042fb]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1d2ecc)[0x7f5447b07ecc]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(ExecutionPlan_Execute+0x58)[0x7f5447afc288]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(Graph_Query+0x3d0)[0x7f5447af6290]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1f742d)[0x7f5447b2c42d]
redis-graph_1     | /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3)[0x7f5448c5dfa3]
redis-graph_1     | /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f5448b8c4cf]
redis-graph_1     | 
redis-graph_1     | ------ INFO OUTPUT ------
redis-graph_1     | # Server
redis-graph_1     | redis_version:6.0.5
redis-graph_1     | redis_git_sha1:00000000
redis-graph_1     | redis_git_dirty:0
redis-graph_1     | redis_build_id:a552bef8bac6cf1c
redis-graph_1     | redis_mode:standalone
redis-graph_1     | os:Linux 5.4.60-2-MANJARO x86_64
redis-graph_1     | arch_bits:64
redis-graph_1     | multiplexing_api:epoll
redis-graph_1     | atomicvar_api:atomic-builtin
redis-graph_1     | gcc_version:8.3.0
redis-graph_1     | process_id:1
redis-graph_1     | run_id:3cf1964188c1cd32e71e8d66d15f7b5986bc0642
redis-graph_1     | tcp_port:6379
redis-graph_1     | uptime_in_seconds:1251
redis-graph_1     | uptime_in_days:0
redis-graph_1     | hz:10
redis-graph_1     | configured_hz:10
redis-graph_1     | lru_clock:5048947
redis-graph_1     | executable:/data/redis-server
redis-graph_1     | config_file:
redis-graph_1     | 
redis-graph_1     | # Clients
redis-graph_1     | connected_clients:9
redis-graph_1     | client_recent_max_input_buffer:2
redis-graph_1     | client_recent_max_output_buffer:0
redis-graph_1     | blocked_clients:1
redis-graph_1     | tracking_clients:0
redis-graph_1     | clients_in_timeout_table:0
redis-graph_1     | 
redis-graph_1     | # Memory
redis-graph_1     | used_memory:3292328
redis-graph_1     | used_memory_human:3.14M
redis-graph_1     | used_memory_rss:14839808
redis-graph_1     | used_memory_rss_human:14.15M
redis-graph_1     | used_memory_peak:3349384
redis-graph_1     | used_memory_peak_human:3.19M
redis-graph_1     | used_memory_peak_perc:98.30%
redis-graph_1     | used_memory_overhead:993050
redis-graph_1     | used_memory_startup:840072
redis-graph_1     | used_memory_dataset:2299278
redis-graph_1     | used_memory_dataset_perc:93.76%
redis-graph_1     | allocator_allocated:3637288
redis-graph_1     | allocator_active:4538368
redis-graph_1     | allocator_resident:12369920
redis-graph_1     | total_system_memory:16675377152
redis-graph_1     | total_system_memory_human:15.53G
redis-graph_1     | used_memory_lua:37888
redis-graph_1     | used_memory_lua_human:37.00K
redis-graph_1     | used_memory_scripts:0
redis-graph_1     | used_memory_scripts_human:0B
redis-graph_1     | number_of_cached_scripts:0
redis-graph_1     | maxmemory:0
redis-graph_1     | maxmemory_human:0B
redis-graph_1     | maxmemory_policy:noeviction
redis-graph_1     | allocator_frag_ratio:1.25
redis-graph_1     | allocator_frag_bytes:901080
redis-graph_1     | allocator_rss_ratio:2.73
redis-graph_1     | allocator_rss_bytes:7831552
redis-graph_1     | rss_overhead_ratio:1.20
redis-graph_1     | rss_overhead_bytes:2469888
redis-graph_1     | mem_fragmentation_ratio:7.94
redis-graph_1     | mem_fragmentation_bytes:12970200
redis-graph_1     | mem_not_counted_for_evict:0
redis-graph_1     | mem_replication_backlog:0
redis-graph_1     | mem_clients_slaves:0
redis-graph_1     | mem_clients_normal:152874
redis-graph_1     | mem_aof_buffer:0
redis-graph_1     | mem_allocator:jemalloc-5.1.0
redis-graph_1     | active_defrag_running:0
redis-graph_1     | lazyfree_pending_objects:0
redis-graph_1     | 
redis-graph_1     | # Persistence
redis-graph_1     | loading:0
redis-graph_1     | rdb_changes_since_last_save:0
redis-graph_1     | rdb_bgsave_in_progress:0
redis-graph_1     | rdb_last_save_time:1598883427
redis-graph_1     | rdb_last_bgsave_status:ok
redis-graph_1     | rdb_last_bgsave_time_sec:0
redis-graph_1     | rdb_current_bgsave_time_sec:-1
redis-graph_1     | rdb_last_cow_size:696320
redis-graph_1     | aof_enabled:0
redis-graph_1     | aof_rewrite_in_progress:0
redis-graph_1     | aof_rewrite_scheduled:0
redis-graph_1     | aof_last_rewrite_time_sec:-1
redis-graph_1     | aof_current_rewrite_time_sec:-1
redis-graph_1     | aof_last_bgrewrite_status:ok
redis-graph_1     | aof_last_write_status:ok
redis-graph_1     | aof_last_cow_size:0
redis-graph_1     | module_fork_in_progress:0
redis-graph_1     | module_fork_last_cow_size:0
redis-graph_1     | 
redis-graph_1     | # Stats
redis-graph_1     | total_connections_received:11
redis-graph_1     | total_commands_processed:53
redis-graph_1     | instantaneous_ops_per_sec:0
redis-graph_1     | total_net_input_bytes:8492
redis-graph_1     | total_net_output_bytes:65537
redis-graph_1     | instantaneous_input_kbps:0.00
redis-graph_1     | instantaneous_output_kbps:0.00
redis-graph_1     | rejected_connections:0
redis-graph_1     | sync_full:0
redis-graph_1     | sync_partial_ok:0
redis-graph_1     | sync_partial_err:0
redis-graph_1     | expired_keys:0
redis-graph_1     | expired_stale_perc:0.00
redis-graph_1     | expired_time_cap_reached_count:0
redis-graph_1     | expire_cycle_cpu_milliseconds:24
redis-graph_1     | evicted_keys:0
redis-graph_1     | keyspace_hits:24
redis-graph_1     | keyspace_misses:1
redis-graph_1     | pubsub_channels:2
redis-graph_1     | pubsub_patterns:0
redis-graph_1     | latest_fork_usec:769
redis-graph_1     | migrate_cached_sockets:0
redis-graph_1     | slave_expires_tracked_keys:0
redis-graph_1     | active_defrag_hits:0
redis-graph_1     | active_defrag_misses:0
redis-graph_1     | active_defrag_key_hits:0
redis-graph_1     | active_defrag_key_misses:0
redis-graph_1     | tracking_total_keys:0
redis-graph_1     | tracking_total_items:0
redis-graph_1     | tracking_total_prefixes:0
redis-graph_1     | unexpected_error_replies:0
redis-graph_1     | 
redis-graph_1     | # Replication
redis-graph_1     | role:master
redis-graph_1     | connected_slaves:0
redis-graph_1     | master_replid:a7edbda466e9c8d39b071e59f56dc84c5e4fa7df
redis-graph_1     | master_replid2:0000000000000000000000000000000000000000
redis-graph_1     | master_repl_offset:0
redis-graph_1     | second_repl_offset:-1
redis-graph_1     | repl_backlog_active:0
redis-graph_1     | repl_backlog_size:1048576
redis-graph_1     | repl_backlog_first_byte_offset:0
redis-graph_1     | repl_backlog_histlen:0
redis-graph_1     | 
redis-graph_1     | # CPU
redis-graph_1     | used_cpu_sys:1.102823
redis-graph_1     | used_cpu_user:1.933864
redis-graph_1     | used_cpu_sys_children:0.002515
redis-graph_1     | used_cpu_user_children:0.004631
redis-graph_1     | 
redis-graph_1     | # Modules
redis-graph_1     | module:name=graph,ver=999999,api=1,filters=0,usedby=[],using=[],options=[]
redis-graph_1     | 
redis-graph_1     | # Commandstats
redis-graph_1     | cmdstat_graph.DELETE:calls=2,usec=620,usec_per_call=310.00
redis-graph_1     | cmdstat_type:calls=4,usec=4,usec_per_call=1.00
redis-graph_1     | cmdstat_config:calls=3,usec=187,usec_per_call=62.33
redis-graph_1     | cmdstat_ping:calls=2,usec=1,usec_per_call=0.50
redis-graph_1     | cmdstat_bgsave:calls=1,usec=868,usec_per_call=868.00
redis-graph_1     | cmdstat_graph.QUERY:calls=20,usec=2603,usec_per_call=130.15
redis-graph_1     | cmdstat_client:calls=4,usec=7,usec_per_call=1.75
redis-graph_1     | cmdstat_exists:calls=1,usec=3,usec_per_call=3.00
redis-graph_1     | cmdstat_subscribe:calls=2,usec=6,usec_per_call=3.00
redis-graph_1     | cmdstat_module:calls=3,usec=8,usec_per_call=2.67
redis-graph_1     | cmdstat_info:calls=8,usec=283,usec_per_call=35.38
redis-graph_1     | cmdstat_scan:calls=3,usec=20,usec_per_call=6.67
redis-graph_1     | 
redis-graph_1     | # Cluster
redis-graph_1     | cluster_enabled:0
redis-graph_1     | 
redis-graph_1     | # Keyspace
redis-graph_1     | db0:keys=1,expires=0,avg_ttl=0
redis-graph_1     | 
redis-graph_1     | ------ CLIENT LIST OUTPUT ------
redis-graph_1     | id=29 addr=[::1]:57130 fd=16 name= age=26 idle=13 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=graph.QUERY user=default
redis-graph_1     | id=25 addr=127.0.0.1:42678 fd=13 name= age=28 idle=28 flags=P db=0 sub=1 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=subscribe user=default
redis-graph_1     | id=26 addr=127.0.0.1:42680 fd=14 name= age=28 idle=28 flags=P db=0 sub=1 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=subscribe user=default
redis-graph_1     | id=27 addr=[::1]:57112 fd=15 name= age=28 idle=0 flags=b db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=32768 obl=0 oll=0 omem=0 events=r cmd=graph.QUERY user=default
redis-graph_1     | id=8 addr=[::1]:56650 fd=9 name=RedisInsight age=1243 idle=768 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=config user=default
redis-graph_1     | id=22 addr=[::1]:56728 fd=11 name=RedisInsight age=1040 idle=1040 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=bgsave user=default
redis-graph_1     | id=23 addr=[::1]:56806 fd=10 name=RedisInsight age=768 idle=768 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=module user=default
redis-graph_1     | id=24 addr=127.0.0.1:42676 fd=12 name= age=28 idle=28 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=info user=default
redis-graph_1     | id=28 addr=127.0.0.1:42698 fd=8 name= age=26 idle=26 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=info user=default
redis-graph_1     | 
redis-graph_1     | ------ REGISTERS ------
redis-graph_1     | 1:M 31 Aug 2020 14:34:27.438 # 
redis-graph_1     | RAX:00007f5441c6b640 RBX:00007f5441c0c050
redis-graph_1     | RCX:00007f5440000000 RDX:00007f5441c6b320
redis-graph_1     | RDI:00007f5400000008 RSI:00007f544592eee8
redis-graph_1     | RBP:00007f5441c0bb48 RSP:00007f544592e300
redis-graph_1     | R8 :0000000000000001 R9 :0000000000000034
redis-graph_1     | R10:0000000000000004 R11:00007f544592ef40
redis-graph_1     | R12:0000000000000002 R13:0000000000000001
redis-graph_1     | R14:00007f5441c01858 R15:00007f5441c01858
redis-graph_1     | RIP:00007f5447aec793 EFL:0000000000010202
redis-graph_1     | CSGSFS:002b000000000033
redis-graph_1     | 1:M 31 Aug 2020 14:34:27.438 # (00007f544592e30f) -> 00007f5441ce8e18
redis-graph_1     | 1:M 31 Aug 2020 14:34:27.438 # (00007f544592e30e) -> 0000000000000001
redis-graph_1     | 1:M 31 Aug 2020 14:34:27.438 # (00007f544592e30d) -> 00007f5441c18420
redis-graph_1     | 1:M 31 Aug 2020 14:34:27.438 # (00007f544592e30c) -> 0000000000000008
redis-graph_1     | 1:M 31 Aug 2020 14:34:27.438 # (00007f544592e30b) -> 00007f5447aec904
redis-graph_1     | 1:M 31 Aug 2020 14:34:27.438 # (00007f544592e30a) -> 0000000000000000
redis-graph_1     | 1:M 31 Aug 2020 14:34:27.438 # (00007f544592e309) -> 0000000000000001
redis-graph_1     | 1:M 31 Aug 2020 14:34:27.438 # (00007f544592e308) -> 00007f5441c0ad48
redis-graph_1     | 1:M 31 Aug 2020 14:34:27.438 # (00007f544592e307) -> 00007f5441c0bfa8
redis-graph_1     | 1:M 31 Aug 2020 14:34:27.438 # (00007f544592e306) -> 00007f5447aeaf10
redis-graph_1     | 1:M 31 Aug 2020 14:34:27.438 # (00007f544592e305) -> 00007f5447aec904
redis-graph_1     | 1:M 31 Aug 2020 14:34:27.438 # (00007f544592e304) -> 0000000000000001
redis-graph_1     | 1:M 31 Aug 2020 14:34:27.438 # (00007f544592e303) -> 0000000000000002
redis-graph_1     | 1:M 31 Aug 2020 14:34:27.438 # (00007f544592e302) -> 00007f5441c0bb48
redis-graph_1     | 1:M 31 Aug 2020 14:34:27.438 # (00007f544592e301) -> 00007f5441c0c050
redis-graph_1     | 1:M 31 Aug 2020 14:34:27.438 # (00007f544592e300) -> 0000000000000010
redis-graph_1     | 
redis-graph_1     | ------ MODULES INFO OUTPUT ------
redis-graph_1     | # graph_executing commands
redis-graph_1     | graph_command:graph.QUERY MATCH (i:Intervention)-[:HAS_CUSTOMER]->(manager:Group) WHERE manager.uuid = 'Group:a8a88bc8-2b5b-426b-8374-bdb1de6c033c'   AND NOT ()-[:STARTED]->(i) AND ( (:Group { type: 'MANAGER' })-[:CREATED]->(i) OR (:User)-[:CREATED]->(i) )  WITH DISTINCT i, manager  MATCH (u:User) WHERE u.uuid = 'User:537ec3af-c3bb-4b64-837b-2049c925dfe9'  WITH DISTINCT i, manager, u MATCH (creator)-[:CREATED]->(i) OPTIONAL MATCH (i)-[:ON]->(on_property:Property) OPTIONAL MATCH (i)-[:ON]->(on_parcel:Parcel)<--(parent_property:Property)  WITH DISTINCT i, u, manager, creator, on_property, on_parcel, parent_property    OPTIONAL MATCH (patch:InterventionPatch)-->(i)  WITH DISTINCT i, u, manager, creator, on_property, on_parcel, parent_property, collect(DISTINCT patch) AS patches  OPTIONAL MATCH (manager)<--(assign:Assign)<--(u) OPTIONAL MATCH (manager)-->(tag:Tag)<--(u)  WHERE (u)-[:IS_OWNER]->(manager) OR 'ADMIN' IN tag.policies OR 'MANAGE_PROPERTIES' IN tag.policies OR (assign)-->()<--(on_property) OR (assign)-->(on_parcel)  OPTIONAL MATCH (i)-[:HAS_PROVIDER]->(provider:Group) OPTIONAL MATCH (provider)-[c:CANCELED]->(i)  WITH DISTINCT i, creator, on_property, on_parcel, parent_property, patches, collect(DISTINCT [provider, c]) AS providers  OPTIONAL MATCH (i)-[:HAS_CUSTOMER]->(customer:Group)  RETURN DISTINCT i AS intervention, on_property, on_parcel, parent_property, creator, providers, collect(DISTINCT customer) AS customers, patches  SKIP 0 LIMIT 20
redis-graph_1     | 
redis-graph_1     | ------ FAST MEMORY TEST ------
redis-graph_1     | 1:M 31 Aug 2020 14:34:27.439 # Bio thread for job type #0 terminated
redis-graph_1     | 1:M 31 Aug 2020 14:34:27.439 # Bio thread for job type #1 terminated
redis-graph_1     | 1:M 31 Aug 2020 14:34:27.439 # Bio thread for job type #2 terminated
redis-graph_1     | *** Preparing to test memory region 5631f5e68000 (2277376 bytes)
redis-graph_1     | *** Preparing to test memory region 5631f62be000 (270336 bytes)
redis-graph_1     | *** Preparing to test memory region 7f5424000000 (2273280 bytes)
redis-graph_1     | *** Preparing to test memory region 7f542c000000 (3158016 bytes)
redis-graph_1     | *** Preparing to test memory region 7f5432c00000 (10485760 bytes)
redis-graph_1     | *** Preparing to test memory region 7f5433800000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f5434000000 (2265088 bytes)
redis-graph_1     | *** Preparing to test memory region 7f5438000000 (2166784 bytes)
redis-graph_1     | *** Preparing to test memory region 7f543c000000 (135168 bytes)
redis-graph_1     | *** Preparing to test memory region 7f5440000000 (4194304 bytes)
redis-graph_1     | *** Preparing to test memory region 7f5440600000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f5440e00000 (4194304 bytes)
redis-graph_1     | *** Preparing to test memory region 7f5441400000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f5441c00000 (4194304 bytes)
redis-graph_1     | *** Preparing to test memory region 7f544202b000 (9437184 bytes)
redis-graph_1     | *** Preparing to test memory region 7f544292c000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f544312d000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f544392e000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f544412f000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f5444930000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f5445131000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f5445932000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f5446133000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f5446934000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f5447135000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f54481fc000 (16384 bytes)
redis-graph_1     | *** Preparing to test memory region 7f5448200000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f5448a8f000 (16384 bytes)
redis-graph_1     | *** Preparing to test memory region 7f5448c50000 (24576 bytes)
redis-graph_1     | *** Preparing to test memory region 7f5448c73000 (16384 bytes)
redis-graph_1     | *** Preparing to test memory region 7f5448f5c000 (16384 bytes)
redis-graph_1     | *** Preparing to test memory region 7f5449184000 (8192 bytes)
redis-graph_1     | *** Preparing to test memory region 7f54491b1000 (4096 bytes)
redis-graph_1     | .O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.files_redis-graph_1 exited with code 139

here is the dump used for every crash in this thread: https://redisgraph-dumps.s3.eu-central-1.amazonaws.com/dump.rdb

currently trying to reproduce the SI_CloneValue but got a new one


QueryGraph_ConnectedComponents+0x13f

redis-graph_1     | === REDIS BUG REPORT START: Cut & paste starting from here ===
redis-graph_1     | 1:M 31 Aug 2020 14:46:19.775 # Redis 6.0.5 crashed by signal: 11
redis-graph_1     | 1:M 31 Aug 2020 14:46:19.775 # Crashed running the instruction at: 0x7f2ece914bff
redis-graph_1     | 1:M 31 Aug 2020 14:46:19.775 # Accessing address: 0x100007f4e
redis-graph_1     | 1:M 31 Aug 2020 14:46:19.775 # Failed assertion:  (:0)
redis-graph_1     | 
redis-graph_1     | ------ STACK TRACE ------
redis-graph_1     | EIP:
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(QueryGraph_ConnectedComponents+0x13f)[0x7f2ece914bff]
redis-graph_1     | 
redis-graph_1     | Backtrace:
redis-graph_1     | redis-server *:6379(logStackTrace+0x32)[0x559a770a4e02]
redis-graph_1     | redis-server *:6379(sigsegvHandler+0x9e)[0x559a770a54de]
redis-graph_1     | /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7f2ecfb4c730]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(QueryGraph_ConnectedComponents+0x13f)[0x7f2ece914bff]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(ExecutionPlan_PopulateExecutionPlan+0x1bd)[0x7f2ece8faabd]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(ExecutionPlan_BuildOpsFromPath+0x7c)[0x7f2ece8f9d3c]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c3465)[0x7f2ece8f8465]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c33b6)[0x7f2ece8f83b6]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c338a)[0x7f2ece8f838a]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c338a)[0x7f2ece8f838a]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c338a)[0x7f2ece8f838a]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c338a)[0x7f2ece8f838a]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(ExecutionPlan_ReduceFilterToApply+0x3f)[0x7f2ece8f84df]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(ExecutionPlan_PlaceFilterOps+0x107)[0x7f2ece8fa8f7]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(ExecutionPlan_BuildOpsFromPath+0x9f)[0x7f2ece8f9d5f]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(ExecutionPlan_PopulateExecutionPlan+0x78c)[0x7f2ece8fb08c]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(NewExecutionPlan+0x20d)[0x7f2ece8fba3d]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(ExecutionCtx_FromQuery+0x15d)[0x7f2ece8f5d9d]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(Graph_Query+0x48)[0x7f2ece8f5f08]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1f742d)[0x7f2ece92c42d]
redis-graph_1     | /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3)[0x7f2ecfb41fa3]
redis-graph_1     | /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f2ecfa704cf]
redis-graph_1     | 
redis-graph_1     | ------ INFO OUTPUT ------
redis-graph_1     | # Server
redis-graph_1     | redis_version:6.0.5
redis-graph_1     | redis_git_sha1:00000000
redis-graph_1     | redis_git_dirty:0
redis-graph_1     | redis_build_id:a552bef8bac6cf1c
redis-graph_1     | redis_mode:standalone
redis-graph_1     | os:Linux 5.4.60-2-MANJARO x86_64
redis-graph_1     | arch_bits:64
redis-graph_1     | multiplexing_api:epoll
redis-graph_1     | atomicvar_api:atomic-builtin
redis-graph_1     | gcc_version:8.3.0
redis-graph_1     | process_id:1
redis-graph_1     | run_id:f6bdde3bb23d64e9a7467d58e651ee16f712db25
redis-graph_1     | tcp_port:6379
redis-graph_1     | uptime_in_seconds:15
redis-graph_1     | uptime_in_days:0
redis-graph_1     | hz:10
redis-graph_1     | configured_hz:10
redis-graph_1     | lru_clock:5049659
redis-graph_1     | executable:/data/redis-server
redis-graph_1     | config_file:
redis-graph_1     | 
redis-graph_1     | # Clients
redis-graph_1     | connected_clients:5
redis-graph_1     | client_recent_max_input_buffer:2
redis-graph_1     | client_recent_max_output_buffer:0
redis-graph_1     | blocked_clients:1
redis-graph_1     | tracking_clients:0
redis-graph_1     | clients_in_timeout_table:0
redis-graph_1     | 
redis-graph_1     | # Memory
redis-graph_1     | used_memory:1881040
redis-graph_1     | used_memory_human:1.79M
redis-graph_1     | used_memory_rss:15028224
redis-graph_1     | used_memory_rss_human:14.33M
redis-graph_1     | used_memory_peak:2329824
redis-graph_1     | used_memory_peak_human:2.22M
redis-graph_1     | used_memory_peak_perc:80.74%
redis-graph_1     | used_memory_overhead:925106
redis-graph_1     | used_memory_startup:840072
redis-graph_1     | used_memory_dataset:955934
redis-graph_1     | used_memory_dataset_perc:91.83%
redis-graph_1     | allocator_allocated:3487328
redis-graph_1     | allocator_active:4370432
redis-graph_1     | allocator_resident:10366976
redis-graph_1     | total_system_memory:16675377152
redis-graph_1     | total_system_memory_human:15.53G
redis-graph_1     | used_memory_lua:37888
redis-graph_1     | used_memory_lua_human:37.00K
redis-graph_1     | used_memory_scripts:0
redis-graph_1     | used_memory_scripts_human:0B
redis-graph_1     | number_of_cached_scripts:0
redis-graph_1     | maxmemory:0
redis-graph_1     | maxmemory_human:0B
redis-graph_1     | maxmemory_policy:noeviction
redis-graph_1     | allocator_frag_ratio:1.25
redis-graph_1     | allocator_frag_bytes:883104
redis-graph_1     | allocator_rss_ratio:2.37
redis-graph_1     | allocator_rss_bytes:5996544
redis-graph_1     | rss_overhead_ratio:1.45
redis-graph_1     | rss_overhead_bytes:4661248
redis-graph_1     | mem_fragmentation_ratio:6.39
redis-graph_1     | mem_fragmentation_bytes:12676424
redis-graph_1     | mem_not_counted_for_evict:0
redis-graph_1     | mem_replication_backlog:0
redis-graph_1     | mem_clients_slaves:0
redis-graph_1     | mem_clients_normal:84930
redis-graph_1     | mem_aof_buffer:0
redis-graph_1     | mem_allocator:jemalloc-5.1.0
redis-graph_1     | active_defrag_running:0
redis-graph_1     | lazyfree_pending_objects:0
redis-graph_1     | 
redis-graph_1     | # Persistence
redis-graph_1     | loading:0
redis-graph_1     | rdb_changes_since_last_save:0
redis-graph_1     | rdb_bgsave_in_progress:0
redis-graph_1     | rdb_last_save_time:1598885164
redis-graph_1     | rdb_last_bgsave_status:ok
redis-graph_1     | rdb_last_bgsave_time_sec:-1
redis-graph_1     | rdb_current_bgsave_time_sec:-1
redis-graph_1     | rdb_last_cow_size:0
redis-graph_1     | aof_enabled:0
redis-graph_1     | aof_rewrite_in_progress:0
redis-graph_1     | aof_rewrite_scheduled:0
redis-graph_1     | aof_last_rewrite_time_sec:-1
redis-graph_1     | aof_current_rewrite_time_sec:-1
redis-graph_1     | aof_last_bgrewrite_status:ok
redis-graph_1     | aof_last_write_status:ok
redis-graph_1     | aof_last_cow_size:0
redis-graph_1     | module_fork_in_progress:0
redis-graph_1     | module_fork_last_cow_size:0
redis-graph_1     | 
redis-graph_1     | # Stats
redis-graph_1     | total_connections_received:5
redis-graph_1     | total_commands_processed:15
redis-graph_1     | instantaneous_ops_per_sec:1
redis-graph_1     | total_net_input_bytes:4761
redis-graph_1     | total_net_output_bytes:27225
redis-graph_1     | instantaneous_input_kbps:0.54
redis-graph_1     | instantaneous_output_kbps:0.59
redis-graph_1     | rejected_connections:0
redis-graph_1     | sync_full:0
redis-graph_1     | sync_partial_ok:0
redis-graph_1     | sync_partial_err:0
redis-graph_1     | expired_keys:0
redis-graph_1     | expired_stale_perc:0.00
redis-graph_1     | expired_time_cap_reached_count:0
redis-graph_1     | expire_cycle_cpu_milliseconds:0
redis-graph_1     | evicted_keys:0
redis-graph_1     | keyspace_hits:8
redis-graph_1     | keyspace_misses:0
redis-graph_1     | pubsub_channels:2
redis-graph_1     | pubsub_patterns:0
redis-graph_1     | latest_fork_usec:0
redis-graph_1     | migrate_cached_sockets:0
redis-graph_1     | slave_expires_tracked_keys:0
redis-graph_1     | active_defrag_hits:0
redis-graph_1     | active_defrag_misses:0
redis-graph_1     | active_defrag_key_hits:0
redis-graph_1     | active_defrag_key_misses:0
redis-graph_1     | tracking_total_keys:0
redis-graph_1     | tracking_total_items:0
redis-graph_1     | tracking_total_prefixes:0
redis-graph_1     | unexpected_error_replies:0
redis-graph_1     | 
redis-graph_1     | # Replication
redis-graph_1     | role:master
redis-graph_1     | connected_slaves:0
redis-graph_1     | master_replid:d708c11944ff292715a98affc1e1b052a1c85a45
redis-graph_1     | master_replid2:0000000000000000000000000000000000000000
redis-graph_1     | master_repl_offset:0
redis-graph_1     | second_repl_offset:-1
redis-graph_1     | repl_backlog_active:0
redis-graph_1     | repl_backlog_size:1048576
redis-graph_1     | repl_backlog_first_byte_offset:0
redis-graph_1     | repl_backlog_histlen:0
redis-graph_1     | 
redis-graph_1     | # CPU
redis-graph_1     | used_cpu_sys:0.031943
redis-graph_1     | used_cpu_user:0.235947
redis-graph_1     | used_cpu_sys_children:0.000629
redis-graph_1     | used_cpu_user_children:0.001544
redis-graph_1     | 
redis-graph_1     | # Modules
redis-graph_1     | module:name=graph,ver=999999,api=1,filters=0,usedby=[],using=[],options=[]
redis-graph_1     | 
redis-graph_1     | # Commandstats
redis-graph_1     | cmdstat_subscribe:calls=2,usec=12,usec_per_call=6.00
redis-graph_1     | cmdstat_graph.QUERY:calls=8,usec=5589,usec_per_call=698.62
redis-graph_1     | cmdstat_info:calls=5,usec=457,usec_per_call=91.40
redis-graph_1     | 
redis-graph_1     | # Cluster
redis-graph_1     | cluster_enabled:0
redis-graph_1     | 
redis-graph_1     | # Keyspace
redis-graph_1     | db0:keys=1,expires=0,avg_ttl=0
redis-graph_1     | 
redis-graph_1     | ------ CLIENT LIST OUTPUT ------
redis-graph_1     | id=7 addr=[::1]:59782 fd=8 name= age=15 idle=0 flags=b db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=32768 obl=0 oll=0 omem=0 events=r cmd=graph.QUERY user=default
redis-graph_1     | id=8 addr=[::1]:59786 fd=9 name= age=15 idle=14 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=info user=default
redis-graph_1     | id=9 addr=127.0.0.1:45360 fd=10 name= age=11 idle=11 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=info user=default
redis-graph_1     | id=10 addr=127.0.0.1:45362 fd=11 name= age=11 idle=11 flags=P db=0 sub=1 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=subscribe user=default
redis-graph_1     | id=11 addr=127.0.0.1:45364 fd=12 name= age=11 idle=11 flags=P db=0 sub=1 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=subscribe user=default
redis-graph_1     | 
redis-graph_1     | ------ REGISTERS ------
redis-graph_1     | 1:M 31 Aug 2020 14:46:19.778 # 
redis-graph_1     | RAX:00007f2ec205265c RBX:00007f2ec2010b84
redis-graph_1     | RCX:0000000100007f2e RDX:0000000000000001
redis-graph_1     | RDI:00007f2ec20076e0 RSI:0000000000000000
redis-graph_1     | RBP:00007f2ec20136e0 RSP:00007f2ecc72df00
redis-graph_1     | R8 :0000000000000000 R9 :0000000000000018
redis-graph_1     | R10:00007f2ec20116a8 R11:00007f2ec20076e0
redis-graph_1     | R12:00007f2ec2011538 R13:0000559a771ef778
redis-graph_1     | R14:00007f2ec2010ae8 R15:0000000000000000
redis-graph_1     | RIP:00007f2ece914bff EFL:0000000000010246
redis-graph_1     | CSGSFS:002b000000000033
redis-graph_1     | 1:M 31 Aug 2020 14:46:19.778 # (00007f2ecc72df0f) -> 00007f2ec201f480
redis-graph_1     | 1:M 31 Aug 2020 14:46:19.778 # (00007f2ecc72df0e) -> 00007f2eac2152d0
redis-graph_1     | 1:M 31 Aug 2020 14:46:19.778 # (00007f2ecc72df0d) -> 00007f2ece8faabd
redis-graph_1     | 1:M 31 Aug 2020 14:46:19.778 # (00007f2ecc72df0c) -> 00007f2ec201f480
redis-graph_1     | 1:M 31 Aug 2020 14:46:19.778 # (00007f2ecc72df0b) -> 00007f2ec2021130
redis-graph_1     | 1:M 31 Aug 2020 14:46:19.778 # (00007f2ecc72df0a) -> 00007f2ec2021040
redis-graph_1     | 1:M 31 Aug 2020 14:46:19.778 # (00007f2ecc72df09) -> 00007f2eac215260
redis-graph_1     | 1:M 31 Aug 2020 14:46:19.778 # (00007f2ecc72df08) -> 0000000000000001
redis-graph_1     | 1:M 31 Aug 2020 14:46:19.778 # (00007f2ecc72df07) -> 00007f2ec2010b30
redis-graph_1     | 1:M 31 Aug 2020 14:46:19.778 # (00007f2ecc72df06) -> 00007f2ecc72df60
redis-graph_1     | 1:M 31 Aug 2020 14:46:19.778 # (00007f2ecc72df05) -> 00007f2ec20115e0
redis-graph_1     | 1:M 31 Aug 2020 14:46:19.778 # (00007f2ecc72df04) -> 00007f2ec20115ec
redis-graph_1     | 1:M 31 Aug 2020 14:46:19.778 # (00007f2ecc72df03) -> 00007f2eac215260
redis-graph_1     | 1:M 31 Aug 2020 14:46:19.778 # (00007f2ecc72df02) -> 00007f2ec201b5d0
redis-graph_1     | 1:M 31 Aug 2020 14:46:19.778 # (00007f2ecc72df01) -> 00007f2ec2007860
redis-graph_1     | 1:M 31 Aug 2020 14:46:19.778 # (00007f2ecc72df00) -> 00007f2ecc72df30
redis-graph_1     | 
redis-graph_1     | ------ MODULES INFO OUTPUT ------
redis-graph_1     | # graph_executing commands
redis-graph_1     | graph_command:graph.QUERY MATCH (g:Group)<--(u:User), (i:Intervention) WHERE i.uuid = 'Intervention:9e60a5f2-3888-433b-8052-6ef6d70161d1' AND g.uuid = 'Group:71ba4a36-2fa9-4594-a012-893031ebce85' AND u.uuid = 'User:537ec3af-c3bb-4b64-837b-2049c925dfe9'  OPTIONAL MATCH (i)-[:ON]->(on_property:Property) OPTIONAL MATCH (i)-[:ON]->(on_parcel:Parcel)<--(parent_property:Property) OPTIONAL MATCH (g)<--(assign:Assign)<--(u) OPTIONAL MATCH (g)-->(tag:Tag)<--(u)  WHERE g.type = 'PROVIDER' OR (u)-[:IS_OWNER]->(g) OR 'ADMIN' IN tag.policies OR 'MANAGE_PROPERTIES' IN tag.policies OR (assign)-->()<--(on_property) OR (assign)-->(on_parcel)  RETURN i AS inter
redis-graph_1     | 
redis-graph_1     | ------ FAST MEMORY TEST ------
redis-graph_1     | 1:M 31 Aug 2020 14:46:19.778 # Bio thread for job type #0 terminated
redis-graph_1     | 1:M 31 Aug 2020 14:46:19.779 # Bio thread for job type #1 terminated
redis-graph_1     | 1:M 31 Aug 2020 14:46:19.779 # Bio thread for job type #2 terminated
redis-graph_1     | *** Preparing to test memory region 559a771f0000 (2277376 bytes)
redis-graph_1     | *** Preparing to test memory region 559a77f33000 (270336 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2eac000000 (2256896 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2eb4000000 (2146304 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2eb8000000 (2256896 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2ebc000000 (2121728 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2ec2000000 (4194304 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2ec2600000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2ec2e00000 (4194304 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2ec3400000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2ec3c00000 (4329472 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2ec8200000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2ec8a00000 (4194304 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2ec8e2b000 (9437184 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2ec972c000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2ec9f2d000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2eca72e000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2ecaf2f000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2ecb730000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2ecbf31000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2ecc732000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2eccf33000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2ecd734000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2ecdf35000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2eceffc000 (16384 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2ecf000000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2ecf973000 (16384 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2ecfb34000 (24576 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2ecfb57000 (16384 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2ecfe40000 (16384 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2ed0068000 (8192 bytes)
redis-graph_1     | *** Preparing to test memory region 7f2ed0095000 (4096 bytes)
redis-graph_1     | .O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.files_redis-graph_1 exited with code 139


redis-server *:6379(raxFind+0xe9)

redis-graph_1     | === REDIS BUG REPORT START: Cut & paste starting from here ===
redis-graph_1     | 1:M 31 Aug 2020 14:50:23.713 # Redis 6.0.5 crashed by signal: 11
redis-graph_1     | 1:M 31 Aug 2020 14:50:23.713 # Crashed running the instruction at: 0x5627e3384959
redis-graph_1     | 1:M 31 Aug 2020 14:50:23.713 # Accessing address: (nil)
redis-graph_1     | 1:M 31 Aug 2020 14:50:23.713 # Failed assertion:  (:0)
redis-graph_1     | 
redis-graph_1     | ------ STACK TRACE ------
redis-graph_1     | EIP:
redis-graph_1     | redis-server *:6379(raxFind+0xe9)[0x5627e3384959]
redis-graph_1     | 
redis-graph_1     | Backtrace:
redis-graph_1     | redis-server *:6379(logStackTrace+0x32)[0x5627e3349e02]
redis-graph_1     | redis-server *:6379(sigsegvHandler+0x9e)[0x5627e334a4de]
redis-graph_1     | /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7f7e3755e730]
redis-graph_1     | redis-server *:6379(raxFind+0xe9)[0x5627e3384959]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(OpBase_Aware+0x2c)[0x7f7e363039bc]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(NewCondTraverseOp+0xe5)[0x7f7e363055c5]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c36c7)[0x7f7e362f86c7]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c36ed)[0x7f7e362f86ed]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c36ed)[0x7f7e362f86ed]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c36ed)[0x7f7e362f86ed]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c36ed)[0x7f7e362f86ed]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c36ed)[0x7f7e362f86ed]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c36ed)[0x7f7e362f86ed]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c36ed)[0x7f7e362f86ed]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c36ed)[0x7f7e362f86ed]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c36ed)[0x7f7e362f86ed]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c36ed)[0x7f7e362f86ed]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c36ed)[0x7f7e362f86ed]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1c36ed)[0x7f7e362f86ed]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(ExecutionPlan_Clone+0x20)[0x7f7e362f8740]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(ExecutionCtx_FromQuery+0x71)[0x7f7e362f5cb1]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(Graph_Query+0x48)[0x7f7e362f5f08]
redis-graph_1     | /usr/lib/redis/modules/redisgraph.so(+0x1f742d)[0x7f7e3632c42d]
redis-graph_1     | /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3)[0x7f7e37553fa3]
redis-graph_1     | /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f7e374824cf]
redis-graph_1     | 
redis-graph_1     | ------ INFO OUTPUT ------
redis-graph_1     | # Server
redis-graph_1     | redis_version:6.0.5
redis-graph_1     | redis_git_sha1:00000000
redis-graph_1     | redis_git_dirty:0
redis-graph_1     | redis_build_id:a552bef8bac6cf1c
redis-graph_1     | redis_mode:standalone
redis-graph_1     | os:Linux 5.4.60-2-MANJARO x86_64
redis-graph_1     | arch_bits:64
redis-graph_1     | multiplexing_api:epoll
redis-graph_1     | atomicvar_api:atomic-builtin
redis-graph_1     | gcc_version:8.3.0
redis-graph_1     | process_id:1
redis-graph_1     | run_id:71d4689433957679ce00fc2590a5d60fa7e7aa9a
redis-graph_1     | tcp_port:6379
redis-graph_1     | uptime_in_seconds:99
redis-graph_1     | uptime_in_days:0
redis-graph_1     | hz:10
redis-graph_1     | configured_hz:10
redis-graph_1     | lru_clock:5049903
redis-graph_1     | executable:/data/redis-server
redis-graph_1     | config_file:
redis-graph_1     | 
redis-graph_1     | # Clients
redis-graph_1     | connected_clients:4
redis-graph_1     | client_recent_max_input_buffer:2
redis-graph_1     | client_recent_max_output_buffer:0
redis-graph_1     | blocked_clients:1
redis-graph_1     | tracking_clients:0
redis-graph_1     | clients_in_timeout_table:0
redis-graph_1     | 
redis-graph_1     | # Memory
redis-graph_1     | used_memory:2270144
redis-graph_1     | used_memory_human:2.16M
redis-graph_1     | used_memory_rss:16125952
redis-graph_1     | used_memory_rss_human:15.38M
redis-graph_1     | used_memory_peak:2270144
redis-graph_1     | used_memory_peak_human:2.16M
redis-graph_1     | used_memory_peak_perc:101.75%
redis-graph_1     | used_memory_overhead:907096
redis-graph_1     | used_memory_startup:839048
redis-graph_1     | used_memory_dataset:1363048
redis-graph_1     | used_memory_dataset_perc:95.25%
redis-graph_1     | allocator_allocated:3660472
redis-graph_1     | allocator_active:5054464
redis-graph_1     | allocator_resident:11673600
redis-graph_1     | total_system_memory:16675377152
redis-graph_1     | total_system_memory_human:15.53G
redis-graph_1     | used_memory_lua:37888
redis-graph_1     | used_memory_lua_human:37.00K
redis-graph_1     | used_memory_scripts:0
redis-graph_1     | used_memory_scripts_human:0B
redis-graph_1     | number_of_cached_scripts:0
redis-graph_1     | maxmemory:0
redis-graph_1     | maxmemory_human:0B
redis-graph_1     | maxmemory_policy:noeviction
redis-graph_1     | allocator_frag_ratio:1.38
redis-graph_1     | allocator_frag_bytes:1393992
redis-graph_1     | allocator_rss_ratio:2.31
redis-graph_1     | allocator_rss_bytes:6619136
redis-graph_1     | rss_overhead_ratio:1.38
redis-graph_1     | rss_overhead_bytes:4452352
redis-graph_1     | mem_fragmentation_ratio:7.23
redis-graph_1     | mem_fragmentation_bytes:13894960
redis-graph_1     | mem_not_counted_for_evict:0
redis-graph_1     | mem_replication_backlog:0
redis-graph_1     | mem_clients_slaves:0
redis-graph_1     | mem_clients_normal:67944
redis-graph_1     | mem_aof_buffer:0
redis-graph_1     | mem_allocator:jemalloc-5.1.0
redis-graph_1     | active_defrag_running:0
redis-graph_1     | lazyfree_pending_objects:0
redis-graph_1     | 
redis-graph_1     | # Persistence
redis-graph_1     | loading:0
redis-graph_1     | rdb_changes_since_last_save:6
redis-graph_1     | rdb_bgsave_in_progress:0
redis-graph_1     | rdb_last_save_time:1598885324
redis-graph_1     | rdb_last_bgsave_status:ok
redis-graph_1     | rdb_last_bgsave_time_sec:-1
redis-graph_1     | rdb_current_bgsave_time_sec:-1
redis-graph_1     | rdb_last_cow_size:0
redis-graph_1     | aof_enabled:0
redis-graph_1     | aof_rewrite_in_progress:0
redis-graph_1     | aof_rewrite_scheduled:0
redis-graph_1     | aof_last_rewrite_time_sec:-1
redis-graph_1     | aof_current_rewrite_time_sec:-1
redis-graph_1     | aof_last_bgrewrite_status:ok
redis-graph_1     | aof_last_write_status:ok
redis-graph_1     | aof_last_cow_size:0
redis-graph_1     | module_fork_in_progress:0
redis-graph_1     | module_fork_last_cow_size:0
redis-graph_1     | 
redis-graph_1     | # Stats
redis-graph_1     | total_connections_received:4
redis-graph_1     | total_commands_processed:134
redis-graph_1     | instantaneous_ops_per_sec:6
redis-graph_1     | total_net_input_bytes:52884
redis-graph_1     | total_net_output_bytes:100959
redis-graph_1     | instantaneous_input_kbps:4.02
redis-graph_1     | instantaneous_output_kbps:9.92
redis-graph_1     | rejected_connections:0
redis-graph_1     | sync_full:0
redis-graph_1     | sync_partial_ok:0
redis-graph_1     | sync_partial_err:0
redis-graph_1     | expired_keys:0
redis-graph_1     | expired_stale_perc:0.00
redis-graph_1     | expired_time_cap_reached_count:0
redis-graph_1     | expire_cycle_cpu_milliseconds:1
redis-graph_1     | evicted_keys:0
redis-graph_1     | keyspace_hits:128
redis-graph_1     | keyspace_misses:0
redis-graph_1     | pubsub_channels:0
redis-graph_1     | pubsub_patterns:0
redis-graph_1     | latest_fork_usec:0
redis-graph_1     | migrate_cached_sockets:0
redis-graph_1     | slave_expires_tracked_keys:0
redis-graph_1     | active_defrag_hits:0
redis-graph_1     | active_defrag_misses:0
redis-graph_1     | active_defrag_key_hits:0
redis-graph_1     | active_defrag_key_misses:0
redis-graph_1     | tracking_total_keys:0
redis-graph_1     | tracking_total_items:0
redis-graph_1     | tracking_total_prefixes:0
redis-graph_1     | unexpected_error_replies:0
redis-graph_1     | 
redis-graph_1     | # Replication
redis-graph_1     | role:master
redis-graph_1     | connected_slaves:0
redis-graph_1     | master_replid:5a3b18fcbe66bce032c9e144c8b3ddb932a8f9d9
redis-graph_1     | master_replid2:0000000000000000000000000000000000000000
redis-graph_1     | master_repl_offset:0
redis-graph_1     | second_repl_offset:-1
redis-graph_1     | repl_backlog_active:0
redis-graph_1     | repl_backlog_size:1048576
redis-graph_1     | repl_backlog_first_byte_offset:0
redis-graph_1     | repl_backlog_histlen:0
redis-graph_1     | 
redis-graph_1     | # CPU
redis-graph_1     | used_cpu_sys:0.095544
redis-graph_1     | used_cpu_user:0.422366
redis-graph_1     | used_cpu_sys_children:0.000936
redis-graph_1     | used_cpu_user_children:0.001315
redis-graph_1     | 
redis-graph_1     | # Modules
redis-graph_1     | module:name=graph,ver=999999,api=1,filters=0,usedby=[],using=[],options=[]
redis-graph_1     | 
redis-graph_1     | # Commandstats
redis-graph_1     | cmdstat_graph.DELETE:calls=1,usec=6,usec_per_call=6.00
redis-graph_1     | cmdstat_info:calls=2,usec=301,usec_per_call=150.50
redis-graph_1     | cmdstat_graph.QUERY:calls=121,usec=8723,usec_per_call=72.09
redis-graph_1     | cmdstat_client:calls=2,usec=2,usec_per_call=1.00
redis-graph_1     | cmdstat_publish:calls=6,usec=7,usec_per_call=1.17
redis-graph_1     | cmdstat_type:calls=1,usec=2,usec_per_call=2.00
redis-graph_1     | cmdstat_scan:calls=1,usec=9,usec_per_call=9.00
redis-graph_1     | 
redis-graph_1     | # Cluster
redis-graph_1     | cluster_enabled:0
redis-graph_1     | 
redis-graph_1     | # Keyspace
redis-graph_1     | db0:keys=1,expires=0,avg_ttl=0
redis-graph_1     | 
redis-graph_1     | ------ CLIENT LIST OUTPUT ------
redis-graph_1     | id=7 addr=[::1]:60586 fd=8 name= age=94 idle=0 flags=b db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=32768 obl=0 oll=0 omem=0 events=r cmd=graph.QUERY user=default
redis-graph_1     | id=8 addr=[::1]:60590 fd=9 name= age=94 idle=94 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=info user=default
redis-graph_1     | id=9 addr=[::1]:60614 fd=10 name=RedisInsight age=92 idle=91 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=type user=default
redis-graph_1     | id=10 addr=[::1]:60616 fd=11 name=RedisInsight age=89 idle=21 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 obl=0 oll=0 omem=0 events=r cmd=graph.QUERY user=default
redis-graph_1     | 
redis-graph_1     | ------ REGISTERS ------
redis-graph_1     | 1:M 31 Aug 2020 14:50:23.715 # 
redis-graph_1     | RAX:000000000608ff04 RBX:0000000000000061
redis-graph_1     | RCX:0000000000000002 RDX:0000000000000003
redis-graph_1     | RDI:f8214c01c0834800 RSI:00007f7e30407da0
redis-graph_1     | RBP:00007f7e30439140 RSP:00007f7e3492f0a8
redis-graph_1     | R8 :0000000000009100 R9 :00007f7e30440474
redis-graph_1     | R10:0000000006086e04 R11:0000000000000020
redis-graph_1     | R12:00007f7e3046f3b8 R13:00007f7e3041eec0
redis-graph_1     | R14:00007f7e3041ef00 R15:00007f7e369fedb0
redis-graph_1     | RIP:00005627e3384959 EFL:0000000000010202
redis-graph_1     | CSGSFS:002b000000000033
redis-graph_1     | 1:M 31 Aug 2020 14:50:23.715 # (00007f7e3492f0b7) -> 00007f7e3041ef00
redis-graph_1     | 1:M 31 Aug 2020 14:50:23.715 # (00007f7e3492f0b6) -> 00007f7e3041eec0
redis-graph_1     | 1:M 31 Aug 2020 14:50:23.715 # (00007f7e3492f0b5) -> 00007f7e3041ee00
redis-graph_1     | 1:M 31 Aug 2020 14:50:23.715 # (00007f7e3492f0b4) -> 00007f7e304379c0
redis-graph_1     | 1:M 31 Aug 2020 14:50:23.715 # (00007f7e3492f0b3) -> 0000000000000000
redis-graph_1     | 1:M 31 Aug 2020 14:50:23.715 # (00007f7e3492f0b2) -> 00007f7e3041bec0
redis-graph_1     | 1:M 31 Aug 2020 14:50:23.715 # (00007f7e3492f0b1) -> 00007f7e36e400c0
redis-graph_1     | 1:M 31 Aug 2020 14:50:23.715 # (00007f7e3492f0b0) -> 00007f7e363055c5
redis-graph_1     | 1:M 31 Aug 2020 14:50:23.715 # (00007f7e3492f0af) -> 00007f7e3041ee00
redis-graph_1     | 1:M 31 Aug 2020 14:50:23.715 # (00007f7e3492f0ae) -> 00007f7e3041bec0
redis-graph_1     | 1:M 31 Aug 2020 14:50:23.715 # (00007f7e3492f0ad) -> 00007f7e30439080
redis-graph_1     | 1:M 31 Aug 2020 14:50:23.715 # (00007f7e3492f0ac) -> 00007f7e363039bc
redis-graph_1     | 1:M 31 Aug 2020 14:50:23.715 # (00007f7e3492f0ab) -> 00007f7e3041ef00
redis-graph_1     | 1:M 31 Aug 2020 14:50:23.715 # (00007f7e3492f0aa) -> 00007f7e3046f3b8
redis-graph_1     | 1:M 31 Aug 2020 14:50:23.715 # (00007f7e3492f0a9) -> 00007f7e30439140
redis-graph_1     | 1:M 31 Aug 2020 14:50:23.715 # (00007f7e3492f0a8) -> 00007f7e30407da0
redis-graph_1     | 
redis-graph_1     | ------ MODULES INFO OUTPUT ------
redis-graph_1     | # graph_executing commands
redis-graph_1     | graph_command:graph.QUERY MATCH (i:Intervention)-[:HAS_CUSTOMER]->(manager:Group) WHERE manager.uuid = 'Group:a8a88bc8-2b5b-426b-8374-bdb1de6c033c'   AND NOT ()-[:STARTED]->(i) AND ( (:Group { type: 'MANAGER' })-[:CREATED]->(i) OR (:User)-[:CREATED]->(i) )  WITH DISTINCT i, manager  MATCH (u:User) WHERE u.uuid = 'User:537ec3af-c3bb-4b64-837b-2049c925dfe9'  WITH DISTINCT i, manager, u MATCH (creator)-[:CREATED]->(i) OPTIONAL MATCH (i)-[:ON]->(on_property:Property) OPTIONAL MATCH (i)-[:ON]->(on_parcel:Parcel)<--(parent_property:Property)  WITH DISTINCT i, u, manager, creator, on_property, on_parcel, parent_property    OPTIONAL MATCH (patch:InterventionPatch)-->(i)  WITH DISTINCT i, u, manager, creator, on_property, on_parcel, parent_property, collect(DISTINCT patch) AS patches  OPTIONAL MATCH (manager)<--(assign:Assign)<--(u) OPTIONAL MATCH (manager)-->(tag:Tag)<--(u)  WHERE (u)-[:IS_OWNER]->(manager) OR 'ADMIN' IN tag.policies OR 'MANAGE_PROPERTIES' IN tag.policies OR (assign)-->()<--(on_property) OR (assign)-->(on_parcel)  OPTIONAL MATCH (i)-[:HAS_PROVIDER]->(provider:Group) OPTIONAL MATCH (provider)-[c:CANCELED]->(i)  WITH DISTINCT i, creator, on_property, on_parcel, parent_property, patches, collect(DISTINCT [provider, c]) AS providers  OPTIONAL MATCH (i)-[:HAS_CUSTOMER]->(customer:Group)  RETURN DISTINCT i AS intervention, on_property, on_parcel, parent_property, creator, providers, collect(DISTINCT customer) AS customers, patches  SKIP 0 LIMIT 20
redis-graph_1     | 
redis-graph_1     | ------ FAST MEMORY TEST ------
redis-graph_1     | 1:M 31 Aug 2020 14:50:23.716 # Bio thread for job type #0 terminated
redis-graph_1     | 1:M 31 Aug 2020 14:50:23.716 # Bio thread for job type #1 terminated
redis-graph_1     | 1:M 31 Aug 2020 14:50:23.716 # Bio thread for job type #2 terminated
redis-graph_1     | *** Preparing to test memory region 5627e3495000 (2277376 bytes)
redis-graph_1     | *** Preparing to test memory region 5627e43f3000 (270336 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7e18000000 (3158016 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7e1c000000 (2416640 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7e20000000 (2478080 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7e24000000 (2220032 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7e28000000 (135168 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7e2d500000 (9437184 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7e2e000000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7e2e800000 (4194304 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7e2ee00000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7e2f600000 (4194304 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7e2fc00000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7e30400000 (4194304 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7e3082b000 (9437184 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7e3112c000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7e3192d000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7e3212e000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7e3292f000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7e33130000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7e33931000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7e34132000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7e34933000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7e35134000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7e35935000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7e369fc000 (16384 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7e36a00000 (8388608 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7e37385000 (16384 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7e37546000 (24576 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7e37569000 (16384 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7e37852000 (16384 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7e37a7a000 (8192 bytes)
redis-graph_1     | *** Preparing to test memory region 7f7e37aa7000 (4096 bytes)
redis-graph_1     | .O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.files_redis-graph_1 exited with code 139

@Sceat Thanks for the RDB, it's very helpful!

I believe that the root issue of these various crashes is a logical flaw in determining whether nodes in OPTIONAL MATCH clauses have been found and how they may be reused. We're forming faulty constructions like:

29) "                            Argument"
30) "                            Conditional Traverse | (assign:Assign)->(on_parcel:Parcel)"
31) "                                All Node Scan | (assign)"
32) "                                    Argument"

But assign is a node which should have been resolved by the traversal constructed by:

OPTIONAL MATCH (manager)<--(assign:Assign)<--(u)

I've begun working on a fix to this, and will update here when it's resolved. None of the queries presented in this issue cause crashes on master for my machine currently (though one causes an invalid memory access), but I'm not certain about the correctness of their results.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

m4g005 picture m4g005  路  9Comments

kkonevets picture kkonevets  路  3Comments

esokullu picture esokullu  路  3Comments

K-Jo picture K-Jo  路  9Comments

m4g005 picture m4g005  路  3Comments