----------------------------------------
> Date: Sat, 8 Sep 2012 01:34:30 -0700
> From: [email protected]
> To: [email protected]
> Subject: [PATCH] When printing exceptions vim may crash
>
> The following patch fixes crash that on my system started to happen always 
> when printing exceptions.
>
> # HG changeset patch
> # User ZyX <[email protected]>
> # Date 1347093048 -14400
> # Node ID 78b679bbe662f809323ea4127aa424627ab0d01d
> # Parent d6b78f099bfb0b347935765f333cdfe4a5bf0e59
> Fix crash at exceptions
>
> diff -r d6b78f099bfb -r 78b679bbe662 src/if_py_both.h
> --- a/src/if_py_both.h Fri Sep 07 08:11:51 2012 +0400
> +++ b/src/if_py_both.h Sat Sep 08 12:30:23 2012 +0400
> @@ -74,7 +74,7 @@
> static PyObject *
> OutputWrite(PyObject *self, PyObject *args)
> {
> - Py_ssize_t len;
> + Py_ssize_t len = 0;
> char *str = NULL;
> int error = ((OutputObject *)(self))->error;
>

You're hitting a bug my recent patch introduced.  This is a good interim fix, 
but I think a better patch will emerge as a real solution.  We're talking about 
this in another thread now.

Thanks,
Sean

                                          

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui