Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vim crash, seemingly related to YCM #534

Closed
ashleyblackmore opened this issue Aug 27, 2013 · 1 comment
Closed

Vim crash, seemingly related to YCM #534

ashleyblackmore opened this issue Aug 27, 2013 · 1 comment

Comments

@ashleyblackmore
Copy link

Hello, I got this stacktrace after crashing vim. Since I don't have the knowledge to debug this myself, I am presuming it is related to YCM, simply due to its presence in the stack trace. Please let me know if I can provide any more information.

*** Error in `vim': double free or corruption (!prev): 0x00000000049014f0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x80a46)[0x7f2bac4aaa46]
vim[0x5ca74d]
vim(mf_close+0x6a)[0x5cae6a]
vim(ml_close+0x12)[0x4cb652]
vim(ml_close_all+0x28)[0x4cb6c8]
vim(mch_exit+0x2d)[0x51e9fd]
vim[0x48ca63]
vim(do_cmdline+0x1339)[0x48fc69]
vim[0x4f9bee]
vim(normal_cmd+0x7c0)[0x5000f0]
vim(main_loop+0x3ad)[0x5c739d]
vim(main+0x1427)[0x436617]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7f2bac44bea5]
vim[0x4378c1]
======= Memory map: ========
00400000-0063e000 r-xp 00000000 fc:01 4610383                            /usr/bin/vim
0083e000-0083f000 r--p 0023e000 fc:01 4610383                            /usr/bin/vim
0083f000-00857000 rw-p 0023f000 fc:01 4610383                            /usr/bin/vim
00857000-00866000 rw-p 00000000 00:00 0 
0262c000-052da000 rw-p 00000000 00:00 0                                  [heap]
7f2b74000000-7f2b7603d000 rw-p 00000000 00:00 0 
7f2b7603d000-7f2b78000000 ---p 00000000 00:00 0 
7f2b7c000000-7f2b7c2e7000 rw-p 00000000 00:00 0 
7f2b7c2e7000-7f2b80000000 ---p 00000000 00:00 0 
7f2b80000000-7f2b80021000 rw-p 00000000 00:00 0 
7f2b80021000-7f2b84000000 ---p 00000000 00:00 0 
7f2b84000000-7f2b84021000 rw-p 00000000 00:00 0 
7f2b84021000-7f2b88000000 ---p 00000000 00:00 0 
7f2b8c000000-7f2b8c021000 rw-p 00000000 00:00 0 
7f2b8c021000-7f2b90000000 ---p 00000000 00:00 0 
7f2b94000000-7f2b94021000 rw-p 00000000 00:00 0 
7f2b94021000-7f2b98000000 ---p 00000000 00:00 0 
7f2b9b5f3000-7f2b9b5f4000 ---p 00000000 00:00 0 
7f2b9b5f4000-7f2b9bdf4000 rw-p 00000000 00:00 0                          [stack:20882]
7f2b9bdf4000-7f2b9bdff000 r-xp 00000000 fc:01 4723054                    /usr/lib/python2.7/lib-dynload/_json.x86_64-linux-gnu.so
7f2b9bdff000-7f2b9bffe000 ---p 0000b000 fc:01 4723054                    /usr/lib/python2.7/lib-dynload/_json.x86_64-linux-gnu.so
7f2b9bffe000-7f2b9bfff000 r--p 0000a000 fc:01 4723054                    /usr/lib/python2.7/lib-dynload/_json.x86_64-linux-gnu.so
7f2b9bfff000-7f2b9c000000 rw-p 0000b000 fc:01 4723054                    /usr/lib/python2.7/lib-dynload/_json.x86_64-linux-gnu.so
7f2b9c000000-7f2b9c021000 rw-p 00000000 00:00 0 
7f2b9c021000-7f2ba0000000 ---p 00000000 00:00 0 
7f2ba009d000-7f2ba009e000 ---p 00000000 00:00 0 
7f2ba009e000-7f2ba089e000 rw-p 00000000 00:00 0                          [stack:20879]
7f2ba089e000-7f2ba089f000 ---p 00000000 00:00 0 
7f2ba089f000-7f2ba109f000 rw-p 00000000 00:00 0 
7f2ba109f000-7f2ba10a0000 ---p 00000000 00:00 0 
7f2ba10a0000-7f2ba18a0000 rw-p 00000000 00:00 0 
7f2ba18a0000-7f2ba18a1000 ---p 00000000 00:00 0 
7f2ba18a1000-7f2ba20a1000 rw-p 00000000 00:00 0 
7f2ba20a1000-7f2ba20a2000 ---p 00000000 00:00 0 
7f2ba20a2000-7f2ba28a2000 rw-p 00000000 00:00 0 
7f2ba30a3000-7f2ba3b0e000 r-xp 00000000 00:16 2098772                    /home/***/.vim/bundle/YouCompleteMe/python/libclang.so
7f2ba3b0e000-7f2ba3b6c000 r--p 00a6a000 00:16 2098772                    /home/***/.vim/bundle/YouCompleteMe/python/libclang.so
7f2ba3b6c000-7f2ba3b6d000 rw-p 00ac8000 00:16 2098772                    /home/***/.vim/bundle/YouCompleteMe/python/libclang.so
7f2ba3b6d000-7f2ba3b70000 rw-p 00000000 00:00 0 
7f2ba3b70000-7f2ba3d9c000 r-xp 00000000 00:16 2098771                    /home/***/.vim/bundle/YouCompleteMe/python/ycm_core.so
7f2ba3d9c000-7f2ba3f9b000 ---p 0022c000 00:16 2098771                    /home/***/.vim/bundle/YouCompleteMe/python/ycm_core.so
7f2ba3f9b000-7f2ba3fa8000 r--p 0022b000 00:16 2098771                    /home/***/.vim/bundle/YouCompleteMe/python/ycm_core.so
7f2ba3fa8000-7f2ba3fb0000 rw-p 00238000 00:16 2098771                    /home/***/.vim/bundle/YouCompleteMe/python/ycm_core.so
7f2ba3fb0000-7f2ba3fb2000 rw-p 00000000 00:00 0 
7f2ba3fb2000-7f2ba4163000 r-xp 00000000 fc:01 131085                     /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f2ba4163000-7f2ba4363000 ---p 001b1000 fc:01 131085                     /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f2ba4363000-7f2ba437e000 r--p 001b1000 fc:01 131085                     /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f2ba437e000-7f2ba4389000 rw-p 001cc000 fc:01 131085                     /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f2ba4389000-7f2ba438d000 rw-p 00000000 00:00 0 
7f2ba438d000-7f2ba4390000 r-xp 00000000 fc:01 4723052                    /usr/lib/python2.7/lib-dynload/_hashlib.x86_64-linux-gnu.so
7f2ba4390000-7f2ba4590000 ---p 00003000 fc:01 4723052                    /usr/lib/python2.7/lib-dynload/_hashlib.x86_64-linux-gnu.so
7f2ba4590000-7f2ba4591000 r--p 00003000 fc:01 4723052                    /usr/lib/python2.7/lib-dynload/_hashlib.x86_64-linux-gnu.so
7f2ba4591000-7f2ba4592000 rw-p 00004000 fc:01 4723052                    /usr/lib/python2.7/lib-dynload/_hashlib.x86_64-linux-gnu.so
7f2ba4592000-7f2ba45d3000 rw-p 00000000 00:00 0 
7f2ba4718000-7f2ba4759000 rw-p 00000000 00:00 0 
7f2ba479a000-7f2ba489e000 rw-p 00000000 00:00 0 
7f2ba489e000-7f2ba48aa000 r-xp 00000000 fc:01 134891                     /lib/x86_64-linux-gnu/libnss_files-2.17.so
7f2ba48aa000-7f2ba4aa9000 ---p 0000c000 fc:01 134891                     /lib/x86_64-linux-gnu/libnss_files-2.17.so
7f2ba4aa9000-7f2ba4aaa000 r--p 0000b000 fc:01 134891                     /lib/x86_64-linux-gnu/libnss_files-2.17.so
7f2ba4aaa000-7f2ba4aab000 rw-p 0000c000 fc:01 134891                     /lib/x86_64-linux-gnu/libnss_files-2.17.so
7f2ba4aab000-7f2ba4ab6000 r-xp 00000000 fc:01 134895                     /lib/x86_64-linux-gnu/libnss_nis-2.17.so
7f2ba4ab6000-7f2ba4cb5000 ---p 0000b000 fc:01 134895                     /lib/x86_64-linux-gnu/libnss_nis-2.17.so
7f2ba4cb5000-7f2ba4cb6000 r--p 0000a000 fc:01 134895                     /lib/x86_64-linux-gnu/libnss_nis-2.17.so
7f2ba4cb6000-7f2ba4cb7000 rw-p 0000b000 fc:01 134895                     /lib/x86_64-linux-gnu/libnss_nis-2.17.so
7f2ba4cb7000-7f2ba4cce000 r-xp 00000000 fc:01 134885                     /lib/x86_64-linux-gnu/libnsl-2.17.so
7f2ba4cce000-7f2ba4ecd000 ---p 00017000 fc:01 134885                     /lib/x86_64-linux-gnu/libnsl-2.17.so
7f2ba4ecd000-7f2ba4ece000 r--p 00016000 fc:01 134885                     /lib/x86_64-linux-gnu/libnsl-2.17.so
7f2ba4ece000-7f2ba4ecf000 rw-p 00017000 fc:01 134885                     /lib/x86_64-linux-gnu/libnsl-2.17.so
7f2ba4ecf000-7f2ba4ed1000 rw-p 00000000 00:00 0 
7f2ba4ed1000-7f2ba4ed9000 r-xp 00000000 fc:01 134887                     /lib/x86_64-linux-gnu/libnss_compat-2.17.so
7f2ba4ed9000-7f2ba50d8000 ---p 00008000 fc:01 134887                     /lib/x86_64-linux-gnu/libnss_compat-2.17.so
7f2ba50d8000-7f2ba50d9000 r--p 00007000 fc:01 134887                     /lib/x86_64-linux-gnu/libnss_compat-2.17.so
7f2ba50d9000-7f2ba50da000 rw-p 00008000 fc:01 134887                     /lib/x86_64-linux-gnu/libnss_compat-2.17.so
7f2ba50da000-7f2ba50dc000 r-xp 00000000 fc:01 4609085                    /usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
7f2ba50dc000-7f2ba52dc000 ---p 00002000 fc:01 4609085                    /usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
7f2ba52dc000-7f2ba52dd000 r--p 00002000 fc:01 4609085                    /usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
7f2ba52dd000-7f2ba52de000 rw-p 00003000 fc:01 4609085                    /usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
7f2ba52de000-7f2ba52e0000 r-xp 00000000 fc:01 4609074                    /usr/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
7f2ba52e0000-7f2ba54df000 ---p 00002000 fc:01 4609074                    /usr/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
7f2ba54df000-7f2ba54e0000 r--p 00001000 fc:01 4609074                    /usr/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
7f2ba54e0000-7f2ba54e1000 rw-p 00002000 fc:01 4609074                    /usr/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
7f2ba54e1000-7f2ba5bc2000 r--p 00000000 fc:01 4594038                    /usr/lib/locale/locale-archive
7f2ba5bc2000-7f2ba6d31000 r-xp 00000000 fc:01 4595474                    /usr/lib/x86_64-linux-gnu/libicudata.so.48.1.1
7f2ba6d31000-7f2ba6f30000 ---p 0116f000 fc:01 4595474                    /usr/lib/x86_64-linux-gnu/libicudata.so.48.1.1
7f2ba6f30000-7f2ba6f31000 r--p 0116e000 fc:01 4595474                    /usr/lib/x86_64-linux-gnu/libicudata.so.48.1.1
7f2ba6f31000-7f2ba6f32000 rw-p 0116f000 fc:01 4595474                    /usr/lib/x86_64-linux-gnu/libicudata.so.48.1.1
7f2ba6f32000-7f2ba6f46000 r-xp 00000000 fc:01 134843                     /lib/x86_64-linux-gnu/libgcc_s.so.1
7f2ba6f46000-7f2ba7146000 ---p 00014000 fc:01 134843                     /lib/x86_64-linux-gnu/libgcc_s.so.1
7f2ba7146000-7f2ba7147000 r--p 00014000 fc:01 134843                     /lib/x86_64-linux-gnu/libgcc_s.so.1
7f2ba7147000-7f2ba7148000 rw-p 00015000 fc:01 134843                     /lib/x86_64-linux-gnu/libgcc_s.so.1
7f2ba7148000-7f2ba722d000 r-xp 00000000 fc:01 4595763                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17
7f2ba722d000-7f2ba742c000 ---p 000e5000 fc:01 4595763                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17
7f2ba742c000-7f2ba7434000 r--p 000e4000 fc:01 4595763                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17
7f2ba7434000-7f2ba7436000 rw-p 000ec000 fc:01 4595763                    /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17
7f2ba7436000-7f2ba744b000 rw-p 00000000 00:00 0 
7f2ba744b000-7f2ba75a1000 r-xp 00000000 fc:01 4595488                    /usr/lib/x86_64-linux-gnu/libicuuc.so.48.1.1
7f2ba75a1000-7f2ba77a0000 ---p 00156000 fc:01 4595488                    /usr/lib/x86_64-linux-gnu/libicuuc.so.48.1.1
7f2ba77a0000-7f2ba77b1000 r--p 00155000 fc:01 4595488                    /usr/lib/x86_64-linux-gnu/libicuuc.so.48.1.1
7f2ba77b1000-7f2ba77b2000 rw-p 00166000 fc:01 4595488                    /usr/lib/x86_64-linux-gnu/libicuuc.so.48.1.1
7f2ba77b2000-7f2ba77b6000 rw-p 00000000 00:00 0 
7f2ba77b6000-7f2ba77e8000 r-xp 00000000 fc:01 4595480                    /usr/lib/x86_64-linux-gnu/libicule.so.48.1.1
7f2ba77e8000-7f2ba79e8000 ---p 00032000 fc:01 4595480                    /usr/lib/x86_64-linux-gnu/libicule.so.48.1.1
7f2ba79e8000-7f2ba79ea000 r--p 00032000 fc:01 4595480                    /usr/lib/x86_64-linux-gnu/libicule.so.48.1.1
7f2ba79ea000-7f2ba79eb000 rw-p 00034000 fc:01 4595480                    /usr/lib/x86_64-linux-gnu/libicule.so.48.1.1
7f2ba79eb000-7f2ba79f0000 r-xp 00000000 fc:01 4595007                    /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7f2ba79f0000-7f2ba7bef000 ---p 00005000 fc:01 4595007                    /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7f2ba7bef000-7f2ba7bf0000 r--p 00004000 fc:01 4595007                    /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7f2ba7bf0000-7f2ba7bf1000 rw-p 00005000 fc:01 4595007                    /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7f2ba7bf1000-7f2ba7bf3000 r-xp 00000000 fc:01 4594996                    /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7f2ba7bf3000-7f2ba7df3000 ---p 00002000 fc:01 4594996                    /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7f2ba7df3000-7f2ba7df4000 r--p 00002000 fc:01 4594996                    /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7f2ba7df4000-7f2ba7df5000 rw-p 00003000 fc:01 4594996                    /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7f2ba7df5000-7f2ba7e1b000 r-xp 00000000 fc:01 134838                     /lib/x86_64-linux-gnu/libexpat.so.1.6.0
7f2ba7e1b000-7f2ba801b000 ---p 00026000 fc:01 134838                     /lib/x86_64-linux-gnu/libexpat.so.1.6.0
7f2ba801b000-7f2ba801d000 r--p 00026000 fc:01 134838                     /lib/x86_64-linux-gnu/libexpat.so.1.6.0
7f2ba801d000-7f2ba801e000 rw-p 00028000 fc:01 134838                     /lib/x86_64-linux-gnu/libexpat.so.1.6.0
7f2ba801e000-7f2ba80b3000 r-xp 00000000 fc:01 4595458                    /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0.913.0
7f2ba80b3000-7f2ba82b2000 ---p 00095000 fc:01 4595458                    /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0.913.0
7f2ba82b2000-7f2ba82b4000 r--p 00094000 fc:01 4595458                    /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0.913.0
7f2ba82b4000-7f2ba82b5000 rw-p 00096000 fc:01 4595458                    /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0.913.0
7f2ba82b5000-7f2ba82cb000 r-xp 00000000 fc:01 134936                     /lib/x86_64-linux-gnu/libresolv-2.17.so
7f2ba82cb000-7f2ba84cb000 ---p 00016000 fc:01 134936                     /lib/x86_64-linux-gnu/libresolv-2.17.so
7f2ba84cb000-7f2ba84cc000 r--p 00016000 fc:01 134936                     /lib/x86_64-linux-gnu/libresolv-2.17.so
7f2ba84cc000-7f2ba84cd000 rw-p 00017000 fc:01 134936                     /lib/x86_64-linux-gnu/libresolv-2.17.so
7f2ba84cd000-7f2ba84cf000 rw-p 00000000 00:00 0 
7f2ba84cf000-7f2ba84d7000 r-xp 00000000 fc:01 4594983                    /usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0
7f2ba84d7000-7f2ba86d7000 ---p 00008000 fc:01 4594983                    /usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0
7f2ba86d7000-7f2ba86d8000 r--p 00008000 fc:01 4594983                    /usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0
7f2ba86d8000-7f2ba86d9000 rw-p 00009000 fc:01 4594983                    /usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0
7f2ba86d9000-7f2ba86db000 r-xp 00000000 fc:01 4595695                    /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0
7f2ba86db000-7f2ba88da000 ---p 00002000 fc:01 4595695                    /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0
7f2ba88da000-7f2ba88db000 r--p 00001000 fc:01 4595695                    /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0
7f2ba88db000-7f2ba88dc000 rw-p 00002000 fc:01 4595695                    /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0
7f2ba88dc000-7f2ba8901000 r-xp 00000000 fc:01 134925                     /lib/x86_64-linux-gnu/libpng12.so.0.49.0
7f2ba8901000-7f2ba8b00000 ---p 00025000 fc:01 134925                     /lib/x86_64-linux-gnu/libpng12.so.0.49.0
7f2ba8b00000-7f2ba8b01000 r--p 00024000 fc:01 134925                     /lib/x86_64-linux-gnu/libpng12.so.0.49.0
7f2ba8b01000-7f2ba8b02000 rw-p 00025000 fc:01 134925                     /lib/x86_64-linux-gnu/libpng12.so.0.49.0
7f2ba8b02000-7f2ba8b92000 r-xp 00000000 fc:01 4595643                    /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.28.2
7f2ba8b92000-7f2ba8d91000 ---p 00090000 fc:01 4595643                    /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.28.2
7f2ba8d91000-7f2ba8d98000 r--p 0008f000 fc:01 4595643                    /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.28.2
7f2ba8d98000-7f2ba8d99000 rw-p 00096000 fc:01 4595643                    /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.28.2
7f2ba8d99000-7f2ba8e30000 r-xp 00000000 fc:01 4595270                    /usr/lib/x86_64-linux-gnu/libfreetype.so.6.10.0
7f2ba8e30000-7f2ba902f000 ---p 00097000 fc:01 4595270                    /usr/lib/x86_64-linux-gnu/libfreetype.so.6.10.0
7f2ba902f000-7f2ba9035000 r--p 00096000 fc:01 4595270                    /usr/lib/x86_64-linux-gnu/libfreetype.so.6.10.0
7f2ba9035000-7f2ba9036000 rw-p 0009c000 fc:01 4595270                    /usr/lib/x86_64-linux-gnu/libfreetype.so.6.10.0
7f2ba9036000-7f2ba9040000 r-xp 00000000 fc:01 134826                     /lib/x86_64-linux-gnu/libcrypt-2.17.so
7f2ba9040000-7f2ba923f000 ---p 0000a000 fc:01 134826                     /lib/x86_64-linux-gnu/libcrypt-2.17.so
7f2ba923f000-7f2ba9240000 r--p 00009000 fc:01 134826                     /lib/x86_64-linux-gnu/libcrypt-2.17.so
7f2ba9240000-7f2ba9241000 rw-p 0000a000 fc:01 134826                     /lib/x86_64-linux-gnu/libcrypt-2.17.so
7f2ba9241000-7f2ba926f000 rw-p 00000000 00:00 0 
Vim: Caught deadly signal ABRT 00000000 fc:01 134938                     /lib/x86_64-linux-gnu/librt-2.17.so

E72: Close error on swap fileVim: Double signal, exiting

@Valloric
Copy link
Member

I only see YCM in the list of libraries loaded, not the backtrace. Thus I think this is unlikely to be a YCM bug.

In any case, this is not enough information to pin down a problem, if any. I'd put my money on a bug in Vim on libclang though.

If you can get the crash to reliably reproduce, run Vim under gdb. This should give you a solid backtrace when it crashes.

bijancn pushed a commit to bijancn/YouCompleteMe that referenced this issue Jul 26, 2016
…alloric

[READY] Some of the preprocessor flags take file arguments

Fixes ycm-core#534

Some of the pre-processor flags that we blacklist take file arguments, but were not registered as doing so.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/ycmd/547)
<!-- Reviewable:end -->
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants