LUMIERA.clone/tests/core/steam/engine
Ichthyostega ccb10f3c65 Invocation: chase down insidious use-after-free problem
Just wanted to use a helper function to build a source-data node.
However, the resulting node had a corrupted Node-ID spec.
Investigation with the debugger showed that the ID was still valid
while in construction and shows up corrupted after returning from the
helper function.

As it turned out, the reason is related to the de-duplication of ProcID data.
While the de-duplicated strings themselves are ''not'' affected, the corruption
happened by an intermediate instance of ProcID, which was inadvertently created
and bound by-value to the builder-λ. The created Port then picks up a reference
to this temporary, leading to the use-after-free of the string_view obejcts.

Obviously, `ProcID` must not be instantiated other than through the static
front-end `ProcID::describe`. Due to the private constructor, I can not make this
object non-copyable (because then the hash-set would not be allowed to emplace it).
But making it at least move-only will provoke a compiler error whenever binding
to a lambda capture by value, which hopefully helps to pinpoint this
insidious problem in the future...
2025-02-10 03:15:28 +01:00
..
buffer-metadata-key-test.cpp Copyright: clarify and simplify the file headers 2024-11-17 23:42:55 +01:00
buffer-metadata-test.cpp Copyright: clarify and simplify the file headers 2024-11-17 23:42:55 +01:00
buffer-provider-protocol-test.cpp Copyright: clarify and simplify the file headers 2024-11-17 23:42:55 +01:00
buffer-proxy-provider-test.cpp Invocation: reorg namespace for TestRandOntology 2025-01-06 22:02:09 +01:00
calc-stream-test.cpp Copyright: clarify and simplify the file headers 2024-11-17 23:42:55 +01:00
dispatcher-interface-test.cpp Copyright: clarify and simplify the file headers 2024-11-17 23:42:55 +01:00
engine-interface-test.cpp Copyright: clarify and simplify the file headers 2024-11-17 23:42:55 +01:00
job-hash-test.cpp Copyright: clarify and simplify the file headers 2024-11-17 23:42:55 +01:00
job-planning-pipeline-test.cpp Copyright: clarify and simplify the file headers 2024-11-17 23:42:55 +01:00
job-planning-test.cpp Copyright: clarify and simplify the file headers 2024-11-17 23:42:55 +01:00
mock-dispatcher.cpp Copyright: clarify and simplify the file headers 2024-11-17 23:42:55 +01:00
mock-dispatcher.hpp Copyright: clarify and simplify the file headers 2024-11-17 23:42:55 +01:00
mock-support-test.cpp Copyright: clarify and simplify the file headers 2024-11-17 23:42:55 +01:00
node-base-test.cpp Invocation: rearrange MediaWeavingPattern storage layout 2025-02-03 03:27:06 +01:00
node-builder-test.cpp Invocation: build a DSL to verify connectivity (see #1377) 2025-02-05 00:25:02 +01:00
node-devel-test.cpp Invocation: chase down insidious use-after-free problem 2025-02-10 03:15:28 +01:00
node-feed-test.cpp Invocation: implement support for simple time-based automation 2025-01-05 04:01:39 +01:00
node-link-test.cpp Invocation: also invoke all these nodes 2025-02-09 01:44:45 +01:00
node-meta-test.cpp Invocation: build a DSL to verify connectivity (see #1377) 2025-02-05 00:25:02 +01:00
node-opera-test.cpp Invocation: rearrange the Render Node development tests 2024-12-07 02:17:55 +01:00
node-storage-test.cpp Invocation: rearrange the Render Node development tests 2024-12-07 02:17:55 +01:00
scheduler-interface-test.cpp Copyright: clarify and simplify the file headers 2024-11-17 23:42:55 +01:00
test-rand-ontology.cpp Invocation: reorg namespace for TestRandOntology 2025-01-06 22:02:09 +01:00
test-rand-ontology.hpp Invocation: draft setup for a Test-Node for data-manipulation 2025-02-09 18:04:39 +01:00
testframe-test.cpp Invocation: build test-data manipulation function 2024-11-21 00:50:39 +01:00
testframe.cpp Invocation: implement and test "mixing" of dummy-frames 2024-11-27 15:31:50 +01:00
testframe.hpp Invocation: build test-data manipulation function 2024-11-21 00:50:39 +01:00
timings-test.cpp Copyright: clarify and simplify the file headers 2024-11-17 23:42:55 +01:00
tracking-heap-block-provider-test.cpp Copyright: clarify and simplify the file headers 2024-11-17 23:42:55 +01:00