Author Topic: VS 26.0.2.1 Diff Lockup  (Read 886 times)

PiezonTM

  • Senior Community Member
  • Posts: 140
  • Hero Points: 8
VS 26.0.2.1 Diff Lockup
« on: June 08, 2022, 08:43:38 pm »
If I attempt to diff the two attached files (simple CSV files) VS locks up and stops responding.

SlickEdit Pro 2021 (v26.0.2.1 64-bit Qt4)

Serial number: -----
Licensed number of users: Single user
License file: /opt/slickedit-pro2021/bin/slickedit.lic

Build Date: May 2, 2022
Emulation: CUA

OS: Linux
OS Version: Ubuntu 18.04.6 LTS
Kernel Level: 5.4.0-113-generic
Build Version: #127~18.04.1-Ubuntu SMP Wed May 18 15:40:23 UTC 2022
Processor Architecture: x86_64

X Server Vendor: The X.Org Foundation
Window Manager: GNOME Shell
Display manager: /usr/sbin/gdm3

Memory: 97% Load, 33254MB/34239MB Virtual
Shell Information: "/opt/slickedit-pro2021/bin/secsh" -i
Screen Size: 2560 x 1440, 2560 x 1440, 2048 x 1152

Project Type: Single file project - Other
Language: .xml (XML)
Encoding: UTF-8, no signature

Installation Directory: /opt/slickedit-pro2021/
Configuration Directory: /home/----/.slickedit/26.0.2/
Migrated from: /home/----/.slickedit/26.0.1/
Spill File: /tmp/$slk.----.22270



Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2798
  • Hero Points: 146
Re: VS 26.0.2.1 Diff Lockup
« Reply #1 on: June 09, 2022, 12:12:11 am »
What options are you using for the diff?

PiezonTM

  • Senior Community Member
  • Posts: 140
  • Hero Points: 8
Re: VS 26.0.2.1 Diff Lockup
« Reply #2 on: June 09, 2022, 02:06:55 pm »
I tried with both files selected as "files" and I also tried with both buffers being "buffers". I have attached screenshot of the diff options.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2798
  • Hero Points: 146
Re: VS 26.0.2.1 Diff Lockup
« Reply #3 on: June 09, 2022, 02:18:31 pm »
I still can't reproduce a hang so far.  I noticed one of the files you have as a .log file but I think that what I extracted was still csv.  I just renamed it.  I tried your options.  Can you send me your user.cfg.xml?

PiezonTM

  • Senior Community Member
  • Posts: 140
  • Hero Points: 8
Re: VS 26.0.2.1 Diff Lockup
« Reply #4 on: June 10, 2022, 05:07:28 pm »
You are correct, the screenshot was with a different file but that was really meant to show the settings--that file locks up as well. I just reran the test with the files I sent you and it reproduces 100% of the time.  Sorry for the confusion

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2798
  • Hero Points: 146
Re: VS 26.0.2.1 Diff Lockup
« Reply #5 on: June 10, 2022, 06:20:19 pm »
I am still not able to get it.  Are you prompted for Source Diff?

PiezonTM

  • Senior Community Member
  • Posts: 140
  • Hero Points: 8
Re: VS 26.0.2.1 Diff Lockup
« Reply #6 on: June 10, 2022, 06:41:10 pm »
No. Nothing at all pops up and I cannot close VS using any graphical mean. I have to kill the process.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2798
  • Hero Points: 146
Re: VS 26.0.2.1 Diff Lockup
« Reply #7 on: June 10, 2022, 06:55:41 pm »
Can you check to see if the end of line characters match?  I get prompted about that, but it does work.  I'm wondering if it is hanging before it gets that far.

I'm trying 26.0.2 on  Ubuntu 18, which should be close to your setup.

PiezonTM

  • Senior Community Member
  • Posts: 140
  • Hero Points: 8
Re: VS 26.0.2.1 Diff Lockup
« Reply #8 on: June 10, 2022, 08:20:35 pm »
They are different line endings indeed. The one file was generated from Windows (CRLF) and the other was Linux (LF). I saved the CRLF as LF and retried. When they were both LF it still locked up VS. I do not event get the dialog asking to convert line endings.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6435
  • Hero Points: 501
Re: VS 26.0.2.1 Diff Lockup
« Reply #9 on: June 10, 2022, 10:40:57 pm »
Try a clean config:

Code: [Select]
vs +new -sc /tmp/testconfig&

and use the default diff options to diff these files. Dan knows diff better than I do but I've been trying various diff options on Linux and haven't been able to reproduce a hang either.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2798
  • Hero Points: 146
Re: VS 26.0.2.1 Diff Lockup
« Reply #10 on: June 12, 2022, 07:41:49 pm »
Try a clean config:
Code: [Select]
vs +new -sc /tmp/testconfig&
and use the default diff options to diff these files. Dan knows diff better than I do but I've been trying various diff options on Linux and haven't been able to reproduce a hang either.

I think this is the best thing to try right now.  I haven't been able to reproduce it either.

PiezonTM

  • Senior Community Member
  • Posts: 140
  • Hero Points: 8
Re: VS 26.0.2.1 Diff Lockup
« Reply #11 on: June 13, 2022, 12:53:33 pm »
I tried the suggested command and it failed the same way.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2798
  • Hero Points: 146
Re: VS 26.0.2.1 Diff Lockup
« Reply #12 on: June 13, 2022, 04:25:58 pm »
Are you using vsdiff, or running it from inside the editor?  I'm guessing inside the editor from the screenshots.

If I send you a macro with some debug, can you send me the output?
« Last Edit: June 13, 2022, 04:28:16 pm by Dan »

PiezonTM

  • Senior Community Member
  • Posts: 140
  • Hero Points: 8
Re: VS 26.0.2.1 Diff Lockup
« Reply #13 on: June 13, 2022, 07:57:48 pm »
I am diffing using the editor. I can try whatever you need.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2798
  • Hero Points: 146
Re: VS 26.0.2.1 Diff Lockup
« Reply #14 on: June 13, 2022, 08:02:18 pm »
Can you PM me an email address?  Thanks.