From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Gary Mills Newsgroups: gmane.emacs.bugs Subject: Re: emacs-22.1 with GTK dumps core when Gnome wigets clicked Date: Sun, 17 Jun 2007 11:01:06 -0500 Message-ID: <20070617160106.GA8733@cc.umanitoba.ca> References: <20070610125120.GA27355@cc.umanitoba.ca> <20070610.224832.46203780.mituharu@math.s.chiba-u.ac.jp> <20070610141003.GA12085@cc.umanitoba.ca> <20070614184924.GA25414@cc.umanitoba.ca> <20070616143059.GA23286@cc.umanitoba.ca> <20070616154007.GA8488@cc.umanitoba.ca> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1182096291 24622 80.91.229.12 (17 Jun 2007 16:04:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 17 Jun 2007 16:04:51 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: YAMAMOTO Mitsuharu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 17 18:04:48 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HzxF9-0005Q7-9H for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Jun 2007 18:04:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HzxF8-0002vZ-UF for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Jun 2007 12:04:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HzxBl-0000J1-Cg for bug-gnu-emacs@gnu.org; Sun, 17 Jun 2007 12:01:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HzxBk-0000Hx-43 for bug-gnu-emacs@gnu.org; Sun, 17 Jun 2007 12:01:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HzxBi-0000Hg-I9 for bug-gnu-emacs@gnu.org; Sun, 17 Jun 2007 12:01:15 -0400 Original-Received: from electra.cc.umanitoba.ca ([130.179.16.23]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HzxBi-0001Id-1l for bug-gnu-emacs@gnu.org; Sun, 17 Jun 2007 12:01:14 -0400 Original-Received: from deneb.cc.umanitoba.ca (mills@deneb.cc.umanitoba.ca [130.179.16.69]) by electra.cc.umanitoba.ca (8.13.0/8.13.0) with ESMTP id l5HG1CNs023667; Sun, 17 Jun 2007 11:01:12 -0500 (CDT) Original-Received: (from mills@localhost) by deneb.cc.umanitoba.ca (8.13.8+Sun/8.12.2) id l5HG16rg010688; Sun, 17 Jun 2007 11:01:06 -0500 (CDT) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.10i X-detected-kernel: Solaris 9 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:15925 Archived-At: On Sun, Jun 17, 2007 at 03:41:26PM +0900, YAMAMOTO Mitsuharu wrote: > > 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 Well, I got a different core dump this time... $ dbx src/emacs core ... t@2 (l@2) terminated by signal KILL (Killed) 0xfd3416b8: __pollsys+0x0008: blu _cerror ! 0xfd2a2600 (dbx) lwps l@1 LWP suspended in _write() >l@2 LWP suspended in __pollsys() o l@3 signal SIGSEGV in 0x0() (dbx) lwp l@3 Current function is malloc (optimized) 967 return (__malloc_hook != NULL ? *__malloc_hook : _malloc_internal) (size); t@3 (l@3) stopped in (unknown) at 0x0 0x00000000: (dbx) regs current thread: t@3 current frame: [2] g0-g1 0x00000000 0x00000000 0x00000000 0x00678000 g2-g3 0x00000000 0x0000006d 0x00000000 0x0084eec0 g4-g5 0x00000000 0x003b2000 0x00000000 0x003a8800 g6-g7 0x00000000 0x00000000 0x00000000 0xfa0f0000 o0-o1 0x00000000 0x00000010 0x00000000 0x00001000 o2-o3 0x00000000 0xfd36ec80 0x00000000 0xfa0f0000 o4-o5 0x00000000 0x00368ae0 0x00000000 0x00000000 o6-o7 0x00000000 0xfa14f5e0 0x00000000 0x00221cc0 l0-l1 0x00000000 0x00000056 0x00000000 0x00000000 l2-l3 0x00000000 0xfd7f2000 0x00000000 0xff39c000 l4-l5 0x00000000 0x00000004 0x00000000 0x00000000 l6-l7 0x00000000 0x00000001 0x00000000 0x001aeba8 i0-i1 0x00000000 0x00000010 0x00000000 0x003ad400 i2-i3 0x00000000 0x00000000 0x00000000 0x003ad400 i4-i5 0x00000000 0x00000000 0x00000000 0x00000001 i6-i7 0x00000000 0xfa14f640 0x00000000 0x0022286c y 0x00000000 0x00000000 ccr 0x00000000 0xfe001000 pc 0x00000000 0x00221cc0:malloc+0x58 call %i2 npc 0x00000000 0x00000004:0x00000004 -- -Gary Mills- -Unix Support- -U of M Academic Computing and Networking-