https://bugs.linaro.org/show_bug.cgi?id=1168

            Bug ID: 1168
           Summary: odp_schedule test can create more threads than
                    ODP_CONFIG_MAX_THREADS
           Product: OpenDataPlane
           Version: 0.9
          Hardware: All
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: ---
         Component: Validation
          Assignee: mike.hol...@linaro.org
          Reporter: geoffrey.bl...@arm.com
                CC: lng-odp@lists.linaro.org

Overview: More detailed restatement of summary.

Steps to Reproduce: Minimized, easy-to-follow steps that will trigger the bug.
Include any special setup steps.
1. Clone ODP repository on machine with at least 16 threads
2. Run odp_schedule validation test
3. Will fail with an assert triggered at odp_thread.c:76
...

Actual Results: Validation test fails

Expected Results: Test should pass as at no one time does the application spawn
more than ODP_CONFIG_MAX_THREADS.

Additional Information:  The bug is caused by the thread id counter in
odp_thread.c increasing monotonically regardless of when threads are spawned
and joined, so eventually an application that creates and destroys threads in
ODP with hit the ODP_CONFIG_MAX_THREADS limit and crash.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to