-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: hwtimer_wait fails on native #715
Comments
Can't reproduce. |
Which branch is this happening on? |
@OlegHahm ping |
RIOT master (Commit is in the Version string. Also occurs in |
Does it happen all the time or just once in a while? |
|
I have the exact same glibc/gcc and it works just fine. |
|
and so on |
can't reproduce problem either: with -O0 or -O3 |
The assumption is that Olegs computer is too fast. I'm investigating it. |
Can reproduce
Default CFLAGS. |
Actually test hwtimer_spin, not hwtimer_arch* Closes: RIOT-OS#715
Actually test hwtimer_spin, not hwtimer_arch* Closes: RIOT-OS#715
Actually test hwtimer_spin, not hwtimer_arch* `hwtimer_wait` calls `hwtimer_spin` only for delays `<= 6`, that's why a pure test_hwtimer_spin test should not pass values `>6`. Closes: RIOT-OS#715
Cross quoting from @Kijewski in #1044 (comment) for reference:
|
Update description since the test has been renamed. (Bug report is still valid.) |
Removed release tag, I don't see how to fix this now, so I won't fix it until tomorrow. |
The problem appears to be lost signals btw. It might be possible that using realtime signals instead (again) fixes this (something about signal queuing), but I could not find in the old issues why I changed to setitimer instead of timer_settime. I think it was something to do with the RIOT POSIX or C++ efforts. |
Tagged for the next release since it might be serious problem. Hence, I want to give it some priority. However, since we haven't really discussed the main goals for the next release, this might be subject to change. |
Any news about this one? |
Did not investigate further. |
Could this related to the problems in #1811? |
Could be, but I think it's a separate issue. |
native: Resurect native/perif/timer and handle #715 (WIP)
The hwtimer_wait test was tortured with the following script which ran several hours. ---- make clean all-debug while : do date ./bin/native/hwtimer_wait.elf > log & pid=$! sleep 20 success=$(cat log|grep success) if [ "$success" != "success" ] then date echo "BUG" exit fi kill $pid done ---- Closes RIOT-OS#715.
tests/test_hwtimer_spintests/test_hwtimer_wait seems to fail on native:and nothing more happens. Works fine on MSB-A2.
The text was updated successfully, but these errors were encountered: