[Bug 238840] 'top' segmentation fault on terminal resize

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jul 30 15:16:34 UTC 2019


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

pprocacci at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pprocacci at gmail.com

--- Comment #2 from pprocacci at gmail.com ---
I can confirm this bug on FBSD 12-RELEASE.

pprocacci at yoda:~ % lldb -c top.core /usr/lib/debug/usr/bin/top.debug
(lldb) target create "/usr/lib/debug/usr/bin/top.debug" --core "top.core"
Core file '/home/pprocacci/top.core' (x86_64) was loaded.
(lldb) bt
* thread #1, name = 'top', stop reason = signal SIGSEGV
  * frame #0: 0x00000000002085dd top.debug`u_process(line=0,
newline=0x0000000000000000) at display.c:856
    frame #1: 0x000000000020e431 top.debug`main(argc=2147483647,
argv=0x00000008007af000) at top.c:652
    frame #2: 0x000000000020611b top.debug`_start(ap=<unavailable>,
cleanup=<unavailable>) at crt1.c:76


display.c:856 is the following:
    newline[screen_width] = '\0';

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


More information about the freebsd-bugs mailing list