From owner-freebsd-current@FreeBSD.ORG Sun Jun 2 14:43:42 2013 Return-Path: Delivered-To: FreeBSD-CURRENT@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 32A59931; Sun, 2 Jun 2013 14:43:42 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-ie0-x235.google.com (mail-ie0-x235.google.com [IPv6:2607:f8b0:4001:c03::235]) by mx1.freebsd.org (Postfix) with ESMTP id F1E121C1D; Sun, 2 Jun 2013 14:43:41 +0000 (UTC) Received: by mail-ie0-f181.google.com with SMTP id x14so8225629ief.12 for ; Sun, 02 Jun 2013 07:43:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=iBbjPTLEZyZeo7TsQ+rqfHFHOG63XHP6w/uaOPP0eKo=; b=B/o7a0PZzmbB/m0SPE5qQs+qCPe2B65m0YS4pGymsrUDl1z4PkPGC+utfqzYq+7dsE FBwGizmQ7eHf0/bzFHu0kK6YKrMCHudjG2vKSl62C8DiR4vo5TcQqUx+MDw55huzxKkS 5UoE1GVYoMFGtWbw+0JUZjIX/VXwykUliaALjbLTNvMQyEmT77dCTEW58Cdiw3ns2asf PqjaSaQ8Bw5idJouSUl+DrgTMK0SO7QPlysqZrycV2kpOn6V0j9Kfb+WQbcARaPQk4eu TPTSJCSA1UtdziFOSGCrBO5IAaDjMME59QdEZ6zUywLZd+I7J3D5URfxhlnGb08h+0au 0c8g== X-Received: by 10.50.118.7 with SMTP id ki7mr5909666igb.35.1370184221719; Sun, 02 Jun 2013 07:43:41 -0700 (PDT) Received: from gloom.home ([65.95.191.12]) by mx.google.com with ESMTPSA id d9sm14037102igr.4.2013.06.02.07.43.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 02 Jun 2013 07:43:41 -0700 (PDT) Sender: Mark Johnston Date: Sun, 2 Jun 2013 10:43:35 -0400 From: Mark Johnston To: Waitman Gobble Subject: Re: issue with libthr? Message-ID: <20130602144335.GA29074@gloom.home> References: <20130601075414.4F5D036F49FF@dx.burplex.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130601075414.4F5D036F49FF@dx.burplex.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD-CURRENT@FreeBSD.org, marcel@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jun 2013 14:43:42 -0000 On Sat, Jun 01, 2013 at 12:54:14AM -0700, Waitman Gobble wrote: > > Hi, > > I'm getting a ton of core dumps from Python and any software that uses Python, > ie has USE_PYTHON_BUILD=yes in Makefile. > > hundreds of msgs in dmesg: > pid 36637 (seamonkey), uid 1001: exited on signal 11 (core dumped) > pid 36986 (seamonkey), uid 1001: exited on signal 11 (core dumped) > pid 37054 (seamonkey), uid 1001: exited on signal 11 (core dumped) > pid 51780 (seamonkey), uid 1001: exited on signal 11 (core dumped) > pid 83350 (python2.7), uid 0: exited on signal 6 (core dumped) > > from gdb it seems to me to be libthr related? I've noticed a couple updates in > May.. wonder if it's related? I've only noticed this issue in the past week, > after a complete rebuild and updated. I've been running into this issue too - python 2.7 would crash when trying to rebuild databases/tdb and databases/py-sqlite3 with backtraces similar to what you have below. The python port itself hasn't changed in a while. Reverting r250991 and rebuilding libc solves the issue for me: http://svnweb.freebsd.org/base?view=revision&revision=250991 > > > uname -a > FreeBSD dx.burplex.com 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r251111: Wed May > 29 16:44:31 PDT 2013 root@dx.burplex.com:/usr/obj/usr/src/sys/FURAHA > amd64 > > gdb: > > seamonkey > > (gdb) bt > #0 0x00000008011ee8ca in thr_kill () from /lib/libc.so.7 > #1 0x000000080316b585 in XRE_InstallX11ErrorHandler () > from /usr/local/lib/seamonkey/libxul.so > #2 0x0000000800f73286 in swapcontext () from /lib/libthr.so.3 > #3 0x0000000800f72e89 in sigaction () from /lib/libthr.so.3 > #4 0x00007ffffffff1d3 in ?? () > #5 0x0000000800f72d70 in sigaction () from /lib/libthr.so.3 > Previous frame inner to this frame (corrupt stack?) > > > python > > (gdb) bt > #0 0x000000080100d8ca in thr_kill () from /lib/libc.so.7 > #1 0x00000008010d2e9c in abort () from /lib/libc.so.7 > #2 0x0000000803e4f05b in free () > from /usr/local/lib/python2.7/lib-dynload/_ctypes.so > #3 0x0000000800d9319f in pthread_mutex_destroy () from /lib/libthr.so.3 > #4 0x00000008010269ff in closedir () from /lib/libc.so.7 > #5 0x00000000004b545c in initposix () > #6 0x000000000047fb75 in PyEval_EvalFrameEx () > #7 0x000000000047d824 in PyEval_EvalCodeEx () > #8 0x0000000000484256 in _PyEval_SliceIndex () > #9 0x00000000004810cd in PyEval_EvalFrameEx () > #10 0x000000000047d824 in PyEval_EvalCodeEx () > #11 0x00000000004d5f56 in PyFunction_SetClosure () > #12 0x000000000041ffeb in PyObject_Call () > #13 0x0000000000482085 in PyEval_EvalFrameEx () > #14 0x000000000047d824 in PyEval_EvalCodeEx () > #15 0x0000000000484256 in _PyEval_SliceIndex () > #16 0x00000000004810cd in PyEval_EvalFrameEx () > #17 0x000000000047d824 in PyEval_EvalCodeEx () > #18 0x0000000000484256 in _PyEval_SliceIndex () > #19 0x00000000004810cd in PyEval_EvalFrameEx () > #20 0x000000000047d824 in PyEval_EvalCodeEx () > #21 0x0000000000484256 in _PyEval_SliceIndex () > #22 0x00000000004810cd in PyEval_EvalFrameEx () > #23 0x00000000004841f2 in _PyEval_SliceIndex () > #24 0x00000000004810cd in PyEval_EvalFrameEx () > #25 0x00000000004841f2 in _PyEval_SliceIndex () > #26 0x00000000004810cd in PyEval_EvalFrameEx () > #27 0x00000000004841f2 in _PyEval_SliceIndex () > #28 0x00000000004810cd in PyEval_EvalFrameEx () > #29 0x00000000004841f2 in _PyEval_SliceIndex () > #30 0x00000000004810cd in PyEval_EvalFrameEx () > #31 0x00000000004841f2 in _PyEval_SliceIndex () > #32 0x00000000004810cd in PyEval_EvalFrameEx () > #33 0x000000000047d824 in PyEval_EvalCodeEx () > #34 0x000000000047d156 in PyEval_EvalCode () > #35 0x00000000004a1361 in PyRun_FileExFlags () > #36 0x00000000004a0eb1 in PyRun_SimpleFileExFlags () > #37 0x0000000000417549 in Py_Main () > #38 0x000000000041692f in main () > > > Any help/pointers much appreciated. > > Thank you, > > -- > Waitman Gobble > San Jose California USA > +1.5108307875 > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"