I ran into the same issue on our side and after a quick look, this is kind of 
expected.
By setting a period to a time duration smaller than the resolution, the 
probability is very high that this would happen

Example:
Get tick => N
Time out = Tick + Period = N + 0 = N
== New tick ==
set_abs_timeout => Timeout < Tick => Error

On a regular Workstation without any specific configuration? I get this issue 
with period = 5 * resolution but it seems OK afterward.
I guess with the right Kernel settings, it shouldn't happen, as long as period 
>= resolution.

Nicolas

On 04/09/2015 07:17 PM, bugzilla-dae...@bugs.linaro.org wrote:
> Bug ID        1449 <https://bugs.linaro.org/show_bug.cgi?id=1449>
> Summary       odp_timer_test core dump
> Product       OpenDataPlane
> Version       1.0.2
> Hardware      Other
> OS    Linux
> Status        UNCONFIRMED
> Severity      normal
> Priority      ---
> Component     Timers
> Assignee      ola.liljed...@linaro.org
> Reporter      mike.hol...@linaro.org
> CC    lng-odp@lists.linaro.org
>
> ./odp_timer_test -p 5
>
>
> ....
> ...
> odp_timer_test.c:93:test_abs_timeouts():  [4] period 0 ticks,  5000 ns
> odp_timer_test.c:96:test_abs_timeouts():  [4] current tick 0
> odp_timer_test.c:93:test_abs_timeouts():  [3] period 0 ticks,  5000 ns
> odp_timer_test.c:96:test_abs_timeouts():  [3] current tick 0
> odp_timer_test.c:156:test_abs_timeouts():  [6] timeout, tick 0
> odp_timer_test.c:121:test_abs_timeouts(): odp_timer_set_abs() failed: too 
> early
> odp_timer_test.c:156:test_abs_timeouts():  [4] timeout, tick 0
> Aborted (core dumped)
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> You are receiving this mail because:
>
>   * You are on the CC list for the bug.
>
>
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> https://lists.linaro.org/mailman/listinfo/lng-odp


_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to