Daniel Sanders via llvm-dev
2015-Oct-02 22:33 UTC
[llvm-dev] buildbot failure in LLVM on clang-cmake-mips
Thanks. From the debugging I've done so far it looks like it could be another 32-bit big-endian specific bug. It seems to be segfaulting in the memset() in allocate_stack.c (from glib) because given stack pointer is null. I'm guessing this is because it read the wrong half of a 64-bit value somewhere but I haven't identified where it goes wrong. ________________________________________ From: Evgenii Stepanov [eugeni.stepanov at gmail.com] Sent: 02 October 2015 22:26 To: Daniel Sanders Cc: David Blaikie; llvm-dev at lists.llvm.org; Konstantin Serebryany Subject: Re: buildbot failure in LLVM on clang-cmake-mips This is quite sad as we can't reliably fix this case with the static asan runtime. I've disabled the test on mips. On Fri, Oct 2, 2015 at 2:21 AM, Daniel Sanders <Daniel.Sanders at imgtec.com> wrote:> I've just noticed that this is a new test added in r248325 and has never > passed on this builder. Added the author of the test (Evgeniy). > > > > From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of Daniel > Sanders via llvm-dev > Sent: 01 October 2015 20:34 > To: David Blaikie > Cc: llvm-dev > Subject: Re: [llvm-dev] buildbot failure in LLVM on clang-cmake-mips > > > >> > I do. I'll take a look. >> > >> > Is there a way for owners to get emails for long-lasting failures? >> >> I'm not sure what the generic setup is, but at least for the builder/slave >> I admin, it emails me on every failure. So I get a lot of mail, >> continuously, >> if there's a consistent failure. > > Ok, I'll see if I can get mine to do the same. > > ________________________________ > > From: David Blaikie [dblaikie at gmail.com] > Sent: 01 October 2015 20:19 > To: Daniel Sanders > Cc: llvm-dev > Subject: Re: buildbot failure in LLVM on clang-cmake-mips > > > > > > On Thu, Oct 1, 2015 at 12:08 PM, Daniel Sanders <Daniel.Sanders at imgtec.com> > wrote: > > I do. I'll take a look. > > Is there a way for owners to get emails for long-lasting failures? > > > > I'm not sure what the generic setup is, but at least for the builder/slave I > admin, it emails me on every failure. So I get a lot of mail, continuously, > if there's a consistent failure. > > - Dave > > > > ________________________________ > > From: David Blaikie [dblaikie at gmail.com] > Sent: 01 October 2015 18:55 > To: llvm-dev; Daniel Sanders > Subject: Fwd: buildbot failure in LLVM on clang-cmake-mips > > This buildbot has been failing for over a week straight ( > http://lab.llvm.org:8011/builders/clang-cmake-mips/builds/9387 ) - does > anyone know/care about it? > > ---------- Forwarded message ---------- > From: <llvm.buildmaster at lab.llvm.org> > Date: Wed, Sep 30, 2015 at 7:49 PM > Subject: buildbot failure in LLVM on clang-cmake-mips > To: Adrian Prantl <aprantl at apple.com>, Ahmed Bougacha > <ahmed.bougacha at gmail.com>, Bob Wilson <bob.wilson at apple.com>, David Blaikie > <dblaikie at gmail.com>, Davide Italiano <davide at freebsd.org>, Dehao Chen > <dehao at google.com> > Cc: gkistanova at gmail.com > > > The Buildbot has detected a new failure on builder clang-cmake-mips while > building llvm. > Full details are available at: > http://lab.llvm.org:8011/builders/clang-cmake-mips/builds/9538 > > Buildbot URL: http://lab.llvm.org:8011/ > > Buildslave for this Build: mips-kl-m001 > > Build Reason: scheduler > Build Source Stamp: [branch trunk] 248976 > Blamelist: ab,adrian,bwilson,davide,dblaikie,dehao > > BUILD FAILED: failed ninja check 1 > > sincerely, > -The Buildbot > > > > >
Evgenii Stepanov via llvm-dev
2015-Oct-02 23:05 UTC
[llvm-dev] buildbot failure in LLVM on clang-cmake-mips
The stack trace look very similar to the original problem on linux/x86, which was due to mismatching symbol versions between pthread_attr_* calls (unintercepted, binding to the default version) and pthread_create (intercepted, binding to the lowest version through dlsym). On Fri, Oct 2, 2015 at 3:33 PM, Daniel Sanders <Daniel.Sanders at imgtec.com> wrote:> Thanks. From the debugging I've done so far it looks like it could be another 32-bit big-endian specific bug. It seems to be segfaulting in the memset() in allocate_stack.c (from glib) because given stack pointer is null. I'm guessing this is because it read the wrong half of a 64-bit value somewhere but I haven't identified where it goes wrong. > ________________________________________ > From: Evgenii Stepanov [eugeni.stepanov at gmail.com] > Sent: 02 October 2015 22:26 > To: Daniel Sanders > Cc: David Blaikie; llvm-dev at lists.llvm.org; Konstantin Serebryany > Subject: Re: buildbot failure in LLVM on clang-cmake-mips > > This is quite sad as we can't reliably fix this case with the static > asan runtime. > I've disabled the test on mips. > > > On Fri, Oct 2, 2015 at 2:21 AM, Daniel Sanders > <Daniel.Sanders at imgtec.com> wrote: >> I've just noticed that this is a new test added in r248325 and has never >> passed on this builder. Added the author of the test (Evgeniy). >> >> >> >> From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of Daniel >> Sanders via llvm-dev >> Sent: 01 October 2015 20:34 >> To: David Blaikie >> Cc: llvm-dev >> Subject: Re: [llvm-dev] buildbot failure in LLVM on clang-cmake-mips >> >> >> >>> > I do. I'll take a look. >>> > >>> > Is there a way for owners to get emails for long-lasting failures? >>> >>> I'm not sure what the generic setup is, but at least for the builder/slave >>> I admin, it emails me on every failure. So I get a lot of mail, >>> continuously, >>> if there's a consistent failure. >> >> Ok, I'll see if I can get mine to do the same. >> >> ________________________________ >> >> From: David Blaikie [dblaikie at gmail.com] >> Sent: 01 October 2015 20:19 >> To: Daniel Sanders >> Cc: llvm-dev >> Subject: Re: buildbot failure in LLVM on clang-cmake-mips >> >> >> >> >> >> On Thu, Oct 1, 2015 at 12:08 PM, Daniel Sanders <Daniel.Sanders at imgtec.com> >> wrote: >> >> I do. I'll take a look. >> >> Is there a way for owners to get emails for long-lasting failures? >> >> >> >> I'm not sure what the generic setup is, but at least for the builder/slave I >> admin, it emails me on every failure. So I get a lot of mail, continuously, >> if there's a consistent failure. >> >> - Dave >> >> >> >> ________________________________ >> >> From: David Blaikie [dblaikie at gmail.com] >> Sent: 01 October 2015 18:55 >> To: llvm-dev; Daniel Sanders >> Subject: Fwd: buildbot failure in LLVM on clang-cmake-mips >> >> This buildbot has been failing for over a week straight ( >> http://lab.llvm.org:8011/builders/clang-cmake-mips/builds/9387 ) - does >> anyone know/care about it? >> >> ---------- Forwarded message ---------- >> From: <llvm.buildmaster at lab.llvm.org> >> Date: Wed, Sep 30, 2015 at 7:49 PM >> Subject: buildbot failure in LLVM on clang-cmake-mips >> To: Adrian Prantl <aprantl at apple.com>, Ahmed Bougacha >> <ahmed.bougacha at gmail.com>, Bob Wilson <bob.wilson at apple.com>, David Blaikie >> <dblaikie at gmail.com>, Davide Italiano <davide at freebsd.org>, Dehao Chen >> <dehao at google.com> >> Cc: gkistanova at gmail.com >> >> >> The Buildbot has detected a new failure on builder clang-cmake-mips while >> building llvm. >> Full details are available at: >> http://lab.llvm.org:8011/builders/clang-cmake-mips/builds/9538 >> >> Buildbot URL: http://lab.llvm.org:8011/ >> >> Buildslave for this Build: mips-kl-m001 >> >> Build Reason: scheduler >> Build Source Stamp: [branch trunk] 248976 >> Blamelist: ab,adrian,bwilson,davide,dblaikie,dehao >> >> BUILD FAILED: failed ninja check 1 >> >> sincerely, >> -The Buildbot >> >> >> >> >>
Daniel Sanders via llvm-dev
2015-Oct-05 11:07 UTC
[llvm-dev] buildbot failure in LLVM on clang-cmake-mips
That seems to be it, defining ASAN_PTHREAD_CREATE_VERSION to "GLIBC_2.2" fixes the problem. Thanks. I'll re-enable the test and commit a fix for mips shortly.> -----Original Message----- > From: Evgenii Stepanov [mailto:eugeni.stepanov at gmail.com] > Sent: 03 October 2015 00:06 > To: Daniel Sanders > Cc: David Blaikie; llvm-dev at lists.llvm.org; Konstantin Serebryany > Subject: Re: buildbot failure in LLVM on clang-cmake-mips > > The stack trace look very similar to the original problem on > linux/x86, which was due to mismatching symbol versions between > pthread_attr_* calls (unintercepted, binding to the default version) > and pthread_create (intercepted, binding to the lowest version through > dlsym). > > On Fri, Oct 2, 2015 at 3:33 PM, Daniel Sanders > <Daniel.Sanders at imgtec.com> wrote: > > Thanks. From the debugging I've done so far it looks like it could be another > 32-bit big-endian specific bug. It seems to be segfaulting in the memset() in > allocate_stack.c (from glib) because given stack pointer is null. I'm guessing > this is because it read the wrong half of a 64-bit value somewhere but I > haven't identified where it goes wrong. > > ________________________________________ > > From: Evgenii Stepanov [eugeni.stepanov at gmail.com] > > Sent: 02 October 2015 22:26 > > To: Daniel Sanders > > Cc: David Blaikie; llvm-dev at lists.llvm.org; Konstantin Serebryany > > Subject: Re: buildbot failure in LLVM on clang-cmake-mips > > > > This is quite sad as we can't reliably fix this case with the static > > asan runtime. > > I've disabled the test on mips. > > > > > > On Fri, Oct 2, 2015 at 2:21 AM, Daniel Sanders > > <Daniel.Sanders at imgtec.com> wrote: > >> I've just noticed that this is a new test added in r248325 and has never > >> passed on this builder. Added the author of the test (Evgeniy). > >> > >> > >> > >> From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of > Daniel > >> Sanders via llvm-dev > >> Sent: 01 October 2015 20:34 > >> To: David Blaikie > >> Cc: llvm-dev > >> Subject: Re: [llvm-dev] buildbot failure in LLVM on clang-cmake-mips > >> > >> > >> > >>> > I do. I'll take a look. > >>> > > >>> > Is there a way for owners to get emails for long-lasting failures? > >>> > >>> I'm not sure what the generic setup is, but at least for the builder/slave > >>> I admin, it emails me on every failure. So I get a lot of mail, > >>> continuously, > >>> if there's a consistent failure. > >> > >> Ok, I'll see if I can get mine to do the same. > >> > >> ________________________________ > >> > >> From: David Blaikie [dblaikie at gmail.com] > >> Sent: 01 October 2015 20:19 > >> To: Daniel Sanders > >> Cc: llvm-dev > >> Subject: Re: buildbot failure in LLVM on clang-cmake-mips > >> > >> > >> > >> > >> > >> On Thu, Oct 1, 2015 at 12:08 PM, Daniel Sanders > <Daniel.Sanders at imgtec.com> > >> wrote: > >> > >> I do. I'll take a look. > >> > >> Is there a way for owners to get emails for long-lasting failures? > >> > >> > >> > >> I'm not sure what the generic setup is, but at least for the builder/slave I > >> admin, it emails me on every failure. So I get a lot of mail, continuously, > >> if there's a consistent failure. > >> > >> - Dave > >> > >> > >> > >> ________________________________ > >> > >> From: David Blaikie [dblaikie at gmail.com] > >> Sent: 01 October 2015 18:55 > >> To: llvm-dev; Daniel Sanders > >> Subject: Fwd: buildbot failure in LLVM on clang-cmake-mips > >> > >> This buildbot has been failing for over a week straight ( > >> http://lab.llvm.org:8011/builders/clang-cmake-mips/builds/9387 ) - does > >> anyone know/care about it? > >> > >> ---------- Forwarded message ---------- > >> From: <llvm.buildmaster at lab.llvm.org> > >> Date: Wed, Sep 30, 2015 at 7:49 PM > >> Subject: buildbot failure in LLVM on clang-cmake-mips > >> To: Adrian Prantl <aprantl at apple.com>, Ahmed Bougacha > >> <ahmed.bougacha at gmail.com>, Bob Wilson <bob.wilson at apple.com>, > David Blaikie > >> <dblaikie at gmail.com>, Davide Italiano <davide at freebsd.org>, Dehao > Chen > >> <dehao at google.com> > >> Cc: gkistanova at gmail.com > >> > >> > >> The Buildbot has detected a new failure on builder clang-cmake-mips > while > >> building llvm. > >> Full details are available at: > >> http://lab.llvm.org:8011/builders/clang-cmake-mips/builds/9538 > >> > >> Buildbot URL: http://lab.llvm.org:8011/ > >> > >> Buildslave for this Build: mips-kl-m001 > >> > >> Build Reason: scheduler > >> Build Source Stamp: [branch trunk] 248976 > >> Blamelist: ab,adrian,bwilson,davide,dblaikie,dehao > >> > >> BUILD FAILED: failed ninja check 1 > >> > >> sincerely, > >> -The Buildbot > >> > >> > >> > >> > >>