Author Topic: RC3: Crash in DiffTool then SE Crashes  (Read 6314 times)

PiezonTM

  • Senior Community Member
  • Posts: 140
  • Hero Points: 8
RC3: Crash in DiffTool then SE Crashes
« on: October 24, 2018, 05:05:36 PM »
I diff a bunch of code and with RC2 and now RC3 I get crashes of the difftool that also take down SE.  I have not been able to narrow it down.  After a diff a file I often get an "Invalid agument" dialog (or two or three) then I get an "Invalid Method" or "Invalid Object Method", then the difftool closes and so does the SE.  A minute ago I got the "Invalid argument" and my Ubuntu 16.04 locked up and I had to power off my laptop to reboot.  Next time it happens I will be sure to get the exact dialog text and the order in which they popup.  Main point is that once I see any one of those I know I'm doomed and SE will be crashing.

Ubuntu 16.04, SE 2018 RC3

PiezonTM

  • Senior Community Member
  • Posts: 140
  • Hero Points: 8
Re: RC3: Crash in DiffTool then SE Crashes
« Reply #1 on: October 24, 2018, 05:18:34 PM »
I just had it happen again--usually on ever few diffs.

I got the dialog, "Invalid argument".  I tried to the close it with the button but it did not seem to work, so I used Esc.  Then immediately I got the dialog, "This property or method is not allowed on this object".  I closed the second dialog with an Esc, then the diff closes and so does SE.

PiezonTM

  • Senior Community Member
  • Posts: 140
  • Hero Points: 8
Re: RC3: Crash in DiffTool then SE Crashes
« Reply #2 on: October 24, 2018, 05:22:40 PM »
Other things may or may not be worth mentioning:
- This is happening on the multi-diff
- I am using the Line Diff mode

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2899
  • Hero Points: 153
Re: RC3: Crash in DiffTool then SE Crashes
« Reply #3 on: October 25, 2018, 01:37:17 PM »
Can you send me your (config)/23.0.0/logs/stack.log?

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2899
  • Hero Points: 153
Re: RC3: Crash in DiffTool then SE Crashes
« Reply #4 on: October 25, 2018, 02:15:45 PM »
Does it happen when you launch the diff or when you close it?

PiezonTM

  • Senior Community Member
  • Posts: 140
  • Hero Points: 8
Re: RC3: Crash in DiffTool then SE Crashes
« Reply #5 on: October 25, 2018, 02:17:06 PM »
This happens after the file diff completes and focus changes back to the multi-diff.

Let me know if there is something else.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2899
  • Hero Points: 153
Re: RC3: Crash in DiffTool then SE Crashes
« Reply #6 on: October 25, 2018, 02:22:11 PM »
Is the multi-file diff still up?

Do you typically click the diff button, press enter, or double click the file?

Did the diff that was launched initially seem OK?

PiezonTM

  • Senior Community Member
  • Posts: 140
  • Hero Points: 8
Re: RC3: Crash in DiffTool then SE Crashes
« Reply #7 on: October 25, 2018, 03:26:24 PM »
I double-click the filename in the multi-diff listing.  The diff window opens and I diff the file, maybe save changes, etc.  After the diff window closes the dialogs popup.  I close the dialogs with Esc (the button does not seem to work).  Once the last dialog is closed the multi-diff window then closes, then SE closes.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2899
  • Hero Points: 153
Re: RC3: Crash in DiffTool then SE Crashes
« Reply #8 on: October 25, 2018, 03:28:29 PM »
OK.  I can't reproduce it so far.  Does it happen consistently on any particular files?

Are the files open?

Can I send you a macro with some debug so we can try to see where this is happening?

Anything you notice might help me reproduce it.
« Last Edit: October 25, 2018, 04:01:44 PM by Dan »

PiezonTM

  • Senior Community Member
  • Posts: 140
  • Hero Points: 8
Re: RC3: Crash in DiffTool then SE Crashes
« Reply #9 on: October 25, 2018, 04:18:33 PM »
To answer your questions:
Quote
Does it happen consistently on any particular files?
It seems to happen on specific files.  So I reopen SE and try again and it happens again.  Then at some point it goes away.  I could be wrong but this is my impression.

Quote
Are the files open?
One of the two files being diffed are open.

Quote
Can I send you a macro with some debug so we can try to see where this is happening?
Sure

I do notice at times I had one file that was Unicode and the other text.  I get the dialog to convert the file temporarily to text.  This does not cause the problem but not sure if it causes a problem for other diff'ed files.  Just something I noticed.  If I come up with anything else I'll be sure to pass it on.



PiezonTM

  • Senior Community Member
  • Posts: 140
  • Hero Points: 8
Re: RC3: Crash in DiffTool then SE Crashes
« Reply #10 on: October 25, 2018, 04:41:17 PM »
One thing I noticed is the "OK" button on the dialogs does not seem to work, even the "No More Differences".  Is this unique to me and possibly my problem?  I noticed the same thing on the other Slick-C errors.  The way to close the dialog is with the Escape key.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2899
  • Hero Points: 153
Re: RC3: Crash in DiffTool then SE Crashes
« Reply #11 on: October 25, 2018, 04:43:47 PM »
Possible.  I did see that message box flicker funny earlier, but nothing else happened.  Two of us have been trying to reproduce it a lot this morning.  I have another test to do, then I'll send you something with some debug.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2899
  • Hero Points: 153
Re: RC3: Crash in DiffTool then SE Crashes
« Reply #12 on: October 25, 2018, 05:28:31 PM »
Can you PM me an email address so I can send you a version of the macro with some debug in it?

PiezonTM

  • Senior Community Member
  • Posts: 140
  • Hero Points: 8
Re: RC3: Crash in DiffTool then SE Crashes
« Reply #13 on: October 25, 2018, 06:20:33 PM »
Here is the attachment of the log when I see this same error crash SE with NO diff windows open, only in the editor.

PiezonTM

  • Senior Community Member
  • Posts: 140
  • Hero Points: 8
Re: RC3: Crash in DiffTool then SE Crashes
« Reply #14 on: October 25, 2018, 06:28:17 PM »
I just got the crash and thought I'd explain this before I forget some details. 
- I did a multi-diff of two directories
- I looked at the diff of a file that differed (one file is open in the SE editor, the other is not)
- I did NOT copy the changes
- Closed the multi-diff and had no issue.
- I decided I wanted to copy the changes
- Diffed the same two directories
- Diffed the same file and did a "Merge All >>" ( I merged to the file opened in the SE editor)
- Pressed Save
- Closed the Diff Window
- Then it crashed.
« Last Edit: October 25, 2018, 06:30:39 PM by PiezonTM »