Cores from 11.2 Beta1 w(1)

Glen Barber gjb at FreeBSD.org
Tue May 15 17:23:46 UTC 2018


On Tue, May 15, 2018 at 10:17:25AM -0700, Rodney W. Grimes wrote:
> 
> Just did my first install of 11.2 Beta1/i386 in a VM and right off the
> get go w(1) cores, this also occurs when running from the i386 ISO
> if you drop to a shell and type w so very easy to reproduce.
> 
> What about adding "debugging" as an option dist set to the releases,
> we ship this by default in ^current, iirc in ancient history we
> use to ship optional libraries like the profiled ones.
> 
> I'll check amd64 in a few minutes.
> Already checked, w(1) works fine from 11.2 Beta1/amd64 ISO,
> so this looks to me a i386 regression.
> 
> 
> root@:/home/rgrimes # gdb /usr/bin/w w.core 
> GNU gdb 6.1.1 [FreeBSD]
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols found)...
> Core was generated by `w'.
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from /lib/libkvm.so.7...(no debugging symbols found)...done.
> Loaded symbols for /lib/libkvm.so.7
> Reading symbols from /lib/libsbuf.so.6...(no debugging symbols found)...done.
> Loaded symbols for /lib/libsbuf.so.6
> Reading symbols from /lib/libxo.so.0...(no debugging symbols found)...done.
> Loaded symbols for /lib/libxo.so.0
> Reading symbols from /lib/libutil.so.9...(no debugging symbols found)...done.
> Loaded symbols for /lib/libutil.so.9
> Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done.
> Loaded symbols for /lib/libc.so.7
> Reading symbols from /lib/libelf.so.2...(no debugging symbols found)...done.
> Loaded symbols for /lib/libelf.so.2
> Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done.
> Loaded symbols for /libexec/ld-elf.so.1
> #0  0x2814af2c in realloc () from /lib/libc.so.7
> (gdb) backtrace
> #0  0x2814af2c in realloc () from /lib/libc.so.7
> #1  0x2814b506 in free () from /lib/libc.so.7
> #2  0x2808bb07 in xo_emit_field_hv () from /lib/libxo.so.0
> #3  0x28089a1c in xo_emit_hv () from /lib/libxo.so.0
> #4  0x28089b61 in xo_emit () from /lib/libxo.so.0
> #5  0x08049f50 in ?? ()
> #6  0x0804ad4d in ?? ()
> #7  0xbfbfe114 in ?? ()
> #8  0x28066c60 in ?? () from /libexec/ld-elf.so.1
> #9  0x00000000 in ?? ()
> (gdb) quit
> 

This is related to PR 227552, and I believe a fix is already in place in
head, pending MFC.

Glen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20180515/804d762f/attachment.sig>


More information about the freebsd-stable mailing list