From owner-freebsd-questions@FreeBSD.ORG Tue Oct 2 05:33:06 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50E7716A418 for ; Tue, 2 Oct 2007 05:33:06 +0000 (UTC) (envelope-from chad@shire.net) Received: from hobbiton.shire.net (hobbiton.shire.net [166.70.252.250]) by mx1.freebsd.org (Postfix) with ESMTP id 38CEF13C468 for ; Tue, 2 Oct 2007 05:33:06 +0000 (UTC) (envelope-from chad@shire.net) Received: from c-76-23-4-92.hsd1.ut.comcast.net ([76.23.4.92] helo=[192.168.99.68]) by hobbiton.shire.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.51) id 1IcaNV-000HLe-Ck for freebsd-questions@freebsd.org; Mon, 01 Oct 2007 23:33:05 -0600 Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: User Questions From: Chad Leigh -- Shire.Net LLC Date: Mon, 1 Oct 2007 23:33:03 -0600 X-Mailer: Apple Mail (2.752.2) X-SA-Exim-Connect-IP: 76.23.4.92 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on hobbiton.shire.net); SAEximRunCond expanded to false Subject: segmentation fault in sqlite3 on 6.2R amd64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Oct 2007 05:33:06 -0000 Hi In installing trac I ran across a segmentation fault in the initenv command. This seems to be the same problem as shown here: http://www.nabble.com/ports-116383%3A-sqlite3-%28from-databases- sqlite3%29-segfault-tf4449251.html#a12694631 Running it in gdb shows Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x50c000 (LWP 100331)] 0x0000000802f76869 in sqlite3Fts2InitHashTable () from /usr/public/ lib/libsqlite3.so.8 (gdb) backtrace #0 0x0000000802f76869 in sqlite3Fts2InitHashTable () from /usr/ public/lib/libsqlite3.so.8 #1 0x0000000802f74f8f in sqlite3Fts2Init () from /usr/public/lib/ libsqlite3.so.8 #2 0x0000000802f41be5 in openDatabase () from /usr/public/lib/ libsqlite3.so.8 #3 0x0000000802e0bd91 in pysqlite_connection_init () from /usr/ public/lib/python2.5/site-packages/pysqlite2/_sqlite.so #4 0x00000008006ab6fb in PyType_IsSubtype () from /usr/public/lib/ libpython2.5.so.1 #5 0x000000080066ec83 in PyObject_Call () from /usr/public/lib/ libpython2.5.so.1 #6 0x0000000802e09f95 in module_connect () from /usr/public/lib/ python2.5/site-packages/pysqlite2/_sqlite.so #7 0x000000080066ec83 in PyObject_Call () from /usr/public/lib/ libpython2.5.so.1 #8 0x00000008006dc6da in PyEval_EvalFrameEx () from /usr/public/lib/ libpython2.5.so.1 #9 0x00000008006dec34 in PyEval_EvalCodeEx () from /usr/public/lib/ libpython2.5.so.1 #10 0x00000008006888be in PyFunction_SetClosure () from /usr/public/ lib/libpython2.5.so.1 #11 0x000000080066ec83 in PyObject_Call () from /usr/public/lib/ libpython2.5.so.1 #12 0x00000008006dc272 in PyEval_EvalFrameEx () from /usr/public/lib/ libpython2.5.so.1 #13 0x00000008006de336 in PyEval_EvalFrameEx () from /usr/public/lib/ libpython2.5.so.1 #14 0x00000008006dec34 in PyEval_EvalCodeEx () from /usr/public/lib/ libpython2.5.so.1 #15 0x00000008006dd9fb in PyEval_EvalFrameEx () from /usr/public/lib/ libpython2.5.so.1 #16 0x00000008006dec34 in PyEval_EvalCodeEx () from /usr/public/lib/ libpython2.5.so.1 I do the simple test command as shown in the nabble.com link above and get basically the same thing # gdb sqlite3 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"...(no debugging symbols found)... (gdb) r comments.db "CREATE TABLE comments (page, name, email, url, body);" Starting program: /usr/public/bin/sqlite3 comments.db "CREATE TABLE comments (page, name, email, url, body);" (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... Program received signal SIGSEGV, Segmentation fault. 0x0000000800698869 in sqlite3Fts2InitHashTable () from /usr/public/ lib/libsqlite3.so.8 (gdb) backtrace #0 0x0000000800698869 in sqlite3Fts2InitHashTable () from /usr/ public/lib/libsqlite3.so.8 #1 0x0000000800696f8f in sqlite3Fts2Init () from /usr/public/lib/ libsqlite3.so.8 #2 0x0000000800663be5 in openDatabase () from /usr/public/lib/ libsqlite3.so.8 #3 0x0000000000403133 in open_db () #4 0x00000000004053b8 in main () (gdb) Anyone else see this same thing or know about this problem? A Google search does not show this mentioned except at the above link. Thanks Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net