-
Notifications
You must be signed in to change notification settings - Fork 221
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
OSAL timer tests may crash on 32-bit Linux #83
Comments
Imported from trac issue 60. Created by glimes on 2015-06-23T11:29:04, last modified: 2015-09-08T12:53:25 |
Trac comment by glimes on 2015-06-23 11:30:17: See TEST ticket [cfs_test:17] with the same title. |
Trac comment by glimes on 2015-06-23 11:55:38: We have five programs that are sometimes failing.
Yes, this is a notes-taking trac ticket, as I expect |
Trac comment by glimes on 2015-06-23 12:34:04: osal_timer_UT: Program being run as root on a VM providing a single 32-bit X86 core running a bare-bones installation of Linux (using Debian 8.1 with expect and strace installed for debugging). The primary output file from the program (ut_ostimer_log.txt) includes its normal end-of-test summary, including the final presentation of individual test results grouped by kind of result. The The The output from {{{ 29969 0.000011 <... nanosleep resumed> 0xb7772308) = 0 29968 0.000019 +++ killed by SIGSEGV (core dumped) +++ Blank lines added at the thread switches. This shows the last time the child receives a tick. Aside from the odd The parent is being shown deleting the timer, flushing the output to the test log, and closing the test log. This confirms that the test program is getting into the The interesting thing to me is that after the Will need to pull a core dump into a debugger to see what is crashing here, but that's going to be a bit painful as this is not crashing on my dev machine, and my test VMs don't have GDB available. Am suspecting misuse of the |
Trac comment by glimes on 2015-06-23 12:45:45: Seemed nonsensical so I installed gdb on the test target. Yep. This SIGSEGV is being delivered while we are in the Need to disable gcov during Bamboo driven builds. |
Trac comment by glimes on 2015-09-08 12:53:25: Three months with gcov disabled and all is well. |
I have seen changes between test runs of the same branch
where sometimes the timer related test programs run OK
and other times when they die with a SIGSEGV.
Test results need to be robust and repeatable. I suspect
that these tests are sensitive to some condition that is
not being adequately controlled on the test targets.
I am making the initial assumption that this is going to
require an update to the test scripts for OSAL, but debugging
is going to require some tinkering inside OSAL to extract
what is going on.
So this bug is being filed in both OSAL and TEST.
The text was updated successfully, but these errors were encountered: