Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jul 2019 15:16:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 238840] 'top' segmentation fault on terminal resize
Message-ID:  <bug-238840-227-i9OUrnrOgv@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-238840-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-238840-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

pprocacci@gmail.com changed:

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

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

pprocacci@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.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238840-227-i9OUrnrOgv>