bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: emacs-22.1 with GTK dumps core when Gnome wigets clicked


From: Gary Mills
Subject: Re: emacs-22.1 with GTK dumps core when Gnome wigets clicked
Date: Sun, 17 Jun 2007 22:03:18 -0500
User-agent: Mutt/1.5.10i

On Mon, Jun 18, 2007 at 10:08:11AM +0900, YAMAMOTO Mitsuharu wrote:
> 
> Please try the following patch.  It tries to fix the following
> problems of gmalloc.c with HAVE_GTK_AND_PTHREAD in Emacs 22.1.
> 
> * HAVE_GTK_AND_PTHREAD was checked before including config.h.
> * malloc_initialize_1 called pthread_mutexattr_init that may call malloc.
> * _aligned_blocks was not protected.
> * __malloc_hook etc. may be modified between its NULL-check and the use.

I'm very pleased to report that this time it works correctly, and
doesn't dump core!  It was built with this configuration under
Solaris 10 11/06 SPARC:

  
PATH=/usr/sfw/bin:/opt/SUNWspro/bin:/usr/bin:/usr/local/bin:/usr/ccs/bin:/usr/sbin;
 export PATH
  
  env INSTALL=/usr/ucb/install \
          ./configure \
          --program-prefix=g \
          --without-gcc \
          --with-x-toolkit=gtk

-- 
-Gary Mills-    -Unix Support-    -U of M Academic Computing and Networking-




reply via email to

[Prev in Thread] Current Thread [Next in Thread]