From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Raeburn Newsgroups: gmane.lisp.guile.devel Subject: built with SCM_DEBUG=1 lately? Date: Thu, 23 Jun 2005 22:50:42 -0400 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1119622718 29492 80.91.229.2 (24 Jun 2005 14:18:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 24 Jun 2005 14:18:38 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Jun 24 16:18:32 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dlp09-0006z6-PJ for guile-devel@m.gmane.org; Fri, 24 Jun 2005 16:17:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dlp7C-0008VM-8Q for guile-devel@m.gmane.org; Fri, 24 Jun 2005 10:25:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DleR0-0000Zt-Io for guile-devel@gnu.org; Thu, 23 Jun 2005 23:00:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DleQl-0000S9-CZ for guile-devel@gnu.org; Thu, 23 Jun 2005 23:00:41 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DleQi-0000QG-3z for guile-devel@gnu.org; Thu, 23 Jun 2005 23:00:32 -0400 Original-Received: from [207.172.4.63] (helo=smtp04.mrf.mail.rcn.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DleKh-0005wi-Jg for guile-devel@gnu.org; Thu, 23 Jun 2005 22:54:19 -0400 Original-Received: from 65-78-24-4.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO raeburn.org) (65.78.24.4) by smtp04.mrf.mail.rcn.net with ESMTP; 23 Jun 2005 22:50:44 -0400 X-IronPort-AV: i="3.93,225,1115006400"; d="scan'208"; a="51099969:sNHT5217496956" Original-Received: from [18.101.0.226] (laptop.raeburn.org [18.101.0.226]) by raeburn.org (8.12.11/8.12.11) with ESMTP id j5O2oiZZ016160; Thu, 23 Jun 2005 22:50:44 -0400 (EDT) Original-To: guile-devel@gnu.org X-Mailer: Apple Mail (2.622) X-Mailman-Approved-At: Fri, 24 Jun 2005 10:24:57 -0400 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:5130 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:5130 I was running into some problems with free() reporting unaligned pointers on my mac laptop, and decided to try switching on more debugging options. I tried building with SCM_DEBUG=1, and several files needed tweaking. Mostly in minor ways, due to -Werror -- %d for long values, stuff like that. I'll send out a patch soon. But after I got guile building again, it died with this error in the snarf step (first message is my added instrumentation). ../../source/libguile/throw.c:626: non-pair accessed with SCM_CDR: x=312960 x->car=50d7f Non-pair accessed with SCM_C[AD]R: `#? for (wind_goal = scm_i_dynwinds (); !scm_is_eq (SCM_CDAR (wind_goal), jmpbuf); <<<---- wind_goal = SCM_CDR (wind_goal)) ; So it's got a cons cell, but the car of the cons cell is not a plain cons cell but a "winder" smob object. Perhaps the equivalent of WINDER_PROC or WINDER_DATA is what's desired here? Ken _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel