Dominique wrote: > I see a reproducible crash with vim-7.4.1494 (and older) > on xubuntu-14.04 x86_64 when doing: > > $ ./configure --with-features=normal --enable-gui=athena > --enable-channel=yes > $ make > $ cd src/testdir > $ make test_channel.res > ... > Vim: Caught deadly signal SEGV > Vim: Finished. > Segmentation fault (core dumped) > > Valgrind reports: > > ==19306== Memcheck, a memory error detector > ==19306== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al. > ==19306== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info > ==19306== Command: ../vim -f -u unix.vim -U NONE --noplugin > --not-a-term -u NONE -U NONE -S runtest.vim test_channel.vim > ==19306== Parent PID: 19305 > ==19306== > ==19306== Invalid read of size 8 > ==19306== at 0x5B7BB31: XFlush (in > /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0) > ==19306== by 0x59CC78: invoke_callback (channel.c:1050) > ==19306== by 0x59F28C: may_invoke_callback (channel.c:1685)
[...] > Commenting out the call gui_mch_flush() in invoke_callback(...) > at channel.c:1050 makes the test pass, but that's not a proper fix. > > The bug might be related to a previous discussion about the > test_channel test failing on OS X. It's because of a missing check for gui.in_use. I'll fix that. -- If the Universe is constantly expanding, why can't I ever find a parking space? /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.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 --- 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.
