Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: PR/CI cmake, unit test failures, segfault #5523

Open
tellypresence opened this issue Apr 2, 2024 · 1 comment
Open

Bug: PR/CI cmake, unit test failures, segfault #5523

tellypresence opened this issue Apr 2, 2024 · 1 comment
Labels
Bug Global flag to mark a deviation from expected behaviour Build Global flag to mark build relates topics

Comments

@tellypresence
Copy link
Contributor

tellypresence commented Apr 2, 2024

When submitting PR, checks failing.

g++/win cl.exe seem to fail on cmake:

ubuntu-latest-g++-built-and-test

Build with CMake
⏱ elapsed: 218.823 seconds
Error: "Build failed with error code: '1'."
    at Function.<anonymous> (/home/runner/work/_actions/lukka/run-cmake/v3/dist/index.js:4117:23)
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/work/_actions/lukka/run-cmake/v3/dist/index.js:3870:58)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
Error: run-cmake action execution failed: 'Error: "Build failed with error code: '1'."'

windows-latest-cl.exe-built-and-test

Build with CMake
⏱ elapsed: 152.732 seconds
Error: "Build failed with error code: '1'."
    at Function.<anonymous> (D:\a\_actions\lukka\run-cmake\v3\dist\index.js:4117:23)
    at Generator.next (<anonymous>)
    at fulfilled (D:\a\_actions\lukka\run-cmake\v3\dist\index.js:3870:58)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
Error: run-cmake action execution failed: 'Error: "Build failed with error code: '1'."'

For clang++ looks like there may be a segfault in the runner after some failures

macos-latest-clang++-built-and-test: segfault

Error, T0: Validation failed: A node of the scene-graph is nullptr
/Users/runner/work/assimp/assimp/test/unit/utXImporterExporter.cpp:119: Failure
Expected: (nullptr) != (scene), actual: (nullptr) vs NULL
 [  FAILED  ] utXImporter.TestFormatDetection (0 ms)
...
 Error, T0: Validation failed: A node of the scene-graph is nullptr
/Users/runner/work/assimp/assimp/test/unit/utDXFImporterExporter.cpp:66: Failure
Expected: (nullptr) != (scene), actual: (nullptr) vs NULL
[  FAILED  ] utDXFImporterExporter.importerWithoutExtensionTest (6 ms)
...
 /Users/runner/work/assimp/assimp/test/unit/utObjImportExport.cpp:237: Failure
Value of: differ.isEqual(expected, scene)
  Actual: false
Expected: true
Number of meshes not equal ( expected: 1, found : 0 )
[  FAILED  ] utObjImportExport.obj_import_test (0 ms)
...
 Error, T0: Validation failed: A node of the scene-graph is nullptr
/Users/runner/work/assimp/assimp/test/unit/utObjImportExport.cpp:283: Failure
Value of: differ.isEqual(scene, sceneReImport)
  Actual: false
Expected: true
[  FAILED  ] utObjImportExport.issue1923_vertex_color_Test (4 ms)
...
 Error, T0: Validation failed: A node of the scene-graph is nullptr
/Users/runner/work/assimp/assimp/test/unit/utObjImportExport.cpp:363: Failure
Expected: (nullptr) != (scene), actual: (nullptr) vs NULL
/Users/runner/work/_temp/8348ed48-95cb-44ad-a852-1881124f2e84.sh: line 1:  7028 Segmentation fault: 11  ./unit
Error: Process completed with exit code 139.

ubuntu-latest-clang++-built-and-test: segfault w/coredump:

Error, T0: Validation failed: A node of the scene-graph is nullptr
/home/runner/work/assimp/assimp/test/unit/utObjImportExport.cpp:363: Failure
Expected: (nullptr) != (scene), actual: (nullptr) vs NULL

/home/runner/work/_temp/bb07bc7c-87f3-4381-83de-f067028baf3c.sh: line 1:  3013 Segmentation fault      (core dumped) ./unit
Error: Process completed with exit code 139.
@tellypresence tellypresence added the Bug Global flag to mark a deviation from expected behaviour label Apr 2, 2024
@tellypresence tellypresence changed the title Bug: PR/CI unit test failures Bug: PR/CI unit test failures, segfault Apr 2, 2024
@tellypresence tellypresence changed the title Bug: PR/CI unit test failures, segfault Bug: PR/CI cmake, unit test failures, segfault Apr 2, 2024
@kimkulling
Copy link
Member

I wasn't able to reproduce this one. Do you have a branch where I can check this failure?

@kimkulling kimkulling added the Build Global flag to mark build relates topics label Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Global flag to mark a deviation from expected behaviour Build Global flag to mark build relates topics
Projects
Status: No status
Development

No branches or pull requests

2 participants