Comments (7)
i found out the log declares some shell script need execute
i execute chmod +x update_*.sh
within unix dir.
but log output shows as follow:
"dnn/src/cuda/norm/opr_impl.cpp" 168L, 7446B
gutentags: Scanning buffer 'dnn/src/cuda/norm/opr_impl.cpp' for gutentags setup...
gutentags: No specific project type.
gutentags: Not adding cscope DB file because it doesn't exist yet: /home/tangke/MegBrain/{HOME}/.cache/tags/home-tangke-MegBrain/GTAGS
gutentags: Setting gutentags for buffer 'dnn/src/cuda/norm/opr_impl.cpp'
gutentags: Generating missing tags file: /home/tangke/MegBrain/{HOME}/.cache/tags/home-tangke-MegBrain-.tags
gutentags: Generating wildignore options: /home/tangke/MegBrain/{HOME}/.cache/tags/_wildignore.options
gutentags: Running: ['/home/tangke/.vim_runtime/my_plugins/vim-gutentags/plat/unix/update_tags.sh', '-e', 'ctags', '-t', '/home/tangke/MegBrain/{HOME}/.cache/tags/home-tangke-MegBrain-.tags', '-p', '/home/tangke
/MegBrain', '-o', '/home/tangke/.vim_runtime/my_plugins/vim-gutentags/res/ctags_recursive.options', '-O', '--fields=+niazS', '-O', '--extra=+q', '-O', '--c++-kinds=+px', '-O', '--c-kinds=+px', '-O', '--extras=+q
', '-O', '--output-format=e-ctags', '-x', '@/home/tangke/MegBrain/{HOME}/.cache/tags/_wildignore.options', '-l', '/home/tangke/MegBrain/{HOME}/.cache/tags/home-tangke-MegBrain-.tags.log']
gutentags: In: /home/tangke/MegBrain
gutentags: Generating missing tags file: /home/tangke/MegBrain/{HOME}/.cache/tags/home-tangke-MegBrain/GTAGS
gutentags: Running: ['/home/tangke/.vim_runtime/my_plugins/vim-gutentags/plat/unix/update_gtags.sh', '-e', 'gtags', '--incremental', '/home/tangke/MegBrain/{HOME}/.cache/tags/home-tangke-MegBrain']
gutentags: In: /home/tangke/MegBrain
gutentags:
gutentags: [job stdout]: 'Running gtags:'
gutentags: [job stdout]: 'gtags --incremental /home/tangke/MegBrain/{HOME}/.cache/tags/home-tangke-MegBrain'
gutentags: [job stdout]: 'Locking tags file...'
gutentags: [job stdout]: 'Running ctags on whole project'
gutentags: [job stdout]: 'ctags -f "/home/tangke/MegBrain/{HOME}/.cache/tags/home-tangke-MegBrain-.tags.temp" "--options=/home/tangke/.vim_runtime/my_plugins/vim-gutentags/res/ctags_recursive.options" --fields=
+niazS --extra=+q --c++-kinds=+px --c-kinds=+px --extras=+q --output-format=e-ctags --exclude=@/home/tangke/MegBrain/{HOME}/.cache/tags/_wildignore.options "/home/tangke/MegBrain"'
+niazS --extra=+q --c++-kinds=+px --c-kinds=+px --extras=+q --output-format=e-ctags --exclude=@/home/tangke/MegBrain/{HOME}/.cache/tags/_wildignore.options "/home/tangke/MegBrain"'
gutentags: [job stderr]: 'ctags: Warning: --extra option is obsolete; use --extras instead'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/html/jquery.js(line: 44)'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/html/jquery.js(line: 44)'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/html/jquery.js(line: 44)'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/html/jquery.js(line: 44)'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/html/jquery.js(line: 44)'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/html/jquery.js(line: 44)'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/html/jquery.js(line: 44)'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/html/jquery.js(line: 44)'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/html/jquery.js(line: 44)'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/html/jquery.js(line: 44)'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/html/jquery.js(line: 44)'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/html/jquery.js(line: 44)'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/html/jquery.js(line: 44)'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/html/jquery.js(line: 51)'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/html/jquery.js(line: 51)'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/html/jquery.js(line: 51)'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/html/jquery.js(line: 51)'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/html/jquery.js(line: 51)'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/html/jquery.js(line: 51)'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/docs/html/jquery.js(line: 44)'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/docs/html/jquery.js(line: 44)'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/docs/html/jquery.js(line: 44)'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/docs/html/jquery.js(line: 44)'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/docs/html/jquery.js(line: 44)'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/docs/html/jquery.js(line: 44)'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/docs/html/jquery.js(line: 44)'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/docs/html/jquery.js(line: 44)'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/docs/html/jquery.js(line: 44)'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/docs/html/jquery.js(line: 44)'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/docs/html/jquery.js(line: 44)'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/docs/html/jquery.js(line: 44)'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/docs/html/jquery.js(line: 44)'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/docs/html/jquery.js(line: 51)'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/docs/html/jquery.js(line: 51)'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/docs/html/jquery.js(line: 51)'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/docs/html/jquery.js(line: 51)'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/docs/html/jquery.js(line: 51)'
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/docs/html/jquery.js(line: 51)'
gutentags: [job stderr]: 'Segmentation fault (core dumped)'
gutentags: Finished ctags job.
gutentags: ctags job failed, returned: 139
gutentags: [job stderr]: 'Warning: symbol name is too long. (Ignored) [+1 ./third_party/llvm-project/compiler-rt/test/fuzzer/Bingo.h]'
gutentags: [job stderr]: 'Warning: cannot stat ''gtest''. ignored.'
gutentags: [job stderr]: 'Warning: cannot stat ''gtest''. ignored.'
gutentags: [job stderr]: 'Warning: cannot stat ''megbrain''. ignored.'
gutentags: [job stderr]: 'Warning: cannot stat ''update_year.py''. ignored.'
gutentags: [job stdout]: 'Done.'
gutentags: Finished gtags_cscope job.
gutentags: Adding cscope DB file: /home/tangke/MegBrain/{HOME}/.cache/tags/home-tangke-MegBrain/GTAGS
from vim-gutentags.
Hi.
I have same issue, but problem should be related to "universal-ctags" which segfaults, (see your error message
gutentags: [job stderr]: 'Segmentation fault (core dumped)' ). To verify this you can go at the root of your project and run:
ctags -R .
and I expect you will get a segfault,
best Cristiano
from vim-gutentags.
Hi. I have same issue, but problem should be related to "universal-ctags" which segfaults, (see your error message gutentags: [job stderr]: 'Segmentation fault (core dumped)' ). To verify this you can go at the root of your project and run:
ctags -R .
and I expect you will get a segfault,
best Cristiano
i have issued on universal-ctags repo, the developer make a new commit to fix this bug.
is seems as segment fault caused by CUDA files
but i haven't check whether the new commit could working. thx for reply.
from vim-gutentags.
Hi,
I hope new commit to universal-ctags repo will fix this issue, anyway
in my repo there are no cuda files and I am experiencing same beahvior...
best Cristiano
from vim-gutentags.
hi, ijpq
just note this err:
gutentags: [job stderr]: 'ctags: Warning: --extra option is obsolete; use --extras instead'
I guess that g:gutentags_ctag_extra_args
in your .vimrc
is wrong.
let g:gutentags_ctags_extra_args+=['--extras=+q']
from vim-gutentags.
The second error in your issue is
gutentags: [job stderr]: 'ctags: Warning: ignoring null tag in /home/tangke/MegBrain/third_party/cpp_redis/html/jquery.js(line: 44)'
Obviously, (universal) ctags is trying to produce tag-cache for 'jquery.js'.
But your project is a c/c++ project. Your settings of vim-gutentags
does not work for .js
file.
You can ignore all the .js
file by adding this into your _vimrc
let g:gutentags_ctags_exclude=['*.js']
from vim-gutentags.
As @ijpq notes, some shell scripts were missing the execute flag. This has been fixed with 865d17a.
The segmentation fault is indeed universal-ctags' bug, thanks for those who checked for updates that fixed this, and everybody who helped in general.
from vim-gutentags.
Related Issues (20)
- ERROR: Invalid value for argument cmd and update_gtags.sh is not executable HOT 4
- E117: Unknown function: gutentags#on_vim_leave
- Tags stop working for specific file (path disappears from tags option) after manually setting tags once in that file
- Cannot generate the GTAGS at windows platform HOT 5
- Does it support different ctags file chosen dynamically? HOT 2
- please support the usage of `vim -t symbol` HOT 9
- use gtags failed HOT 2
- update_gtags.sh lost execution permission
- How do I use different tag files for different directories of a same workspace HOT 1
- Is there a way to force gutentags to generate only one tag file?
- Keep tags values when opening the quickfix
- nvim 0.9 remove cscope how to HOT 1
- Guttentags does not support any file? HOT 1
- Option to generate tags for open windows or buffers only? HOT 3
- the use of .guttags file HOT 1
- Whitelisting instead of blacklisting HOT 2
- Bug in update_scopedb.cmd file prevents creation of cscope.out.files correctly HOT 1
- Very large tags file generated ( > 10GB) HOT 2
- Plugin don't work if full filename contains open "[" _and_ close "]" square brackets
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim-gutentags.