Author Topic: Really wierd buffer closing problem  (Read 1358 times)

jporkkahtc

  • Senior Community Member
  • Posts: 1844
  • Hero Points: 179
  • Text
Really wierd buffer closing problem
« on: May 29, 2013, 07:36:01 pm »
I've got a file open in %TEMP%\p4\.......\file.java
The buffer is modified.
Just moving the mouse around on the screen causes the buffer to be closed.

It only happens on files in this directory.
I've never seen this before, but it repros every time I try.
I added
    say("CLOSE!");
To close_buffer().
Normal buffer closing will now print CLOSE!, but this mystry closing does not.

So I figure somebody must be calling _buffer_quit() who should not be.
I tried using the Slick debugger, but when I started it it just hung with a toast "backgroun processes/Updating workspace tag file". After many minutes it is still unresponsive.


jporkkahtc

  • Senior Community Member
  • Posts: 1844
  • Hero Points: 179
  • Text
Re: Really wierd buffer closing problem
« Reply #1 on: May 29, 2013, 07:51:01 pm »
OK, I got the callstack when this happens:
_delete_temp_view line 5550
_ExtractTagComments2 line 5079
debug_get_mouse_expr line 1676
_mouse_move line 4373

If I open via another program running this command:
vs.exe  %p "-#goto_line %l"
(where %p==path, %l==linenumber).
If I open the file via File->Open and type the pathname, then it doesn't magically close.

jporkkahtc

  • Senior Community Member
  • Posts: 1844
  • Hero Points: 179
  • Text
Re: Really wierd buffer closing problem
« Reply #2 on: May 29, 2013, 10:26:28 pm »
Doesn't seem to repro in Beta5 :-)

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 4926
  • Hero Points: 402
Re: Really wierd buffer closing problem
« Reply #3 on: May 29, 2013, 10:42:35 pm »
If you get it again, post another message. Glad its working!