Skip to content

PipelineTest fails with buffer overflow #1241

@GaetanLepage

Description

@GaetanLepage

Hello,

I'm trying to bump openmvs from 2.2.0 to 2.3.0 is nixpkgs: NixOS/nixpkgs#449277

However, one of the two tests, PipelineTest crashes with buffer overflow detected:

[100%] Built target InterfaceMVSNet
[100%] Built target InterfacePolycam
buildPhase completed in 1 minutes 38 seconds
Running phase: checkPhase
check flags: SHELL=/nix/store/rlq03x4cwf8zn73hxaxnx0zn5q9kifls-bash-5.3p3/bin/bash VERBOSE=y test
Running tests...
/nix/store/w9jm660dykns6hzrdhxmqfywnc9ail8g-cmake-4.1.2/bin/ctest 
Test project /build/source/build
    Start 1: UnitTests
    Start 2: PipelineTest
1/2 Test #1: UnitTests ........................   Passed    0.09 sec
2/2 Test #2: PipelineTest .....................Subprocess aborted***Exception:   1.47 sec
10:34:49 [App     ] Camera model loaded: platform 0; camera  0; f 1.051x1.051; poses 4
10:34:49 [App     ] Scene loaded from interface format (0ms):
	4 images (4 calibrated) with a total of 1.17 MPixels (0.29 MPixels/image)
	2663 points, 0 vertices, 0 faces
10:34:49 [App     ] Preparing images for dense reconstruction completed: 4 images (4ms)
10:34:49 [App     ] Selecting images for dense reconstruction completed: 4 images (0ms)
*** buffer overflow detected ***: terminated
 
 
50% tests passed, 1 tests failed out of 2
 
Total Test time (real) =   1.47 sec
 
The following tests FAILED:
	  2 - PipelineTest (Subprocess aborted)
Errors while running CTest
make: *** [Makefile:71: test] Error 8

Could it be caused by the fact that we are building openmvs in the nix sandbox?

Thanks in advance for your help :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions