Skip to content

StackOverflow during transitive paths over unbound attributes #211

@quoll

Description

@quoll

The following causes the reduce function in asami.common-index/*stream-from to lead to a stack overflow when given the included data.

(asami/q
         '[:find ?uuid ?observable ?indicator
           :in $ ?uuid
           :where
           [?resolve :uuid ?uuid]
           [?resolve :result ?bundle]
           [?bundle :indicators ?indicators]
           [?indicators :tg/contains ?indicator]
           [?indicator :id ?indicator-id]
           [?investigate :type "investigate"]
           [?investigate :arg ?observable]
           [?investigate ?whatever+ ?relationship]
           [?relationship :target_ref ?indicator-id]]
         (asami/connect db-uri)
         "f038d6ca-82cf-40a6-8626-6910da11cbce")

asami.data.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions