Code Monkey home page Code Monkey logo

Comments (7)

ijpq avatar ijpq commented on May 29, 2024

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.

cridemichel avatar cridemichel commented on May 29, 2024

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.

ijpq avatar ijpq commented on May 29, 2024

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.

cridemichel avatar cridemichel commented on May 29, 2024

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.

wow-yes avatar wow-yes commented on May 29, 2024

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.

wow-yes avatar wow-yes commented on May 29, 2024

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.

ludovicchabant avatar ludovicchabant commented on May 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.