Skip to content

[Bug] (vec-stream-load-json) simdjson throw execption lead to core dump  #11879

@eldenmoon

Description

@eldenmoon

Search before asking

  • I had searched in the issues and found no similar issues.

Version

master

What's Wrong?

when config::enable_simdjson_parser=true in vec streamload, may lead to core dump when json input invalid format string like { "a, or all the fields is null like '{}', this may lead to simdjson lib throw some unhandled expection like Objects and arrays can only be iterated when they are first encountered

What You Expected?

no core

How to Reproduce?

input some invalid json format string

Anything Else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

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