Re: watchdogd coredump

From: Garrett Cooper <yanegomi_at_gmail.com>
Date: Sat, 3 Nov 2012 15:13:59 -0700
On Sat, Nov 3, 2012 at 2:55 PM, Alexander Leidinger <Alexander_at_leidinger.net
> 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 </dev/null
> ---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
Received on Sat Nov 03 2012 - 21:14:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:31 UTC