Could you try to see if the following patch changes the situation? YAMAMOTO Mitsuharu [EMAIL PROTECTED]
Index: src/alloc.c =================================================================== RCS file: /cvsroot/emacs/emacs/src/alloc.c,v retrieving revision 1.405 diff -c -p -r1.405 alloc.c *** src/alloc.c 13 Nov 2006 08:20:28 -0000 1.405 --- src/alloc.c 9 Jan 2007 04:30:08 -0000 *************** extern __malloc_size_t __malloc_extra_bl *** 127,147 **** static pthread_mutex_t alloc_mutex; ! #define BLOCK_INPUT_ALLOC \ ! do \ ! { \ ! if (pthread_self () == main_thread) \ ! BLOCK_INPUT; \ ! pthread_mutex_lock (&alloc_mutex); \ ! } \ while (0) ! #define UNBLOCK_INPUT_ALLOC \ ! do \ ! { \ ! pthread_mutex_unlock (&alloc_mutex); \ ! if (pthread_self () == main_thread) \ ! UNBLOCK_INPUT; \ ! } \ while (0) #else /* SYSTEM_MALLOC || not HAVE_GTK_AND_PTHREAD */ --- 127,147 ---- static pthread_mutex_t alloc_mutex; ! #define BLOCK_INPUT_ALLOC \ ! do \ ! { \ ! if (pthread_equal (pthread_self (), main_thread)) \ ! BLOCK_INPUT; \ ! pthread_mutex_lock (&alloc_mutex); \ ! } \ while (0) ! #define UNBLOCK_INPUT_ALLOC \ ! do \ ! { \ ! pthread_mutex_unlock (&alloc_mutex); \ ! if (pthread_equal (pthread_self (), main_thread)) \ ! UNBLOCK_INPUT; \ ! } \ while (0) #else /* SYSTEM_MALLOC || not HAVE_GTK_AND_PTHREAD */ Index: src/syssignal.h =================================================================== RCS file: /cvsroot/emacs/emacs/src/syssignal.h,v retrieving revision 1.43 diff -c -p -r1.43 syssignal.h *** src/syssignal.h 6 Feb 2006 15:23:21 -0000 1.43 --- src/syssignal.h 9 Jan 2007 04:30:08 -0000 *************** char *strsignal (); *** 210,216 **** #ifdef HAVE_GTK_AND_PTHREAD #define SIGNAL_THREAD_CHECK(signo) \ do { \ ! if (pthread_self () != main_thread) \ { \ /* POSIX says any thread can receive the signal. On GNU/Linux \ that is not true, but for other systems (FreeBSD at least) \ --- 210,216 ---- #ifdef HAVE_GTK_AND_PTHREAD #define SIGNAL_THREAD_CHECK(signo) \ do { \ ! if (!pthread_equal (pthread_self (), main_thread)) \ { \ /* POSIX says any thread can receive the signal. On GNU/Linux \ that is not true, but for other systems (FreeBSD at least) \ _______________________________________________ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug