You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running this test with taskset -c 1 ./UNIT_Server_TEST to limit physical threads can help to reproduce this problem (on one of my set-ups it shoots 1:10)
I guess it's related to #1240
Due to it can't join the tread which was created to send notifications
I guess I'll try to deep dive in it, but code looks quite convoluted here
For automation I'm using for i in {1..101}; do echo "Iteration: $i"; taskset -c 1 ./UNIT_Server_TEST || break ; done but once I had almost 100 runs in a row w/o deadlock.
But in generally it blocks inside ServerPrivate destructor, when it trying to join threads. Initially it was deadlock on an aux. tread which calling stop on service call. W/O it it hangs on joining worker threads.
I tried to make some fixes but seems logic inside is quite convoluted. Maybe you have some initial design description or something?
Environment
gz-sim9
branchDescription
UNIT_Server_TEST
'sServerRepeat/ServerFixture.ServerConfigSensorPlugin/0
test should pass on Ubuntu noble Jenkins CISteps to reproduce
Check gz-sim9 ubuntu noble CI build, e.g https://build.osrfoundation.org/job/gz_sim-ci-gz-sim9-noble-amd64/6
Output
The text was updated successfully, but these errors were encountered: