Skip to content

Qt build crashes on opening assembly: assertion failed in FindById #1668

@dadoprom

Description

@dadoprom

I’ve just compiled SolveSpace from the latest commits and the Qt version crashes when opening my assembly project.

On startup of the project, SolveSpace-Qt shows this error message:

File ./src/dsc.h, line 506, function FindById:
Assertion failed: t != nullptr.
Message: Cannot find handle.

After clicking OK, the application immediately closes.

Important notes:
The same project opens and works correctly in the GTK version.
It also worked in a previous Qt build (until the latest updates).
The crash happens only when opening this assembly.

Let me know if you need the project file.

I compiled with this command:
cmake .. -DCMAKE_BUILD_TYPE=Release -DENABLE_OPENMP=ON -DENABLE_LTO=ON -DUSE_QT_GUI=ON

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