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: Sun, 11 Jun 2017 22:56:55 +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 1497214641 25627 195.159.176.226 (11 Jun 2017 20:57:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 11 Jun 2017 20:57:21 +0000 (UTC) Cc: guile-user@gnu.org To: Amirouche Boubekki Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Jun 11 22:57:16 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 1dK9v9-0006Ku-Tf for guile-user@m.gmane.org; Sun, 11 Jun 2017 22:57:16 +0200 Original-Received: from localhost ([::1]:35151 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dK9vF-0001ru-85 for guile-user@m.gmane.org; Sun, 11 Jun 2017 16:57:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47347) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dK9us-0001rn-52 for guile-user@gnu.org; Sun, 11 Jun 2017 16:56:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dK9ur-0006kv-Dg for guile-user@gnu.org; Sun, 11 Jun 2017 16:56:58 -0400 Original-Received: from mail-wr0-x234.google.com ([2a00:1450:400c:c0c::234]:34668) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dK9ur-0006kD-74 for guile-user@gnu.org; Sun, 11 Jun 2017 16:56:57 -0400 Original-Received: by mail-wr0-x234.google.com with SMTP id g76so77201846wrd.1 for ; Sun, 11 Jun 2017 13:56:56 -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=V/wDraQyCNTZHVIfw5Zo9L0slozvfrmVFQMbXY9CCWg=; b=rWuu/zgo10aMVlQkvRpbfjylFRvih6cyLYnrSaRPc/ATUxNhOslexeoI+PZlnIBlJ/ jUeZT9l9Bx+eT3yezWznhkKo+F4EQF5wzrGXrNAATVduXlItvYzWHh48V0SekHBXddqB CtqZJNsAQ3Sjf71dUW728qT/lTXIJbLB3/4rHXA+EkhIPK63mQNEf9Kd5xzZrYyDNs7o IHYqAo/AjMQaKfWDa05KmXqUfWtUC0+qKFG4ZzjIv6yQY+pwxIggvuuHIXcpcwzmDhOY yqABbf3O96RPx7zBXM0vONTM1+EHT8dc3u8hgOL3oghrlKWm+zpOcWqKCSGxDQnQzcJW ie5Q== 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=V/wDraQyCNTZHVIfw5Zo9L0slozvfrmVFQMbXY9CCWg=; b=EKlvT8d5yF8AaAiSE/YGF9vNFFB2X+bQlQMAull4W5Up3VKMsTIuD3hG8eggPucjjP uZS+rmAJXcqRF8gYuVXTvxAVv62aN9hrFdEQkk4Y2SzLbIpgO1ISQAfBvWiLT9GhOiwq t+wIS/05M/7Y4Ogwl0sUxQgc/nBg+a0W1WxDqBP6xJPEriix2lJ8JSH3SZvAdA2nzHw3 ai4RMbuVPQmGmfLLcL2InBo6gu4BdAuxaMTCGy16ucvgZL3GmzJvPtRbp6tuDjyxa6BS xV60lRW+/h8FVMuaVyVqwB77I9IjmcYuN5GlIqgPVfbjxVQLQvrMqcOO8GlqXwRpECHk 6A8w== X-Gm-Message-State: AODbwcCVixwpH+Ivbzw7RjT/+j7SMQDU5z3wfitgd8z19ca3ddmvteRr /XDM6ckzFbm2OfaIB4vXseYey7OjJg== X-Received: by 10.80.177.209 with SMTP id n17mr23819696edd.177.1497214615976; Sun, 11 Jun 2017 13:56:55 -0700 (PDT) Original-Received: by 10.80.131.4 with HTTP; Sun, 11 Jun 2017 13:56:55 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::234 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:13816 Archived-At: Amirouche, Thomas, 2017-06-09 10:00 GMT+02:00 Amirouche Boubekki : > It's something like (bytevector->pointer (make-vector)) there is a > make-double-pointer procedure in guile git > I have overlooked both your remarks and Thomas's remarks I apologize, I was not understanding the issue correctly I have found define-wrapped-pointer-type in the manual only now and of course both of you are right. The case described in the manual is slightly different than the one freexl poses I can't wrap a pointer created by the C funtion. I have to pass one created in scheme land The make-double-pointer procedure in guile-git seems appropriate. Thanks, Amirouche