Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query crashes in GraphEntity_Keys #3050

Open
yype opened this issue Apr 22, 2023 · 0 comments · May be fixed by #3080
Open

Query crashes in GraphEntity_Keys #3050

yype opened this issue Apr 22, 2023 · 0 comments · May be fixed by #3080

Comments

@yype
Copy link

yype commented Apr 22, 2023

Hi there, I come across the following query that will trigger a crash in RedisGraph v2.10.9 and the latest master branch.
It can be reproduced in the redis-stack docker image.

GRAPH.QUERY graph "CREATE (root:Root {name: 'x'}), (child1:TextNode {var: floor(any(v4 IN [2] WHERE child1 = [root IN keys(root) ]))}),  (child2:IntNode {v0: 0})"

Partial redis crash log:

Redis 6.2.11 crashed by signal: 11, si_code: 1
Accessing address: (nil)
Crashed running the instruction at: 0x7ffff45bcb90

------ STACK TRACE ------
EIP:
/opt/redis-stack/lib/redisgraph.so(GraphEntity_Keys+0x30)[0x7ffff45bcb90]

Backtrace:
/lib/x86_64-linux-gnu/libpthread.so.0(+0x14420)[0x7ffff7af9420]
/opt/redis-stack/lib/redisgraph.so(GraphEntity_Keys+0x30)[0x7ffff45bcb90]
/opt/redis-stack/lib/redisgraph.so(+0x1f44bd)[0x7ffff45884bd]
/opt/redis-stack/lib/redisgraph.so(+0x1f4310)[0x7ffff4588310]
/opt/redis-stack/lib/redisgraph.so(AR_EXP_Evaluate+0xb8)[0x7ffff4588b18]
/opt/redis-stack/lib/redisgraph.so(_applyPredicateFilters+0x3f)[0x7ffff45b374f]
/opt/redis-stack/lib/redisgraph.so(AR_ANY+0x94)[0x7ffff45926a4]
/opt/redis-stack/lib/redisgraph.so(+0x1f44bd)[0x7ffff45884bd]
/opt/redis-stack/lib/redisgraph.so(+0x1f4310)[0x7ffff4588310]
/opt/redis-stack/lib/redisgraph.so(AR_EXP_Evaluate+0xb8)[0x7ffff4588b18]
/opt/redis-stack/lib/redisgraph.so(ConvertPropertyMap+0xa2)[0x7ffff45ab6f2]
/opt/redis-stack/lib/redisgraph.so(+0x21244f)[0x7ffff45a644f]
/opt/redis-stack/lib/redisgraph.so(+0x212979)[0x7ffff45a6979]
/opt/redis-stack/lib/redisgraph.so(+0x20de96)[0x7ffff45a1e96]
/opt/redis-stack/lib/redisgraph.so(ExecutionPlan_Execute+0x50)[0x7ffff459d800]
/opt/redis-stack/lib/redisgraph.so(+0x20402d)[0x7ffff459802d]
/opt/redis-stack/lib/redisgraph.so(+0x250ddf)[0x7ffff45e4ddf]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x8609)[0x7ffff7aed609]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x43)[0x7ffff7a12133]

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant