Re: Coulpe of odd [repeatable] crashes in vim 7

2006-04-21 Thread Bram Moolenaar
Neil Bird wrote: > Around about 19/04/06 20:03, Bram Moolenaar typed ... > > Main issue is: Do you open another buffer or window? > >I don't believe so. Apart from some tricky indirection (the srcctl > plugin has a generic set up, then calls the relevant real script > functions depending up

Re: Coulpe of odd [repeatable] crashes in vim 7

2006-04-21 Thread Neil Bird
Around about 21/04/06 09:16, Neil Bird typed ... I guess the basic sequence is: - you do "z=" and select a suggestion, this is to be inserted - your file is RO, thus the FileChangedRO autocmd is triggered - your FileChangedRO autocmd uses sourcesafe to get the file Hmm, does thi

Re: Coulpe of odd [repeatable] crashes in vim 7

2006-04-21 Thread Neil Bird
Around about 19/04/06 20:03, Bram Moolenaar typed ... Main issue is: Do you open another buffer or window? I don't believe so. Apart from some tricky indirection (the srcctl plugin has a generic set up, then calls the relevant real script functions depending upon the SCM S/W being used, So

Re: Coulpe of odd [repeatable] crashes in vim 7

2006-04-21 Thread Neil Bird
Around about 19/04/06 13:38, Giuseppe Bilotta typed ... Can Vim be run with Valgrind? Tried that; couldn't see the wood for the trees :-( -- [EMAIL PROTECTED] ~]# rm -f .signature [EMAIL PROTECTED] ~]# ls -l .signature ls: .signature: No such file or directory [EMAIL PROTECTED] ~]# exit

Re: Coulpe of odd [repeatable] crashes in vim 7

2006-04-19 Thread Bram Moolenaar
Neil Bird wrote: > Around about 19/04/06 12:07, Bram Moolenaar typed ... > > Apparently your FileChangedRO autocommand does something nasty. I > > suspect we need to detect that nastyness and disallow it. Any idea what > > the nasty bit could be? > >I tried making a cut down fake version,

Re: Coulpe of odd [repeatable] crashes in vim 7

2006-04-19 Thread Giuseppe Bilotta
On Wed, 19 Apr 2006 13:07:12 +0200, Bram Moolenaar wrote: > After some pointers go wrong anything can happen, thus how it crashes > exactly is not interesting. It could help to use a library that forbids > access to freed memory, like efence. Then the error is detected much > earlier and a stack

Re: Coulpe of odd [repeatable] crashes in vim 7

2006-04-19 Thread Neil Bird
Around about 19/04/06 12:07, Bram Moolenaar typed ... Apparently your FileChangedRO autocommand does something nasty. I suspect we need to detect that nastyness and disallow it. Any idea what the nasty bit could be? I tried making a cut down fake version, but that always worked. It's esse

Re: Coulpe of odd [repeatable] crashes in vim 7

2006-04-19 Thread Bram Moolenaar
Neil Bird wrote: > Around about 07/04/06 13:56, Bram Moolenaar typed ... > >>> The check for the current buffer to be locked was a bit too generic. > >>> I'll explicitly allow using ":edit" without an argument. > >>What about :checktime ? Says it's postponed till after the autocmd, so > >>

Re: Coulpe of odd [repeatable] crashes in vim 7

2006-04-19 Thread Neil Bird
Around about 19/04/06 09:38, Neil Bird typed ... If I come up with any more info., I'll let you know. OK, spoke too soon, I seem to be able to subtly change the behaviour by which spell option I select. I'd always been selecting '1', the first, to get the crashes before; selecting other

Re: Coulpe of odd [repeatable] crashes in vim 7

2006-04-19 Thread Neil Bird
Around about 07/04/06 13:56, Bram Moolenaar typed ... The check for the current buffer to be locked was a bit too generic. I'll explicitly allow using ":edit" without an argument. What about :checktime ? Says it's postponed till after the autocmd, so should it be OK too? Hmm, it seems so.