ioctl(8, SIOCGIFFLAGS, {ifr_name="eth0", ifr_flags=IFF_BROADCAST|IFF_MULTICAST})
= 0
ioctl(8, SIOCSIFFLAGS, 0xbf97eb88) = 0
nanosleep({0, 250000}, NULL) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 9
ioctl(9, SIOCETHTOOL, 0xbf97eb70) = 0
ioctl(9, SIOCGMIIPHY, 0xbf97eb70) = 0
ioctl(9, SIOCGMIIREG, 0xbf97eb70) = 0
getpid() = 1854
time([1126297160]) = 1126297160
open("/etc/localtime", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/localtime", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/localtime", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/localtime", O_RDONLY) = -1 ENOENT (No such file or directory)
socket(PF_FILE, SOCK_DGRAM, 0) = 10
fcntl64(10, F_SETFD, FD_CLOEXEC) = 0
connect(10, {sa_family=AF_FILE, path="/dev/log"}, 16) = 0
send(10, "<14>Sep 9 20:19:20 netcfg[1854]"..., 69, MSG_NOSIGNAL) = 69
ioctl(7, SIOCGIWNAME, 0xbf97eb78) = -1 EOPNOTSUPP (Operation not supported
)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Looks like libiw...
Here's a similar segfault if I run netcfg outside d-i and drive it by hand
(on a different system):
write(3, "GET netcfg/choose_interface\n", 28) = -1 EDESTADDRREQ
(Destination address required)
read(0, 0 eth0
"0 eth0\n", 4096) = 7
ioctl(4, SIOCGIFFLAGS, {ifr_name="wifi0",
ifr_flags=IFF_BROADCAST|IFF_MULTICAST}) = 0
ioctl(4, SIOCSIFFLAGS, 0xbffff75c) = 0
open("/etc/network/devnames", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=9, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x40019000
read(5, "eth0 foo\n", 4096) = 9
close(5) = 0
munmap(0x40019000, 4096) = 0
ioctl(3, SIOCGIWNAME, 0xbffff588) = 0
ioctl(3, SIOCGIWNWID, 0xbffff588) = -1 EOPNOTSUPP (Operation not
supported)
ioctl(3, SIOCGIWFREQ, 0xbffff588) = 0
ioctl(3, SIOCGIWENCODE, 0xbffff588) = 0
ioctl(3, SIOCGIWESSID, 0xbffff588) = 0
ioctl(3, SIOCGIWMODE, 0xbffff588) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Next step IMHO is writing a small test case that runs the libiw function
called first by netcfg and it will probably also crash.
--
see shy jo
Attachment:
signature.asc
Description: Digital signature