NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/53273: sem_init() with pshared=1 does not actually work



The following reply was made to PR lib/53273; it has been noted by GNATS.

From: coypu%sdf.org@localhost
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: lib/53273: sem_init() with pshared=1 does not actually work
Date: Thu, 10 May 2018 13:29:08 +0000

 for context, the program to use this API and suffer hard from its
 brokenness is firefox which crashes often at runtime.
 There was some attempt to patch it in pkg/51966 which shouldn't
 have helped (it's for multiprocess, so pthread is no good) but
 seemed like it did.
 
 commenting in www/firefox/distinfo:
 -SHA1 (patch-ipc_glue_CrossProcessSemaphore.h) = 778a569887d8ad082abc2fa2fe89a0a943e84d64
 -SHA1 (patch-ipc_glue_CrossProcessSemaphore__posix.cpp) = 3052338871447cedaeafe8369afe82233183c884
 +#SHA1 (patch-ipc_glue_CrossProcessSemaphore.h) = 778a569887d8ad082abc2fa2fe89a0a943e84d64
 +#SHA1 (patch-ipc_glue_CrossProcessSemaphore__posix.cpp) = 3052338871447cedaeafe8369afe82233183c884
 
 Will make it crash very quickly from lack of locking.
 


Home | Main Index | Thread Index | Old Index