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

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • 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: 2620
  • Hero Points: 210
  • 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: 2620
  • Hero Points: 210
  • 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: 6874
  • Hero Points: 530
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!