Author Topic: SlickStack B8  (Read 3436 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
SlickStack B8
« on: June 17, 2013, 09:44:47 PM »
I had a file open in %TEMP%\......\foo.java
(Total path length was about 135)

Repro is easy, but not entirely reliable.
Create the file.
Open in slick
Push-ref a couple of times or otherwise jump around in the file.
Switch to another buffer.
Leave slick.
Delete the file and the path
   rmdir /s c:\users\joe_po~1\appdata\local\temp\p4\joeporkka1\17465
Switch back to slick.

I reported something similar in an earlier beta that I thought got fixed.



---------------------------
Slick-C Error
---------------------------
Invalid number argument

file=files.ex offset=19357
---------------------------
OK   
---------------------------

 Invalid number argument
files.ex 19357 _save_deleted_close_button.lbutton_up()   p_window_id: 175   p_object: OI_COMMAND_BUTTON   p_name: ctl_selectall
dlgman.ex 2512 _dmDoLetter(c)   p_window_id: 175   p_object: OI_COMMAND_BUTTON   p_name: ctl_selectall
dlgman.ex 4646 _ainh_dlg_manager.a_z()   p_window_id: 5   p_object: OI_FORM   p_name:
dlgeditv.ex 7013 show(-modal _select_tree_form,
   2:   
  • =c:\users\joe_po~1\appdata\local\temp\p4\joeporkka1\17465\r\aaaa\aaaaaaa\aa\aaaaaa\aac\aaa\aaa\xaaaaaab\yaaaaa\zaaaaaaaaaaaaaaaaaaa.java

   3:   <empty>
   4:   
  • =3969

   5:   <empty>
   6:   
  • =1

   7:   &176554761
   8:   
   9:   Save Deleted Files
   10:   1233216
   11:   File
   12:   130
   13:   auto reload
   14:   <empty>
   p_window_id: 5
   p_object: OI_FORM
   p_name:
seltree.ex 780 select_tree(
   1:   
  • =c:\users\joe_po~1\appdata\local\temp\p4\joeporkka1\17465\r\aaaa\aaaaaaa\aa\aaaaaa\aac\aaa\aaa\xaaaaaab\yaaaaa\zaaaaaaaaaaaaaaaaaaa.java

   2:   <empty>
   3:   
  • =3969

   4:   <empty>
   5:   
  • =1

   6:   &176554761
   7:   
   8:   Save Deleted Files
   9:   1233216
   10:   File
   11:   130
   12:   1
   13:   auto reload
   14:   <empty>
   p_window_id: 5
   p_object: OI_FORM
   p_name:
files.ex 12396 _ReloadFiles(1,<empty>,@24460,5000)   p_window_id: 5   p_object: OI_FORM   p_name:
files.ex 13364 _actapp_files()   p_window_id: 196   p_object: OI_EDITOR   p_name:
files.ex 10264 call_list(_actapp_,)   p_window_id: 196   p_object: OI_EDITOR   p_name:
files.ex 10577 _on_activate_app()   p_window_id: 196   p_object: OI_EDITOR   p_name:


Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6875
  • Hero Points: 530
Re: SlickStack B8
« Reply #1 on: June 18, 2013, 12:42:55 AM »
Thanks for finding this. All that's needed to reproduce this bug is to open a filename that contains symbolic links or short file paths (~ on windows). Then you delete it and SlickEdit can't find the original buffer because it's using the unresolved buffer name. This will be fixed in the final release.