From owner-freebsd-sparc64@FreeBSD.ORG Sun Jan 9 14:03:18 2011 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41EB710656A3 for ; Sun, 9 Jan 2011 14:03:18 +0000 (UTC) (envelope-from mcalderara@phys.ethz.ch) Received: from phd-imap.ethz.ch (phd-imap.ethz.ch [129.132.80.51]) by mx1.freebsd.org (Postfix) with ESMTP id F09668FC1E for ; Sun, 9 Jan 2011 14:03:17 +0000 (UTC) Received: from localhost (phd-mailscan.ethz.ch [192.168.127.2]) by phd-imap.ethz.ch (Postfix) with ESMTP id D6100161F1 for ; Sun, 9 Jan 2011 15:03:15 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at phys.ethz.ch Received: from phd-mxin.ethz.ch ([192.168.127.53]) by localhost (phd-mailscan.ethz.ch [192.168.127.2]) (amavisd-new, port 10024) with LMTP id EeEHknTyfZ1R for ; Sun, 9 Jan 2011 15:03:15 +0100 (CET) Received: from 206-34-239-77-pool.cable.fcom.ch (206-34-239-77-pool.cable.fcom.ch [77.239.34.206]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: camauro@phd-mxin.ethz.ch) by phd-mxin.ethz.ch (Postfix) with ESMTPSA id A94DAE057 for ; Sun, 9 Jan 2011 15:03:15 +0100 (CET) Message-Id: From: Mauro Calderara To: freebsd-sparc64@freebsd.org In-Reply-To: <87sjx2dyxb.fsf@cosmos.claresco.hr> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Sun, 9 Jan 2011 15:03:12 +0100 References: <87sjx2dyxb.fsf@cosmos.claresco.hr> X-Mailer: Apple Mail (2.936) Subject: Re: My sparc is falling apart from last upgrade of ports X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jan 2011 14:03:18 -0000 Hi Marko I've had the same with ports/dns/unbound. I suspected an issue with the compiler, but marius@ commented: [quote] > /usr/local/etc/rc.d/unbound onestart > Starting unbound. > __sparc_utrap: fatal illegal instruction > __sparc_utrap: fatal illegal instruction > Bus error (core dumped) > > /var/log/messages contains: > > pid 36192 (unbound), uid 0: exited on signal 10 (core dumped) > > The error message seems to come from lib/libc/sparc64/sys/ > __sparc_utrap.c. The main question is whether this is more of a > FreeBSD/sparc64 issue or whether that's a software problem. If it is a > FreeBSD/sparc64 problem: what should I try? The error kind of suggests > that the binary contains illegal instructions, which would be a > compiler issue but I can't tell. > > Any hints? > There are also a few other cases in which a program gets killed with SIGILL, f.e. when the stack overflows due to an infinite recursion in the program. Actually, such bugs are more likely to hit than compiler or OS bugs. I'd suggest to build unbound with debugging symbols and to obtain a backtrace in order to get an idea what the actual problem could be. Marius [/quote] Maybe the same applies to your situation. I didn't build unbound with debugging symbols ever since and worked with bind instead, but I guess with php you're a bit stuck in terms of alternatives. Best, mauro On 09.01.2011, at 13:49, Marko Lerota wrote: > It was all OK, but after recent security upgrade of PHP5.3 > and Apache from ports, everithing is falling apart. This is the error > log: > > __sparc_utrap: fatal illegal instruction > __sparc_utrap: fatal illegal instruction > > This log is allways present if I run for example: > > /usr/local/bin/php -v > Spamassassin sa-update > Dovecot IMAP server > Postfix doesn't work also if I enable TLS support > > and etc. > > I don't know where to look. Errors with this __sparc_utrap is hard to > find googleing. > > uname -a > FreeBSD 420r.claresco.hr 7.3-RELEASE-p2 FreeBSD 7.3-RELEASE-p2 #0: > > -- > Marko Lerota > Sent from my Gnus Mailer > > _______________________________________________ > freebsd-sparc64@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-sparc64 > To unsubscribe, send any mail to "freebsd-sparc64-unsubscribe@freebsd.org > " >