CVS commit: src/lib/libpthread

2024-06-08 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Jun 8 08:01:49 UTC 2024 Modified Files: src/lib/libpthread: pthread.c Log Message: Fix resource leak in pthread_create(). Pthread field "pt_lwpctl" must not be accessed after _lwp_exit() as the kernel may free it, attach

CVS commit: src/lib/libpthread

2024-06-08 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Sat Jun 8 08:01:49 UTC 2024 Modified Files: src/lib/libpthread: pthread.c Log Message: Fix resource leak in pthread_create(). Pthread field "pt_lwpctl" must not be accessed after _lwp_exit() as the kernel may free it, attach

CVS commit: src/lib/libpthread

2024-01-19 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jan 19 19:55:03 UTC 2024 Modified Files: src/lib/libpthread: pthread_cancelstub.c Log Message: Add missing headers To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/lib/libpthread/pthread_cancelstub.c

CVS commit: src/lib/libpthread

2024-01-19 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jan 19 19:55:03 UTC 2024 Modified Files: src/lib/libpthread: pthread_cancelstub.c Log Message: Add missing headers To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/lib/libpthread/pthread_cancelstub.c

CVS commit: src/lib/libpthread

2023-12-07 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Dec 7 16:55:01 UTC 2023 Modified Files: src/lib/libpthread: pthread_attr_getguardsize.3 pthread_attr_getstack.3 Log Message: pthread: Document the setstack vs setguardsize bug. Suggest the safe, compatible workaround.

CVS commit: src/lib/libpthread

2023-12-07 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Dec 7 16:55:01 UTC 2023 Modified Files: src/lib/libpthread: pthread_attr_getguardsize.3 pthread_attr_getstack.3 Log Message: pthread: Document the setstack vs setguardsize bug. Suggest the safe, compatible workaround.

CVS commit: src/lib/libpthread

2023-09-13 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Sep 14 03:17:02 UTC 2023 Modified Files: src/lib/libpthread: Makefile Log Message: libpthread/Makefile: trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.97 -r1.98 src/lib/libpthread/Makefile Please note

CVS commit: src/lib/libpthread

2023-09-13 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Sep 14 03:17:02 UTC 2023 Modified Files: src/lib/libpthread: Makefile Log Message: libpthread/Makefile: trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.97 -r1.98 src/lib/libpthread/Makefile Please note

CVS commit: src/lib/libpthread

2023-09-07 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Sep 7 19:59:20 UTC 2023 Modified Files: src/lib/libpthread: pthread.c Log Message: raise() has understood threads for a long time, don't reimplment it. To generate a diff of this commit: cvs rdiff -u -r1.182 -r1.183

CVS commit: src/lib/libpthread

2023-09-07 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Sep 7 19:59:20 UTC 2023 Modified Files: src/lib/libpthread: pthread.c Log Message: raise() has understood threads for a long time, don't reimplment it. To generate a diff of this commit: cvs rdiff -u -r1.182 -r1.183

CVS commit: src/lib/libpthread

2023-05-25 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu May 25 14:30:03 UTC 2023 Modified Files: src/lib/libpthread: pthread_int.h pthread_spin.c src/lib/libpthread/arch/aarch64: pthread_md.h src/lib/libpthread/arch/arm: pthread_md.h

CVS commit: src/lib/libpthread

2023-05-25 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu May 25 14:30:03 UTC 2023 Modified Files: src/lib/libpthread: pthread_int.h pthread_spin.c src/lib/libpthread/arch/aarch64: pthread_md.h src/lib/libpthread/arch/arm: pthread_md.h

CVS commit: src/lib/libpthread

2023-05-25 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu May 25 14:29:45 UTC 2023 Modified Files: src/lib/libpthread: pthread_int.h src/lib/libpthread/arch/arm: pthread_md.h Log Message: libpthread: Use __nothing, not /* nothing */, for empty macros. No functional

CVS commit: src/lib/libpthread

2023-05-25 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu May 25 14:29:45 UTC 2023 Modified Files: src/lib/libpthread: pthread_int.h src/lib/libpthread/arch/arm: pthread_md.h Log Message: libpthread: Use __nothing, not /* nothing */, for empty macros. No functional

CVS commit: src/lib/libpthread

2023-04-29 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Sat Apr 29 21:37:07 UTC 2023 Modified Files: src/lib/libpthread: pthread_create.3 Log Message: pthread_create(3): minor markup tweaks To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/lib/libpthread/pthread_create.3

CVS commit: src/lib/libpthread

2023-04-29 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Sat Apr 29 21:37:07 UTC 2023 Modified Files: src/lib/libpthread: pthread_create.3 Log Message: pthread_create(3): minor markup tweaks To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/lib/libpthread/pthread_create.3

CVS commit: src/lib/libpthread

2023-04-29 Thread Jan Schaumann
Module Name:src Committed By: jschauma Date: Sat Apr 29 20:51:45 UTC 2023 Modified Files: src/lib/libpthread: pthread_create.3 Log Message: delete spurious space To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/lib/libpthread/pthread_create.3 Please note

CVS commit: src/lib/libpthread

2023-04-29 Thread Jan Schaumann
Module Name:src Committed By: jschauma Date: Sat Apr 29 20:51:45 UTC 2023 Modified Files: src/lib/libpthread: pthread_create.3 Log Message: delete spurious space To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/lib/libpthread/pthread_create.3 Please note

CVS commit: src/lib/libpthread

2023-03-24 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Fri Mar 24 14:18:19 UTC 2023 Modified Files: src/lib/libpthread: pthread.c Log Message: Use snprintf_ss in pthread__assertfunc and update comment in pthread__errorfunc. snprintf can use locks in some code paths and we only care

CVS commit: src/lib/libpthread

2023-03-24 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Fri Mar 24 14:18:19 UTC 2023 Modified Files: src/lib/libpthread: pthread.c Log Message: Use snprintf_ss in pthread__assertfunc and update comment in pthread__errorfunc. snprintf can use locks in some code paths and we only care

CVS commit: src/lib/libpthread

2022-05-31 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue May 31 14:23:39 UTC 2022 Modified Files: src/lib/libpthread: pthread.c Log Message: libpthread(3): Fix a marvellous interaction with rtld. Patch from chs@. Comment explaining the story by me. This patch may not be

CVS commit: src/lib/libpthread

2022-05-31 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue May 31 14:23:39 UTC 2022 Modified Files: src/lib/libpthread: pthread.c Log Message: libpthread(3): Fix a marvellous interaction with rtld. Patch from chs@. Comment explaining the story by me. This patch may not be

CVS commit: src/lib/libpthread/arch/hppa

2022-05-19 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu May 19 07:10:15 UTC 2022 Modified Files: src/lib/libpthread/arch/hppa: pthread_md.S Log Message: Use RAS_{START,END}_ASM_HIDDEN To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/lib/libpthread/arch/hppa

2022-05-19 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu May 19 07:10:15 UTC 2022 Modified Files: src/lib/libpthread/arch/hppa: pthread_md.S Log Message: Use RAS_{START,END}_ASM_HIDDEN To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/lib/libpthread

2022-04-10 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Apr 10 10:38:33 UTC 2022 Modified Files: src/lib/libpthread: pthread_attr.c pthread_cancelstub.c pthread_lock.c pthread_misc.c pthread_mutex.c pthread_queue.h pthread_specific.c pthread_spin.c

CVS commit: src/lib/libpthread

2022-04-10 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Apr 10 10:38:33 UTC 2022 Modified Files: src/lib/libpthread: pthread_attr.c pthread_cancelstub.c pthread_lock.c pthread_misc.c pthread_mutex.c pthread_queue.h pthread_specific.c pthread_spin.c

CVS commit: src/lib/libpthread

2022-02-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 12 14:59:32 UTC 2022 Modified Files: src/lib/libpthread: pthread.c pthread_attr.c pthread_barrier.c pthread_cancelstub.c pthread_compat.c pthread_cond.c pthread_getcpuclockid.c pthread_int.h

CVS commit: src/lib/libpthread

2022-02-12 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 12 14:59:32 UTC 2022 Modified Files: src/lib/libpthread: pthread.c pthread_attr.c pthread_barrier.c pthread_cancelstub.c pthread_compat.c pthread_cond.c pthread_getcpuclockid.c pthread_int.h

CVS commit: src/lib/libpthread

2022-02-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Feb 11 21:40:59 UTC 2022 Modified Files: src/lib/libpthread: pthread_rwlock.c Log Message: libpthread: Fix membars around rwlocks. 1. After loading self->pt_rwlocked, membar_enter() must not be conditional on

CVS commit: src/lib/libpthread

2022-02-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Feb 11 21:40:59 UTC 2022 Modified Files: src/lib/libpthread: pthread_rwlock.c Log Message: libpthread: Fix membars around rwlocks. 1. After loading self->pt_rwlocked, membar_enter() must not be conditional on

CVS commit: src/lib/libpthread

2021-10-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Oct 1 20:13:38 UTC 2021 Modified Files: src/lib/libpthread: pthread_cancelstub.c Log Message: remove parameter names from decls. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40

CVS commit: src/lib/libpthread

2021-10-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Oct 1 20:13:38 UTC 2021 Modified Files: src/lib/libpthread: pthread_cancelstub.c Log Message: remove parameter names from decls. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40

CVS commit: src/lib/libpthread

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Apr 13 00:31:54 UTC 2021 Modified Files: src/lib/libpthread: pthread.c Log Message: fake-use alloca()'s return value to quieten -Werror=unused-result To generate a diff of this commit: cvs rdiff -u -r1.178 -r1.179

CVS commit: src/lib/libpthread

2021-04-12 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Apr 13 00:31:54 UTC 2021 Modified Files: src/lib/libpthread: pthread.c Log Message: fake-use alloca()'s return value to quieten -Werror=unused-result To generate a diff of this commit: cvs rdiff -u -r1.178 -r1.179

CVS commit: src/lib/libpthread

2021-03-10 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Mar 10 15:05:11 UTC 2021 Modified Files: src/lib/libpthread: pthread_types.h Log Message: Use __pthread_volatile for ptc_waiters (Greg A. Woods) To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26

CVS commit: src/lib/libpthread

2021-03-10 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Mar 10 15:05:11 UTC 2021 Modified Files: src/lib/libpthread: pthread_types.h Log Message: Use __pthread_volatile for ptc_waiters (Greg A. Woods) To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26

CVS commit: src/lib/libpthread

2020-06-14 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Jun 14 21:33:28 UTC 2020 Modified Files: src/lib/libpthread: pthread_cond.c Log Message: Another bug. The CAS loop in pthread_cond_signal() could race against the thread it is trying to awake. The thread could exit the condvar

CVS commit: src/lib/libpthread

2020-06-14 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Jun 14 21:33:28 UTC 2020 Modified Files: src/lib/libpthread: pthread_cond.c Log Message: Another bug. The CAS loop in pthread_cond_signal() could race against the thread it is trying to awake. The thread could exit the condvar

CVS commit: src/lib/libpthread

2020-06-14 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Jun 14 21:31:11 UTC 2020 Modified Files: src/lib/libpthread: pthread.c Log Message: Don't need to ignore ESRCH from _lwp_park() any more. To generate a diff of this commit: cvs rdiff -u -r1.176 -r1.177

CVS commit: src/lib/libpthread

2020-06-14 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Jun 14 21:31:11 UTC 2020 Modified Files: src/lib/libpthread: pthread.c Log Message: Don't need to ignore ESRCH from _lwp_park() any more. To generate a diff of this commit: cvs rdiff -u -r1.176 -r1.177

CVS commit: src/lib/libpthread

2020-06-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jun 13 17:39:42 UTC 2020 Modified Files: src/lib/libpthread: pthread_cond.c Log Message: Nix trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.75 src/lib/libpthread/pthread_cond.c Please

CVS commit: src/lib/libpthread

2020-06-13 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jun 13 17:39:42 UTC 2020 Modified Files: src/lib/libpthread: pthread_cond.c Log Message: Nix trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.75 src/lib/libpthread/pthread_cond.c Please

CVS commit: src/lib/libpthread

2020-06-11 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Jun 11 18:42:02 UTC 2020 Modified Files: src/lib/libpthread: pthread.c pthread_tsd.c Log Message: Drop self->pt_lock before clearing TSD / malloc TSD. To generate a diff of this commit: cvs rdiff -u -r1.175 -r1.176

CVS commit: src/lib/libpthread

2020-06-11 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Jun 11 18:41:22 UTC 2020 Modified Files: src/lib/libpthread: pthread_mutex.c Log Message: Adjust memory barriers. To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.81 src/lib/libpthread/pthread_mutex.c Please note

CVS commit: src/lib/libpthread

2020-06-11 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Jun 11 18:42:02 UTC 2020 Modified Files: src/lib/libpthread: pthread.c pthread_tsd.c Log Message: Drop self->pt_lock before clearing TSD / malloc TSD. To generate a diff of this commit: cvs rdiff -u -r1.175 -r1.176

CVS commit: src/lib/libpthread

2020-06-11 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Jun 11 18:41:22 UTC 2020 Modified Files: src/lib/libpthread: pthread_mutex.c Log Message: Adjust memory barriers. To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.81 src/lib/libpthread/pthread_mutex.c Please note

CVS commit: src/lib/libpthread

2020-06-10 Thread Andrew Doran
Module Name:src Committed By: ad Date: Wed Jun 10 22:45:15 UTC 2020 Modified Files: src/lib/libpthread: pthread.c pthread_cond.c pthread_int.h pthread_mutex.c pthread_types.h Log Message: - Make pthread_condvar and pthread_mutex work on the stack rather than

CVS commit: src/lib/libpthread

2020-06-10 Thread Andrew Doran
Module Name:src Committed By: ad Date: Wed Jun 10 22:45:15 UTC 2020 Modified Files: src/lib/libpthread: pthread.c pthread_cond.c pthread_int.h pthread_mutex.c pthread_types.h Log Message: - Make pthread_condvar and pthread_mutex work on the stack rather than

Re: CVS commit: src/lib/libpthread

2020-06-09 Thread Andrew Doran
On Thu, Jun 04, 2020 at 06:26:07PM +, Martin Husemann wrote: > On Wed, Jun 03, 2020 at 10:10:24PM +, Andrew Doran wrote: > > Module Name:src > > Committed By: ad > > Date: Wed Jun 3 22:10:24 UTC 2020 > > > > Modified Files: > > src/lib/libpthread:

CVS commit: src/lib/libpthread

2020-06-06 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Jun 6 22:24:00 UTC 2020 Modified Files: src/lib/libpthread: pthread_cond.c Log Message: Adjust previous. In the condvar case the wakeup might already have been eaten. To generate a diff of this commit: cvs rdiff -u -r1.72

CVS commit: src/lib/libpthread

2020-06-06 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Jun 6 22:24:00 UTC 2020 Modified Files: src/lib/libpthread: pthread_cond.c Log Message: Adjust previous. In the condvar case the wakeup might already have been eaten. To generate a diff of this commit: cvs rdiff -u -r1.72

Re: CVS commit: src/lib/libpthread

2020-06-06 Thread Andrew Doran
On Thu, Jun 04, 2020 at 09:28:09PM +, Andrew Doran wrote: > On Thu, Jun 04, 2020 at 06:26:07PM +, Martin Husemann wrote: > > > On Wed, Jun 03, 2020 at 10:10:24PM +, Andrew Doran wrote: > > > Module Name: src > > > Committed By: ad > > > Date: Wed Jun 3 22:10:24

Re: CVS commit: src/lib/libpthread

2020-06-04 Thread Andrew Doran
Hi, On Thu, Jun 04, 2020 at 06:26:07PM +, Martin Husemann wrote: > On Wed, Jun 03, 2020 at 10:10:24PM +, Andrew Doran wrote: > > Module Name:src > > Committed By: ad > > Date: Wed Jun 3 22:10:24 UTC 2020 > > > > Modified Files: > > src/lib/libpthread:

Re: CVS commit: src/lib/libpthread

2020-06-04 Thread Martin Husemann
On Wed, Jun 03, 2020 at 10:10:24PM +, Andrew Doran wrote: > Module Name: src > Committed By: ad > Date: Wed Jun 3 22:10:24 UTC 2020 > > Modified Files: > src/lib/libpthread: pthread.c pthread_cond.c pthread_mutex.c > > Log Message: > Deal with a couple of problems with

CVS commit: src/lib/libpthread

2020-06-03 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Jun 4 04:40:01 UTC 2020 Modified Files: src/lib/libpthread: pthread_cond.c Log Message: Nix trailing whitespace. NFCI. To generate a diff of this commit: cvs rdiff -u -r1.71 -r1.72 src/lib/libpthread/pthread_cond.c

CVS commit: src/lib/libpthread

2020-06-03 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Jun 4 04:40:01 UTC 2020 Modified Files: src/lib/libpthread: pthread_cond.c Log Message: Nix trailing whitespace. NFCI. To generate a diff of this commit: cvs rdiff -u -r1.71 -r1.72 src/lib/libpthread/pthread_cond.c

CVS commit: src/lib/libpthread

2020-06-03 Thread Andrew Doran
Module Name:src Committed By: ad Date: Wed Jun 3 22:10:24 UTC 2020 Modified Files: src/lib/libpthread: pthread.c pthread_cond.c pthread_mutex.c Log Message: Deal with a couple of problems with threads being awoken early due to timeouts or cancellation where: - The

CVS commit: src/lib/libpthread

2020-06-03 Thread Andrew Doran
Module Name:src Committed By: ad Date: Wed Jun 3 22:10:24 UTC 2020 Modified Files: src/lib/libpthread: pthread.c pthread_cond.c pthread_mutex.c Log Message: Deal with a couple of problems with threads being awoken early due to timeouts or cancellation where: - The

CVS commit: src/lib/libpthread

2020-06-01 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Tue Jun 2 00:29:53 UTC 2020 Modified Files: src/lib/libpthread: pthread.c pthread_int.h pthread_rwlock.c Log Message: Pass down errno when calling pthread__errorfunc after a system call. Allow format arguments for that reason and

CVS commit: src/lib/libpthread

2020-06-01 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Tue Jun 2 00:29:53 UTC 2020 Modified Files: src/lib/libpthread: pthread.c pthread_int.h pthread_rwlock.c Log Message: Pass down errno when calling pthread__errorfunc after a system call. Allow format arguments for that reason and

CVS commit: src/lib/libpthread

2020-06-01 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Jun 1 11:44:59 UTC 2020 Modified Files: src/lib/libpthread: pthread.c pthread_cond.c pthread_int.h pthread_mutex.c pthread_rwlock.c pthread_types.h Log Message: In the interests of reliability simplify waiter

CVS commit: src/lib/libpthread

2020-06-01 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Jun 1 11:44:59 UTC 2020 Modified Files: src/lib/libpthread: pthread.c pthread_cond.c pthread_int.h pthread_mutex.c pthread_rwlock.c pthread_types.h Log Message: In the interests of reliability simplify waiter

CVS commit: src/lib/libpthread

2020-05-16 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat May 16 22:53:37 UTC 2020 Modified Files: src/lib/libpthread: pthread.c pthread_barrier.c pthread_cond.c pthread_int.h pthread_mutex.c pthread_rwlock.c Log Message: - Try to eliminate a hang in "parked" I've been

CVS commit: src/lib/libpthread

2020-05-16 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat May 16 22:53:37 UTC 2020 Modified Files: src/lib/libpthread: pthread.c pthread_barrier.c pthread_cond.c pthread_int.h pthread_mutex.c pthread_rwlock.c Log Message: - Try to eliminate a hang in "parked" I've been

CVS commit: src/lib/libpthread

2020-05-15 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Fri May 15 14:30:23 UTC 2020 Modified Files: src/lib/libpthread: pthread.c Log Message: Lock/unlock/reinit pthread__deadqueue_lock over fork. To generate a diff of this commit: cvs rdiff -u -r1.168 -r1.169

CVS commit: src/lib/libpthread

2020-05-15 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Fri May 15 14:30:23 UTC 2020 Modified Files: src/lib/libpthread: pthread.c Log Message: Lock/unlock/reinit pthread__deadqueue_lock over fork. To generate a diff of this commit: cvs rdiff -u -r1.168 -r1.169

CVS commit: src/lib/libpthread

2020-04-19 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Sun Apr 19 20:47:04 UTC 2020 Modified Files: src/lib/libpthread: pthread_tsd.c Log Message: Improve TSD behavior Optimistically check whether the key has been used by this thread already and avoid locking in that case. This

CVS commit: src/lib/libpthread

2020-04-19 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Sun Apr 19 20:47:04 UTC 2020 Modified Files: src/lib/libpthread: pthread_tsd.c Log Message: Improve TSD behavior Optimistically check whether the key has been used by this thread already and avoid locking in that case. This

CVS commit: src/lib/libpthread

2020-04-19 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Sun Apr 19 20:46:04 UTC 2020 Modified Files: src/lib/libpthread: pthread_tsd.c Log Message: Reinit TSD mutex in the child to avoid issues with former waiters To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21

CVS commit: src/lib/libpthread

2020-04-19 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Sun Apr 19 20:46:04 UTC 2020 Modified Files: src/lib/libpthread: pthread_tsd.c Log Message: Reinit TSD mutex in the child to avoid issues with former waiters To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21

CVS commit: src/lib/libpthread

2020-04-14 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Tue Apr 14 23:35:07 UTC 2020 Modified Files: src/lib/libpthread: pthread.c pthread_cond.c Log Message: Drop most of the logic associated with pthread__started. The pthread_cond logic is a questionable optimisation at best and the

CVS commit: src/lib/libpthread

2020-04-14 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Tue Apr 14 23:35:07 UTC 2020 Modified Files: src/lib/libpthread: pthread.c pthread_cond.c Log Message: Drop most of the logic associated with pthread__started. The pthread_cond logic is a questionable optimisation at best and the

Re: CVS commit: src/lib/libpthread

2020-02-19 Thread Ryo ONODERA
Hi, Kamil Rytarowski writes: > On 13.02.2020 20:03, Ryo ONODERA wrote: >> Hi, >> >> Kamil Rytarowski writes: >> >>> On 12.02.2020 15:01, Ryo ONODERA wrote: Hi, Kamil Rytarowski writes: > Hello, > > I will have a look at them. Thank you. Real

Re: CVS commit: src/lib/libpthread

2020-02-19 Thread Kamil Rytarowski
On 13.02.2020 20:03, Ryo ONODERA wrote: > Hi, > > Kamil Rytarowski writes: > >> On 12.02.2020 15:01, Ryo ONODERA wrote: >>> Hi, >>> >>> Kamil Rytarowski writes: >>> Hello, I will have a look at them. >>> >>> Thank you. >>> Real fix is welcome. >>> >>> And multimedia/handbrake

CVS commit: src/lib/libpthread

2020-02-16 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Feb 16 17:45:12 UTC 2020 Modified Files: src/lib/libpthread: pthread.c pthread_int.h pthread_mutex.c pthread_tsd.c Log Message: Revert "Enhance the pthread(3) + malloc(3) init model" It is reported to hand on

CVS commit: src/lib/libpthread

2020-02-16 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Feb 16 17:45:12 UTC 2020 Modified Files: src/lib/libpthread: pthread.c pthread_int.h pthread_mutex.c pthread_tsd.c Log Message: Revert "Enhance the pthread(3) + malloc(3) init model" It is reported to hand on

CVS commit: src/lib/libpthread

2020-02-16 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Feb 16 17:14:31 UTC 2020 Modified Files: src/lib/libpthread: pthread.c Log Message: Set __isthreaded before bootstrapping malloc(3) jemalloc depends on the __isthreaded dynamic state logic. Reported by for mpv and by for

CVS commit: src/lib/libpthread

2020-02-16 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Feb 16 17:14:31 UTC 2020 Modified Files: src/lib/libpthread: pthread.c Log Message: Set __isthreaded before bootstrapping malloc(3) jemalloc depends on the __isthreaded dynamic state logic. Reported by for mpv and by for

CVS commit: src/lib/libpthread

2020-02-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Feb 15 23:59:30 UTC 2020 Modified Files: src/lib/libpthread: pthread.c pthread_int.h pthread_mutex.c pthread_tsd.c Log Message: Enhance the pthread(3) + malloc(3) init model Separate the pthread_atfork(3) call

CVS commit: src/lib/libpthread

2020-02-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Feb 15 23:59:30 UTC 2020 Modified Files: src/lib/libpthread: pthread.c pthread_int.h pthread_mutex.c pthread_tsd.c Log Message: Enhance the pthread(3) + malloc(3) init model Separate the pthread_atfork(3) call

Re: CVS commit: src/lib/libpthread

2020-02-13 Thread Ryo ONODERA
Hi, Kamil Rytarowski writes: > On 12.02.2020 15:01, Ryo ONODERA wrote: >> Hi, >> >> Kamil Rytarowski writes: >> >>> Hello, >>> >>> I will have a look at them. >> >> Thank you. >> Real fix is welcome. >> >> And multimedia/handbrake has workaround already. >> I have workaround patches for

Re: CVS commit: src/lib/libpthread

2020-02-13 Thread Kamil Rytarowski
On 12.02.2020 15:01, Ryo ONODERA wrote: > Hi, > > Kamil Rytarowski writes: > >> Hello, >> >> I will have a look at them. > > Thank you. > Real fix is welcome. > > And multimedia/handbrake has workaround already. > I have workaround patches for lang/mono6 (like your nspr patch). > I will

Re: CVS commit: src/lib/libpthread

2020-02-12 Thread Ryo ONODERA
Hi, Kamil Rytarowski writes: > Hello, > > I will have a look at them. Thank you. Real fix is welcome. And multimedia/handbrake has workaround already. I have workaround patches for lang/mono6 (like your nspr patch). I will commit them after some tests. > On 12.02.2020 14:02, Ryo ONODERA

Re: CVS commit: src/lib/libpthread

2020-02-12 Thread Kamil Rytarowski
Hello, I will have a look at them. On 12.02.2020 14:02, Ryo ONODERA wrote: > Hi, > > Kamil Rytarowski writes: > >> Please apple workaround (same like in NSPR) for now if fixing is difficult. >> >> Such bugs can have security implications. > > Adding workarounds will not improve security

Re: CVS commit: src/lib/libpthread

2020-02-12 Thread Ryo ONODERA
Hi, Kamil Rytarowski writes: > Please apple workaround (same like in NSPR) for now if fixing is difficult. > > Such bugs can have security implications. Adding workarounds will not improve security problems. And I feel that such workarounds will not be accepted by upstream. I will add

Re: CVS commit: src/lib/libpthread

2020-02-12 Thread Kamil Rytarowski
Please apple workaround (same like in NSPR) for now if fixing is difficult. Such bugs can have security implications. On 12.02.2020 09:49, Ryo ONODERA wrote: > Hi, > > I have two problematic pkgsrc packages at least. > Of course these programs have misuses and/or bugs, however I feel that >

Re: CVS commit: src/lib/libpthread

2020-02-12 Thread Ryo ONODERA
Hi, I have two problematic pkgsrc packages at least. Of course these programs have misuses and/or bugs, however I feel that dealing pt_magic in pthread_equal() is too hasty for pkgsrc. multimedia/handbrake (internal libbluray): The invalid thread pointer is not NULL. pthread_equal t1:

CVS commit: src/lib/libpthread

2020-02-08 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Feb 8 17:06:03 UTC 2020 Modified Files: src/lib/libpthread: pthread.c Log Message: Change the behavior of pthread_equal() On error when not aborting, do not return EINVAL as it has a side effect of being interpreted as

CVS commit: src/lib/libpthread

2020-02-08 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Feb 8 17:06:03 UTC 2020 Modified Files: src/lib/libpthread: pthread.c Log Message: Change the behavior of pthread_equal() On error when not aborting, do not return EINVAL as it has a side effect of being interpreted as

CVS commit: src/lib/libpthread

2020-02-05 Thread Ryo ONODERA
Module Name:src Committed By: ryoon Date: Wed Feb 5 14:56:04 UTC 2020 Modified Files: src/lib/libpthread: pthread.c Log Message: Remove trailing whiteapaces and tab To generate a diff of this commit: cvs rdiff -u -r1.162 -r1.163 src/lib/libpthread/pthread.c Please

CVS commit: src/lib/libpthread

2020-02-05 Thread Ryo ONODERA
Module Name:src Committed By: ryoon Date: Wed Feb 5 14:56:04 UTC 2020 Modified Files: src/lib/libpthread: pthread.c Log Message: Remove trailing whiteapaces and tab To generate a diff of this commit: cvs rdiff -u -r1.162 -r1.163 src/lib/libpthread/pthread.c Please

CVS commit: src/lib/libpthread

2020-02-05 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Feb 5 11:05:10 UTC 2020 Modified Files: src/lib/libpthread: pthread_int.h pthread_rwlock.c pthread_spin.c Log Message: Retire ifdef ERRORCHECK in pthread(3) It is enabled unconditionally since 2003 and used only for rwlocks

CVS commit: src/lib/libpthread

2020-02-05 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Feb 5 11:05:10 UTC 2020 Modified Files: src/lib/libpthread: pthread_int.h pthread_rwlock.c pthread_spin.c Log Message: Retire ifdef ERRORCHECK in pthread(3) It is enabled unconditionally since 2003 and used only for rwlocks

Re: CVS commit: src/lib/libpthread

2020-02-03 Thread Kamil Rytarowski
On 03.02.2020 17:10, Ryo ONODERA wrote: > Hi, > > Kamil Rytarowski writes: > >> Please check this workaround: >> >> http://netbsd.org/~kamil/patch-00224-firefox-pthread_equal.txt >> >> It has to be applied on firefox's package. > > Thank you very much. > > This should be applied to

Re: CVS commit: src/lib/libpthread

2020-02-03 Thread Ryo ONODERA
Hi, Kamil Rytarowski writes: > On 03.02.2020 17:10, Ryo ONODERA wrote: >> Hi, >> >> Kamil Rytarowski writes: >> >>> Please check this workaround: >>> >>> http://netbsd.org/~kamil/patch-00224-firefox-pthread_equal.txt >>> >>> It has to be applied on firefox's package. >> >> Thank you very

Re: CVS commit: src/lib/libpthread

2020-02-03 Thread Ryo ONODERA
Hi, Kamil Rytarowski writes: > Please check this workaround: > > http://netbsd.org/~kamil/patch-00224-firefox-pthread_equal.txt > > It has to be applied on firefox's package. Thank you very much. This should be applied to pkgsrc/devel/nspr with slight change. (devel/nspr's C files cannot

Re: CVS commit: src/lib/libpthread

2020-02-03 Thread Kamil Rytarowski
Please check this workaround: http://netbsd.org/~kamil/patch-00224-firefox-pthread_equal.txt It has to be applied on firefox's package. The problem has to be reported upstream as a real bug. On 03.02.2020 16:01, Ryo ONODERA wrote: > Hi, > > Ryo ONODERA writes: > >> Hi, >> >> I had tested

Re: CVS commit: src/lib/libpthread

2020-02-03 Thread Ryo ONODERA
Hi, Ryo ONODERA writes: > Hi, > > I had tested with PTHREAD_DIAGASSERT however it did not produce any output. > > I am building current and pkgsrc packages from scratch now. > > I will reply my situation after this rebuild. > > Thank you. With latest toolchain, kernel and userland, my firefox

Re: CVS commit: src/lib/libpthread

2020-02-02 Thread Ryo ONODERA
Hi, I had tested with PTHREAD_DIAGASSERT however it did not produce any output. I am building current and pkgsrc packages from scratch now. I will reply my situation after this rebuild. Thank you. On February 3, 2020 7:23:33 AM GMT+09:00, Kamil Rytarowski wrote: >Hello, > >I've checked with

Re: CVS commit: src/lib/libpthread

2020-02-02 Thread Kamil Rytarowski
Hello, I've checked with NetBSD-current from today (2020-02-02) and pkgsrc-current (2020-02-02) and package firefox-72.0.2. I'm not reproducing any crash due to pthread_equal(3) misuse. Everything I tested, worked for me. Please try PTHREAD_DIAGASSERT=ae and debug the culprit crash with a

  1   2   3   4   5   6   7   >