[Bug 215504] limits -s 0 limits causes limits process to segfault

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Dec 23 05:29:30 UTC 2016


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

            Bug ID: 215504
           Summary: limits -s 0 limits causes limits process to segfault
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: ngie at FreeBSD.org

# limits -s 0 limits
Segmentation fault (core dumped)
# whoami
root
# gdb limits limits.core
GNU gdb (GDB) 7.11.1 [GDB v7.11.1 for FreeBSD]
Copyright (C) 2016 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 limits...Reading symbols from
/usr/src/svn/usr.bin/limits/limits.debug...done.
done.
[New LWP 100106]
Core was generated by `limits -s 0 limits'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0000000800ab40a0 in setrlimit () from /lib/libc.so.7
(gdb) bt
#0  0x0000000800ab40a0 in setrlimit () from /lib/libc.so.7
Backtrace stopped: Cannot access memory at address 0x7fffffffe8e8

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


More information about the freebsd-bugs mailing list