From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 22:08:47 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B8F8BF94 for ; Sat, 3 Nov 2012 22:08:47 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kostikbel-1-pt.tunnel.tserv11.ams1.ipv6.he.net [IPv6:2001:470:1f14:13d6::2]) by mx1.freebsd.org (Postfix) with ESMTP id 23C038FC0A for ; Sat, 3 Nov 2012 22:08:46 +0000 (UTC) Received: from tom.home (localhost [127.0.0.1]) by kib.kiev.ua (8.14.5/8.14.5) with ESMTP id qA3M8hQU040320; Sun, 4 Nov 2012 00:08:43 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by tom.home (8.14.5/8.14.5/Submit) id qA3M8hZR040319; Sun, 4 Nov 2012 00:08:43 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 4 Nov 2012 00:08:43 +0200 From: Konstantin Belousov To: Alexander Leidinger Subject: Re: watchdogd coredump Message-ID: <20121103220843.GI73505@kib.kiev.ua> References: <20121103225542.00001118@unknown> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VeECpbAlTmkAjas0" Content-Disposition: inline In-Reply-To: <20121103225542.00001118@unknown> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=0.2 required=5.0 tests=ALL_TRUSTED, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: current@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: Sat, 03 Nov 2012 22:08:47 -0000 --VeECpbAlTmkAjas0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 03, 2012 at 10:55:42PM +0100, Alexander Leidinger wrote: > Hi, >=20 > I updated from r239708 to r242511 and my watchdogd coredumps (and > brings down the system... well, the WD works). >=20 > Before I have a deeper look (recompiling with debugging and such) at > this, can someone confirm that with a recent -current and a WD > configured to call a shell script which does a simple ls to /dev/null > there is a segfault in watchdogd? >=20 > watchdogd_flags=3D"-e /root/bin/wd_check.sh -s 5 -t 60" >=20 > ---snip--- > # cat /root/bin/wd_check.sh > #!/bin/sh >=20 > exec ls / /space/jails >/dev/null 2>&1 ---snip--- >=20 > The not so useful backtrace of the watchdogd core: > ---snip--- > #0 0x0000000800609520 in dlopen () from /libexec/ld-elf.so.1 > #1 0x000000080060309d in .text () from /libexec/ld-elf.so.1 > #2 0x0000000000000246 in ?? () > #3 0xfffffe001ee700f8 in ?? () > #4 0xfffffe001ee700f8 in ?? () > #5 0xffffffff80647e80 in ?? () > #6 0x0000000000000001 in ?? () > #7 0x00007fffffffdb90 in ?? () > #8 0x0000000000000013 in ?? () > #9 0x00007fffffffdb80 in ?? () > #10 0x0000000000000000 in ?? () > #11 0x0000000000000206 in ?? () > #12 0x00007fffffffdaf0 in ?? () > #13 0x000000080061cc00 in ?? () > #14 0x0000000000000031 in ?? () > #15 0x0000000800c93dc9 in system () from /lib/libc.so.7 > #16 0x0000000000401558 in ?? () > #17 0x0000000000400f7e in ?? () > #18 0x000000080061c000 in ?? () > #19 0x0000000000000000 in ?? () > #20 0x0000000000000007 in ?? () > #21 0x00007fffffffdef8 in ?? () > ---snip--- Are you sure that your kernel is at r242511 ? The issue should have been fixed by r242011. --VeECpbAlTmkAjas0 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlCVlesACgkQC3+MBN1Mb4jMtwCgz/sd7EEB1AEQ0dVIwn/esOAI XR4Anjk6NPGWPBzoyfScC5NJSy2GelC5 =nMnQ -----END PGP SIGNATURE----- --VeECpbAlTmkAjas0--