Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 2013 12:16:01 +0800
From:      Howard Su <howard0su@gmail.com>
To:        Adrian Chadd <adrian@freebsd.org>, freebsd-arm@freebsd.org
Subject:   Re: crash in pthread umtx_op
Message-ID:  <CAAvnz_oJWH1n9C7bT8gS%2BNWTmYdZrm2xZq%2BySif%2BrBw3JFHTDw@mail.gmail.com>
In-Reply-To: <CAJ-Vmo=NjSTyMRiVUqqoYRP8xJ-K9HO4h9_d3h%2BVsb=k%2B0d_nQ@mail.gmail.com>
References:  <CAAvnz_qg%2BvK9mF-sh2GNTQatc_Z9rbQ5fXECkPtHVi-SGoyqcg@mail.gmail.com> <CAAvnz_rWOOy9ShWQRpLeYm_66MK%2BCUMkP5H6eyn05eydPY=zkg@mail.gmail.com> <CAJ-Vmo=NjSTyMRiVUqqoYRP8xJ-K9HO4h9_d3h%2BVsb=k%2B0d_nQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 11, 2013 at 11:20 AM, Adrian Chadd <adrian@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@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@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@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
>



-- 
-Howard



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAvnz_oJWH1n9C7bT8gS%2BNWTmYdZrm2xZq%2BySif%2BrBw3JFHTDw>