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

***Buffer overflow detected*** while running PipelineTest on v2.3.0 #1107

Open
bouk opened this issue Feb 14, 2024 · 2 comments
Open

***Buffer overflow detected*** while running PipelineTest on v2.3.0 #1107

bouk opened this issue Feb 14, 2024 · 2 comments

Comments

@bouk
Copy link
Contributor

bouk commented Feb 14, 2024

Describe the bug

Hi, I'm trying to package v2.3.0 for nixpkgs, but I'm running into a 'Buffer overflow detected' during the PipelineTest when running ctest. Strangely this only happens on x86_64-linux and aarch64-linux, not on aarch64-darwin.

I've attached the complete build logs, please let me know if there's more issues.

Expected behavior

There's no crash

Logs

I've pasted the logs in a gist: https://gist.github.com/bouk/a8450bf8d88b9b3f20a33a44ef411d91

Desktop (please complete the following information):

  • OS: Linux 6.1.60 #1-NixOS SMP PREEMPT_DYNAMIC Wed Oct 25 10:03:17 UTC 2023 x86_64 GNU/Linux
  • Version: v2.3.0
  • GCC: v13.2.0
@cdcseacave
Copy link
Owner

Strange, indeed. Can you pls run the test in Debug mode so we can see where it crashes?

@bouk
Copy link
Contributor Author

bouk commented Feb 22, 2024

Good suggestion. Here's the log when building in debug:

17:34:24 [App     ] Camera model loaded: platform 0; camera  0; f 1.051x1.051; poses 4
17:34:24 [App     ] Image loaded   0: 00000.jpg
17:34:24 [App     ] Image loaded   1: 00001.jpg
17:34:24 [App     ] Image loaded   2: 00002.jpg
17:34:24 [App     ] Image loaded   3: 00003.jpg
17:34:24 [App     ] Scene loaded from interface format (1ms):
        4 images (4 calibrated) with a total of 1.17 MPixels (0.29 MPixels/image)
        2663 points, 0 vertices, 0 faces
17:34:24 [App     ] K1 =
  672.6200     0.0000   312.1680
    0.0000   672.6200   226.7120
    0.0000     0.0000     1.0000

17:34:24 [App     ] K3 =
  672.6200     0.0000   312.1680
    0.0000   672.6200   226.7120
    0.0000     0.0000     1.0000

17:34:24 [App     ] K2 =
  672.6200     0.0000   312.1680
    0.0000   672.6200   226.7120
    0.0000     0.0000     1.0000

17:34:24 [App     ] K0 =
  672.6200     0.0000   312.1680
    0.0000   672.6200   226.7120
    0.0000     0.0000     1.0000

17:34:24 [App     ] Preparing images for dense reconstruction completed: 4 images (8ms)
17:34:24 [App     ] Reference image   3 sees 3 views:   1(1007pts,0.99scl)   0(763pts,0.97scl)   2(1295pts,1.01scl) (1525 shared points)
17:34:24 [App     ] Reference image   0 sees 3 views:   2(999pts,1.05scl)   3(762pts,1.04scl)   1(1344pts,1.02scl) (1559 shared points)
17:34:24 [App     ] Reference image   1 sees 3 views:   3(1007pts,1.01scl)   2(1431pts,1.02scl)   0(1345pts,0.98scl) (2049 shared points)
17:34:24 [App     ] Reference image   2 sees 3 views:   0(1000pts,0.96scl)   1(1431pts,0.98scl)   3(1295pts,0.99scl) (1999 shared points)
17:34:24 [App     ] Selecting images for dense reconstruction completed: 4 images (5ms)
Estimated depth-maps 1 (25.00%, 9s, ETA 28s)...
Estimated depth-maps 2 (50.00%, 18s, ETA 18s)...
Estimated depth-maps 3 (75.00%, 27s, ETA 9s)... Tests: /build/source/libs/MVS/DepthMap.cpp:648: void MVS::DepthEstimator::ProcessPixel(SEACAVE::IDX): Assertion `ISEQUAL(norm(normalMap0(nx)), 1.f)' failed.
Aborted

void MVS::DepthEstimator::ProcessPixel(SEACAVE::IDX): Assertion ISEQUAL(norm(normalMap0(nx)), 1.f)' failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants