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

Crash during test #12

Open
niamtokik opened this issue Sep 9, 2023 · 0 comments
Open

Crash during test #12

niamtokik opened this issue Sep 9, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@niamtokik
Copy link
Owner

cozolib_c is crashing during a test.

thread '<unnamed>' panicked at 'index out of bounds: the len is 0 but the index is 0', cozo-core/src/fixed_rule/algos/all_pairs_shortest_path.rs:80:24
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5
Aborted

when executing this test:

?IQUERY_LOG(Db, "centrality[code, score] <~ BetweennessCentrality(*route[a, b])"
  "?[code, desc, score] := centrality[code, score], *airport{code, desc}"
  ":limit 10;"
  ":order -score"),
@niamtokik niamtokik added the bug Something isn't working label Sep 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant