Skip to content

BUG: featureExtraction in GPU mode has undefined behavior on completion #437

@ghost

Description

PopSift started to work after #428 was merged, but one of the steps in the pipeline is not working properly yet.

Problem

Expected behavior:
aliceVision_featureExtraction finishes successfully.

Actual behavior:
aliceVision_featureExtraction finishes its chunk of work but it makes individual socks disappear from my laundry and hangs in the PopSift destructor instead of exiting. Sometimes it throws a Boost threading exception instead.

Steps to Reproduce

  1. Extract features with GPGPU acceleration enabled (uncheck “Force CPU extraction” in Meshroom)
  2. Wait for process to exit successfully

Versions

  • AliceVision branch/version: develop a304bdd
  • OS: openSUSE Tumbleweed
  • C++ compiler: GCC 7.3.1+r261272 (NVCC prevents me from using GCC 8). Have been able to reproduce this with GCC 6 and the bundled library versions as well.
  • NVIDIA GeForce GTX 960 (GM206), driver 390.67, CUDA SDK 9.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions