strace: epoll_ctl

2014-04-05 Thread Марк Коренберг
The fd argument of epoll_ctl should be signed integer. it seems that strace decodes it as unsigned. -- Segmentation fault -- ___ Strace-devel mailing list Strace-devel@lists.so

Re: strace: epoll_ctl

2014-04-05 Thread enh
this has already been fixed. given... epoll_ctl(-1, 0, -1, NULL); ubuntu 12.04's strace 4.5: epoll_ctl(4294967295, 0 /* EPOLL_CTL_??? */, 4294967295, NULL) = -1 EFAULT (Bad address) ToT strace: epoll_ctl(-1, 0 /* EPOLL_CTL_??? */, -1, NULL) = -1 EFAULT (Bad address) On Sat, Apr 5, 2014 at

Re: strace: epoll_ctl

2014-04-05 Thread Philippe Ombredanne
> On Sat, Apr 5, 2014 at 6:58 AM, Марк Коренберг wrote: >> The fd argument of epoll_ctl should be signed integer. it seems that >> strace decodes it as unsigned. > On Sat, Apr 5, 2014 at 11:30 AM, enh wrote: > this has already been fixed. given... > epoll_ctl(-1, 0, -1, NULL); > > ubuntu 12.0

Re: strace: epoll_ctl

2014-04-05 Thread Dmitry V. Levin
On Sat, Apr 05, 2014 at 07:58:39PM +0600, Марк Коренберг wrote: > The fd argument of epoll_ctl should be signed integer. it seems that > strace decodes it as unsigned. It was fixed by commit v4.6~11 (3 years and 1 month ago). Next time please check the latest release (or HEAD) before reporting bu