Uploaded image for project: 'OpenVZ'
  1. OpenVZ
  2. OVZ-4946

238.5.1.el5.028stab085.2.owl2 Fedora 13 x86_64 top(1) segfaults in gettimeofday()

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: OpenVZ-legacy
    • Component/s: Containers::Kernel
    • Security Level: Public
    • Environment:
      Operating System: Other Linux
      Platform: x86_64 (AMD64)

      Description

      It appears that the VDSO issue is either not fully fixed or is back. Inside a Fedora 13/x86_64 container on an Owl-current system, "ltrace top" ends in:

      strlen(" PID USER PR NI VIRT R"...) = 69
      __vsnprintf_chk(0x60eee0, 2112, 1, 2112, 0x40a68b) = 20
      memset(0x31b12d0, '\000', 3480) = 0x31b12d0
      gettimeofday(0x7fff2c0434b0, 0x7fff2c0434c0 <unfinished ...>
      --- SIGSEGV (Segmentation fault) ---
      +++ killed by SIGSEGV +++

      $ uname -mrs
      Linux 2.6.18-238.5.1.el5.028stab085.2.owl2 x86_64
      $ cat /etc/redhat-release
      Fedora release 13 (Goddard)

      ".owl2" makes no relevant changes other than the compile fix submitted to you by Vasiliy, which you already merged into 028stab087.1. You could want to try to reproduce the issue on other/nearby kernel versions; I guess you have several machines with Fedora 13 containers ready for such a check. We will proceed with further tests as well. I just wanted to communicate the bad news to you sooner rather than later, even though I am not sure if the issue is OpenVZ or maybe Openwall specific. It is possible that we never tested "top" on Fedora 13 when we thought that the VDSO issue was gone. Other commands, such as "ps" and "ls -l", work fine now (these used not to work under Fedora 13 when the VDSO issue first appeared in a test kernel).
      1. diff-ovz1815
        0.7 kB
        Vasily Averin
      2. patch
        3 kB
        Andrey Vagin
      3. x86_64-vdso-gettimeofday.diff
        0.6 kB
        Solar Designer

        Activity

        Hide
        avagin@openvz.org Andrey Vagin added a comment -

        Konstantin, could you commit this patch.

        Show
        avagin@openvz.org Andrey Vagin added a comment - Konstantin, could you commit this patch.
        Hide
        vvs Vasily Averin added a comment -

        Dear Alexander,
        I've update your patch for last RHEL5 kernel, however currently I have no testnode with old gcc to check it.
        Could you please take look and confirm that it fixes reported problem?

        Thank you,
        Vasily Averin

        Show
        vvs Vasily Averin added a comment - Dear Alexander, I've update your patch for last RHEL5 kernel, however currently I have no testnode with old gcc to check it. Could you please take look and confirm that it fixes reported problem? Thank you, Vasily Averin
        Hide
        vvs Vasily Averin added a comment -

        Attachment diff-ovz1815 has been added with description: patch for 028stab104 kernel (based on 308.20.1.el5)

        Show
        vvs Vasily Averin added a comment - Attachment diff-ovz1815 has been added with description: patch for 028stab104 kernel (based on 308.20.1.el5)
        Hide
        vvs Vasily Averin added a comment -

        fixed in 028stab104.1 kernel

        Show
        vvs Vasily Averin added a comment - fixed in 028stab104.1 kernel
        Hide
        sergeyb Sergey Bronnikov (Inactive) added a comment -

        Bug was fixed more than one year ago and there were no complains from reporter after fix. We treat bug as fixed and close bug.

        Show
        sergeyb Sergey Bronnikov (Inactive) added a comment - Bug was fixed more than one year ago and there were no complains from reporter after fix. We treat bug as fixed and close bug.

          People

          • Assignee:
            vvs Vasily Averin
            Reporter:
            solar@openwall.com Solar Designer
          • Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: