Bug ID 927161
Summary socat broken for ppc and armv7l
Classification openSUSE
Product openSUSE 13.1
Version Final
Hardware All
OS Other
Status NEW
Severity Major
Priority P5 - None
Component Network
Assignee bnc-team-screening@forge.provo.novell.com
Reporter sweet_f_a@gmx.de
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

socat crashes on OBS build host when trying to listen or writing UNIX domain
sockets. It happens mostly on ppc or armv7l only. socat from openSUSE 13.2
works. Seems the bug is fixed in 1.7.2.4

I'd like to prepare a maintenance update from socat 1.7.2.2 to 1.7.2.4 if that
would be ok.

Reproducible for example like this:

$ socat -u UNIX-LISTEN:socket,fork,max-children=1,backlog=128 STDOUT > outfile
$ socat -u /dev/null UNIX-CONNECT:socket

...*** stack smashing detected ***: socat terminated
======= Backtrace: =========
/lib/libc.so.6(+0x7e140)[0xfb4e140]
/lib/libc.so.6(__fortify_fail+0x4c)[0xfbd468c]
/lib/libc.so.6(__fortify_fail+0x0)[0xfbd4640]
socat[0x100131a8]
socat[0x100132c8]
socat[0x10016320]
socat[0x10008a18]
socat[0x10008af0]
socat[0x10007130]
socat[0x10003e8c]
/lib/libc.so.6(+0x23330)[0xfaf3330]
/lib/libc.so.6(+0x234c0)[0xfaf34c0]
======= Memory map: ========
00100000-00120000 r-xp 00000000 00:00 0                                  [vdso]
0fa10000-0fa30000 r-xp 00000000 fe:00 720965                            
/lib/libz.so.1.2.8
0fa30000-0fa40000 rw-p 00010000 fe:00 720965                            
/lib/libz.so.1.2.8
0fa50000-0fa60000 r-xp 00000000 fe:00 720916                            
/lib/libdl-2.18.so
0fa60000-0fa70000 rw-p 00000000 fe:00 720916                            
/lib/libdl-2.18.so
0fa80000-0fab0000 r-xp 00000000 fe:00 720973                            
/lib/libtinfo.so.5.9
0fab0000-0fac0000 rw-p 00020000 fe:00 720973                            
/lib/libtinfo.so.5.9
0fad0000-0fc60000 r-xp 00000000 fe:00 720910                            
/lib/libc-2.18.so
0fc60000-0fc70000 rw-p 00180000 fe:00 720910                            
/lib/libc-2.18.so
0fc70000-0fc80000 rw-p 00000000 00:00 0
0fc90000-0fe70000 r-xp 00000000 fe:00 721059                            
/lib/libcrypto.so.1.0.0
0fe70000-0fe80000 r--p 001e0000 fe:00 721059                            
/lib/libcrypto.so.1.0.0
0fe80000-0fe90000 rw-p 001f0000 fe:00 721059                            
/lib/libcrypto.so.1.0.0
0fea0000-0ff10000 r-xp 00000000 fe:00 721060                            
/lib/libssl.so.1.0.0
0ff10000-0ff20000 rw-p 00060000 fe:00 721060                            
/lib/libssl.so.1.0.0
0ff30000-0ff80000 r-xp 00000000 fe:00 720978                            
/lib/libreadline.so.6.2
0ff80000-0ff90000 rw-p 00040000 fe:00 720978                            
/lib/libreadline.so.6.2
0ffa0000-0ffb0000 r-xp 00000000 fe:00 720946                            
/lib/libutil-2.18.so
0ffb0000-0ffc0000 rw-p 00000000 fe:00 720946                            
/lib/libutil-2.18.so
0ffd0000-0ffe0000 r-xp 00000000 fe:00 721069                            
/lib/libwrap.so.0.7.6
0ffe0000-0fff0000 rw-p 00000000 fe:00 721069                            
/lib/libwrap.so.0.7.6
10000000-10050000 r-xp 00000000 fe:00 313811                            
/usr/bin/socat
10050000-10060000 rw-p 00040000 fe:00 313811                            
/usr/bin/socat
10060000-100a0000 rwxp 00000000 00:00 0
10790000-107c0000 rwxp 00000000 00:00 0                                  [heap]
f79c0000-f79d0000 rw-p 00000000 00:00 0
f79d0000-f7a00000 r-xp 00000000 fe:00 721038                            
/lib/ld-2.18.so
f7a00000-f7a10000 rw-p 00020000 fe:00 721038                            
/lib/ld-2.18.so
ff990000-ff9c0000 rw-p 00000000 00:00 0                                 
[stack]
/home/abuild/rpmbuild/BUILD/util-linux-2.26.git211.276f1/tests/ts/logger/../../functions.sh:
line 679:  3028 Aborted                 socat -u /dev/null UNIX-CONNECT:$socket


You are receiving this mail because: