If ktexteditor is built without the 'git' USE flag, trying to start kate in a directory containing a directory named '.git' results in a crash: *** Error in `kate': free(): invalid pointer: 0x00007faf38c8c520 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x72f0b)[0x7faf3c777f0b] /lib64/libc.so.6(+0x783ee)[0x7faf3c77d3ee] /lib64/libc.so.6(+0x78bdb)[0x7faf3c77dbdb] /usr/lib64/libgit2.so.22(+0x68dca)[0x7faf23702dca] /usr/lib64/libgit2.so.22(+0x68f0d)[0x7faf23702f0d] /usr/lib64/libgit2.so.22(+0x2bc6c)[0x7faf236c5c6c] /usr/lib64/libgit2.so.22(git_repository_open_ext+0x86)[0x7faf236c69e6] /usr/lib64/qt5/plugins/ktexteditor/kateprojectplugin.so(+0x1fb76)[0x7faf23de0b76] /usr/lib64/qt5/plugins/ktexteditor/kateprojectplugin.so(+0x230a6)[0x7faf23de40a6] and so on... Reproducible: Always
Which versions of these packages do you have?
Ah, sorry. I have the latest: kde-frameworks/ktexteditor-5.11.0 kde-apps/kate-15.04.2
kateprojectplugin.so is provided by kate[addons] which is enabled by default - so in addition to enforcing the correct dependency, we should either turn addons off by default or enable ktexteditor[git] by default.
This appears to be fixed in latest ktexteditor/kate.