From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Thomas Danckaert Newsgroups: gmane.lisp.guile.user Subject: Re: segmenation fault Date: Fri, 09 Jun 2017 09:43:29 +0200 (CEST) Message-ID: <20170609.094329.1861758562085707445.post@thomasdanckaert.be> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1496994505 30541 195.159.176.226 (9 Jun 2017 07:48:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 9 Jun 2017 07:48:25 +0000 (UTC) Cc: guile-user@gnu.org To: catonano@gmail.com Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Jun 09 09:48:18 2017 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dJEeW-0007T9-UE for guile-user@m.gmane.org; Fri, 09 Jun 2017 09:48:17 +0200 Original-Received: from localhost ([::1]:53239 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJEeb-0000OI-Ri for guile-user@m.gmane.org; Fri, 09 Jun 2017 03:48:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45716) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJEe3-0000Mi-Mw for guile-user@gnu.org; Fri, 09 Jun 2017 03:47:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dJEe0-00005C-IW for guile-user@gnu.org; Fri, 09 Jun 2017 03:47:47 -0400 Original-Received: from s02.spamexperts.axc.nl ([185.182.56.112]:54831) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dJEe0-0008Vc-BK for guile-user@gnu.org; Fri, 09 Jun 2017 03:47:44 -0400 Original-Received: from vserver42.axc.nl ([185.182.56.92]) by s02.spamexperts.axc.nl with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.86) (envelope-from ) id 1dJEdr-0001IH-OH; Fri, 09 Jun 2017 09:47:35 +0200 Original-Received: from mail.axc.nl ([185.182.56.42]:44798 helo=mail.axc.eu) by vserver42.axc.nl with esmtp (Exim 4.89) (envelope-from ) id 1dJEa0-00047N-Ie; Fri, 09 Jun 2017 09:43:36 +0200 In-Reply-To: X-Mailer: Mew version 6.7 on Emacs 25.2 / Mule 6.0 (HANACHIRUSATO) PrimaryMX: Accepted email from trusted host. Hint: This skips spam scanning so make sure other host is not vulnerable X-Relay-Host: 185.182.56.42 SpamTally: Final spam score: 0 X-Originating-IP: 185.182.56.92 X-SpamExperts-Domain: vserver42.axc.nl X-SpamExperts-Username: 185.182.56.92 Authentication-Results: spamexperts.axc.nl; auth=pass smtp.auth=185.182.56.92@vserver42.axc.nl X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.25) X-Recommended-Action: accept X-Filter-ID: PqwsvolAWURa0gwxuN3S5YEa3T7JuZT23fGO2rGt3ZgsMsZgKv9QTddkIJVaBJo+G/swGrWOHA54 4guA7T2tGN7l73lnG706veAsFS3NwwfKmCxa+qOIJBtyaRiVA+5A91/+dtAkCBSCapH+vHSo7Bum JwiT+2brWmQlzkLIcXivpIH4ag6BM/+u9ym+BA23PzXo6sz+qbdjk72XjPD6Ua+Gim6uPYOTXYlh /HQ05+P5nej2vXbyXWR79oJMWk8H/i79vdUGppXCKboBNKTM1uPP5H+A0XHGHYNFdQLnJqk93SsS 4aMXJmiJ2G0eb5ahDh1VKuNb77xNesX9vkOxURLLycT2WUPXFf4cgG+QJEn1H/aAwarQpYDOYx/6 JtUO2J0o8Y6P0PtfJHSaBBNA+iXCWfx8zxBUiAwIo6tbYGOAuAA8AReHCD3YT73TlJTFSNcbFlfi m6gOq49wB2R4S7lvZbgJLYQA9+3JtQdGzwqqrQKM1hed1Chx7euL7dUNrtDiUt0+8TsbC2HmsnGQ M4++76xygdKOolzJBz2fwVdHNAZYuLflPv4qSgS8ugIxueyFDbWbJmJWXtk6xDx/yCloqbtceYkI +64Azk5OKUg/Izz9KKyhCZvvOfBm4dC1Vv3bjhsQIqIpH+GtjTmICUMcW5krNPs1pwcJCkS6RxMT TKFbFG+JMSGcziy27HnOh4mx3/TldquZHftnYlPHSkM03l4TBTFX737p3Mfcn/kup0lID9mLSdr1 XAOpdrQOC92gBKDdq7U9iAH27maBzJ500IOUeR5TrgHL2Pcx4CJnxwLk0LM60oVUbY6Bw9QxZH/+ N9kYUw3FSFGaDalaN1A99LLzZjgW+ X-Report-Abuse-To: spam@s01.spamexperts.axc.nl X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.182.56.112 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:13782 Archived-At: From: Catonano Subject: segmenation fault Date: Fri, 9 Jun 2017 09:21:35 +0200 > probably this line > (scm->pointer 0) > is not correct > > But I don't know how to produce a void pointer and then pass it to > freexl-open It seems you need a void ** (pointer to void pointer). I'm not familiar with Guile FFI, but (scm->pointer 0) is probably a pointer to an int? Perhaps (scm->pointer %null-pointer) will return a void**? Thomas