Skip to content

[BUG] Full GDSmith batch intermittently segfaults after repeated binder errors #211

@d1zzy126

Description

@d1zzy126

Describe the bug
Replaying one preserved GDSmith batch can eventually crash the NeuG worker process with signal 11 after a repeatable error cascade. Before the segfault, the same batch consistently produces repeated multi-label create failures, repeated schema-violation binder failures, Unsupported operator type for alias management: 17, and unordered_map::at.

Execution Logs
An upstream-friendly reproducer is available here:

https://gist.github.com/d1zzy126/4f61755360c8948f7d49759e541e01a1

It contains repro.py and batch.log, and can be run with:

python repro.py batch.log

The strongest local trigger path replays the batch once in the parent process and then replays it again in a forked child process.

Expected behavior
Even if the batch contains unsupported statements, NeuG should return normal query errors and keep the worker process alive.

Error Message
Observed precursor sequence from the original worker crash and local replay:

Create node n0 with multiple node labels is not supported
...
Query node ... violates schema
...
Unsupported operator type for alias management: 17
...
unordered_map::at
...
Received signal 11

The final signal 11 is still intermittent rather than strictly deterministic, but this replay path has reproduced the same crash locally.

Metadata

Metadata

Labels

bugSomething isn't working

Type

Projects

Status

To do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions