Busybox ifup crashed due to a segmentation fault, when it open /var/run/ifstate (CONFIG_IFUPDOWN_IFSTATE_PATH) and it not exist.
This is a strace output part:
...
open("/var/run/ifstate", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such
file or directory)
ioctl(2147483647, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbf90df4c) = -1
EBADF (Bad file descriptor)
brk(0x80cf000) = 0x80cf000
ioctl(2147483647, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbf90df48) = -1
EBADF (Bad file descriptor)
brk(0x80d0000) = 0x80d0000
ioctl(2147483647, SNDCTL_TMR_TIMEBASE or TCGETsh[741]: segfault at
bf857000 eip b7f6a4f8 esp bf85533c error ffff0004
S, 0xbf90df44) = -1 EBADF (Bad file descriptor)
brk(0x80d1000) = 0x80d1000
...
I have a patch for it, please could you add to hot fixes?
I'm Sorry, I mistakenly first opened a bug (ID 0004754) with it same
text, rather than directly write it here.
Regards, Gustavo Moreira
busybox-ifup.patch
Description: Binary data
_______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
