Skip to content

Engine: BSD: Address SIGSEGV error on Loading / Creating a Project #778

Description

@thearchivalone

valgrind-log.zip

Description

The editor partially loads the project and then crashes after a few seconds. It immediately crashes after project creation.

Prerequisites

Was on the project selection screen waiting to open a project.

Steps to Reproduce

  1. Build latest source code with CMake.
  2. Install to the SDK build directory using gmake install
  3. Run WorldEditor from inside of install-root/sdk/2024.2/freebsd/x86/bin/ directory
  4. Load up or create new project.

Expected behavior:

Full editor loads.

Actual behavior:

Crashes while loading editor and engine.

Reproducibility:

Consistently.

Versions

Version

Additional Information

I decided to run both gdb and Valgrind to get to the bottom of this. Attached is the Valgrind log.

Note the Invalid write of size 8 on line 400 and then the Address 0x70 is not stack'd on line 413. There's other errors but MaterialInstance::setTransform is the crashing function in both debugger applications.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Next release is blocked by this issue

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Done for Release

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions