From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Detlev Zundel Newsgroups: gmane.lisp.guile.devel Subject: Re: Problems with guile-sqlite3 Date: Fri, 01 Apr 2011 11:12:03 +0200 Message-ID: References: <20110401023323.32041242@rascar> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1301649526 2584 80.91.229.12 (1 Apr 2011 09:18:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 1 Apr 2011 09:18:46 +0000 (UTC) Cc: Andy Wingo , guile-devel@gnu.org To: David Pirotte Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Apr 01 11:18:42 2011 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.69) (envelope-from ) id 1Q5aV6-0006JR-VR for guile-devel@m.gmane.org; Fri, 01 Apr 2011 11:18:41 +0200 Original-Received: from localhost ([127.0.0.1]:50083 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q5aV6-0000q3-8V for guile-devel@m.gmane.org; Fri, 01 Apr 2011 05:18:40 -0400 Original-Received: from [140.186.70.92] (port=48221 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q5aP5-0003ci-Ba for guile-devel@gnu.org; Fri, 01 Apr 2011 05:12:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q5aP0-0002kT-R0 for guile-devel@gnu.org; Fri, 01 Apr 2011 05:12:27 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.10]:33679) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q5aP0-0002kE-JP for guile-devel@gnu.org; Fri, 01 Apr 2011 05:12:22 -0400 Original-Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 6CE75186DEF4; Fri, 1 Apr 2011 11:12:19 +0200 (CEST) X-Auth-Info: P08/4B5gmgeWGf1yPvMLVMvslHaWNEKJvyXVCplaTrA= Original-Received: from mail.denx.de (host-82-135-33-74.customer.m-online.net [82.135.33.74]) by smtp-auth.mnet-online.de (Postfix) with ESMTPA id AB2931C000F3; Fri, 1 Apr 2011 11:12:18 +0200 (CEST) Original-Received: from ohwell.denx.de (ohwell [10.0.40.4]) by mail.denx.de (Postfix) with ESMTP id E617D4BC1526; Fri, 1 Apr 2011 11:12:09 +0200 (CEST) Original-Received: from dzu by ohwell.denx.de with local (Exim 4.72) (envelope-from ) id 1Q5aOi-000201-Rv; Fri, 01 Apr 2011 11:12:04 +0200 In-Reply-To: <20110401023323.32041242@rascar> (David Pirotte's message of "Fri, 1 Apr 2011 02:33:23 -0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Received-From: 212.18.0.10 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:12132 Archived-At: Hi David, > Just tried guile-sqlite3 - after applying the 2 patches of Detlev - and = succeeded with > > sqlite-open, sqlite-prepare, sqlite-column-names [and sqlite-close] > > but > > scheme@(guile-user)> (sqlite-step stmt) > ERROR: In procedure pointer->bytevector: > ERROR: In procedure pointer->bytevector: null pointer dereference > > Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. > scheme@(guile-user) [1]> ,bt > > In sqlite/sqlite3.scm: > 408:29 2 (sqlite-row #< pointer: #) > 387:12 1 (# =E2=80=A6) > In unknown file: > 0 (pointer->bytevector # 0 # #) Thanks for testing. Unfortunately currently I'm not able to reproduce your findings - in my little test I was successful in reading records from a small database. Can you show me the exact calls and the database you used? Thanks Detlev --=20 ``The number of UNIX installations has grown to 10, with more expected.'' Unix Programmers Manual -- 1972 The number of UNIX variants has grown to dozens, with more expected. -- 2001