Skip to content

[BUG] Intermittent crash in streaming integration tests #1264

Description

@bkeryan

Bug Report

IntegerationTestsRunner.exe intermittently crashes in NiFakeDAQmxStreamingTests or NiFakeFpgaStreamingTests.

Repro or Code Sample

debug\IntegrationTestsRunner.exe --gtest_filter=NiFake*StreamingTests.* --gtest_repeat=-1

Expected Behavior

Test pass, no crash

Current Behavior

Repeating all tests (iteration 68) . . .

Note: Google Test filter = NiFake*StreamingTests.*
[==========] Running 8 tests from 2 test suites.
[----------] Global test environment set-up.
[----------] 4 tests from NiFakeDAQmxStreamingTests
[ RUN      ] NiFakeDAQmxStreamingTests.StreamRead_Scalar
[       OK ] NiFakeDAQmxStreamingTests.StreamRead_Scalar (21 ms)
[ RUN      ] NiFakeDAQmxStreamingTests.StreamRead_Array
c:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.44.35207\include\vector(54) : Assertion failed: can't dereference invalidated vector iterator

or

Repeating all tests (iteration 31) . . .

Note: Google Test filter = NiFake*StreamingTests.*
[==========] Running 8 tests from 2 test suites.
[----------] Global test environment set-up.
[----------] 4 tests from NiFakeDAQmxStreamingTests
[ RUN      ] NiFakeDAQmxStreamingTests.StreamRead_Scalar
[       OK ] NiFakeDAQmxStreamingTests.StreamRead_Scalar (21 ms)
[ RUN      ] NiFakeDAQmxStreamingTests.StreamRead_Array
[       OK ] NiFakeDAQmxStreamingTests.StreamRead_Array (19 ms)
[ RUN      ] NiFakeDAQmxStreamingTests.StreamWrite_Array
[       OK ] NiFakeDAQmxStreamingTests.StreamWrite_Array (16 ms)
[ RUN      ] NiFakeDAQmxStreamingTests.StreamReadWrite_Array
[       OK ] NiFakeDAQmxStreamingTests.StreamReadWrite_Array (37 ms)
[----------] 4 tests from NiFakeDAQmxStreamingTests (106 ms total)

[----------] 4 tests from NiFakeFpgaStreamingTests
[ RUN      ] NiFakeFpgaStreamingTests.StreamRead_scalar
[       OK ] NiFakeFpgaStreamingTests.StreamRead_scalar (13 ms)
[ RUN      ] NiFakeFpgaStreamingTests.StreamRead_Array
c:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.44.35207\include\vector(54) : Assertion failed: can't dereference invalidated vector iterator

Your Environment

  • Operating system and version: Windows 11
  • All NI driver versions: none
  • grpc-device version: main

AB#3909647

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