Lech Lorens wrote:

> I just tried using Vim with Pyclewn. According to :help netbeans.txt,
> the NetBeans interface is supported in some GUI variants and in console
> Vim. I get:
> Vim: Caught deadly signal SEGV
> Vim: Finished
> 
> Gdb displays the following backtrace:
> #v+
> (gdb) bt
> #0  0x00d29422 in __kernel_vsyscall ()
> #1  0x00339926 in kill () from /lib/tls/i686/cmov/libc.so.6
> #2  0x08134d3c in may_core_dump () at os_unix.c:3123
> #3  0x08136cb9 in mch_exit (r=1) at os_unix.c:3089
> #4  0x080f4668 in preserve_exit () at misc1.c:8437
> #5  <signal handler called>
> #6  0x004830ea in XFlush () from /usr/lib/libX11.so.6
> #7  0x081afda3 in gui_mch_flush () at gui_x11.c:2926
> #8  0x081bc4c0 in netbeans_open (params=0xbfe5140e "", doabort=1) at
> netbeans.c:2991
> #9  0x080dcd83 in main (argc=6, argv=0xbfe4fe44) at main.c:953
> #v-
> 
> This happens for Vim based on changeset 06a44c4eb3 and Pyclewn 1.2.
> 
> I am unlikely to be able to debug the problem myself within the
> following few days. Sorry.

I see a series of very obvious mistakes in netbeans.c: Using #ifdef
FEAT_GUI assuming that a version build with this will always be running
the GUI.  That is not so, it may be running in a terminal.

I'll make the obvious changes but won't be able to do much testing.

Anyway, glad you found this now!

-- 
Due knot trussed yore spell chequer two fined awl miss steaks.

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