From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 13 18:28:40 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57BD016A4CE for ; Sun, 13 Feb 2005 18:28:40 +0000 (GMT) Received: from relay.rdsnet.ro (gimli.rdsnet.ro [193.231.236.70]) by mx1.FreeBSD.org (Postfix) with SMTP id 5D32243D46 for ; Sun, 13 Feb 2005 18:28:39 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: (qmail 8632 invoked from network); 13 Feb 2005 18:23:56 -0000 Received: from unknown (HELO smtp.rdsnet.ro) (62.231.74.130) by smtp1-133.rdsnet.ro with SMTP; 13 Feb 2005 18:23:56 -0000 Received: (qmail 29641 invoked by uid 89); 13 Feb 2005 18:32:16 -0000 Received: from unknown (HELO it.buh.tecnik93.com) (81.196.204.98) by 0 with SMTP; 13 Feb 2005 18:32:16 -0000 Received: from it.buh.tecnik93.com (localhost.buh.tecnik93.com [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with ESMTP id 90CBF11497; Sun, 13 Feb 2005 20:25:59 +0200 (EET) Date: Sun, 13 Feb 2005 20:25:59 +0200 From: Ion-Mihai Tetcu To: Brian Fundakowski Feldman Message-ID: <20050213202559.38e1f1af@it.buh.tecnik93.com> In-Reply-To: <20050213170437.GB63697@green.homeunix.org> References: <20050210225558.7a0879ec@it.buh.cameradicommercio.ro> <20050213150330.GI65523@green.homeunix.org> <20050213182616.036ba07a@it.buh.tecnik93.com> <20050213184752.611ce46c@it.buh.tecnik93.com> <20050213170437.GB63697@green.homeunix.org> X-Mailer: Sylpheed-Claws 1.0.1 (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org Subject: Re: SIGBUS help, please X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Feb 2005 18:28:40 -0000 On Sun, 13 Feb 2005 12:04:37 -0500 Brian Fundakowski Feldman wrote: > On Sun, Feb 13, 2005 at 06:47:52PM +0200, Ion-Mihai Tetcu wrote: > > On Sun, 13 Feb 2005 18:26:16 +0200 > > Ion-Mihai Tetcu wrote: > > > > > On Sun, 13 Feb 2005 10:03:30 -0500 > > > Brian Fundakowski Feldman wrote: > > > > > > > On Thu, Feb 10, 2005 at 10:55:58PM +0200, Ion-Mihai Tetcu wrote: > > > > > Hi, > > > > > > > > > > > > > > > One of my ports - mail/dspam-devel stays at 3.4 because newer versions > > > > > crash on FreeBSD (they work on Linux and Solaris). > > > > > Can someone make some sense from the output bellow ? > > > > > > > > > > I'm willing to make a port and help with all needed setup information - > > > > > a 5-10 minutes job if someone has the time for it. > > > > > > > > Have you tried valgrind in any of its modes yet? > > > > > > I wouldn't have posted here without reaching my level of incompetence > > > first :-/ > > > > > > Beginning with 3.3.2 dspam's author has rewritten a lot of code > > > involving threads and with his help I've managed to make it work on > > > FreeBSD and so I can run 3.3.4 in production. After 3.3.4 I haven't been > > > able to keep up with him and besides this crash, which mask it, there is > > > at least an other threading bug on FreeBSD. > > > > Not that I'm understanding why, but _right now_, run from gdb or not it > > works, even if I deliver multiple messages in parallel. And this > > inconsistent behaviour it's not a local problem, I've reproduced it on 2 > > boxes and got users reports too. I'm really loss :( > > > > In valgrind, on the other hand, --trace-pthread=all --trace-signals=yes it dies: > > Have you tried helgrind? That seems to be the one to try next. The default > stack trace size it keeps is not very large, so you may want to increase it > to 100 or so before you go to debugging these. These 4 errors probably are > genuine bugs and could be the root cause of the crash that's occurring... On this it works 5.3-STABLE FreeBSD 5.3-STABLE #0: Thu Feb 10 17:38:05 EET 2005 root@it.buh.tecnik93.com:/usr/obj/usr/src/sys/IT53_U i386 this kernel has ULE On this it crash 5.3-STABLE FreeBSD 5.3-STABLE #17: Mon Jan 17 23:40:22 EET 2005 itetcu@it.buh.cameradicommercio.ro:/usr/obj/usr/src/sys/IT53_d i386 this 4BSD WTF ?? -- IOnut Unregistered ;) FreeBSD "user"