Date: Mon, 02 Jan 2017 17:59:07 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-testing@freebsd.org Subject: [Bug 215715] cond_test:cond_timedwait_race crashes with SIGSEGV periodically Message-ID: <bug-215715-32464-kzb5kka4Oz@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-215715-32464@https.bugs.freebsd.org/bugzilla/> References: <bug-215715-32464@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215715 Ngie Cooper <ngie@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kib@FreeBSD.org --- Comment #1 from Ngie Cooper <ngie@FreeBSD.org> --- Looks like an issue with the gettimeofday change when calculating the resul= t of binuptime: Standard output Test case did not write anything to stdout. Standard error Process with PID 7058 exited with signal 11 and dumped core; attempting to gather stack trace [New LWP 100585] [New LWP 100200] [New LWP 100586] [New LWP 100587] [New LWP 100595] [New LWP 100599] [New LWP 100607] Core was generated by `/usr/tests/lib/libthr/cond_test -vunprivileged-user=3Dtests -r/tmp/kyua.e5qVqp/6/r'. Program terminated with signal SIGSEGV, Segmentation fault. #0 __vdso_gettc (th=3D, tc=3D) at /usr/src/svn/lib/libc/x86/sys/__vdso_gettc.c:231 231 *tc =3D *(volatile uint32_t *)(hpet_dev_map + HPET_MAIN_COUNTER); [Current thread is 1 (LWP 100585)] #0 __vdso_gettc (th=3D, tc=3D) at /usr/src/svn/lib/libc/x86/sys/__vdso_gettc.c:231 #1 0x0000000800da3785 in tc_delta (th=3D0x3, delta=3D) at /usr/src/svn/lib/libc/sys/__vdso_gettimeofday.c:43 #2 binuptime (bt=3D, tk=3D, abs=3D1) at /usr/src/svn/lib/libc/sys/__vdso_gettimeofday.c:74 #3 0x0000000800da38b6 in __vdso_clock_gettime (clock_id=3D0, ts=3D0x7fffd= fffdf90) at /usr/src/svn/lib/libc/sys/__vdso_gettimeofday.c:149 #4 0x0000000800da3001 in __clock_gettime (clock_id=3D0, ts=3D0x7fffdfffdf= 90) at /usr/src/svn/lib/libc/sys/clock_gettime.c:46 #5 0x000000000040267d in pthread_cond_timedwait_func (arg=3D) at /usr/src/svn/contrib/netbsd-tests/lib/libpthread/t_cond.c:316 #6 0x0000000800a44ba5 in thread_start (curthread=3D) at /usr/src/svn/lib/libthr/thread/thr_create.c:289 #7 0x0000000000000000 in ?? () Backtrace stopped: Cannot access memory at address 0x7fffdfffe000 GDB exited successfully Files left in work directory after failure: cond_test.core --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215715-32464-kzb5kka4Oz>