[Bug 238840] 'top' segmentation fault on terminal resize
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jun 27 05:37:01 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238840
Bug ID: 238840
Summary: 'top' segmentation fault on terminal resize
Product: Base System
Version: 12.0-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs at FreeBSD.org
Reporter: igor-fbsdbugs at grinchenko.org
reproducible in any 12.0-RELEASE. (11.2-RELEASE and older do not seem to have
the issue)
- run xterm or tmux, resize it to 75 or 76 or 77 columns (tried a few other
sizes, seems to segfault only with these three)
- run top, let it update 1-2 times
- resize terminal wide (resizing narrow won't cause the segfault).
for completeness here is the backtrace (not too useful without debug symbols,
but still)
# lldb -c top.core /usr/bin/top
(lldb) target create "/usr/bin/top" --core "top.core"
Core file '/root/top.core' (x86_64) was loaded.
(lldb) bt
* thread #1, name = 'top', stop reason = signal SIGSEGV
* frame #0: 0x00000008004d87dd libc.so.7`memcpy + 205
frame #1: 0x00000008004d65cd
libc.so.7`___lldb_unnamed_symbol1635$$libc.so.7 + 397
frame #2: 0x0000000800470a0c
libc.so.7`___lldb_unnamed_symbol1024$$libc.so.7 + 14044
frame #3: 0x00000008003ddd0f libc.so.7`vsnprintf + 287
frame #4: 0x000000080031d81a libsbuf.so.6`sbuf_vprintf + 138
frame #5: 0x000000080031db0d libsbuf.so.6`sbuf_printf + 141
frame #6: 0x000000000020af47 top`___lldb_unnamed_symbol54$$top + 1319
frame #7: 0x000000000020e428 top`___lldb_unnamed_symbol77$$top + 2296
frame #8: 0x000000000020611b top`___lldb_unnamed_symbol1$$top + 283
(lldb)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list