Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 1.2
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Found in class PhpCodeSnifferSensor, using "sonar-internals-monitor-plugin":

      [WARN] [15:09:07.043] File descriptor leak detected during execution of org.sonar.plugins.php.codesniffer.PhpCodeSnifferSensor (before=0,after=1,leaked=1) 
      Leaked [...]/Projects/math-php-test/target/logs/ruleset5996947608991887329.xml by thread:main on Thu Aug 16 15:09:04 CEST 2012
      

        Activity

        Hide
        Evgeny Mandrikov added a comment -

        Should be noted that this might be temporary file scheduled for deletion (on exit of JVM), which looks like leak.

        Show
        Evgeny Mandrikov added a comment - Should be noted that this might be temporary file scheduled for deletion (on exit of JVM), which looks like leak.
        Hide
        Evgeny Mandrikov added a comment -

        However I believe that temporary files should be deleted by plugin explicitely.

        Show
        Evgeny Mandrikov added a comment - However I believe that temporary files should be deleted by plugin explicitely.
        Hide
        Julien HENRY added a comment -

        This was not a "deleteOnExit" file but a Writer that was not closed. Good catch.

        Show
        Julien HENRY added a comment - This was not a "deleteOnExit" file but a Writer that was not closed. Good catch.
        Hide
        Fabrice Bellingard added a comment -

        Checked.

        Show
        Fabrice Bellingard added a comment - Checked.
        Hide
        Julien HENRY added a comment -

        No need for IT

        Show
        Julien HENRY added a comment - No need for IT

          People

          • Assignee:
            Julien HENRY
            Reporter:
            Anonymous
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: