23150 File Compare on empty .TXT file fails to complete

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chrisjj
    Carpal Tunnel
    • Apr 2008
    • 2537

    23150 File Compare on empty .TXT file fails to complete



    And uses a ton of CPU:





    On Windows 7, FWIW.
    Last edited by chrisjj; 28-Sep-2018, 04:13 PM.
  • Aaron
    Team Scooter
    • Oct 2007
    • 15997

    #2
    We would need more information to help track this down. Please email in a copy of your BCSupport.zip (Help menu -> Support; Export) to [email protected] along with a link back to this forum thread. If you restart your computer and then open a single tab and repeat the steps of comparing a blank file, does this reproduce?
    Aaron P Scooter Software

    Comment

    • chrisjj
      Carpal Tunnel
      • Apr 2008
      • 2537

      #3
      Originally posted by Aaron
      We would need more information to help track this down.
      Does it not happen for you?

      Originally posted by Aaron
      Please email in a copy of your BCSupport.zip (Help menu -> Support; Export) to [email protected] along with a link back to this forum thread.
      Done.

      Originally posted by Aaron
      If you restart your computer and then open a single tab and repeat the steps of comparing a blank file, does this reproduce?
      Yes.

      Comment

      • Chris
        Team Scooter
        • Oct 2007
        • 5538

        #4
        Thank you for sharing your settings. This is a bug in BC's implementation of the Patience Diff algorithm. If one file is empty, the comparison gets stuck in an infinite loop. It's on the bug list to be fixed.

        The only fix in the current version is to change the alignment algorithm used in the Text Compare. In the Home View, from the Sessions list, select New > Text Compare. Click Edit Defaults. In the Alignment tab, change Patience Diff alignment to Standard alignment or Myers O(ND) alignment.
        Chris K Scooter Software

        Comment

        • chrisjj
          Carpal Tunnel
          • Apr 2008
          • 2537

          #5
          Thanks.

          Originally posted by Chris
          It's on the bug list to be fixed.
          Meaning it got added since your response to my report?

          Comment

          • Chris
            Team Scooter
            • Oct 2007
            • 5538

            #6
            It was already on the bug list prior to your report. It only happens when Patience Diff algorithm is selected, which isn't the default alignment algorithm. The settings you sent by email were helpful in determining that it was a known bug rather than a bug elsewhere in the code.
            Chris K Scooter Software

            Comment

            • chrisjj
              Carpal Tunnel
              • Apr 2008
              • 2537

              #7
              Thanks.

              Originally posted by Chris
              It was already on the bug list prior to your report.
              OK. Then it would have been useful to have received that info, instead of "We would need more information to help track this down."

              Is this list of known bugs available to users? It would avoid me wasting time in reporting known bugs. I can't find such a list on web.

              Comment

              • Aaron
                Team Scooter
                • Oct 2007
                • 15997

                #8
                Hello,

                We didn't know what issue you were hitting until we were able to compare with your current settings. Once found, we linked it to the existing issue.

                Our tracker database is private. The developers use it, and it contains private information to help them reproduce test cases, etc.
                Aaron P Scooter Software

                Comment

                • chrisjj
                  Carpal Tunnel
                  • Apr 2008
                  • 2537

                  #9
                  Thanks.

                  Comment

                  • Chris
                    Team Scooter
                    • Oct 2007
                    • 5538

                    #10
                    The patience diff alignment bug you reported is fixed in Beyond Compare 4.3.

                    https://www.scootersoftware.com/download.php
                    Chris K Scooter Software

                    Comment

                    • chrisjj
                      Carpal Tunnel
                      • Apr 2008
                      • 2537

                      #11
                      Verified. Thanks for letting me know and thanks for the fix!

                      Comment

                      Working...