From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: Re: GDB debugger mode for Emacs in ELPA Date: Fri, 27 Jun 2008 17:30:54 +1200 Message-ID: <18532.31502.712978.906059@kahikatea.snap.net.nz> References: <633861.40841.qm@web95012.mail.in2.yahoo.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1214548252 14310 80.91.229.12 (27 Jun 2008 06:30:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Jun 2008 06:30:52 +0000 (UTC) Cc: emacs-devel@gnu.org To: filerz-emacs@yahoo.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 27 08:31:37 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KC7Ue-0000BQ-MF for ged-emacs-devel@m.gmane.org; Fri, 27 Jun 2008 08:31:36 +0200 Original-Received: from localhost ([127.0.0.1]:58387 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KC7Tp-0008Rq-0D for ged-emacs-devel@m.gmane.org; Fri, 27 Jun 2008 02:30:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KC7TL-0008C9-9W for emacs-devel@gnu.org; Fri, 27 Jun 2008 02:30:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KC7TK-0008Bk-TJ for emacs-devel@gnu.org; Fri, 27 Jun 2008 02:30:14 -0400 Original-Received: from [199.232.76.173] (port=35582 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KC7TK-0008BY-It for emacs-devel@gnu.org; Fri, 27 Jun 2008 02:30:14 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:54314) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KC7TJ-0000FE-TX for emacs-devel@gnu.org; Fri, 27 Jun 2008 02:30:14 -0400 Original-Received: from viper.snap.net.nz ([202.37.101.25]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KC7TI-0000HE-Vk for emacs-devel@gnu.org; Fri, 27 Jun 2008 02:30:13 -0400 Original-Received: from kahikatea.snap.net.nz (103.60.255.123.dynamic.snap.net.nz [123.255.60.103]) by viper.snap.net.nz (Postfix) with ESMTP id C98B53DA684; Fri, 27 Jun 2008 17:31:04 +1200 (NZST) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 252FC8FC6D; Fri, 27 Jun 2008 17:30:56 +1200 (NZST) In-Reply-To: <633861.40841.qm@web95012.mail.in2.yahoo.com> X-Mailer: VM 7.19 under Emacs 22.2.50.3 X-detected-kernel: by mx20.gnu.org: Linux 2.4-2.6 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:100001 Archived-At: > > > Stack trace follows: > > > > > > ntdll.dll!7c901230() > > > > emacs.exe!w32_abort() Line 8194 C > > > emacs.exe!r_re_alloc() Line 1030 C > > >... > > > > That looks like a problem with Emacs, not the package. Assuming that you > > are using GDB, what do you get if you type xbacktrace in the console? > > (This is a user defined command in .gdbinit which gives a backtrace of > > Lisp function calls.) > > Lisp Backtrace: > "tar-summarize-buffer" (0x82e794) > "tar-mode" (0x82e860) > "progn" (0x82e984) >... I can see that the error occurs here (in r_re_alloc in ralloc.c): if (bloc == NIL_BLOC) abort (); I don't know why your stack trace gives no arguments for r_re_alloc as it has two in ralloc.c. Is it possible that Emacs has found a different copy, i.e. one without symbols? Going up one frame: #if defined USE_MMAP_FOR_BUFFERS p = mmap_realloc ((POINTER_TYPE **) &b->text->beg, nbytes); #elif defined REL_ALLOC p = r_re_alloc ((POINTER_TYPE **) &b->text->beg, nbytes); #else p = xrealloc (b->text->beg, nbytes); Just guessing, but should REL_ALLOC be defined if you built using VS 2003? (as that seems to imply GNU malloc). What happened with your MinGW build? -- Nick http://www.inet.net.nz/~nickrob