From owner-freebsd-ports-bugs@FreeBSD.ORG Tue May 8 09:50:09 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4DF131065670 for ; Tue, 8 May 2012 09:50:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1C7618FC0A for ; Tue, 8 May 2012 09:50:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q489o8C5093890 for ; Tue, 8 May 2012 09:50:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q489o8OQ093889; Tue, 8 May 2012 09:50:08 GMT (envelope-from gnats) Date: Tue, 8 May 2012 09:50:08 GMT Message-Id: <201205080950.q489o8OQ093889@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: =?iso-8859-1?Q?Jerry_Lundstr=F6m?= 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 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?iso-8859-1?Q?Jerry_Lundstr=F6m?= List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 May 2012 09:50:09 -0000 The following reply was made to PR ports/167682; it has been noted by GNATS. From: =?iso-8859-1?Q?Jerry_Lundstr=F6m?= To: "bug-followup@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/