https://bugs.kde.org/show_bug.cgi?id=503641

            Bug ID: 503641
           Summary: close_range syscalls started failing with 3.25.0
    Classification: Developer tools
           Product: valgrind
           Version: 3.25.0
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: jsew...@acm.org
          Reporter: cmb...@sent.com
  Target Milestone: ---

SUMMARY

I run xfce4-session in Valgrind.  After upgrading to 3.25.0, I see errors like
this:

xfce4-session-WARNING **: 22:03:59.181: Unable to launch "xfwm4": Failed to
close file descriptor for child process (Invalid argument)

xfce4-session-WARNING **: 22:03:59.328: Unable to launch "xfsettingsd": Failed
to close file descriptor for child process (Invalid argument)

I ran a bisection and found that the errors started with commit
d984d9aabe5b89d6787c2604b72c09360e7b6fc0:
https://sourceware.org/git/?p=valgrind.git;a=commitdiff;h=d984d9aabe5b89d6787c2604b72c09360e7b6fc0

Here's an example syscall trace before that commit:

SYSCALL[15385,1](436) sys_close_range ( 4, 4294967295, 0 ) --> [pre-success]
Success(0x0)

And a trace after that commit:

SYSCALL[29937,1](436) sys_close_range ( 4, 4294967295, 0 ) --> [pre-fail]
Failure(0x16)

It seems like changing the first and last parameters to signed ints is causing
the failures.

SOFTWARE/OS VERSIONS

Valgrind 3.25.0 on Arch Linux

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to