[Bug 231795] 12-ALPHA8 top SIGSEGV

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Sep 29 03:33:37 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231795

            Bug ID: 231795
           Summary: 12-ALPHA8 top SIGSEGV
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: gldisater at gmail.com

Created attachment 197585
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=197585&action=edit
tar zcvf top-core.tar.gz /usr/bin/top top.core

FreeBSD constans 12.0-ALPHA8 FreeBSD 12.0-ALPHA8 r338991 GENERIC  amd64

constans# gdb top top.core
GNU gdb (GDB) 8.2 [GDB v8.2 for FreeBSD]
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-portbld-freebsd12.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from top...Reading symbols from
/usr/lib/debug//usr/bin/top.debug...done.
done.
[New LWP 102558]
Core was generated by `top'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  format_next_process (xhandle=0x213590 <handle>, get_userid=0x20f6a0
<username>, flags=0)
    at /usr/src/usr.bin/top/machine.c:895
895             if ((pp->ki_flag & P_INMEM) == 0) {
(gdb) bt
#0  format_next_process (xhandle=0x213590 <handle>, get_userid=0x20f6a0
<username>, flags=0)
    at /usr/src/usr.bin/top/machine.c:895
#1  0x000000000020e398 in main (argc=2147483647, argv=0x8007cd000) at
/usr/src/usr.bin/top/top.c:652
(gdb)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list