crash in pthread umtx_op
Howard Su
howard0su at gmail.com
Sun Nov 10 15:12:34 UTC 2013
click send too quick.
The attached is a simple repro code which can consistant repro a crash
related signal deliver and mutex/cond operation.
repro steps:
1. compile the test.c with the following command:
clang -g test.c -lpthread
2. run ./a.out
3. press ctrl-C when "Enter" is displayed. in other words, send SIGINT when
thread is in pthread_cond_timedwait.
4. crash
Seems this is problem related to pthread or signal deliver, which exceeds
my skill to debug. I need help.
I notice this when I was play with dtrace arm port from gonozo. the _sleep
function is a simpler version of dtrace_sleep in libdtrace. In case you
need more details, please refer that file @
cddl/contrib/opensolaris/lib/libdtrace/dt_work.c.
On Sun, Nov 10, 2013 at 11:09 PM, Howard Su <howard0su at gmail.com> wrote:
> The attached is a simple repro code which can consistant repro a crash
> related signal deliver and mutex/cond operation.
>
> repro steps:
> 1. compile the test.c with the following command:
>
>
> I notice this when I was play with dtrace arm port from gonozo.
>
> --
> -Howard
>
--
-Howard
More information about the freebsd-arm
mailing list