Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 551932 - [kde overlay] kate crashes in .git directories with ktexteditor[-git]
Summary: [kde overlay] kate crashes in .git directories with ktexteditor[-git]
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-13 01:10 UTC by vltg0903
Modified: 2015-08-26 14:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vltg0903 2015-06-13 01:10:50 UTC
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
Comment 1 Michael Palimaka (kensington) gentoo-dev 2015-06-14 15:30:40 UTC
Which versions of these packages do you have?
Comment 2 vltg0903 2015-06-14 16:36:15 UTC
Ah, sorry. I have the latest:

kde-frameworks/ktexteditor-5.11.0
kde-apps/kate-15.04.2
Comment 3 Michael Palimaka (kensington) gentoo-dev 2015-06-14 16:49:17 UTC
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.
Comment 4 Michael Palimaka (kensington) gentoo-dev 2015-08-26 14:13:07 UTC
This appears to be fixed in latest ktexteditor/kate.