From owner-freebsd-amd64@FreeBSD.ORG Mon Feb 23 02:30:02 2009 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6F7D106564A for ; Mon, 23 Feb 2009 02:30:01 +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 C17068FC0C for ; Mon, 23 Feb 2009 02:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n1N2U1ig024447 for ; Mon, 23 Feb 2009 02:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n1N2U1DS024443; Mon, 23 Feb 2009 02:30:01 GMT (envelope-from gnats) Resent-Date: Mon, 23 Feb 2009 02:30:01 GMT Resent-Message-Id: <200902230230.n1N2U1DS024443@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-amd64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sebastián Guarino Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD9261065670 for ; Mon, 23 Feb 2009 02:23:02 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 81C8F8FC13 for ; Mon, 23 Feb 2009 02:23:02 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n1N2N2Aa038222 for ; Mon, 23 Feb 2009 02:23:02 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n1N2N2WU038220; Mon, 23 Feb 2009 02:23:02 GMT (envelope-from nobody) Message-Id: <200902230223.n1N2N2WU038220@www.freebsd.org> Date: Mon, 23 Feb 2009 02:23:02 GMT From: Sebastián Guarino To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Mon, 23 Feb 2009 03:09:09 +0000 Cc: Subject: amd64/131993: Bus error on nagios 3.0.x with perl 5.8.9 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2009 02:30:02 -0000 >Number: 131993 >Category: amd64 >Synopsis: Bus error on nagios 3.0.x with perl 5.8.9 >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Feb 23 02:30:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Sebastián Guarino >Release: 6.4-RELEASE-p3 >Organization: Mafrasi >Environment: FreeBSD colmillo.micans.com 6.4-RELEASE-p3 FreeBSD 6.4-RELEASE-p3 #12: Fri Feb 20 09:55:25 ARST 2009 root@colmillo.micans.com:/usr/obj/usr/src/sys/MICANS amd64 >Description: starting nagios gives a bus error=10 signal when starting from rc script or binary. I recompile perl and nagios with debug symbols, and here is the backtrace. 0 root@colmillo:/usr/ports/net-mgmt/nagios/work/nagios-3.0.6/base$ gdb ./nagios GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... (gdb) set arg /usr/local/etc/nagios/nagios.cfg (gdb) r Starting program: /usr/ports/net-mgmt/nagios/work/nagios-3.0.6/base/nagios /usr/local/etc/nagios/nagios.cfg [New LWP 100205] [New Thread 0x5b3000 (LWP 100205)] Nagios 3.0.6 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified: 12-01-2008 License: GPL Nagios 3.0.6 starting... (PID=71865) Local time is Mon Feb 23 00:18:58 ARST 2009 Program received signal SIGBUS, Bus error. [Switching to Thread 0x5b3000 (LWP 100205)] 0x000000080078b645 in Perl_doing_taint (argc=2, argv=0x49d968, envp=0x0) at perl.c:4530 4530 if ( argc > 1 && argv[1][0] == '-' (gdb) bt #0 0x000000080078b645 in Perl_doing_taint (argc=2, argv=0x49d968, envp=0x0) at perl.c:4530 #1 0x00000008007838cb in Perl_sys_init3 (argc=0x7fffffffeacc, argv=0x7fffffffeae0, env=0x7fffffffeaf8) at perl.c:191 #2 0x00000000004468ca in init_embedded_perl (env=0x7fffffffecd8) at utils.c:3620 #3 0x0000000000413bbf in main (argc=2, argv=0x7fffffffecc0, env=0x7fffffffecd8) at nagios.c:710 (gdb) >How-To-Repeat: Compile with current ports (perl 5.8.9 and nagis 3.0.6) /usr/local/etc/rc.d/nagios start >Fix: >Release-Note: >Audit-Trail: >Unformatted: