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: Sat, 16 Jun 2007 10:40:07 -0500 Message-ID: <20070616154007.GA8488@cc.umanitoba.ca> References: <200706091549.l59FnfHJ005433@deneb.cc.umanitoba.ca> <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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1182008507 10763 80.91.229.12 (16 Jun 2007 15:41:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 16 Jun 2007 15:41:47 +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 Sat Jun 16 17:41:45 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 1HzaPH-0003mL-BL for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Jun 2007 17:41:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HzaPH-0005Yu-6M for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Jun 2007 11:41:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HzaNs-0004kn-FG for bug-gnu-emacs@gnu.org; Sat, 16 Jun 2007 11:40:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HzaNq-0004jm-OJ for bug-gnu-emacs@gnu.org; Sat, 16 Jun 2007 11:40:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HzaNq-0004jh-En for bug-gnu-emacs@gnu.org; Sat, 16 Jun 2007 11:40:14 -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 1HzaNq-0003b2-6b for bug-gnu-emacs@gnu.org; Sat, 16 Jun 2007 11:40: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 l5GFe8TB006177; Sat, 16 Jun 2007 10:40:12 -0500 (CDT) Original-Received: (from mills@localhost) by deneb.cc.umanitoba.ca (8.13.8+Sun/8.12.2) id l5GFe79G009669; Sat, 16 Jun 2007 10:40:07 -0500 (CDT) Content-Disposition: inline In-Reply-To: <20070616143059.GA23286@cc.umanitoba.ca> 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:15916 Archived-At: 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: $ dbx src/emacs core ... t@2 (l@2) terminated by signal KILL (Killed) 0xfd3416b8: __pollsys+0x0008: blu _cerror ! 0xfd2a2600 (dbx) where current thread: t@2 =>[1] __pollsys(0x4, 0x8, 0x0, 0x0, 0x622b08, 0x0), at 0xfd3416b8 [2] _pollsys(0x964080, 0x8, 0x0, 0x0, 0x0, 0x1), at 0xfd334824 [3] _poll(0x964080, 0x8, 0xffffffff, 0xfd7f2400, 0xb16310, 0x0), at 0xfd2dd170 [4] g_main_context_poll(0xb16300, 0xffffffff, 0x8, 0x964080, 0x8, 0xfd2dd0f4), at 0xfecd8098 [5] g_main_context_iterate(0x964080, 0x1, 0x1, 0xb16300, 0xb16308, 0x8), at 0xfecd74a0 [6] g_main_loop_run(0x6798b0, 0xfed3ec00, 0xff000000, 0x617460, 0x0, 0xfed2a800), at 0xfecd7c44 [7] link_io_thread_fn(0x0, 0xfabb0188, 0xfd338f9c, 0x800, 0xfabad258, 0x910), at 0xfab90e18 [8] g_thread_create_proxy(0x617460, 0x1, 0xfed3ec00, 0x0, 0xfd339f78, 0xfab90df0), at 0xfecf2268 (dbx) lwps l@1 LWP suspended in g_main_context_acquire() >l@2 LWP suspended in __pollsys() o l@3 signal SIGSEGV in _malloc_internal_nolock() (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; (dbx) where =>[1] _malloc_internal_nolock(size = ???) (optimized), at 0x22151c (line ~796) in "gmalloc.c" [2] _malloc_internal(size = ???) (optimized), at 0x221b90 (line ~954) in "gmalloc.c" [3] malloc(size = ???) (optimized), at 0x221bf8 (line ~967) in "gmalloc.c" [4] emacs_blocked_malloc(size = ???, ptr = ???) (optimized), at 0x1aeb48 (line ~1244) in "alloc.c" [5] malloc(size = ???) (optimized), at 0x221bf8 (line ~967) in "gmalloc.c" [6] calloc(nmemb = ???, size = ???) (optimized), at 0x222770 (line ~1624) in "gmalloc.c" [7] _xdg_glob_hash_insert_text(0x0, 0xfa14f88e, 0xc10e10, 0x67, 0x6f, 0x19bb4), at 0xfac548a0 ... (dbx) print next->prev dbx: Can't evaluate local variables in optimized functions -- -Gary Mills- -Unix Support- -U of M Academic Computing and Networking-