sep2 opened a new issue, #395:
URL: https://github.com/apache/age/issues/395
**Describe the bug**
A segmentation fault is occured when query.
**How are you accessing AGE (Command line, driver, etc.)?**
JDBC
**What data setup do we need to do?**
```pgsql
select create_graph('graph');
select *
from cypher('graph', $$
create (n:Project {name: 'Project A'}),
(m:Project {name: 'Project B'}),
(a:Task {name: 'Task A', size: 10}),
(b:Task {name: 'Task B', size: 5}),
(c:Task {name: 'Task C', size: 7}),
(x:Person {name: 'John', age: 55}),
(y:Person {name: 'Bob', age: 43}),
(z:Person {name: 'Alice', age: 33}),
(n)-[:Has]->(a),
(n)-[:Has]->(b),
(m)-[:Has]->(c),
(a)-[:AssignedTo]->(x),
(b)-[:AssignedTo]->(y),
(c)-[:AssignedTo]->(y)
$$) as (n agtype);
```
**What is the command that caused the error?**
```pgsql
SELECT * FROM ag_catalog.cypher('graph', $$
match (p:Project)-[:Has]->(t:Task)-[:AssignedTo]->(u:Person)
with distinct t, {tn: t.name, user: collect(u)} as task
with distinct p, {pn: p.name, task: collect(task)} as project
return project
$$) as (p agtype);
```
```
LOG: server process (PID 224) was terminated by signal 11: Segmentation
fault
```
**Expected behavior**
Should not terminate the server.
**Environment (please complete the following information):**
- Version: [e.g. 1.1.0]
**Additional context**
None.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]