7021210: /sbin/sysctl -a from procps-3.3.9-11.5.1 dumps core with a SIGSEGV

This document (7021210) is provided subject to the disclaimer at the end of this document.


SUSE Linux Enterprise Server 12 Service Pack 2 (SLES 12 SP2)


After applying procps-3.3.9-11.5.1, executing /sbin/sysctl -a will dump core with a SIGSEGV when started by a regular user. Starting gdb on the core file will show the following stack trace:

# gdb /sbin/sysctl /tmp/core.sysctl.27708GNU gdb (GDB; SUSE Linux Enterprise 12) 7.11.1Copyright (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-suse-linux".Type "show configuration" for configuration details.For bug reporting instructions, please see:<http://bugs.opensuse.org/>.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 /sbin/sysctl...Reading symbols from /usr/lib/debug/sbin/sysctl.debug...done.done.[New LWP 27708]Core was generated by `/sbin/sysctl -a'.Program terminated with signal SIGSEGV, Segmentation fault.(gdb) where#0 __GI__IO_setvbuf (fp=fp@entry=0x0, buf=0x7fce48e77010 "16384n6n712t0t0t0t0t0nn cdrom.c 3.20 2003/12/17nndrive name:ttsr0ndrive speed:tt1ndrive # of slots:t1nCan close tray:tt1nCan open tray:tt1nCan lock tray:tt1nCan change speed:t1nCan select disk:t0nCan "..., mode=mode@entry=0, size=size@entry=131072) at iosetvbuf.c:42#1 0x00000000004029ff in ReadSetting (name=name@entry=0x149547a "fs/protected_hardlinks") at sysctl.c:223#2 0x0000000000402e7c in DisplayAll (path=path@entry=0x1495090 "/proc/sys/fs/") at sysctl.c:359#3 0x0000000000402f1d in DisplayAll (path=0x403d11 <PROC_PATH> "/proc/sys/") at sysctl.c:356#4 0x00007fce48a806e5 in __libc_start_main (main=0x4015a0 <main>, argc=2, argv=0x7fff82711878, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff82711868) at libc-start.c:289#5 0x0000000000401886 in _start () at ../sysdeps/x86_64/start.S:122


This is a known issue and has been already reported to engineering who provided a fixed update.

The package containing the fix will be procps-3.3.9-11.8.1.


This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented “AS IS” WITHOUT WARRANTY OF ANY KIND.


Leave a Reply