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/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238840

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 =3D 'top', stop reason =3D signal SIGSEGV
  * frame #0: 0x00000000002085dd top.debug`u_process(line=3D0,
newline=3D0x0000000000000000) at display.c:856
    frame #1: 0x000000000020e431 top.debug`main(argc=3D2147483647,
argv=3D0x00000008007af000) at top.c:652
    frame #2: 0x000000000020611b top.debug`_start(ap=3D<unavailable>,
cleanup=3D<unavailable>) at crt1.c:76


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

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



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