https://bugs.kde.org/show_bug.cgi?id=528993

--- Comment #13 from [email protected] ---
(In reply to Paul Floyd from comment #11)
> (In reply to pkubaj from comment #0)
> > Testing
>  
> > - powerpc64:   788 tests, 60 failures
> > - powerpc64le: 788 tests, 67 failures
> 
> Not too bad for early days but I like to aim for zero and certainly less
> than 10.
It turns out most of those issues were caused by my wrapper script. After
fixing it, I got down to 3 issues on powerpc64 and 2 on powerpc64le. Plus 42
issues that are caused by assuming GCC.

> 
> > - root vs. user: memcheck/tests/freebsd/{fchroot,getfh,kenv,setcred}
> >   expect to run as a normal user and pass that way.
> 
> I occasionally test things as root manually. Running regtest as non-root is
> safer.
This time I've tried as a user too. So the new count from above is as a
standard user. I usually just do things as root out of convenience on my
development VM's.
> 
> > - FreeBSD 15.2: scalar_pdfork uses a flags value (12) that is now
> >   valid (PD_NOWAITPID | PD_PTRACE_CAP), on every architecture.
> 
> That's not really an issue. All that matters is that the args should contain
> uninit values (from the memcheck perspective) and that the syscall should
> fail (some pass, usually ones with no arguments). This should fail with int
> *fdp set to 0x1.
> 
fdp set to 0x1 makes the parent's call fail with EFAULT, but the child already
exists at that point and sees pdfork return 0.
Extra output and assertion failure come from that child.

> > - environment: kqueue, kqueuex
> 
> kqueue and kqueueux need kldload mqueuefs. I've just improved the prereq
> check.
powerpc64le kept failing because of using old syscalls that the GENERIC64LE
kernel doesn't enable. I have updated the 0006 patch to fix it.

> 
> > umtx_shm_creat1/2,
> 
> Why do you see these failing?
Runs fine after fixing my script.

> 
> > getrlimitusage (CPU time under load),
> 
> This test is flaky, almost none of the measures are comparable between
> native and the various Valgrind platforms.
OK.

> 
> >  realpathat (depends on the length of the build
> >   directory path) and
> 
> Changed that to use PATH_MAX for the use after free test.
OK.

> 
> >    getfsstat.  getfsstat.c passes the mount count
> >   to getfsstat() with a 128 entry stack buffer, which overflows when
> >   more than 128 file systems are mounted (poudriere builds were
> >   running); that is a test bug on every architecture.
> 
> Should now be fixed. Switched to using malloc for mbuf.
OK.

> 
> > - the expected output came from gcc builds and clang's code differs
> >   (an extra frame, a line number or an extra load): fprw, mempool2,
> >   wrap8, supponlyobj, and on ppc64le drd fp_race, sem_open,
> >   sem_as_mutex, annotate_trace_memory.
> 
> There could be several reasons for that. Many tests need a lot of filtering
> to match the expected files that come from Linux.
Should be fixed in the newest version.

> 
> >  pth_mutex_signal is output  interleaving.
> 
> I do see that one fail very occasionally.
> 
> > gdbserver_tests: the tests that only need vgdb (mchelp, mcinvokeRU,
> > nlfork_chain) pass.  The gdb-driven ones could not be run: gdb 15.1
> > from ports dies with "Recursive internal problem." as soon as a
> > breakpoint is hit on these machines, also without Valgrind.
> > 
> > Known open issue: drd/tests/tls_threads fails intermittently, a race
> > reported on thread-local data (ppc64le 2 of 5 runs, also seen once on
> > powerpc64).
> 
> Again I see that one fail fairly often.
> 
> > Unrelated finding: FreeBSD sizes RLIMIT_NOFILE by the amount of RAM
> > (about 15 million on these machines).  Valgrind keeps its own file
> > descriptors just below the soft limit, so every fork copies a huge
> > file descriptor table: vfork+exec took 3 s under Valgrind against
> > 22 ms natively, and the async-sigs tests time out.  A lower
> > "ulimit -n" avoids it.  This affects all FreeBSD architectures; I can
> > open a separate bug for it.
> 
> Please open a bug. I've seen similar issues with Docker.
I will.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to