Patch 8.0.1306
Problem: ASAN error stack trace is not useful.
Solution: Add "asan_symbolize". (James McCoy, closes #2344)
Files: .travis.yml
*** ../vim-8.0.1305/.travis.yml 2017-10-12 21:45:18.878689031 +0200
--- .travis.yml 2017-11-17 21:21:18.944305871 +0100
***************
*** 67,72 ****
--- 67,73 ----
apt:
packages:
- autoconf
+ - clang
- lcov
- libperl-dev
- python-dev
***************
*** 102,110 ****
- (cd ${SRCDIR} && ./configure --with-features=$FEATURES $CONFOPT
--enable-fail-if-missing && if [ "$BUILD" = "yes" ]; then make -j$NPROC; fi)
# Show Vim version and also if_xx versions.
- if [ "$BUILD" = "yes" ]; then ${SRCDIR}/vim --version; ${SRCDIR}/vim
--not-a-term -u NONE -S ${SRCDIR}/testdir/if_ver-1.vim -c quit > /dev/null;
${SRCDIR}/vim --not-a-term -u NONE -S ${SRCDIR}/testdir/if_ver-2.vim -c quit >
/dev/null; cat if_ver.txt; fi
- - if [ -n "$ASAN_OPTIONS" ]; then export PATH=/usr/lib/llvm-$(clang -v 2>&1
| sed -n 's/.*version \([1-9]\.[0-9][0-9]*\).*/\1/p')/bin:$PATH; fi
- make $SHADOWOPT $TEST
! - if [ -n "$ASAN_OPTIONS" ]; then for log in $(find -type f -name 'asan.*'
-size +0); do cat "$log"; err=1; done; fi
- if [ -n "$err" ]; then exit 1; fi
after_success:
--- 103,110 ----
- (cd ${SRCDIR} && ./configure --with-features=$FEATURES $CONFOPT
--enable-fail-if-missing && if [ "$BUILD" = "yes" ]; then make -j$NPROC; fi)
# Show Vim version and also if_xx versions.
- if [ "$BUILD" = "yes" ]; then ${SRCDIR}/vim --version; ${SRCDIR}/vim
--not-a-term -u NONE -S ${SRCDIR}/testdir/if_ver-1.vim -c quit > /dev/null;
${SRCDIR}/vim --not-a-term -u NONE -S ${SRCDIR}/testdir/if_ver-2.vim -c quit >
/dev/null; cat if_ver.txt; fi
- make $SHADOWOPT $TEST
! - if [ -n "$ASAN_OPTIONS" ]; then for log in $(find -type f -name 'asan.*'
-size +0); do asan_symbolize < "$log"; err=1; done; fi
- if [ -n "$err" ]; then exit 1; fi
after_success:
*** ../vim-8.0.1305/src/version.c 2017-11-16 23:03:43.244816117 +0100
--- src/version.c 2017-11-17 21:23:12.270621613 +0100
***************
*** 768,769 ****
--- 768,771 ----
{ /* Add new patch number below this line */
+ /**/
+ 1306,
/**/
--
I learned the customs and mannerisms of engineers by observing them, much the
way Jane Goodall learned about the great apes, but without the hassle of
grooming.
(Scott Adams - The Dilbert principle)
/// 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.