Skip to content

[TS] flatc silently crashing (segmentation fault) #8299

Open

Description

Minimal replication schema:

namespace SomeNamespace;

enum Colour : byte { Red, Green }

struct SubStruct {
    colour: Colour;
}

struct BaseStruct {
    test: SubStruct;
}

When running flatc.exe --ts test.fbs, the command takes a little longer to run than normal and fails to complete. There are no outputs in the console, but the files are not completely generated, and echo %ERRORLEVEL% returns -1073741819. I'm not sure what I'm doing wrong. It seems to be related to the enum in the sub-struct.

OS: Windows 11 Version 10.0.22621 Build 22621
flatc version: 24.3.25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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