crash in pthread umtx_op

Howard Su howard0su at gmail.com
Mon Nov 11 04:16:02 UTC 2013


On Mon, Nov 11, 2013 at 11:20 AM, Adrian Chadd <adrian at freebsd.org> wrote:

> attachments are stripped; please include it inline or provide a url.
>
> http://hastebin.com/kudowerave.avrasm


>
> -a
>
> On 10 November 2013 07:12, Howard Su <howard0su at gmail.com> wrote:
> > 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
> >
> > _______________________________________________
> > freebsd-arm at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> > To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
>



-- 
-Howard


More information about the freebsd-arm mailing list