[valgrind] [Bug 501479] Illumos DRD pthread_mutex_init wrapper errors

2025-03-15 Thread Paul Floyd
https://bugs.kde.org/show_bug.cgi?id=501479 Paul Floyd changed: What|Removed |Added Status|REPORTED|RESOLVED Resolution|---

[valgrind] [Bug 501479] Illumos DRD pthread_mutex_init wrapper errors

2025-03-14 Thread Paul Floyd
https://bugs.kde.org/show_bug.cgi?id=501479 --- Comment #2 from Paul Floyd --- There is a bug in Illumos pthread_mutexattr_gettype See https://github.com/illumos/illumos-gate/blob/master/usr/src/lib/libc/port/threads/pthr_mutex.c#L370 It just reads an uninit local variable which gets optimised

[valgrind] [Bug 501479] Illumos DRD pthread_mutex_init wrapper errors

2025-03-14 Thread Paul Floyd
https://bugs.kde.org/show_bug.cgi?id=501479 --- Comment #1 from Paul Floyd --- Looking at this call pthread_mutex_init(&mutex, &mutexattr); The type for OI and Solaris 11.4 the same but different. OI is 8 (DEFAULT) and S11.4 is 0 (DEFAULT and NORMAL). We treat both of these the same. Then the

[valgrind] [Bug 501479] Illumos DRD pthread_mutex_init wrapper errors

2025-03-14 Thread Paul Floyd
https://bugs.kde.org/show_bug.cgi?id=501479 Paul Floyd changed: What|Removed |Added Assignee|bart.vanassche+...@gmail.co |pjfl...@wanadoo.fr |m