From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 22:14:01 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 1D8DE58B for ; Sat, 3 Nov 2012 22:14:01 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id D08768FC14 for ; Sat, 3 Nov 2012 22:13:59 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so5897792oag.13 for ; Sat, 03 Nov 2012 15:13:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=bL6Vb3ICvO01Jxl8/FD/RJHP3KZz8q4Vs3tkYE3FAaQ=; b=JK5vQ0x28aynnV9muTbk/oKCCrFSkvL/0e3rvqXj0uiD+ypquSSUYl1Mlax6tc50dZ 2V2bHGvrpO0nRg7mx62tmyxxGuwNfWE3V54vxyuUPSQxUhnisw8RA2DZt7y0yCbSkaB3 UEycb8fKUEh5r0Ffc/P+mnxVxhsw0jeogMnSiQUxRVLseOqlK57BQ1Sr4+GDFJBzWjTK 52AwSiHWyqP0YTicOdvCpM05q+g2V8mDWmkx1yYgmAAhI730cxtVyth63UZLm4sZ4SUK a2Omjj9OZxY6PMILldvhlszYtB463R4K+aOeasTESepdb65t+xc+S2/Rb09LcHAdOEEp MkOg== MIME-Version: 1.0 Received: by 10.60.7.41 with SMTP id g9mr4475265oea.18.1351980839564; Sat, 03 Nov 2012 15:13:59 -0700 (PDT) Received: by 10.76.143.33 with HTTP; Sat, 3 Nov 2012 15:13:59 -0700 (PDT) In-Reply-To: <20121103225542.00001118@unknown> References: <20121103225542.00001118@unknown> Date: Sat, 3 Nov 2012 15:13:59 -0700 Message-ID: Subject: Re: watchdogd coredump From: Garrett Cooper To: Alexander Leidinger Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Xin LI , 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:14:01 -0000 On Sat, Nov 3, 2012 at 2:55 PM, Alexander Leidinger wrote: > Hi, > > I updated from r239708 to r242511 and my watchdogd coredumps (and > brings down the system... well, the WD works). > > 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? > > watchdogd_flags="-e /root/bin/wd_check.sh -s 5 -t 60" > > ---snip--- > # cat /root/bin/wd_check.sh > #!/bin/sh > > exec ls / /space/jails >/dev/null 2>&1 ---snip--- > > 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--- > Do you have watchdogd_flags set to something non-standard? Xin CCed since he made the last commit. -Garrett