On 18/11/08 22:29, Dominique Pelle wrote:
[...]
> But I can simplify the way to reproduce it. It happens whenever
> I do a visual selection in between:
> - selecting text in clipboard with the mouse
> - and pasting with middle click.
>
> Example:
>
> 1/ start vim with valgrind: valgrind 2> valgrind.log vim -u NONE
> 2/ select some text with mouse outside vim (one line is enough)
> 3/ enter INSERT mode in vim and type some text: iThis is a test<Esc>
> 4/ visual select line typed in 3/ with: V
> 5/ click middle mouse to paste text selected in 2/
>
> Observe errors in valgrind.log right after middle mouse click in step 5/
>
> I see this with Vim-7.2.42 (normal or huge, GTK2) on Ubuntu-8.10
> as well as Vim-7.1.314 (GTK2-GNOME) on Ubuntu-8.10
>
> I tried on 2 other machines:
>
> - vim-7.2.42 (huge, GTK2 GUI) on openSUSE 10.3 : no bug
> observed, valgrind does not complain either (I tried several times)
>
> - vim-7.2.42 (huge, GTK2 GUI) on Ubuntu-7.04 : no apparent bug
> but valgrind reports errors as soon as I paste text in step 5/
[...]
What do you have 'clipboard' set to? (The default is "autoselect", which
will make Vim try to get ownership of the X11 selection at step 4).
Best regards,
Tony.
--
Microsoft: "Windows NT 4.0 now has the same user-interface as Windows 95"
Windows 95: "Press CTRL-ALT-DEL to reboot"
Windows NT 4.0: "Press CTRL-ALT-DEL to login"
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---