[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#952464: clazy: flaky arm64 autopkgtest: unable to execute command: Segmentation fault



In data martedì 25 febbraio 2020 22:05:21 CET, Paul Gevers ha scritto:
> On 25-02-2020 20:41, Pino Toscano wrote:
> > The test is not flaky.
> 
> I can see why you say that now, but from my PoV (the release team) it is.

As I wrote, the conditions for this test to fail in the way it was
reported in bug are not definitely how a release is:

| Putting all the pieces together: why the autopkgtest can fail?
| The answer is simple: the version of src:llvm-defaults in the
| environment of the test is different than the one used to build clazy.

This is either:
- temporary, like what happens with the src:llvm-defaults bump to a
  newer LLVM version with rebuilds related to that (including clazy)
- a big problem for the Debian release altogether, because it would mean
  that src:llvm-defaults is stuck in unstable for any reason, while
  things built with it migrate happily to testing

> > Although, as I said, the issue "fixed itself" until the next
> > src:llvm-defaults switch, this is slightly less problematic.
> 
> llvm-defaults and gcc-10 were blocked for some days by the clazy
> regression on arm64. Can you explain why gcc-10 wasn't blocked by this
> issue on amd64? Also, the failures on arm64 started before the
> llvm-defaults upload [1] blocking glibc for some days. Do you also
> understand that?
> 
> [1]
> https://ci.debian.net/data/autopkgtest/testing/arm64/c/clazy/4223149/log.gz

Let's check this:

[FAIL] old-style-connect (Failed to build test. Check old-style-connect/namespaces.cpp.out for details)
-------------------
Contents of old-style-connect/namespaces.cpp.out:
In file included from old-style-connect/namespaces.cpp:2:
old-style-connect/namespaces.h:22:9: warning: Old Style Connect [-Wclazy-old-style-connect]
        connect(obj, SIGNAL(signal1()), obj1, SIGNAL(signal1()));
        ^            ~~~~~~~~~~~~~~~~~        ~~~~~~~~~~~~~~~~~
                     &Foo::Bar::signal1       &Foo::Bar::signal1
old-style-connect/namespaces.cpp:32:5: warning: Old Style Connect [-Wclazy-old-style-connect]
    QObject::connect(o1, SIGNAL(signal1()), o1, SLOT(slot1())); // Warning
    ^                    ~~~~~~~~~~~~~~~~~      ~~~~~~~~~~~~~
                         &MyObj::signal1        &MyObj::slot1
old-style-connect/namespaces.cpp:33:5: warning: Old Style Connect [-Wclazy-old-style-connect]
    QObject::connect(o1, SIGNAL(signal1()), o2, SLOT(separateNSSlot())); // Warning
    ^                    ~~~~~~~~~~~~~~~~~      ~~~~~~~~~~~~~~~~~~~~~~
                         &MyObj::signal1        &MyObj2::separateNSSlot
old-style-connect/namespaces.cpp:42:5: warning: Old Style Connect [-Wclazy-old-style-connect]
    QObject::connect(o1, SIGNAL(signal1()), o1, SLOT(slot1())); // Warning
    ^                    ~~~~~~~~~~~~~~~~~      ~~~~~~~~~~~~~
                         &Foo::MyObj::signal1   &Foo::MyObj::slot1
old-style-connect/namespaces.cpp:43:5: warning: Old Style Connect [-Wclazy-old-style-connect]
    QObject::connect(o1, SIGNAL(signal1()), o2, SLOT(separateNSSlot())); // Warning
    ^                    ~~~~~~~~~~~~~~~~~      ~~~~~~~~~~~~~~~~~~~~~~
                         &Foo::MyObj::signal1   &Foo::MyObj2::separateNSSlot
5 warnings generated.
/usr/bin/ld: cannot find -lgcc_s
clang: error: linker command failed with exit code 1 (use -v to see invocation)

This looks to me like bug #951086 of src:gcc-10, which was indeed a
legit bug in gcc-10. Also, this is a totally different case than the
build log posted when opening this bug.

-- 
Pino Toscano

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: