CVS commit: src/lib/libpthread

2025-03-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Mar 5 16:38:50 UTC 2025 Modified Files: src/lib/libpthread: pthread_testcancel.3 Log Message: pthread_testcancel(3): Add a colon for clarity in man page. `No punctual change intended.' To generate a diff of this commit:

CVS commit: src/lib/libpthread

2025-03-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Mar 5 16:38:50 UTC 2025 Modified Files: src/lib/libpthread: pthread_testcancel.3 Log Message: pthread_testcancel(3): Add a colon for clarity in man page. `No punctual change intended.' To generate a diff of this commit:

CVS commit: src/lib/libpthread

2025-03-03 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Mar 4 00:41:00 UTC 2025 Modified Files: src/lib/libpthread: pthread_once.c Log Message: pthread_once(3): Add missing memory barriers. PR lib/59126: pthread_once(3): missing memory ordering To generate a diff of this com

CVS commit: src/lib/libpthread

2025-03-03 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Mar 4 00:41:00 UTC 2025 Modified Files: src/lib/libpthread: pthread_once.c Log Message: pthread_once(3): Add missing memory barriers. PR lib/59126: pthread_once(3): missing memory ordering To generate a diff of this com

CVS commit: src/lib/libpthread

2025-03-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Mar 1 18:21:49 UTC 2025 Modified Files: src/lib/libpthread: pthread_tsd.c Log Message: Explain that the pthread_atfork() call will not call malloc from here. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 s

CVS commit: src/lib/libpthread

2025-03-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Mar 1 18:21:49 UTC 2025 Modified Files: src/lib/libpthread: pthread_tsd.c Log Message: Explain that the pthread_atfork() call will not call malloc from here. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 s

CVS commit: src/lib/libpthread

2025-02-26 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Thu Feb 27 06:27:35 UTC 2025 Modified Files: src/lib/libpthread: pthread_attr_getinheritsched.3 Log Message: s/tread/thread/ To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/lib/libpthread/pthread_attr_getinherits

CVS commit: src/lib/libpthread

2025-02-26 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Thu Feb 27 06:27:35 UTC 2025 Modified Files: src/lib/libpthread: pthread_attr_getinheritsched.3 Log Message: s/tread/thread/ To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/lib/libpthread/pthread_attr_getinherits

CVS commit: src/lib/libpthread

2025-02-25 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Feb 25 10:15:42 UTC 2025 Modified Files: src/lib/libpthread: affinity.3 Log Message: libpthread/affinity.3: Fix error reporting in example. pthread_setaffinity_np does not set errno, so err(...) is wrong. Instead, it retur

CVS commit: src/lib/libpthread

2025-02-25 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Feb 25 10:15:42 UTC 2025 Modified Files: src/lib/libpthread: affinity.3 Log Message: libpthread/affinity.3: Fix error reporting in example. pthread_setaffinity_np does not set errno, so err(...) is wrong. Instead, it retur

CVS commit: src/lib/libpthread

2025-02-21 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Fri Feb 21 15:25:38 UTC 2025 Modified Files: src/lib/libpthread: affinity.3 Log Message: slightly expand example To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/lib/libpthread/affinity.3 Please note that diffs are

CVS commit: src/lib/libpthread

2025-02-21 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Fri Feb 21 15:25:38 UTC 2025 Modified Files: src/lib/libpthread: affinity.3 Log Message: slightly expand example To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/lib/libpthread/affinity.3 Please note that diffs are

CVS commit: src/lib/libpthread

2025-02-10 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Feb 10 20:40:55 UTC 2025 Modified Files: src/lib/libpthread: cnd.3 mtx.3 pthread_barrierattr.3 pthread_condattr.3 pthread_mutex.3 pthread_mutexattr.3 pthread_rwlockattr.3 Log Message: libpthread: Say

CVS commit: src/lib/libpthread

2025-02-10 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Feb 10 20:40:55 UTC 2025 Modified Files: src/lib/libpthread: cnd.3 mtx.3 pthread_barrierattr.3 pthread_condattr.3 pthread_mutex.3 pthread_mutexattr.3 pthread_rwlockattr.3 Log Message: libpthread: Say

CVS commit: src/lib/libpthread

2024-12-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Dec 15 11:34:14 UTC 2024 Modified Files: src/lib/libpthread: res_state.c Log Message: libpthread: Zero-initialize res_state objects. PR lib/5 To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/lib/libpth

CVS commit: src/lib/libpthread

2024-12-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Dec 15 11:34:14 UTC 2024 Modified Files: src/lib/libpthread: res_state.c Log Message: libpthread: Zero-initialize res_state objects. PR lib/5 To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/lib/libpth

CVS commit: src/lib/libpthread

2024-11-22 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Nov 22 15:51:34 UTC 2024 Modified Files: src/lib/libpthread: Makefile Added Files: src/lib/libpthread: pthread_mi.expsym pthread_ras.expsym src/lib/libpthread/arch/alpha: pthread_md.expsym src/lib/lib

CVS commit: src/lib/libpthread

2024-11-22 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Nov 22 15:51:34 UTC 2024 Modified Files: src/lib/libpthread: Makefile Added Files: src/lib/libpthread: pthread_mi.expsym pthread_ras.expsym src/lib/libpthread/arch/alpha: pthread_md.expsym src/lib/lib

CVS commit: src/lib/libpthread

2024-11-21 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Nov 21 20:32:36 UTC 2024 Added Files: src/lib/libpthread: pthread.expsym Log Message: libpthread: Add expected symbols list. PR lib/58838: shared libraries in base should all have expsym lists To generate a diff of this

CVS commit: src/lib/libpthread

2024-11-21 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Nov 21 20:32:36 UTC 2024 Added Files: src/lib/libpthread: pthread.expsym Log Message: libpthread: Add expected symbols list. PR lib/58838: shared libraries in base should all have expsym lists To generate a diff of this

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 it

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 it

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 Plea

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 Plea

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. T

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. T

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 src/lib/lib

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 src/lib/lib

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 src/lib/libpthread/arc

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 src/lib/libpthread/arc

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 change

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 change

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 abo

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 abo

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 optima

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 optima

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 src/lib/libpthread/arch/hppa/pthread_

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 src/lib/libpthread/arch/hppa/pthread_

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 pthread

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 pthread

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 pthre

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 pthre

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 PTHREAD__A

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 PTHREAD__A

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 src/lib/libpthread/pthread_can

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 src/lib/libpthread/pthread_can

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: pthread.

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 U

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: pth

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 threads

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 fix

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 has

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 lan

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 commit

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 wrote

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 probl

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 workaroun

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 > deal

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: 0xf

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 pkgsrc/deve

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 muc

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 accep

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 wit

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 g

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 N

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 core(5

Re: CVS commit: src/lib/libpthread

2020-02-01 Thread Kamil Rytarowski
Good idea. It could be checked quicker... however I presume that t1->pt_magic + t1->pt_magic already crash on invalid t1/t2 pointers as the argument with condition is evaluated. Ryo, you might check: $ export PTHREAD_DIAGASSERT=ae $ firefox It should create a coredump for investigation. Accordin

Re: CVS commit: src/lib/libpthread

2020-02-01 Thread Andrew Doran
Hmm. Was there not originally an environment variable to control this behaviour, since many applications are buggy? Andrew On Sun, Feb 02, 2020 at 01:01:49AM +0900, Ryo ONODERA wrote: > Hi, > > pthread__error()s in pthread_equal() cause segfault > during start of pkgsrc/www/firefox-72.0.2. > >

Re: CVS commit: src/lib/libpthread

2020-02-01 Thread Ryo ONODERA
Kamil Rytarowski writes: > On 01.02.2020 17:01, Ryo ONODERA wrote: >> Hi, >> >> pthread__error()s in pthread_equal() cause segfault >> during start of pkgsrc/www/firefox-72.0.2. >> >> Without pthread__error()s, www/firefox works fine >> like as follows. >> However I have no idea why I get segfa

Re: CVS commit: src/lib/libpthread

2020-02-01 Thread Kamil Rytarowski
On 01.02.2020 17:01, Ryo ONODERA wrote: > Hi, > > pthread__error()s in pthread_equal() cause segfault > during start of pkgsrc/www/firefox-72.0.2. > > Without pthread__error()s, www/firefox works fine > like as follows. > However I have no idea why I get segfaults. > > Could you take a look at t

Re: CVS commit: src/lib/libpthread

2020-02-01 Thread Ryo ONODERA
Hi, pthread__error()s in pthread_equal() cause segfault during start of pkgsrc/www/firefox-72.0.2. Without pthread__error()s, www/firefox works fine like as follows. However I have no idea why I get segfaults. Could you take a look at this problem? Index: lib/libpthread/pthread.c ==

Re: CVS commit: src/lib/libpthread

2020-02-01 Thread Kamil Rytarowski
Actually it happened that modifiying pthread_atfork() to stop malloc()ing is enough to address the problem. I have landed the changes and removed '#if 0' kludge. Thanks! On 01.02.2020 13:59, Kamil Rytarowski wrote: > On 31.01.2020 22:10, Andrew Doran wrote: >> On Fri, Jan 31, 2020 at 06:55:00PM

Re: CVS commit: src/lib/libpthread

2020-02-01 Thread Kamil Rytarowski
On 31.01.2020 22:10, Andrew Doran wrote: > On Fri, Jan 31, 2020 at 06:55:00PM -, Christos Zoulas wrote: > >> In article <724af477-010b-9ddf-6ece-e23d7cf59...@gmx.com>, >> Kamil Rytarowski wrote: >>> -=-=-=-=-=- >>> -=-=-=-=-=- >>> >>> On 31.01.2020 03:38, Christos Zoulas wrote: And it i

Re: CVS commit: src/lib/libpthread

2020-01-31 Thread Andrew Doran
On Fri, Jan 31, 2020 at 06:55:00PM -, Christos Zoulas wrote: > In article <724af477-010b-9ddf-6ece-e23d7cf59...@gmx.com>, > Kamil Rytarowski wrote: > >-=-=-=-=-=- > >-=-=-=-=-=- > > > >On 31.01.2020 03:38, Christos Zoulas wrote: > >> And it is fixed now. > >> > >> christos > >> > > > >OK.

Re: CVS commit: src/lib/libpthread

2020-01-31 Thread Kamil Rytarowski
On 31.01.2020 19:55, Christos Zoulas wrote: > In article <724af477-010b-9ddf-6ece-e23d7cf59...@gmx.com>, > Kamil Rytarowski wrote: >> -=-=-=-=-=- >> -=-=-=-=-=- >> >> On 31.01.2020 03:38, Christos Zoulas wrote: >>> And it is fixed now. >>> >>> christos >>> >> >> OK. I am going to submit a bug rep

Re: CVS commit: src/lib/libpthread

2020-01-31 Thread Christos Zoulas
In article <724af477-010b-9ddf-6ece-e23d7cf59...@gmx.com>, Kamil Rytarowski wrote: >-=-=-=-=-=- >-=-=-=-=-=- > >On 31.01.2020 03:38, Christos Zoulas wrote: >> And it is fixed now. >> >> christos >> > >OK. I am going to submit a bug report upstream and get some feedback >what is the way forward

Re: CVS commit: src/lib/libpthread

2020-01-31 Thread Kamil Rytarowski
On 31.01.2020 03:38, Christos Zoulas wrote: > And it is fixed now. > > christos > OK. I am going to submit a bug report upstream and get some feedback what is the way forward here, delaying initialization. signature.asc Description: OpenPGP digital signature

Re: CVS commit: src/lib/libpthread

2020-01-30 Thread Christos Zoulas
And it is fixed now. christos signature.asc Description: Message signed with OpenPGP

Re: CVS commit: src/lib/libpthread

2020-01-30 Thread Christos Zoulas
At this point I'd say it is simpler to just initialize the mutexattr_t fields in a new libc stub for the attribute init. christos > On Jan 30, 2020, at 8:05 PM, Kamil Rytarowski wrote: > > Signed PGP part > On 05.03.2019 23:49, Christos Zoulas wrote: >> Module Name: src >> Committed By:

Re: CVS commit: src/lib/libpthread

2020-01-30 Thread Kamil Rytarowski
On 05.03.2019 23:49, Christos Zoulas wrote: > Module Name: src > Committed By: christos > Date: Tue Mar 5 22:49:38 UTC 2019 > > Modified Files: > src/lib/libpthread: pthread_mutex.c > > Log Message: > Jemalloc initializes mutexes before we become threaded and expects to use > them

CVS commit: src/lib/libpthread

2019-09-10 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Sep 10 22:34:19 UTC 2019 Modified Files: src/lib/libpthread: thrd.c threads.h Log Message: Switch back _Noreturn to __dead in C11 threads There is an ongoing discussion to unify unreturn attribute between C and C++, making a c

CVS commit: src/lib/libpthread

2019-09-10 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Sep 10 22:34:19 UTC 2019 Modified Files: src/lib/libpthread: thrd.c threads.h Log Message: Switch back _Noreturn to __dead in C11 threads There is an ongoing discussion to unify unreturn attribute between C and C++, making a c

Re: CVS commit: src/lib/libpthread

2019-05-13 Thread Joerg Sonnenberger
On Tue, May 07, 2019 at 06:14:09PM +, m...@netbsd.org wrote: > Pre-emptively making a thread where people can call this an ugly hack It is, please put a note into doc/HACKS at least. Joerg

Re: CVS commit: src/lib/libpthread

2019-05-07 Thread maya
Pre-emptively making a thread where people can call this an ugly hack On Tue, May 07, 2019 at 06:12:54PM +, Maya Rashish wrote: > Module Name: src > Committed By: maya > Date: Tue May 7 18:12:53 UTC 2019 > > Modified Files: > src/lib/libpthread: Makefile > > Log Message: > Re

Re: CVS commit: src/lib/libpthread

2017-10-01 Thread maya
netbsd-8 needs a web browser too On Tue, Aug 01, 2017 at 12:31:45PM +, Martin Husemann wrote: > Module Name: src > Committed By: martin > Date: Tue Aug 1 12:31:45 UTC 2017 > > Modified Files: > src/lib/libpthread: pthread_attr.c > > Log Message: > pthread__attr_init_private:

Re: CVS commit: src/lib/libpthread

2017-03-28 Thread Taylor R Campbell
> Date: Tue, 28 Mar 2017 20:10:24 +0200 > From: Joerg Sonnenberger > > On Tue, Mar 28, 2017 at 05:42:53PM +, Maya Rashish wrote: > > Remove outdated CAVEATS. > > > > Not sure everything is standards compliant, but I've been told non-default > > values are supported and pshared exists. > > p

Re: CVS commit: src/lib/libpthread

2017-03-28 Thread Joerg Sonnenberger
On Tue, Mar 28, 2017 at 05:42:53PM +, Maya Rashish wrote: > Module Name: src > Committed By: maya > Date: Tue Mar 28 17:42:52 UTC 2017 > > Modified Files: > src/lib/libpthread: pthread_condattr.3 > > Log Message: > Remove outdated CAVEATS. > > Not sure everything is standards

Re: CVS commit: src/lib/libpthread

2015-08-24 Thread Joerg Sonnenberger
On Mon, Aug 24, 2015 at 03:03:28PM +, Antti Kantee wrote: > On 24/08/15 14:36, Joerg Sonnenberger wrote: > >On Mon, Aug 24, 2015 at 02:20:55PM +, Antti Kantee wrote: > >>On 24/08/15 13:26, Joerg Sonnenberger wrote: > >>>On Mon, Aug 24, 2015 at 12:45:15PM +, Antti Kantee wrote: > I s

Re: CVS commit: src/lib/libpthread

2015-08-24 Thread Antti Kantee
On 24/08/15 14:36, Joerg Sonnenberger wrote: On Mon, Aug 24, 2015 at 02:20:55PM +, Antti Kantee wrote: On 24/08/15 13:26, Joerg Sonnenberger wrote: On Mon, Aug 24, 2015 at 12:45:15PM +, Antti Kantee wrote: I started work on this again by doing a web search for the error, and found this

Re: CVS commit: src/lib/libpthread

2015-08-24 Thread Joerg Sonnenberger
On Mon, Aug 24, 2015 at 02:20:55PM +, Antti Kantee wrote: > On 24/08/15 13:26, Joerg Sonnenberger wrote: > >On Mon, Aug 24, 2015 at 12:45:15PM +, Antti Kantee wrote: > >>I started work on this again by doing a web search for the error, and found > >>this: > >>http://bugs.musicpd.org/view.ph

Re: CVS commit: src/lib/libpthread

2015-08-24 Thread Antti Kantee
On 24/08/15 13:26, Joerg Sonnenberger wrote: On Mon, Aug 24, 2015 at 12:45:15PM +, Antti Kantee wrote: I started work on this again by doing a web search for the error, and found this: http://bugs.musicpd.org/view.php?id=4110 There you argue that using constexpr for PTHREAD_MUTEX_INITIALIZE

Re: CVS commit: src/lib/libpthread

2015-08-24 Thread Joerg Sonnenberger
On Mon, Aug 24, 2015 at 12:45:15PM +, Antti Kantee wrote: > I started work on this again by doing a web search for the error, and found > this: > http://bugs.musicpd.org/view.php?id=4110 > > There you argue that using constexpr for PTHREAD_MUTEX_INITIALIZER is > broken. So if we assume that y

Re: CVS commit: src/lib/libpthread

2015-08-24 Thread Antti Kantee
Returning to this pickle. On 26/06/15 18:24, Joerg Sonnenberger wrote: On Fri, Jun 26, 2015 at 12:49:09PM +, Antti Kantee wrote: This is the simplest program to repeat the problem with g++ 5.1 and NetBSD's pthread_types.h: #include class foo { pthread_mutex_t m; public: co

Re: CVS commit: src/lib/libpthread

2015-06-26 Thread Joerg Sonnenberger
On Fri, Jun 26, 2015 at 12:49:09PM +, Antti Kantee wrote: > This is the simplest program to repeat the problem with g++ 5.1 and NetBSD's > pthread_types.h: > > #include > class foo { > pthread_mutex_t m; > public: > constexpr foo() : m(PTHREAD_MUTEX_INITIALIZER) {} > }; > > (plus

  1   2   >