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