Date: Mon, 16 Apr 2018 14:04:23 +0200 From: Christian Jachmann <Jachmann@unitix.org> To: Eugene Grosbein <eugen@grosbein.net> Cc: stable@freebsd.org, freebsd-stable@freebsd.org Subject: Re: w/uptime broken in stable Message-ID: <20180416120423.GA56646@hurx.thc> In-Reply-To: <5AD48D5F.10307@grosbein.net> References: <20180416070031.GA40544@hurx.thc> <20180416104144.GT1198@albert.catwhisker.org> <20180416113545.GA56441@hurx.thc> <5AD48D5F.10307@grosbein.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Mon, Apr 16, 2018 at 06:47:43PM +0700, Eugene Grosbein :
> 16.04.2018 18:35, Christian Jachmann wrote:
>
> > But on i386.... it seems to be broken.
>
> Why don't you rebuild src/usr/bin/w with debugging symbols, generate core and show backtrace?
>
Jes, here it is:
Core was generated by `w'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libkvm.so.7...Reading symbols from /usr/lib/debug//lib/libkvm.so.7.debug...done.
done.
Loaded symbols for /lib/libkvm.so.7
Reading symbols from /lib/libsbuf.so.6...Reading symbols from /usr/lib/debug//lib/libsbuf.so.6.debug...done.
done.
Loaded symbols for /lib/libsbuf.so.6
Reading symbols from /lib/libxo.so.0...Reading symbols from /usr/lib/debug//lib/libxo.so.0.debug...done.
done.
Loaded symbols for /lib/libxo.so.0
Reading symbols from /lib/libutil.so.9...Reading symbols from /usr/lib/debug//lib/libutil.so.9.debug...done.
done.
Loaded symbols for /lib/libutil.so.9
Reading symbols from /lib/libc.so.7...Reading symbols from /usr/lib/debug//lib/libc.so.7.debug...done.
done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /lib/libelf.so.2...Reading symbols from /usr/lib/debug//lib/libelf.so.2.debug...done.
done.
Loaded symbols for /lib/libelf.so.2
Reading symbols from /libexec/ld-elf.so.1...Reading symbols from /usr/lib/debug//libexec/ld-elf.so.1.debug...done.
done.
Loaded symbols for /libexec/ld-elf.so.1
#0 ifree (tsd=0x28000000) at arena.h:799
799 return (*mapbitsp);
(gdb) bt
#0 ifree (tsd=0x28000000) at arena.h:799
#1 0x28155316 in __free (ptr=0x280601ef) at tsd.h:716
#2 0x28095b07 in xo_do_emit_fields ()
at /usr/src/contrib/libxo/libxo/libxo.c:6419
#3 0x28093a1c in xo_do_emit (xop=<value optimized out>,
flags=<value optimized out>, fmt=0x804ad4d "")
at /usr/src/contrib/libxo/libxo/libxo.c:6470
#4 0x28093b61 in xo_emit (fmt=0x804ad4d "")
at /usr/src/contrib/libxo/libxo/libxo.c:6541
#5 0x08049f50 in main (argc=<value optimized out>, argv=<value optimized out>)
at /usr/src/usr.bin/w/w.c:475
Current language: auto; currently minimal
(gdb)
I see, this is somewhere in libxo...
and only on i386.
--
Christian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180416120423.GA56646>
