strace returns ENOSYS error
Dmitry V. Levin
ldv at altlinux.org
Tue Dec 11 06:21:29 UTC 2018
Hi,
On Thu, Dec 06, 2018 at 01:56:02PM +0300, MikalaiKeida at ibagroup.eu wrote:
> Hello,
>
> I have faced with a problem in the strace tool.
> When I tried to get strace with already running process I have received
> the following output:
>
>
> writev(10, [{"Ticket 6660\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
> 1047552}, {"Ticket 7172\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
> 1023}], 2) = 1048575
> writev(10,
> [{"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
> 1047552},
> {"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
> 1023}], 2) = 1048575
> writev(10, [{"Ticket 7685\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
> 1047552}, {"Ticket 8197\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
> 1023}], 2) = -1 ENOSYS (Function not implemented)
> writev(10,
> [{"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
> 1047552},
> {"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
> 1023}], 2) = -1 ENOSYS (Function not implemented)
>
>
> Two fist calls were traced successfully. The latest calls failed with
> ENOSYS while they are successful.
strace just reports whatever it gets from the kernel, so if it prints
-1 ENOSYS, it means that the kernel reported it.
> Environment info:
>
> This is SLES12 SP3 machine.
> # uname -a
> Linux s225qa01 4.4.140-94.42-default #1 SMP Tue Jul 17 07:44:50 UTC 2018
> (0b375e4) x86_64 x86_64 x86_64 GNU/Linux
> # strace -V
> strace -- version 4.10
This version of strace was released 3.75 years ago, please consider
updating it.
--
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20181211/f4621b34/attachment.bin>
More information about the Strace-devel
mailing list