[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: |
YAMAMOTO Mitsuharu |
Subject: |
Re: emacs-22.1 with GTK dumps core when Gnome wigets clicked |
Date: |
Sun, 17 Jun 2007 15:41:26 +0900 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.1.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) |
>>>>> On Sat, 16 Jun 2007 10:40:07 -0500, Gary Mills <mills@cc.umanitoba.ca>
>>>>> said:
> On Sat, Jun 16, 2007 at 09:30:59AM -0500, Gary Mills wrote:
>> On Sat, Jun 16, 2007 at 02:22:54PM +0900, YAMAMOTO Mitsuharu wrote:
>> >
>> > Could you try yet another patch below and identify the line in the
>> > source code where the crash occurs?
>>
>> It does still dump core for me. I'm not sure that I can identify
>> the source line. I have very little experience with debuggers.
>> I'd have to use dbx in this case. I'll see what I can do.
> This might be what you want:
Yes, that's it. Thanks a lot.
> (dbx) lwp l@3
> t@3 (l@3) stopped in _malloc_internal_nolock (optimized) at line 796 in file
> "gmalloc.c"
> 796 next->next->prev = next->prev;
Gosh! I noticed that the mutex code in gmalloc.c did not take effect
at all because `HAVE_GTK_AND_PTHREAD' is checked before including
config.h. Could you try moving the following part at the beginning of
gmalloc.c to just before the first occurrence of '#ifdef USE_PTHREAD'?
#ifdef HAVE_GTK_AND_PTHREAD
#define USE_PTHREAD
#endif
YAMAMOTO Mitsuharu
mituharu@math.s.chiba-u.ac.jp
- emacs-22.1 with GTK dumps core when Gnome wigets clicked, Gary Mills, 2007/06/09
- Re: emacs-22.1 with GTK dumps core when Gnome wigets clicked, YAMAMOTO Mitsuharu, 2007/06/10
- Re: emacs-22.1 with GTK dumps core when Gnome wigets clicked, Gary Mills, 2007/06/10
- Re: emacs-22.1 with GTK dumps core when Gnome wigets clicked, YAMAMOTO Mitsuharu, 2007/06/10
- Re: emacs-22.1 with GTK dumps core when Gnome wigets clicked, Gary Mills, 2007/06/10
- Re: emacs-22.1 with GTK dumps core when Gnome wigets clicked, YAMAMOTO Mitsuharu, 2007/06/13
- Message not available
- Re: emacs-22.1 with GTK dumps core when Gnome wigets clicked, YAMAMOTO Mitsuharu, 2007/06/16
- Re: emacs-22.1 with GTK dumps core when Gnome wigets clicked, Gary Mills, 2007/06/16
- Re: emacs-22.1 with GTK dumps core when Gnome wigets clicked, Gary Mills, 2007/06/16
- Re: emacs-22.1 with GTK dumps core when Gnome wigets clicked, Gary Mills, 2007/06/16
- Re: emacs-22.1 with GTK dumps core when Gnome wigets clicked,
YAMAMOTO Mitsuharu <=
- Re: emacs-22.1 with GTK dumps core when Gnome wigets clicked, Gary Mills, 2007/06/17
- Re: emacs-22.1 with GTK dumps core when Gnome wigets clicked, YAMAMOTO Mitsuharu, 2007/06/17
- Re: emacs-22.1 with GTK dumps core when Gnome wigets clicked, Gary Mills, 2007/06/17
- Re: emacs-22.1 with GTK dumps core when Gnome wigets clicked, YAMAMOTO Mitsuharu, 2007/06/18
- Re: emacs-22.1 with GTK dumps core when Gnome wigets clicked, Richard Stallman, 2007/06/16