Author Topic: slick stack in backup history  (Read 91 times)

Graeme

  • Senior Community Member
  • Posts: 2658
  • Hero Points: 332
slick stack in backup history
« on: September 22, 2021, 02:51:19 am »
I selected the first revision and clicked the rightmost button "view file in history diff" and got a slick stack.  I tried again and got no stack.  Tried a third  time and got the stack again.


Code: [Select]
stack[2021-09-22T14:40:35Z] Slick-C STACK TRACE ******************************
stack[2021-09-22T14:40:35Z] Created on 9/22/2021 at 14:40:35 (368 ms)
stack[2021-09-22T14:40:35Z] SlickEdit Pro Version 26.0.0.3 Copyright 1988-2021 SlickEdit Inc.
stack[2021-09-22T14:40:35Z] Edit module and type "st -f <offset>" to get the
stack[2021-09-22T14:40:35Z] run-time error position
stack[2021-09-22T14:40:35Z]
stack[2021-09-22T14:40:35Z] error code=-3015
stack[2021-09-22T14:40:35Z] Invalid argument
stack[2021-09-22T14:40:35Z]
stack[2021-09-22T14:40:35Z]diffedit.ex 2479 diffedit:StripFileOrBuffer(
stack[2021-09-22T14:40:35Z]   1:   ._typename()=se.vc.BackupHistoryVersionedFile
stack[2021-09-22T14:40:35Z]   1:   .m-localFilename=C:\GP\slick-temp\26.0.0\xtemporary_files\DA-000006.txt
stack[2021-09-22T14:40:35Z]   1:   .m-versionInfo=(null)
stack[2021-09-22T14:40:35Z]   1:   .m-loaded=0
stack[2021-09-22T14:40:35Z]   1:   .m-historyInfo=(null)
stack[2021-09-22T14:40:35Z]   p_window_id: 236
stack[2021-09-22T14:40:35Z]   p_object: OI_IMAGE
stack[2021-09-22T14:40:35Z]   p_name: ctlhistory_diff
stack[2021-09-22T14:40:35Z]diffedit.ex 2739 _DiffFile1OnCreate(
stack[2021-09-22T14:40:35Z]   1:   ._typename()=se.vc.BackupHistoryVersionedFile
stack[2021-09-22T14:40:35Z]   1:   .m-localFilename=C:\GP\slick-temp\26.0.0\xtemporary_files\DA-000006.txt
stack[2021-09-22T14:40:35Z]   1:   .m-versionInfo=(null)
stack[2021-09-22T14:40:35Z]   1:   .m-loaded=0
stack[2021-09-22T14:40:35Z]   1:   .m-historyInfo=(null)
stack[2021-09-22T14:40:35Z]   2:   
stack[2021-09-22T14:40:35Z]   3:   
stack[2021-09-22T14:40:35Z]   p_window_id: 236
stack[2021-09-22T14:40:35Z]   p_object: OI_IMAGE
stack[2021-09-22T14:40:35Z]   p_name: ctlhistory_diff
stack[2021-09-22T14:40:35Z]diffedit.ex 3265 _diff_form._ctlfile1.on_create(
stack[2021-09-22T14:40:35Z]   1:   ._typename()=se.vc.BackupHistoryVersionedFile
stack[2021-09-22T14:40:35Z]   1:   .m-localFilename=C:\GP\slick-temp\26.0.0\xtemporary_files\DA-000006.txt
stack[2021-09-22T14:40:35Z]   1:   .m-versionInfo=(null)
stack[2021-09-22T14:40:35Z]   1:   .m-loaded=0
stack[2021-09-22T14:40:35Z]   1:   .m-historyInfo=(null)
stack[2021-09-22T14:40:35Z]   2:   
stack[2021-09-22T14:40:35Z]   3:   
stack[2021-09-22T14:40:35Z]   p_window_id: 236
stack[2021-09-22T14:40:35Z]   p_object: OI_IMAGE
stack[2021-09-22T14:40:35Z]   p_name: ctlhistory_diff
stack[2021-09-22T14:40:35Z]dlgeditv.ex 6358 show(-xy _history_diff_form,
stack[2021-09-22T14:40:35Z]   2:   ._typename()=se.vc.BackupHistoryVersionedFile
stack[2021-09-22T14:40:35Z]   2:   .m-localFilename=C:\GP\slick-temp\26.0.0\xtemporary_files\DA-000006.txt
stack[2021-09-22T14:40:35Z]   2:   .m-versionInfo=<empty>
stack[2021-09-22T14:40:35Z]   2:   .m-loaded=0
stack[2021-09-22T14:40:35Z]   2:   .m-historyInfo=<empty>
stack[2021-09-22T14:40:35Z]   p_window_id: 236
stack[2021-09-22T14:40:35Z]   p_object: OI_IMAGE
stack[2021-09-22T14:40:35Z]   p_name: ctlhistory_diff
stack[2021-09-22T14:40:35Z]historydiff.ex 9518 history_diff_machine(C:\GP\slick-temp\26.0.0\xtemporary_files\DA-000006.txt)   p_window_id: 236   p_object: OI_IMAGE   p_name: ctlhistory_diff
stack[2021-09-22T14:40:35Z]tbdeltasave.ex 4871 _tbdeltasave_form.ctlhistory_diff.lbutton_up()   p_window_id: 236   p_object: OI_IMAGE   p_name: ctlhistory_diff
stack[2021-09-22T14:40:35Z]picture.ex 2589 _ul2_picture.lbutton_down(0)   p_window_id: 236   p_object: OI_IMAGE   p_name: ctlhistory_diff
stack[2021-09-22T14:40:55Z] Slick-C STACK TRACE ******************************
stack[2021-09-22T14:40:55Z] Created on 9/22/2021 at 14:40:55 (793 ms)
stack[2021-09-22T14:40:55Z] SlickEdit Pro Version 26.0.0.3 Copyright 1988-2021 SlickEdit Inc.
stack[2021-09-22T14:40:55Z] Edit module and type "st -f <offset>" to get the
stack[2021-09-22T14:40:55Z] run-time error position
stack[2021-09-22T14:40:55Z]
stack[2021-09-22T14:40:55Z] error code=-3073
stack[2021-09-22T14:40:55Z] Invalid pointer argument
stack[2021-09-22T14:40:55Z]
stack[2021-09-22T14:40:55Z]historydiff.ex 1217 _history_diff_form._ctlclose.on_create(fundamental,,0,0,1)   p_window_id: 450   p_object: OI_COMMAND_BUTTON   p_name: _ctlclose

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2625
  • Hero Points: 141
Re: slick stack in backup history
« Reply #1 on: September 22, 2021, 03:10:32 am »
Thanks for the report!

Graeme

  • Senior Community Member
  • Posts: 2658
  • Hero Points: 332
Re: slick stack in backup history
« Reply #2 on: September 23, 2021, 12:25:09 am »
_history_diff_form dialog shows ctllabel1 and "File1Line"  - could be because of the stack error I guess.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2625
  • Hero Points: 141
Re: slick stack in backup history
« Reply #3 on: September 23, 2021, 01:04:08 am »
It looks like whatever came into the StripFileOrBuffer function was a struct and should have been a string.  I can reproduce it, so that will help.
« Last Edit: September 23, 2021, 01:09:37 am by Dan »

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2625
  • Hero Points: 141
Re: slick stack in backup history
« Reply #4 on: September 23, 2021, 02:51:34 am »
Fixed for Beta 4.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2625
  • Hero Points: 141
Re: slick stack in backup history
« Reply #5 on: September 23, 2021, 03:43:34 am »
Fixed for Beta 4.  Thanks for the catch!