:version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jul 1 2016 10:03:37)
Included patches: 1-1967
The backtrace:
#0 0x00007f603d2545c7 in kill () from /usr/lib/libc.so.6
(gdb) bt
#0 0x00007f603d2545c7 in kill () from /usr/lib/libc.so.6
#1 0x00000000005338d6 in may_core_dump () at os_unix.c:3360
#2 0x000000000053387a in mch_exit (r=1) at os_unix.c:3326
#3 0x000000000060c31b in getout (exitval=1) at main.c:1544
#4 0x00000000004ed531 in preserve_exit () at misc1.c:9494
#5 0x00000000005319d9 in deathtrap (sigarg=11) at os_unix.c:1178
#6 <signal handler called>
#7 0x0000000000602bc6 in channel_consume (channel=0x0, part=0, len=7) at
channel.c:1667
#8 0x00000000005fa56b in netbeans_parse_messages () at netbeans.c:433
#9 0x00000000004f7110 in parse_queued_messages () at misc2.c:6230
#10 0x0000000000485cfe in do_sleep (msec=800) at ex_docmd.c:9014
#11 0x0000000000485c7f in ex_sleep (eap=0x7ffc5325a7e0) at ex_docmd.c:8983
#12 0x000000000047b57d in do_one_cmd (cmdlinep=0x7ffc5325ae78, sourcing=0,
cstack=0x7ffc5325a9d0,
fgetline=0x491c3d <getexline>, cookie=0x0) at ex_docmd.c:2923
#13 0x000000000047833e in do_cmdline (cmdline=0x0, fgetline=0x491c3d
<getexline>, cookie=0x0,
flags=0) at ex_docmd.c:1108
#14 0x000000000050abd8 in nv_colon (cap=0x7ffc5325afa0) at normal.c:5323
#15 0x000000000050355b in normal_cmd (oap=0x7ffc5325b080, toplevel=1) at
normal.c:1149
#16 0x000000000060bffd in main_loop (cmdwin=0, noexmode=0) at main.c:1363
#17 0x000000000060b940 in main (argc=11, argv=0x7ffc5325b3a8) at main.c:1055
The reason is that the socket is disconnected in the previous nb_parse_cmd() upon
reception of a "DETACH" netbeans command and nb_channel is set to NULL. The
following patch fixes the pbm.
diff --git a/src/netbeans.c b/src/netbeans.c
--- a/src/netbeans.c
+++ b/src/netbeans.c
@@ -428,7 +428,7 @@
if (own_node)
/* buffer finished, dispose of it */
vim_free(buffer);
- else
+ else if (nb_channel != NULL)
/* more follows, move it to the start */
channel_consume(nb_channel, PART_SOCK, (int)(p - buffer));
}
--
Xavier
Les Chemins de Lokoti: http://lokoti.alwaysdata.net
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.