This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2] Also use l_tls_dtor_count to decide on object unload (BZ #18657)


On Fri, Jul 10, 2015 at 09:33:52PM +0200, OndÅej BÃlka wrote:
> Does not work. In thread A we register destructor just before atomic
> add. Meanwhile we call dlclose in thread B which succeeds as count is
> zero. After thread A resumes it causes SIGSEGV when destructor gets
> called.

Right, thanks for pointing out.  Let me look at this again.

Siddhesh


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]