/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.27708
GNU gdb (GDB; SUSE Linux Enterprise 12) 7.11.1
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-suse-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
Find the GDB manual and other documentation resources online at:
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.
[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 "16384\n6\n712\t0\t0\t0\t0\t0\n\n cdrom.c 3.20 2003/12/17\n\ndrive name:\t\tsr0\ndrive speed:\t\t1\ndrive # of slots:\t1\nCan close tray:\t\t1\nCan open tray:\t\t1\nCan lock tray:\t\t1\nCan change speed:\t1\nCan select disk:\t0\nCan "..., 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 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.

  • Document ID:7021210
  • Creation Date: 18-Aug-2017
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center