From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Amirouche Boubekki Newsgroups: gmane.lisp.guile.user Subject: Re: segmenation fault Date: Fri, 9 Jun 2017 01:00:49 -0700 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" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1496995301 18951 195.159.176.226 (9 Jun 2017 08:01:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 9 Jun 2017 08:01:41 +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:01:22 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 1dJErC-0003xl-Fy for guile-user@m.gmane.org; Fri, 09 Jun 2017 10:01:22 +0200 Original-Received: from localhost ([::1]:53278 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJErH-0004sz-TS for guile-user@m.gmane.org; Fri, 09 Jun 2017 04:01:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48548) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJEqt-0004sj-BL for guile-user@gnu.org; Fri, 09 Jun 2017 04:01:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dJEqk-0005I5-0T for guile-user@gnu.org; Fri, 09 Jun 2017 04:01:03 -0400 Original-Received: from mail-pg0-x22c.google.com ([2607:f8b0:400e:c05::22c]:33761) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dJEqj-0005Gz-Qv for guile-user@gnu.org; Fri, 09 Jun 2017 04:00:53 -0400 Original-Received: by mail-pg0-x22c.google.com with SMTP id f185so24230133pgc.0 for ; Fri, 09 Jun 2017 01:00:51 -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=xljbttT5gMZ7AqEj17qtqVpYFFX8qW71NOMdfnevh50=; b=ml5Lsx9pHrywftaSsEtyLMgAg+kXWAaiGoMp+ngz2BYkWGVMMiSrxCAU2LEJcbjNdF XnB+aYT4HKSti87MzKk9Swe74Vr92q1Qa50m4OQDcIKQU1+BEgusw1LVdFXnUriZSGnv uvHUIwrVZaEF/N8G3Ojt3l6ZJlqohdlHoHz66TZVKo7LQAvzr0WXkAWPks8FaiWYF8+d wCO9zHf9LM4fADjE78960B+KHJvc7kEJ1+dKo6xbhqL/9oXDoUotBcKCe+yNRC7oQ76t ExOcR3T7qjV/gCEK/9TEHwnQKtSG/2+jgrScnU8xQ2YQ1b614XaCQOSwmFEfaqhCgT73 XBBA== 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=xljbttT5gMZ7AqEj17qtqVpYFFX8qW71NOMdfnevh50=; b=qINLQc6W24BCrZYH/0oIGnCicv/mrS0c+jDo7T6l2cAsL3mqMadOPbL2adNyVfQPMN OQXmp6I+0kZr+9x/F2IdVCpaVYjl7bQyVXwZBUyA9+z4gx3aDPYxJFs65ZyvUDqZf6Wh nbmFCAVZh8Zq6Co9ave5wDC0XQ/7jnllFRWkjEiKLkpHKCpxOYGDezciHWM3Vo1qkAev Qltwj0nj0bVdYX/SH57Nx1s2pDWdIvkfxI6MG3Rb4ao79oaUuIGGZYla7OS9oHXSlnbq AXwktjYBPPlRaYTZITet8I9OWOg6BCUcIgpg2Pq3i5Q6tTeHpQ0/67bBhjePw74evohV vWQg== X-Gm-Message-State: AODbwcBzpv6iqgj8QQlxAxAbkywIiOqEgHkcKTxbuK44QLKWioG6mQh0 p68jMjCSLnJ1t5VlkmSlFONxMfCA5g== X-Received: by 10.101.90.12 with SMTP id y12mr43356650pgs.226.1496995250866; Fri, 09 Jun 2017 01:00:50 -0700 (PDT) Original-Received: by 10.100.181.102 with HTTP; Fri, 9 Jun 2017 01:00:49 -0700 (PDT) Original-Received: by 10.100.181.102 with HTTP; Fri, 9 Jun 2017 01:00:49 -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: 2607:f8b0:400e:c05::22c 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:13783 Archived-At: It's something like (bytevector->pointer (make-vector)) there is a make-double-pointer procedure in guile git Le 9 juin 2017 9:47 AM, "Thomas Danckaert" a =C3=A9crit : > 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 > >