Skip to content

csv_sink_test fails with assert violation #34

@crowbar27

Description

@crowbar27

On VS 2019


Microsoft Visual C++ Runtime Library

Assertion failed!

Program: ...helming_build64\test\Debug\power_overwhelming.dll
File: C:\Users\mueller\source\repos\power...\sensor_..._impl.h
Line: 133

Expression: this->state == sensor_state::value_type::stopped

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts

(Press Retry to debug the application - JIT must be enabled)

Abbrechen Wiederholen Ignorieren

The assertion is the first in

    inline ~sensor_array_impl(void) noexcept {
        assert(this->state == sensor_state::value_type::stopped);
#if (defined(DEBUG) || defined(_DEBUG))
        assert(std::none_of(this->sampler_threads.begin(),
            this->sampler_threads.end(),
            [](std::thread& t) { return t.joinable(); }));
#endif /* (defined(DEBUG) || defined(_DEBUG)) */
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions