* Jakub Jelinek:
It is definitely not valid OpenMP, because it is racy (that if (rc)
part
with tasks writing that var).
It would need to use atomic accesses to rc, like:
#pragma omp atomic write
rc = pkg->rc;
instead of #pragma omp critical and
rpmRC testrc;
#pragma omp atomic read
testrc = rc;
if (testrc)
break;
But, that shouldn't be the reason why it crashed.
Is there anything I can do to help to debug this?
Debuginfo quality around is very poor, for example I can't see if the
value of npkgs is correct at the point where packageBinaries calls
GOMP_parallel.
Is there a way to get the type of the struct that contains the per-task
data?
Thanks,
Florian
--
Red Hat GmbH,
https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill