From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.lisp.guile.devel Subject: Any known problems with 1.4, (read-enable 'positions) and debugging? Date: Wed, 13 Mar 2002 17:49:44 -0600 Sender: guile-devel-admin@gnu.org Message-ID: <87zo1cf2p3.fsf@raven.i.defaultvalue.org> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1016063491 12599 127.0.0.1 (13 Mar 2002 23:51:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 13 Mar 2002 23:51:31 +0000 (UTC) Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16lIWp-0003H6-00 for ; Thu, 14 Mar 2002 00:51:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16lIWd-00033p-00; Wed, 13 Mar 2002 18:51:19 -0500 Original-Received: from dsl-209-87-109-2.constant.com ([209.87.109.2] helo=defaultvalue.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16lIV7-0002tI-00 for ; Wed, 13 Mar 2002 18:49:46 -0500 Original-Received: from raven.i.defaultvalue.org (raven.i.defaultvalue.org [192.168.1.7]) by defaultvalue.org (Postfix) with ESMTP id F0EDF1AA7 for ; Wed, 13 Mar 2002 17:49:44 -0600 (CST) Original-Received: by raven.i.defaultvalue.org (Postfix, from userid 1000) id 904131BE1; Wed, 13 Mar 2002 17:49:44 -0600 (CST) Original-To: guile-devel@gnu.org Original-Lines: 41 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.1 (i386-debian-linux-gnu) Errors-To: guile-devel-admin@gnu.org X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.devel:31 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:31 I was trying to track down a problem in some code using 1.4, so I turned on --with-threads \ --enable-debug-freelist \ --enable-debug-malloc \ --enable-guile-debug and I edited configure.in to add CFLAGS="$CFLAGS -DSCM_DEBUG_CELL_ACCESSES=1" I also added to the code I was trying to test: (debug-enable 'backtrace) (debug-enable 'debug) (read-enable 'positions) Then with this debugging 1.4, I ran in to a new failure (not the one I was originally trying to diagnose) that looked like this 3 segments total (2:6006, 1:46023, 1:24012) 996 2-cells in segment 0 3 segments total (2:6006, 1:46023, 1:24012) 996 2-cells in segment 0 Bad cell in freelist on newcell 321632: 0'th elt After some experimentation, I found that if I commented out the (read-enable 'positions) command, the newcell problem vanished. Any idea why? Is this a known issue, or is 'positions not likely to be related to the problem. Thanks -- Rob Browning rlb @defaultvalue.org, @linuxdevel.com, and @debian.org Previously @cs.utexas.edu GPG=1C58 8B2C FB5E 3F64 EA5C 64AE 78FE E5FE F0CB A0AD _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel