From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Joonas_Saraj=C3=A4rvi?= Newsgroups: gmane.lisp.guile.user Subject: crash in guile-sqlite3 Date: Thu, 26 Apr 2012 21:51:01 +0300 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1335467918 18222 80.91.229.3 (26 Apr 2012 19:18:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 26 Apr 2012 19:18:38 +0000 (UTC) Cc: dzu@denx.de To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Apr 26 21:18:37 2012 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SNUD2-0008Iq-K5 for guile-user@m.gmane.org; Thu, 26 Apr 2012 21:18:32 +0200 Original-Received: from localhost ([::1]:58033 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNUD1-0004Ll-Vo for guile-user@m.gmane.org; Thu, 26 Apr 2012 15:18:31 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47485) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNTma-0005UF-7s for guile-user@gnu.org; Thu, 26 Apr 2012 14:51:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SNTmT-0000g1-MG for guile-user@gnu.org; Thu, 26 Apr 2012 14:51:11 -0400 Original-Received: from mail-lb0-f169.google.com ([209.85.217.169]:51359) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNTmT-0000eO-8x for guile-user@gnu.org; Thu, 26 Apr 2012 14:51:05 -0400 Original-Received: by lbbgg6 with SMTP id gg6so1424652lbb.0 for ; Thu, 26 Apr 2012 11:51:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=hzflVp663ZgLWPNqoYpfPOXvw1zQwBTLFptG8kcm63k=; b=QiYdBU7Wd83MP/XI+Tmd3SWBNvPUaZmSlGysYpy6uDMbcCIb6mLpoHm0R4d3yO9jJK dO9en9wJm5c31byPC5hvJjxlWBQxJEKykrJvsZwBHJDjDbYQFQhfWFliMUb0vmHhARQj 6ubbqFwjPPwgDvPN9tJM3jAdV7vHH4Dd5r5A/WJGeEX8FZPaH+z75iwdTxYQkCrwIWEq Z1C/sBbQQC0q7davrctk6vXMbkdePqtY+cYiKq3nqwP2W5hvd69tydUOYawEWUiBqS4L 1bB5CrDoATM/CeB2nOApcHebBxe8ICVcRdma2wGJSTJ8daM3NQHULhkJflQm04gIfzFb v85w== Original-Received: by 10.112.103.202 with SMTP id fy10mr3846032lbb.43.1335466261813; Thu, 26 Apr 2012 11:51:01 -0700 (PDT) Original-Received: by 10.112.4.68 with HTTP; Thu, 26 Apr 2012 11:51:01 -0700 (PDT) X-Google-Sender-Auth: mMCJz_xHdY0TU2xqfpp3cocjZFk X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.217.169 X-Mailman-Approved-At: Thu, 26 Apr 2012 15:18:29 -0400 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 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-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:9396 Archived-At: Hello, Some time ago, I noticed that there is a nice-looking libsqlite3 wrapper for Guile available at [1]. I am now trying to use it, but the short example program I wrote seems to cause guile to crash in certain places where sqlite-finalize is called. I tried to run guile in gdb to get a backtrace from the crash. The segfault seems to be triggered inside libsqlite3 code, but I could not really get much useful information from it. I am thus writing here to ask if someone else has more insight on why this is happening and if it could be resolved. The test program that demostrates this behavior is available in [2] and it is also attached to this message. On a 32-bit Exherbo installation with guile-2.0.5 it reproducibly crashes into "Illegal instruction" message, while in a 64-bit Fedora 16 installation that has guile-2.0.2 added it produces a Segmentation fault. The program is fairly short, which I hope might make it easier to track the problem down. Is guile-sqlite3 actually in such a shape that it might be useful for curious testers? Thanks, -- Joonas Saraj=C3=A4rvi References: [1] http://gitorious.org/guile-sqlite3 [2] http://paste.pocoo.org/show/587676/