sshguard dumping core on 9-STABLE

Konstantin Belousov kostikbel at gmail.com
Thu Jan 3 14:19:53 UTC 2013


On Thu, Jan 03, 2013 at 01:15:49PM +0200, Ion-Mihai Tetcu wrote:
> On Wed, 2 Jan 2013 20:27:46 +0200
> Konstantin Belousov <kostikbel at gmail.com> wrote:
> 
> > On Wed, Jan 02, 2013 at 02:38:34PM +0200, Ion-Mihai Tetcu wrote:
> > > Hi,
> > > 
> > > 
> > > I'm seeing shhguard-ipfw sig 10 on start on my machines updated to
> > > 9-STABLE (eg. FreeBSD 9.1-STABLE #5 r244924: Tue Jan  1 19:45:55
> > > EET 2013 :/usr/obj/usr/src/sys/GENERIC  amd64 ) while on some
> > > -PRERELEASE it's running fine. Anyone seeing something similar?
> >
> > Recompile libc with the debugging and get the backtrace again.
> >
> 
> Hm, here it is:
> 
> Core was generated by `sshguard'.
> Program terminated with signal 10, Bus error.
> Reading symbols from /lib/libthr.so.3...done.
> Loaded symbols for /lib/libthr.so.3
> Reading symbols from /lib/libc.so.7...done.
> Loaded symbols for /lib/libc.so.7
> Reading symbols from /libexec/ld-elf.so.1...done.
> Loaded symbols for /libexec/ld-elf.so.1
> #0  getenv (name=0x800b9267b "TZ") at /usr/src/lib/libc/stdlib/getenv.c:438
> 438             if (environ == NULL || environ[0] == NULL)
> [New Thread 801007800 (LWP 100516/sshguard)]
> [New Thread 801007400 (LWP 100507/sshguard)]
> (gdb) bt full
> #0  getenv (name=0x800b9267b "TZ") at /usr/src/lib/libc/stdlib/getenv.c:438
>         envNdx = <value optimized out>

What is the value of the 'environ' variable ?  And 'environ[0]' ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130103/8eb22ef5/attachment.sig>


More information about the freebsd-ports mailing list