SIGSEGV in 4.5 on x64 ubuntu x64

Artur Bać artur at ebasoft.com.pl
Fri Apr 26 18:24:36 UTC 2013


1) If You are intereseted give me some advice how to solve cause of
error shown on screenshot atached, SIGSEGV in 4.5.
I dont have much time, in case of no respone i will switch back to 4.4
I dont know why it fails on this dynamic_cast.
I even splited code into small pices as on screenshot to look at
variables, but have no idea why.

*** Program otrzymał sygnał SIGSEGV (Segmentation fault) ***(gdb) back
back
#0 0x00007ffff3675f9c in
__cxxabiv1::__class_type_info::__do_dyncast(long,
__cxxabiv1::__class_type_info::__sub_kind, __cxxabiv1::__class_type_info
const*, void const*, __cxxabiv1::__class_type_info const*, void const*,
__cxxabiv1::__class_type_info::__dyncast_result&) const () from
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
[..]
#3 0x00007ffff367611d in __dynamic_cast () from
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x00007fffc4cbcb8a in Cpp::TemplateDeclaration::setSpecializedFrom
(this=this at entry=0x7fff5088d448, other=0x7fff5088e818) at
kdevelop-4.5.0/languages/cpp/cppduchain/templatedeclaration.cpp


2) hidden virtual method instead of override, in most situations this is
an error, check this and fix code for ex by making base method private
and overriden in super type.

kdevplatform/language/duchain/types/typesystem.h:97:16: warning:
‘virtual bool KDevelop::SimpleTypeVisitor::visit(const
KDevelop::ArrayType*)’ was hidden [-Woverloaded-virtual]
   virtual bool visit (const ArrayType *) ;
                ^
kdevelop-4.5.0/languages/cpp/cppduchain/templatedeclaration.cpp:124:16:
warning:   by ‘DelayedTypeSearcher::visit’ [-Woverloaded-virtual]
   virtual bool visit (const StructureType *) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdevelop_bug.png
Type: image/png
Size: 401432 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20130426/30d28245/attachment-0001.png>


More information about the KDevelop-devel mailing list