ports/167682: databases/sqlite3 3.7.11 on FreeBSD 9.0-RELEASE amd64 (ports) segfaults with memstats compiled in _pthread_mutex_init_calloc_cb
Jerry Lundström
jerry.lundstrom at iis.se
Tue May 8 09:50:09 UTC 2012
The following reply was made to PR ports/167682; it has been noted by GNATS.
From: =?iso-8859-1?Q?Jerry_Lundstr=F6m?= <jerry.lundstrom at iis.se>
To: "bug-followup at FreeBSD.org" <bug-followup at FreeBSD.org>
Cc:
Subject: Re: ports/167682: databases/sqlite3 3.7.11 on FreeBSD 9.0-RELEASE
amd64 (ports) segfaults with memstats compiled in
_pthread_mutex_init_calloc_cb
Date: Tue, 8 May 2012 11:49:46 +0200
Hi,
Apparently deselecting MEMSTATUS did not fix every fault:
(gdb) bt
#0 0x0000000801e35400 in _pthread_mutex_init_calloc_cb () from /lib/libc.s=
o.7
#1 0x0000000801e3dad5 in free () from /lib/libc.so.7
#2 0x000000080130208e in sqlite3HashClear (pH=3D0x80255e0a0) at sqlite3.c:=
22278
#3 0x000000080130dc70 in sqlite3SchemaClear (p=3DVariable "p" is not avail=
able.
) at sqlite3.c:85429
#4 0x000000080130fc35 in sqlite3ResetInternalSchema (db=3D0x802408000, iDb=
=3DVariable "iDb" is not available.
) at sqlite3.c:81632
#5 0x0000000801336532 in sqlite3_close (db=3D0x802408000) at sqlite3.c:113=
175
#6 0x0000000802117a4a in ~SoftSession (this=3D0x802418300) at ../../../src=
/lib/SoftSession.cpp:109
#7 0x0000000802116f2d in SoftHSMInternal::closeSession (this=3D0x802503600=
, hSession=3DVariable "hSession" is not available.
) at ../../../src/lib/SoftHSMInternal.cpp:180
#8 0x000000000041b40e in hsm_session_close ()
#9 0x000000000041b4df in hsm_ctx_close ()
#10 0x000000000041d795 in hsm_close ()
#11 0x0000000000404b98 in server_main ()
#12 0x000000000040967b in main ()
(gdb) bt full
#0 0x0000000801e35400 in _pthread_mutex_init_calloc_cb () from /lib/libc.s=
o.7
No symbol table info available.
#1 0x0000000801e3dad5 in free () from /lib/libc.so.7
No symbol table info available.
#2 0x000000080130208e in sqlite3HashClear (pH=3D0x80255e0a0) at sqlite3.c:=
22278
next_elem =3D (HashElem *) 0x0
elem =3D (HashElem *) 0x80252afd0
#3 0x000000080130dc70 in sqlite3SchemaClear (p=3DVariable "p" is not avail=
able.
) at sqlite3.c:85429
temp1 =3D {htsize =3D 0, count =3D 4, first =3D 0x80252af70, ht =3D 0x0}
temp2 =3D {htsize =3D 0, count =3D 1, first =3D 0x80252afa0, ht =3D 0x0}
pElem =3D Variable "pElem" is not available.
--
Jerry Lundstr=F6m - Software Engineer
.SE - The Internet Infrastructure Foundation
http://www.iis.se/
More information about the freebsd-ports-bugs
mailing list