[Bug 936993] New: ss segfaults after gcc-5 upgrade
http://bugzilla.opensuse.org/show_bug.cgi?id=936993
Bug ID: 936993
Summary: ss segfaults after gcc-5 upgrade
Classification: openSUSE
Product: openSUSE Factory
Version: 201505*
Hardware: x86-64
OS: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
Assignee: bnc-team-screening@forge.provo.novell.com
Reporter: marvin24@gmx.de
QA Contact: qa-bugs@suse.de
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
Firefox/38.0
Build Identifier:
running ss -p on my freshly upgraded tumbleweed system I get a segfault.
# gdb ss
GNU gdb (GDB; openSUSE Factory) 7.9
Copyright (C) 2015 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"...
warning: /etc/gdbinit.d/gdb-heap.py: Datei oder Verzeichnis nicht gefunden
Reading symbols from ss...Reading symbols from
/usr/lib/debug/usr/sbin/ss.debug...done.
done.
(gdb) set args -p
(gdb) run
Starting program: /usr/sbin/ss -p
Missing separate debuginfos, use: zypper install
glibc-debuginfo-2.21-6.14.x86_64
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Netid State Recv-Q Send-Q Local Address:Port
Peer Address:Port
u_str ESTAB 0 0 * 13316
* 0
users:(("haveged",pid=484,fd=2),("haveged",pid=484,fd=1))
u_str ESTAB 0 0 * 13438
* 0
users:(("systemd-udevd",pid=501,fd=2),("systemd-udevd",pid=501,fd=1))
u_str ESTAB 0 0 * 13485
* 0
users:(("rpcbind",pid=502,fd=2),("rpcbind",pid=502,fd=1))
u_str ESTAB 0 0 /run/systemd/journal/stdout 13584
* 0
users:(("systemd-journal",pid=485,fd=16),("systemd",pid=1,fd=123))
u_str ESTAB 0 0 /run/systemd/journal/stdout 13587
* 0
users:(("systemd-journal",pid=485,fd=17),("systemd",pid=1,fd=124))
u_str ESTAB 0 0 /run/systemd/journal/stdout 13590
* 0
users:(("systemd-journal",pid=485,fd=18),("systemd",pid=1,fd=125))
u_str ESTAB 0 0 /run/systemd/journal/stdout 15797
* 0
users:(("systemd-journal",pid=485,fd=15),("systemd",pid=1,fd=126))
u_str ESTAB 0 0 /run/systemd/journal/stdout 15800
* 0
users:(("systemd-journal",pid=485,fd=19),("systemd",pid=1,fd=127))
u_str ESTAB 0 0 /run/systemd/journal/stdout 15871
* 0
users:(("systemd-journal",pid=485,fd=24),("systemd",pid=1,fd=129))
u_str ESTAB 0 0 * 16003
* 0
users:(("sssd_be",pid=1317,fd=14))
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff785c282 in vfprintf () from /lib64/libc.so.6
Missing separate debuginfos, use: zypper install
libpcre1-debuginfo-8.37-1.18.x86_64 libselinux1-debuginfo-2.3-5.18.x86_64
(gdb) bt
#0 0x00007ffff785c282 in vfprintf () from /lib64/libc.so.6
#1 0x00007ffff79095af in __printf_chk () from /lib64/libc.so.6
#2 0x0000000000404e04 in printf (__fmt=0x40fddb "%*s%s%-*s ") at
/usr/include/bits/stdio2.h:104
#3 sock_addr_print_width (addr_len=<optimized out>, addr=<optimized out>,
delim=delim@entry=0x4101f1 " ", port_len=<optimized out>, port=<optimized out>,
ifname=0x0) at ss.c:807
#4 0x000000000040838d in sock_addr_print_width (ifname=0x0, port=<optimized
out>, port_len=<optimized out>, delim=0x4101f1 " ", addr=<optimized out>,
addr_len=<optimized out>) at ss.c:814
#5 sock_addr_print (ifname=0x0, port=<optimized out>, delim=0x4101f1 " ",
addr=<optimized out>) at ss.c:814
#6 unix_stats_print (list=list@entry=0x63ded0, f=f@entry=0x61bdc0
http://bugzilla.opensuse.org/show_bug.cgi?id=936993
Martin Pluskal
http://bugzilla.opensuse.org/show_bug.cgi?id=936993
http://bugzilla.opensuse.org/show_bug.cgi?id=936993#c5
--- Comment #5 from Jan Engelhardt
http://bugzilla.opensuse.org/show_bug.cgi?id=936993
Jan Engelhardt
http://bugzilla.opensuse.org/show_bug.cgi?id=936993
http://bugzilla.opensuse.org/show_bug.cgi?id=936993#c6
Marvin FourtyTwo
http://bugzilla.opensuse.org/show_bug.cgi?id=936993
http://bugzilla.opensuse.org/show_bug.cgi?id=936993#c7
Marvin FourtyTwo
participants (1)
-
bugzilla_noreply@novell.com