[Top][All Lists]

[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'?


                                     YAMAMOTO Mitsuharu

reply via email to

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