Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Nov 2008 19:25:01 -0600
From:      "Zane C.B." <vvelox@vvelox.net>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/129198: databases/p5-DBD-SQLite fails when SQLite is compiled with thread support
Message-ID:  <1227662701.50884@vixen42.vulpes>
Resent-Message-ID: <200811260130.mAQ1U1V5001444@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         129198
>Category:       ports
>Synopsis:       databases/p5-DBD-SQLite    fails when SQLite is compiled with thread support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 26 01:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Zane C.B.
>Release:        FreeBSD 6.4-PRERELEASE i386
>Organization:
>Environment:


System: FreeBSD 6.4-PRERELEASE #2: Thu Nov 20 15:59:23 CST 2008
    root@vixen42.vulpes:/usr/obj/usr/src/sys/vixen42



>Description:


databases/sqlite3 being compiled with thread support results in the following when trying to use DBD::SQLite...

Fatal error 'Recurse on a private mutex.' at line 986 in file /usr/src/lib/libpthread/thread/thr_mutex.c (errno = 22)
Abort
Exit 134


>How-To-Repeat:


1: compile databases/sqlite3 with threads
2:
3: run.... perl -e 'use strict; use warnings; use DBD::SQLite; use DBI; my $dbh=DBI->connect("dbi:SQLite:dbname=help");'
4: watch it error with a recusrive mutex error
5: recompile databases/sqlite3 with out threads
6: run... perl -e 'use strict; use warnings; use DBD::SQLite; use DBI; my $dbh=DBI->connect("dbi:SQLite:dbname=help");'
7: watch it work


>Fix:





>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1227662701.50884>