Hello Bram,

sorry about my late response, first I was on holiday, then I was quite 
busy.

I compared the vim7.3d sources to my original ones on Saturday.
Most of the functions are basically the same,
but I spotted a relevant difference:

I had:
#define load_dll(n) dlopen((n),RTLD_LAZY)

Vim 7.3 has:
#define load_dll(n) dlopen((n), RTLD_LAZY|RTLD_GLOBAL)

I recalled, that back then I had had the same crash, probably because 
global static variables got mixed up.

I made the test in Vim 7.3: After removing RTLD_GLOBAL there was no crash 
any more.

Regards,
        Roland



b...@moolenaar.net schrieb am 06.08.2010 21:16:39:

> Von: Bram Moolenaar <b...@moolenaar.net>
> An: Roland Puntaier <roland.punta...@br-automation.com>
> Kopie: vim_dev@googlegroups.com
> Datum: 06.08.2010 21:16
> Betreff: Re: Vim 7.3: Python3 support
> Gesendet von: b...@moolenaar.net
> 
> 
> Roland -
> 
> You have been quiet for a while.  I still have the workaround that in
> one Vim session one can only use either :python or :py3 to avoid
> problems mixing the shared library.  Is there a better solution?  I hope
> you can come up with something really soon, since we are getting very
> close to the 7.3 release and I don't want to risc making changes that
> could crash Vim.
> 
> -- 
> hundred-and-one symptoms of being an internet addict:
> 26. You check your mail. It says "no new messages." So you check it 
again.
> 
>  /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net 
\\\
> ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ 
\\\
> \\\        download, build and distribute -- http://www.A-A-P.org ///
>  \\\            help me help AIDS victims -- http://ICCF-Holland.org ///

-- 
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