From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?b?UmVuw6k=?= =?utf-8?b?S8O2Y2hlcg==?= Newsgroups: gmane.lisp.guile.devel Subject: Re: guile-1.8 and goops c-api Date: Wed, 20 Feb 2008 21:22:40 +0000 (UTC) Message-ID: References: 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 1203543023 26510 80.91.229.12 (20 Feb 2008 21:30:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Feb 2008 21:30:23 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Feb 20 22:30:47 2008 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JRwWc-0006TD-TL for guile-devel@m.gmane.org; Wed, 20 Feb 2008 22:30:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JRwW5-0001YU-K7 for guile-devel@m.gmane.org; Wed, 20 Feb 2008 16:30:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JRwW2-0001Vl-2c for guile-devel@gnu.org; Wed, 20 Feb 2008 16:30:10 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JRwVx-0001Ls-BI for guile-devel@gnu.org; Wed, 20 Feb 2008 16:30:09 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JRwVx-0001Lf-66 for guile-devel@gnu.org; Wed, 20 Feb 2008 16:30:05 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JRwVw-0000k0-Nx for guile-devel@gnu.org; Wed, 20 Feb 2008 16:30:05 -0500 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1JRwVu-0001tQ-S5 for guile-devel@gnu.org; Wed, 20 Feb 2008 21:30:02 +0000 Original-Received: from p5B2B2962.dip0.t-ipconnect.de ([91.43.41.98]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Feb 2008 21:30:02 +0000 Original-Received: from shirk87 by p5B2B2962.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Feb 2008 21:30:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 20 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 91.43.41.98 (Mozilla/5.0 (iPhone; U; CPU like Mac OS X; de-de) AppleWebKit/420.1 (KHTML, like Gecko) Version/3.0 Mobile/4A93 Safari/419.3) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:7035 Archived-At: Sorry to reply to myself but I detected the problem. My code is correct and working as expected but scm_add_slot() will segfault anyways because of bug #22369. I checked it agianst the present cvs head and it still an issue. Applying the supplied patch fixes the problem. In existing code the same behavior can be achieved by a local copy of scm_add_slot with an additional SCM_UNDEFINED. Greetings Shirk ---------------------------------------------------------------------- BitSpinn.org - Don't get twisted up! ----------------------------------------------------------------------