From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Catonano Newsgroups: gmane.lisp.guile.user Subject: Re: segmenation fault Date: Fri, 9 Jun 2017 10:42:31 +0200 Message-ID: References: <20170609.094329.1861758562085707445.post@thomasdanckaert.be> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1496997776 24697 195.159.176.226 (9 Jun 2017 08:42:56 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 9 Jun 2017 08:42:56 +0000 (UTC) Cc: guile-user@gnu.org To: Thomas Danckaert Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Jun 09 10:42:52 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 1dJFVM-0006Fi-I5 for guile-user@m.gmane.org; Fri, 09 Jun 2017 10:42:52 +0200 Original-Received: from localhost ([::1]:53378 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJFVR-0001PO-Rs for guile-user@m.gmane.org; Fri, 09 Jun 2017 04:42:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJFV4-0001Ky-2L for guile-user@gnu.org; Fri, 09 Jun 2017 04:42:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dJFV3-0004W3-2o for guile-user@gnu.org; Fri, 09 Jun 2017 04:42:34 -0400 Original-Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]:34380) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dJFV2-0004Vh-RV for guile-user@gnu.org; Fri, 09 Jun 2017 04:42:32 -0400 Original-Received: by mail-wm0-x232.google.com with SMTP id d64so1884821wmf.1 for ; Fri, 09 Jun 2017 01:42:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=3ZC+YBf/QBCphqaRxNrvtcMepAtCZCyHPH+Q6WI1kHk=; b=I/u8Agvhr3OP+Dr52SpJFwYQW623eWMe4rjgrLKUzBgD/BvotSHAvfm4S/MbcdasI+ 0aVzlhzIv66KOYyYh9anlbD4wdGPqK5ay1bQWYp2w7DdNDfdEa7gAXSb4N+fEWx1gA1Y oeHBvU3BP485m8Go917mJNVteouoSP8M4Uj92i1wc0krEKD+rPlnE7I0Z/FuOpk51sDT H59xAqcVjMOsGbyw6LdyIp2nz0beWXAyuR8HByPklcMxWqqHEMnjHv52zeJncQjsuud0 mBQbmgsCUKBvJ5de7rF9q2wGfc8HVGf21gaoEkbHFgfPL3Dcp9tSDBCwpF1r1tb2NSwY q/KA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=3ZC+YBf/QBCphqaRxNrvtcMepAtCZCyHPH+Q6WI1kHk=; b=tfBJKgoSWHZkcWCyhE++VUTxQ/8rjlkqDKYtky8WzLiQ0aygmfnc81z1O5dNkusF1e neMezEYDJp0KI8DkILoL8XcBClh1DJmwbVQy2AVQG2QJdou3cr3iCdys5rnWHPvGlrMV 3iD8L7MkKH0fhMt3ONlO/p0Q0kj1yunIdjhJOozPTc3KPtguHQWnY4bfDj7E5LCE9ViF vjVBibK2OD4BuxGt9aYQb18fAj20aodrcgnJQuVgn2Weau1MnYfcJ2aig7oxoUtwdqIV deV5/UvA++JuyiaeeEEhGDaqvjYtRoxH9OVsr7BIIbrF4B1OCxSM4PLiuzwTeLW6RLMS rlkw== X-Gm-Message-State: AODbwcDXTKMjlpe3vJaF0mOYgeZBpSgUILvyjcfXiKsF1TbCH/DQO066 Z+w6zbAV4DDMum/edBzs3JXrzQECcQ== X-Received: by 10.80.149.132 with SMTP id w4mr10280690eda.82.1496997751584; Fri, 09 Jun 2017 01:42:31 -0700 (PDT) Original-Received: by 10.80.131.4 with HTTP; Fri, 9 Jun 2017 01:42:31 -0700 (PDT) In-Reply-To: <20170609.094329.1861758562085707445.post@thomasdanckaert.be> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::232 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 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:13785 Archived-At: Thomas, 2017-06-09 9:43 GMT+02:00 Thomas Danckaert : > 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**? > I had overlooked your reply ! Thanks to you too !!