Crash encountered about properties() in RETURN
gkorland opened this issue · comments
ref: RedisGraph/RedisGraph#3200
I execute a query on my RedisGraph and get a crash.
Redis version:7.2.0
RedisGraph version: v2.12.10
operating system: windows 11
API:Cypher version 9
query: OPTIONAL MATCH (n0)-[r0]-(n1:L2) MERGE (n2 :L4)<-[r2 :T1]-() RETURN *,properties(r0{.k})
error message:"Reached the max retries per request limit (which is 1). Refer to "maxRetriesPerRequest" option for details."
Actual behavior:
The query failed and the redisgraph container exited abnormally with the error message.
=== REDIS BUG REPORT START: Cut & paste starting from here ===
116630:M 28 Oct 2023 19:02:57.297 # === ASSERTION FAILED ===
116630:M 28 Oct 2023 19:02:57.297 # ==> /home/guy/workspace/FalkorDB/src/value.c:374 '0' is not true
------ STACK TRACE ------
Backtrace:
./bin/linux-x64-debug/src/falkordb.so(SIValue_ToString+0x53b)[0x7fec2024f424]
./bin/linux-x64-debug/src/falkordb.so(Map_ToString+0x3b0)[0x7fec1ffb407b]
./bin/linux-x64-debug/src/falkordb.so(SIValue_ToString+0x3a3)[0x7fec2024f28c]
./bin/linux-x64-debug/src/falkordb.so(+0x5941ef)[0x7fec201941ef]
./bin/linux-x64-debug/src/falkordb.so(+0x5939dc)[0x7fec201939dc]
./bin/linux-x64-debug/src/falkordb.so(ResultSet_EmitVerboseRow+0x7e)[0x7fec201943af]
./bin/linux-x64-debug/src/falkordb.so(ResultSet_Reply+0x26e)[0x7fec20197cda]
./bin/linux-x64-debug/src/falkordb.so(+0x3877d9)[0x7fec1ff877d9]
./bin/linux-x64-debug/src/falkordb.so(+0x648b03)[0x7fec20248b03]
/lib/x86_64-linux-gnu/libc.so.6(+0x8f6ba)[0x7fec2308f6ba]
/lib/x86_64-linux-gnu/libc.so.6(+0x11e0d0)[0x7fec2311e0d0]