You have been subscribed to a public bug:
Using rinetd in Ubuntu 12.04 LTS with large lists (further than 32
entries) on /etc/rinetd.conf leads to a crash.
Sometimes by SIGBUS or SIGSEGV. Using strace, it is possible to see
results:
read(28, "# Network services, Internet sty"..., 4096) = 4096
read(28, "\t\t# IPX\nipx\t\t213/udp\nimap3\t\t220/"..., 4096) = 4096
read(28, "\nlotusnote\t1352/udp\tlotusnotes\nm"..., 4096) = 4096
read(28, "\t\t\t# MySQL Proxy\nmysql-proxy\t644"..., 4096) = 4096
read(28, "dp\t\t\t# predict -- satellite trac"..., 4096) = 2917
read(28, "", 4096) = 0
close(28) = 0
munmap(0x7f4c2c2d4000, 4096) = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 28
setsockopt(28, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
bind(28, {sa_family=AF_INET, sin_port=htons(80),
sin_addr=inet_addr("10.109.28.15")}, 16) = 0
listen(28, 5) = 0
ioctl(28, FIONBIO, [1]) = 0
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f4c2c2d5000, 4096) = 0
open("/var/run/rinetd.pid", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f4c2c2d5000
write(3, "10331\n", 6) = 6
close(3) = 0
munmap(0x7f4c2c2d5000, 4096) = 0
sendto(11, "<30>Jun 3 10:40:02 rinetd[10331"..., 59, MSG_NOSIGNAL, NULL, 0) =
59
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)
or
open("/etc/services", O_RDONLY|O_CLOEXEC) = 130
fstat(130, {st_mode=S_IFREG|0644, st_size=19301, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f5694cfc000
read(130, "# Network services, Internet sty"..., 4096) = 4096
read(130, "\t\t# IPX\nipx\t\t213/udp\nimap3\t\t220/"..., 4096) = 4096
read(130, "\nlotusnote\t1352/udp\tlotusnotes\nm"..., 4096) = 4096
read(130, "\t\t\t# MySQL Proxy\nmysql-proxy\t644"..., 4096) = 4096
read(130, "dp\t\t\t# predict -- satellite trac"..., 4096) = 2917
read(130, "", 4096) = 0
close(130) = 0
munmap(0x7f5694cfc000, 4096) = 0
open("/etc/services", O_RDONLY|O_CLOEXEC) = 130
fstat(130, {st_mode=S_IFREG|0644, st_size=19301, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f5694cfc000
read(130, "# Network services, Internet sty"..., 4096) = 4096
read(130, "\t\t# IPX\nipx\t\t213/udp\nimap3\t\t220/"..., 4096) = 4096
read(130, "\nlotusnote\t1352/udp\tlotusnotes\nm"..., 4096) = 4096
read(130, "\t\t\t# MySQL Proxy\nmysql-proxy\t644"..., 4096) = 4096
read(130, "dp\t\t\t# predict -- satellite trac"..., 4096) = 2917
read(130, "", 4096) = 0
close(130) = 0
munmap(0x7f5694cfc000, 4096) = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 130
setsockopt(130, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
bind(130, {sa_family=AF_INET, sin_port=htons(20),
sin_addr=inet_addr("10.109.29.16")}, 16) = 0
listen(130, 5) = 0
ioctl(130, FIONBIO, [1]) = 0
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f5694cfd000, 4096) = 0
open("/var/run/rinetd.pid", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f5694cfd000
write(3, "8215\n", 5) = 5
close(3) = 0
munmap(0x7f5694cfd000, 4096) = 0
sendto(6, "<30>Jun 3 10:27:19 rinetd[8215]"..., 58, MSG_NOSIGNAL, NULL, 0) = 58
--- SIGBUS (Bus error) @ 0 (0) ---
+++ killed by SIGBUS (core dumped) +++
Bus error (core dumped)
** Affects: rinetd (Ubuntu)
Importance: Undecided
Status: New
--
rinetd crashing (SIGBUS/SIGSEGV) on large lists
https://bugs.launchpad.net/bugs/1187790
You received this bug notification because you are a member of Ubuntu Bugs,
which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs