From owner-freebsd-questions@FreeBSD.ORG Thu Sep 14 17:27:35 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36C2B16A412 for ; Thu, 14 Sep 2006 17:27:35 +0000 (UTC) (envelope-from kei-29ij@myamail.com) Received: from bkp.bsdhost.net (bkp.bsdhost.net [66.160.134.99]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A7E243D46 for ; Thu, 14 Sep 2006 17:27:32 +0000 (GMT) (envelope-from kei-29ij@myamail.com) Received: from c-24-61-43-200.hsd1.ma.comcast.net ([24.61.43.200] helo=[172.16.2.99]) by bkp.bsdhost.net with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.63 (FreeBSD)) (envelope-from ) id 1GNuzE-0002Zj-8y; Thu, 14 Sep 2006 10:27:28 -0700 In-Reply-To: References: <4065CD1E-54D7-49E3-A532-C312450BA101@myamail.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <0F0F0306-F9E1-463F-93E0-D711209FEE00@myamail.com> Content-Transfer-Encoding: 7bit From: Fred C! Date: Thu, 14 Sep 2006 13:24:41 -0400 To: Chuck Swiger X-Mailer: Apple Mail (2.752.2) Cc: freebsd-questions@freebsd.org Subject: Re: Problem with sqlite3 and python 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: Thu, 14 Sep 2006 17:27:35 -0000 On Sep 13, 2006, at 7:17 PM, Chuck Swiger wrote: > On Sep 13, 2006, at 3:48 PM, Fred C! wrote: >> Hello I have a problem with Python + sqlite3. My main machine is a >> FreeBSD 6.1 I have also try on an old machine running FreeBSD 5.5 >> and it doesn't work either. I join to this email some information. >> I can also provide a core file if someone is interested in >> solving that problem. >> >> Thanks you for any information on how to solve this > > Not enough data; switch to the thread which crashed, ie got the SIG > 11, and do a "bt" to try to see what was going wrong. > > Note that debugging multithreaded programs is rather difficult, and > you might want to double-check that your basic Python installation > is OK first by running the included self-tests which come with the > Python distribution. If you're using the Python from ports, try > doing: > > cd /usr/ports/lang/python && make > cd /usr/ports/lang/python/work/Python-2.4.3 && make test As I told you in my previews emails all the python tests went with no errors. I have try with using postgres instead of sqlite and I got the same problem hugo:524> gdb /usr/local/bin/python python.core 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 "i386-marcel-freebsd"...(no debugging symbols found)... Core was generated by `python'. Program terminated with signal 11, Segmentation fault. [... lines deleted ...] Loaded symbols for /usr/local/lib/python2.4/lib-dynload/_bisect.so Reading symbols from /usr/local/lib/python2.4/lib-dynload/md5.so... (no debugging symbols found)...done. Loaded symbols for /usr/local/lib/python2.4/lib-dynload/md5.so Reading symbols from /usr/local/lib/python2.4/site-packages/ psycopgmodule.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/python2.4/site-packages/ psycopgmodule.so Reading symbols from /usr/local/lib/libpq.so.4...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libpq.so.4 Reading symbols from /lib/libcrypt.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libcrypt.so.2 Reading symbols from /usr/local/lib/libintl.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libintl.so.6 Reading symbols from /usr/local/lib/libiconv.so.3...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libiconv.so.3 Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x2822f31b in pthread_testcancel () from /usr/lib/libpthread.so.1 (gdb)