Author Topic: beta 5 diff crash  (Read 2548 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
beta 5 diff crash
« on: September 28, 2018, 11:11:37 PM »
I modified a buffer, from list-buffers I picked "diff".
First time, it complained that the buffers are the same.
Second time I got a slick stack, followed by the process crashing.

I've uploaded the minidump to support.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2899
  • Hero Points: 153
Re: beta 5 diff crash
« Reply #1 on: September 29, 2018, 12:37:18 AM »
I will look into this.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6875
  • Hero Points: 530
Re: beta 5 diff crash
« Reply #2 on: September 29, 2018, 01:19:24 AM »
If you got a Slick-C stack, post that too. Thanks

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
Re: beta 5 diff crash
« Reply #3 on: September 29, 2018, 01:51:31 AM »
Here you go.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6875
  • Hero Points: 530
Re: beta 5 diff crash
« Reply #4 on: September 29, 2018, 07:08:59 PM »
Can you reproduce this on demand? If so, maybe you could provide more specific steps.

The crash is probably a down stream problem due to the Slick-C stack. Unfortunately, we are in a C++ function which in this case makes it pretty hard to know where Slick-C stack happened.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6875
  • Hero Points: 530
Re: beta 5 diff crash
« Reply #5 on: September 29, 2018, 07:16:08 PM »
Reproduced. I did the following:

Turned off the "Source Diff" check box
edited a file named "junk.bourneshell" so same langauge was selected.
Diffed the buffer with the file on disk
Selected No to view matching files
Diffed the buffer with the file on disk again and got the same Slick-C stack as you (followed by crash).

This issue seems very picky. Requires the "Source Diff" check box to be off (it's on by default--Source Diff prompt seems to fix this issue). Also requires that you diff a buffer in memory with the file version of itself.
« Last Edit: September 29, 2018, 07:26:29 PM by Clark »

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
Re: beta 5 diff crash
« Reply #6 on: September 29, 2018, 07:34:14 PM »
I guess I got lucky -- this was the first thing I tried when I installed beta 5 :-)

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2899
  • Hero Points: 153
Re: beta 5 diff crash
« Reply #7 on: October 01, 2018, 03:30:52 PM »
Fixed for beta 6.  Thanks for the report!
« Last Edit: October 01, 2018, 03:40:14 PM by Clark »