Re: emacs aborting on exit with recent lib/libc/stdlib/atexit.c changes

From: Kostik Belousov <kostikbel_at_gmail.com>
Date: Fri, 27 Aug 2010 23:00:03 +0300
On Fri, Aug 27, 2010 at 09:46:35PM +0200, Fabian Keil wrote:
> > diff --git a/lib/libc/stdlib/atexit.c b/lib/libc/stdlib/atexit.c
> > index 97cf234..511172a 100644
> > --- a/lib/libc/stdlib/atexit.c
> > +++ b/lib/libc/stdlib/atexit.c
> > _at__at_ -200,6 +200,6 _at__at_ __cxa_finalize(void *dso)
> >  	if (dso == NULL)
> >  		_MUTEX_DESTROY(&atexit_mutex);
> >  
> > -	if (&__pthread_cxa_finalize != NULL)
> > +	if (has_phdr && &__pthread_cxa_finalize != NULL)
> >  		__pthread_cxa_finalize(&phdr_info);
> >  }
> 
> That fixed it. Thanks a lot.

Thank for your help, fixed in  r211894.

Received on Fri Aug 27 2010 - 18:00:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:06 UTC