Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-2783

wayland bug back port: Fix fake "Address already in use" error

    XMLWordPrintable

Details

    Description

      in wayland, there is a bug as  bellow, the bug may effects application's start(start fail)

      so it's better to back port the bug's modify to AGL. 

      --------------

      In the current workflow, socket file will be deleted if it already exists.
      However, if the socket file is a symbolic link and the file that it refers
      to doesn't exist, we will got "Address already in use" because bind()
      thinks the socket file exists and won't create it.

      Now, use lstat() to determine whether the socket file exists.

      --------------

      Modify address: https://github.com/wayland-project/wayland/commit/152c9ed968124c253f0be25b76c2a083a21af37e

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            AndyZhou Zhou Mingying
            AndyZhou Zhou Mingying
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day
                1d