From owner-freebsd-ports@FreeBSD.ORG Sat Mar 8 12:01:45 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7E08106568A for ; Sat, 8 Mar 2008 12:01:45 +0000 (UTC) (envelope-from vkushnir@bigmir.net) Received: from ex.volia.net (ex.volia.net [82.144.192.10]) by mx1.freebsd.org (Postfix) with ESMTP id 5B6EA8FC2A for ; Sat, 8 Mar 2008 12:01:45 +0000 (UTC) (envelope-from vkushnir@bigmir.net) Received: from em.volia.net ([82.144.192.9]) by ex.volia.net with esmtp (Exim 4.63 (FreeBSD)) (envelope-from ) id 1JXOQW-000H00-6z; Fri, 07 Mar 2008 00:19:00 +0200 Received: from editorially-hamburger.volia.net ([77.123.41.179] helo=kushnir1.kiev.ua) by em.volia.net with esmtp (Exim 4.63 (FreeBSD)) (envelope-from ) id 1JXOQW-000Dno-0o; Fri, 07 Mar 2008 00:19:00 +0200 Received: from kushnir1.kiev.ua (kushnir1.kiev.ua [192.168.0.10]) by kushnir1.kiev.ua (8.14.2/8.13.8) with ESMTP id m26MJBFS027679; Fri, 7 Mar 2008 00:19:11 +0200 (EET) (envelope-from vkushnir@bigmir.net) Date: Fri, 7 Mar 2008 00:19:11 +0200 (EET) From: Vladimir Kushnir X-X-Sender: vkushnir@kushnir1.kiev.ua To: Mark Ovens In-Reply-To: <47D032ED.1040805@magichamster.com> Message-ID: <20080307001327.P65422@kushnir1.kiev.ua> References: <47D032ED.1040805@magichamster.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Volia-Original-IP: 77.123.41.179 Cc: freebsd-ports@freebsd.org Subject: Re: 7.0-RELEASE: digikam 0.9.3 dumps core on startup X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Mar 2008 12:01:46 -0000 Hi Mark, On Thu, 6 Mar 2008, Mark Ovens wrote: > Clean install of 7.0-RELEASE, Xorg, KDE, and digikam from a freshly > downloaded ports tree. > > Starting digikam for the first time gives the dialogue asking for the > directory to use as the Album root, enter a path then digikam dumps core. The > trace from the KDE Crash Handler is: > > [New Thread 0x2a701100 (LWP 100193)] > [Switching to Thread 0x2a701100 (LWP 100193)] > [KCrash handler] > #6 0x28550b73 in sqlite3Fts2InitHashTable () > from /usr/local/lib/libsqlite3.so.8 > #7 0x285484e2 in sqlite3Fts2Init () from /usr/local/lib/libsqlite3.so.8 > #8 0x28514fa5 in openDatabase () from /usr/local/lib/libsqlite3.so.8 > #9 0x281bc47e in Digikam::AlbumDB::setDBPath () > from /usr/local/lib/libdigikam.so.0 > #10 0x281e85a7 in Digikam::AlbumManager::setLibraryPath () > from /usr/local/lib/libdigikam.so.0 > #11 0x0804ad78 in main () > > Trying to start digikam again results in the same except that it doesn't ask > for an Album directory. > > It doesn't matter whether the directory I choose exists, doesn't exist, or > exists and contains an existing digikam Album (and therefore an existing > digikam3.db file). If it is a directory without an existing digikam3.db file > then one is created, but it is 0 bytes. > > The problem appears to be in SQLite. > > As I said, this is a completely clean install of 7.0 and the ports so there > is no dross left around from a previous version of either FreeBSD or any > ports - the existing digikam album used for testing was from a backup. > > Can anyone shed any light on this please? > I had precisely the same problem (plus system gdb dumped core and I had to use ports' one, ports/devel/gdb6 - hint!). For me, it was solved by rebuilding sqlite3 with WITHOUT_FTS1=true WITHOUT_FTS2=true options. Perhaps, only one of them is needed but as they say, "if you don't know what it is you don't need it". HTH, Vladimir