[CRITICAL] KIO Test "threadtest" can enter into infinite loop

Albert Astals Cid aacid at kde.org
Tue Nov 10 23:05:51 UTC 2015


El Tuesday 10 November 2015, a les 19:57:50, Ben Cooksley va escriure:
> On Mon, Nov 9, 2015 at 8:30 PM, David Faure <faure at kde.org> wrote:
> > On Monday 09 November 2015 19:36:09 Ben Cooksley wrote:
> >> On Mon, Nov 9, 2015 at 10:26 AM, Albert Astals Cid <aacid at kde.org> wrote:
> >> > El Saturday 07 November 2015, a les 10:36:18, David Faure va escriure:
> >> >> On Saturday 07 November 2015 11:17:31 Ben Cooksley wrote:
> >> >> > Hi all,
> >> >> > 
> >> >> > It appears the test running with the binary name of "threadtest" in
> >> >> > kio has a grave bug which can lead to it entering into an infinite
> >> >> > loop.
> >> >> > 
> >> >> > This was consuming virtually the entire resources of one builder
> >> >> > with
> >> >> > old hung processes, and the whole core of another builder -
> >> >> > drastically limiting the capabilities of the CI system (even though
> >> >> > KIO was not being built at the time).
> >> >> > 
> >> >> > Can someone please investigate? Manual intervention (with kill -9)
> >> >> > is
> >> >> > needed to remove these hung processes.
> >> >> 
> >> >> It of course works fine on my own machine.
> >> >> 
> >> >> And I just tried running it on LinuxNode2, in
> >> >> ~/builds/kio/stable-kf5-qt5/build/autotests (after sourcing ~/kio.env
> >> >> which
> >> >> I just generated), and it ran fine (multiple times).
> >> >> 
> >> >> Any suggestion on how / where to hit the issue?
> >> > 
> >> > I too have serious problems being able to reproduce the same results on
> >> > the
> >> > build nodes than CI has :(
> >> > 
> >> > I guess we're most probably missing some step (e.g. kdelibs failing
> >> > test
> >> > always work when i try to reproduce it, rocs compiles fine, etc)
> >> 
> >> Albert, did you try with the kf5-qt5 or stable-kf5-qt5 branch group?
> >> It seems this is a Qt regression (and the version differs).
> > 
> > Now I'm not sure if you guys are talking about kio's threadtest or about
> > other things (kdelibs, rocs).
> > 
> > To get back to the kio threadtest topic, it passes in a loop here, even
> > with Qt 5.6.> 
> >   -> sorry Oswald, false alert.
> > 
> > So I think Nicolás Alvarez is right, this is more likely a bug in asan.
> > I forgot that we had that enabled in the CI - which makes one more
> > difference between our local setups and the CI ;)
> > 
> > Ben, Albert, do we have a way to turn off asan for kio's threadtest?
> 
> Only for all of KIO, which I have now done.
> Please file a bug against ASAN support (compiler bug I assume?)

Given how "old" is the compiler we use I am not convinced it makes sense 
unless we have a small testcase to attach to the bug.

Cheers,
  Albert

> 
> Regards,
> Ben
> 
> > --
> > David Faure, faure at kde.org, http://www.davidfaure.fr
> > Working on KDE Frameworks 5
> 
> _______________________________________________
> Kde-frameworks-devel mailing list
> Kde-frameworks-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kde-frameworks-devel



More information about the Kde-frameworks-devel mailing list