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

jporkkahtc

  • Senior Community Member
  • Posts: 1783
  • Hero Points: 174
  • 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: 2357
  • Hero Points: 131
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: 4794
  • Hero Points: 388
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: 1783
  • Hero Points: 174
  • 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: 4794
  • Hero Points: 388
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: 4794
  • Hero Points: 388
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: 1783
  • Hero Points: 174
  • 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: 2357
  • Hero Points: 131
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 »