[Bug 11651] "Value too large for defined data type" error on 64 bit machine

bugzilla at busybox.net bugzilla at busybox.net
Sat Mar 2 00:27:03 UTC 2019


https://bugs.busybox.net/show_bug.cgi?id=11651

--- Comment #9 from db at donbowman.ca ---
OK here it is reproduced. Using
https://github.com/GoogleContainerTools/distroless debug image
(gcr.io/distroless/base:debug)

# busybox
BusyBox v1.27.1 (2017-07-18 19:24:44 CEST) multi-call binary.


/tmp # /usr/bin/strace -f ps
execve("/busybox/ps", ["ps"], 0x7ffcff53ba68 /* 16 vars */) = 0
/usr/bin/strace: [ Process PID=21 runs in 32 bit mode. ]
/usr/bin/strace: WARNING: Proper structure decoding for this personality is not
supported, please consider building strace with mpers support enabled.
ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
getuid32()                              = 0
brk(NULL)                               = 0x9d28000
brk(0x9d29000)                          = 0x9d29000
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, TIOCGWINSZ, {ws_row=38, ws_col=120, ws_xpixel=0, ws_ypixel=0}) = 0
write(1, "PID   USER     TIME   COMMAND\n", 30PID   USER     TIME   COMMAND
) = 30
open("/proc", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
fstat(3, 0xffa851a4)                    = -1 EOVERFLOW (Value too large for
defined data type)
close(3)                                = 0
write(2, "ps: can't open '/proc': Value to"..., 62ps: can't open '/proc': Value
too large for defined data type
) = 62
exit(1)                                 = ?
+++ exited with 1 +++



and

/proc # strace ls -l
execve("/busybox/ls", ["ls", "-l"], 0x7ffcdc43ede8 /* 16 vars */) = 0
strace: [ Process PID=33 runs in 32 bit mode. ]
strace: WARNING: Proper structure decoding for this personality is not
supported, please consider building strace with mpers support enabled.
ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
getuid32()                              = 0
time([1551486393 /* 2019-03-02T00:26:33+0000 */]) = 1551486393
(2019-03-02T00:26:33+0000)
ioctl(0, TIOCGWINSZ, {ws_row=38, ws_col=120, ws_xpixel=0, ws_ypixel=0}) = 0
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
brk(NULL)                               = 0x9768000
brk(0x9769000)                          = 0x9769000
lstat64(".", 0xffa6e374)                = 0
open(".", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
fstat(3, 0xffa6e378)                    = -1 EOVERFLOW (Value too large for
defined data type)
close(3)                                = 0
write(2, "ls: can't open '.': Value too la"..., 58ls: can't open '.': Value too
large for defined data type
) = 58
write(1, "total 0\n", 8total 0
)                = 8
exit(1)                                 = ?
+++ exited with 1 +++

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list