Author Topic: B3: Slick-C backtrace on refactor/rename  (Read 1616 times)

jc44

  • Senior Community Member
  • Posts: 303
  • Hero Points: 21
B3: Slick-C backtrace on refactor/rename
« on: September 11, 2019, 03:45:18 pm »
Win 10 x64, Brief

I got this slick-C backtrace when closing the refactor / rename window.  As it happens I was renaming a typedef structure to a symbol that already existed - I don't know if that was part of the issue.  The rename appears to have worked.

x:\rpi\FFmpeg\libavdevice\rpi_vdev.c Invalid argument diffedit.ex 7139 _diff_form._ctlfile1.on_destroy()   p_window_id: 178   p_object: OI_EDITOR   p_name: _ctlfile1 refactorgui.ex 14889 _refactor_results_form.ctlOK.lbutton_up()   p_window_id: 190
p_object: OI_FORM p_name: _refactor_results_form dlgeditv.ex 7262 show(-modal -xy _refactor_results_form,,,refactor,0,
   6:   
  • =x:\rpi\FFmpeg\libavdevice\rpi_vdev.c

   7:   Refactoring results
   p_window_id: 191
   p_object: OI_EDITOR
   p_name:
refactor.ex 34636 showRefactoringModifications(0,Refactoring results)   p_window_id: 191   p_object: OI_EDITOR   p_name:
refactor.ex 6165 refactor_review_and_commit_transaction(0,0,Failed to rename symbol.,Quick rename XVContext => rpi_display_env_t,x:\rpi\FFmpeg\libavdevice\rpi_vdev.c,Refactoring results,0)
   p_window_id: 191
   p_object: OI_EDITOR
   p_name:
quickrefactor.ex 1818 refactor_quick_rename_symbol(
   1:   ._typename()=VS-TAG-BROWSE-INFO
   1:   .tag-database=
   1:   .category=
   1:   .class-name=
   1:   .member-name=XVContext
   1:   .qualified-name=
   1:   .type-name=typedef
   1:   .file-name=x:\rpi\FFmpeg\libavdevice\rpi_vdev.c
   1:   .language=c
   1:   .line-no=35
   1:   .seekpos=1041
   1:   .name-line-no=37
   1:   .name-seekpos=1080
   1:   .scope-line-no=37
   1:   .scope-seekpos=1090
   1:   .end-line-no=37
   1:   .end-seekpos=1090
   1:   .column-no=0
   1:   .flags=0
   1:   .return-type=struct XVContext
   1:   .arguments=
   1:   .exceptions=
   1:   .class-parents=
   1:   .template-args=
   1:   .doc-comments=
   1:   .type-id=4
   2:   <empty>
   3:   a-zA-Z_$ 0-9
   p_window_id: 191
   p_object: OI_EDITOR
   p_name:
quickrefactor.ex 255 refactor_quick_rename()   p_window_id: 191   p_object: OI_EDITOR   p_name:


Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2647
  • Hero Points: 141
Re: B3: Slick-C backtrace on refactor/rename
« Reply #1 on: September 11, 2019, 05:46:34 pm »
This is related to the difference editor.  I will look into this.

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2647
  • Hero Points: 141
Re: B3: Slick-C backtrace on refactor/rename
« Reply #2 on: September 11, 2019, 08:08:56 pm »
This is fixed for the next build.