From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: GDB debugger mode for Emacs in ELPA Date: Fri, 27 Jun 2008 12:15:01 +0300 Message-ID: References: <633861.40841.qm@web95012.mail.in2.yahoo.com> <18532.31502.712978.906059@kahikatea.snap.net.nz> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1214558132 12797 80.91.229.12 (27 Jun 2008 09:15:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Jun 2008 09:15:32 +0000 (UTC) Cc: emacs-devel@gnu.org To: Nick Roberts Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 27 11:16:17 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 1KCA3w-0001PC-Hr for ged-emacs-devel@m.gmane.org; Fri, 27 Jun 2008 11:16:13 +0200 Original-Received: from localhost ([127.0.0.1]:48724 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KCA35-00018u-9X for ged-emacs-devel@m.gmane.org; Fri, 27 Jun 2008 05:15:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KCA2y-00018i-Sz for emacs-devel@gnu.org; Fri, 27 Jun 2008 05:15:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KCA2u-00018I-Ni for emacs-devel@gnu.org; Fri, 27 Jun 2008 05:15:11 -0400 Original-Received: from [199.232.76.173] (port=50163 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KCA2u-00018F-Dw for emacs-devel@gnu.org; Fri, 27 Jun 2008 05:15:08 -0400 Original-Received: from mtaout4.012.net.il ([84.95.2.10]:56078) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KCA2s-0004IY-FK for emacs-devel@gnu.org; Fri, 27 Jun 2008 05:15:07 -0400 Original-Received: from HOME-C4E4A596F7 ([80.230.31.196]) by i_mtaout4.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K34000347QHLNN0@i_mtaout4.012.net.il> for emacs-devel@gnu.org; Fri, 27 Jun 2008 12:30:17 +0300 (IDT) In-reply-to: <18532.31502.712978.906059@kahikatea.snap.net.nz> X-012-Sender: halo1@inter.net.il X-detected-kernel: by monty-python.gnu.org: Solaris 9.1 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:100013 Archived-At: > From: Nick Roberts > Date: Fri, 27 Jun 2008 17:30:54 +1200 > Cc: emacs-devel@gnu.org > > #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? As seen from the follow-up, the MinGW build shows the same crash. And yes, REL_ALLOC should be defined in the Windows build. Which tarball causes this crash, and where can I find it? Also, would the OP please post a detailed recipe to reproduce this crash, starting with "emacs -Q"?