Steps to Reproduce:
1. Emerge kdevelop with hardened-gcc and -fstack-protector in your cflags
2. Open a file or project in kdevelop
3. Close a file, or quit kdevelop
Not crash, but quitetly close the file or quit kdevelop.
To fix the problem, remerge kdevelop without hardened-gcc and
resolve bug, changing resolution to FIXED
"To fix the problem, remerge kdevelop without hardened-gcc and
How would that fix? The overflow still exists correct?
it is a "temporaly" fix, yes. Sorry for not being clear on that.
solution 1) unmerge hardened-gcc and only use -fstack-protector in /etc/make.conf:CFLAGS, then recompile the KDE and the kdevelop application
solution 2) if you are feeling brave and can probably trash your machine, test gcc-3.3.3-r1 with USE="hardened", then recompile KDE and kdevelop
it should be noted that a full world compiled with fstack-protector is usually more "sane" than some applications only.
Do you happen to have parts or all of the KDE libraries and executables compiled with stack protector from before November/December 2003 where we moved the propolice to glibc?
If yes, recompiling those parts of the system should also solve the problem with the dying kdevelop.
"Do you happen to have parts or all of the KDE libraries and executables compiled with stack protector from before November/December 2003 where we moved the propolice to glibc?"
No, I recompiled world with hardened-gcc and -fstack-protector earlier this year.
I think I'll try gcc-3.3.3-r1, and reply with the result.
Ok, finally ive recompiled kdevelop. I had to use solution 1, as gcc.3.3.3-r1 won't compile. (As it's still -*, I'll leave it and try again when it's updated.)
Recompilation with USE="hardened" gcc-3.3.3-r1 don't solve the problem.
BTW kdevelop 3.0.2 have same bug, it crashes while file closing.
Problem is with KDE and QT and the likes. Reopen a bug with the gentoo kde developers/maintainers if problem persists.