Skip to content

getsockopt(SO_ERROR) is unsupported #682

Closed

Description

Please use the following bug reporting template to help produce actionable and reproducible issues:

  • A brief description
    The getsockopt() syscall doesn't seem to support the SO_ERROR socket option.
  • Expected results
    The getsockopt() syscall should behave as specified on the manpage
  • Actual results (with terminal output if applicable)
    From strace:
getsockopt(7, SOL_SOCKET, SO_ERROR, 0x7fffebc27378, 0x7fffebc2737c) = -1 EINVAL (Invalid argument)
write(2, "getsockopt(): Invalid argument\n", 31getsockopt(): Invalid argument
) = 31
  • Your Windows build number
    1607 (Anniversary Edition release candidate?)

This comes up when trying to get PulseAudio working within WSL.

I'm splitting this bug out from this investigation on #486 . I'm hoping it's a simple case of "yeah, that part of that syscall hasn't been implemented yet." If y'all need more details, let me know; I can make this ticket a proper, fully-flushed out bug report with details on how to configure Pulse to hit this error, etc.

Activity

  1. stehufntdev commented on Jul 25, 2016

    @stehufntdev

    Thanks for the detailed report. Yes we are tracking SO_ERROR in our network improvements.

  2. sunilmut commented on Sep 21, 2016

    @sunilmut
    Member

    Just FYI that this should be fixed in 14926.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions