Summary: | KDevelop crashed while I was coding | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Sergio Martins <smartins> |
Component: | general | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | git master | ||
Target Milestone: | 4.2.3 | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Sergio Martins
2012-02-23 00:38:29 UTC
Caugth this with valgrind: ==21938== Thread 8: ==21938== Conditional jump or move depends on uninitialised value(s) ==21938== at 0x87FDA08: QString::fromLatin1_helper(char const*, int) (qstring.cpp:3814) ==21938== by 0x8790B96: QString::QString(QLatin1String const&) (qstring.h:694) ==21938== by 0x88661CC: QTextStream::operator<<(char const*) (qtextstream.cpp:2573) ==21938== by 0x3052FBE3: QDebug::operator<<(bool) (qdebug.h:97) ==21938== by 0x3051B9A5: CMakeProjectVisitor::traverseGlob(QString const&, QString const&, bool, bool) (cmakeprojectvisitor.cpp:2345) ==21938== by 0x3051D81C: CMakeProjectVisitor::visit(FileAst const*) (cmakeprojectvisitor.cpp:1459) ==21938== by 0x3052747C: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2213) ==21938== by 0x30529546: CMakeProjectVisitor::visit(IncludeAst const*) (cmakeprojectvisitor.cpp:563) ==21938== by 0x3052747C: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2213) ==21938== by 0x30527FA5: CMakeProjectVisitor::visit(IfAst const*) (cmakeprojectvisitor.cpp:1302) ==21938== by 0x3052747C: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2213) ==21938== by 0x30527FA5: CMakeProjectVisitor::visit(IfAst const*) (cmakeprojectvisitor.cpp:1302) ==21938== ==21938== Use of uninitialised value of size 8 ==21938== at 0x87FDA36: QString::fromLatin1_helper(char const*, int) (qstring.cpp:3817) ==21938== by 0x8790B96: QString::QString(QLatin1String const&) (qstring.h:694) ==21938== by 0x88661CC: QTextStream::operator<<(char const*) (qtextstream.cpp:2573) ==21938== by 0x3052FBE3: QDebug::operator<<(bool) (qdebug.h:97) ==21938== by 0x3051B9A5: CMakeProjectVisitor::traverseGlob(QString const&, QString const&, bool, bool) (cmakeprojectvisitor.cpp:2345) ==21938== by 0x3051D81C: CMakeProjectVisitor::visit(FileAst const*) (cmakeprojectvisitor.cpp:1459) ==21938== by 0x3052747C: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2213) ==21938== by 0x30529546: CMakeProjectVisitor::visit(IncludeAst const*) (cmakeprojectvisitor.cpp:563) ==21938== by 0x3052747C: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2213) ==21938== by 0x30527FA5: CMakeProjectVisitor::visit(IfAst const*) (cmakeprojectvisitor.cpp:1302) ==21938== by 0x3052747C: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2213) ==21938== by 0x30527FA5: CMakeProjectVisitor::visit(IfAst const*) (cmakeprojectvisitor.cpp:1302) ==21938== ==21938== Conditional jump or move depends on uninitialised value(s) ==21938== at 0x8799602: qstrlen(char const*) (in /data/installation/qt/qt-4.8/lib/libQtCore.so.4.8.0) ==21938== by 0x87FDA79: QString::fromLatin1_helper(char const*, int) (qstring.cpp:3822) ==21938== by 0x8790B96: QString::QString(QLatin1String const&) (qstring.h:694) ==21938== by 0x88661CC: QTextStream::operator<<(char const*) (qtextstream.cpp:2573) ==21938== by 0x3052FBE3: QDebug::operator<<(bool) (qdebug.h:97) ==21938== by 0x3051B9A5: CMakeProjectVisitor::traverseGlob(QString const&, QString const&, bool, bool) (cmakeprojectvisitor.cpp:2345) ==21938== by 0x3051D81C: CMakeProjectVisitor::visit(FileAst const*) (cmakeprojectvisitor.cpp:1459) ==21938== by 0x3052747C: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2213) ==21938== by 0x30529546: CMakeProjectVisitor::visit(IncludeAst const*) (cmakeprojectvisitor.cpp:563) ==21938== by 0x3052747C: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2213) ==21938== by 0x30527FA5: CMakeProjectVisitor::visit(IfAst const*) (cmakeprojectvisitor.cpp:1302) ==21938== by 0x3052747C: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2213) ==21938== ==21938== Use of uninitialised value of size 8 ==21938== at 0x4C29726: strlen (mc_replace_strmem.c:390) ==21938== by 0x879960F: qstrlen(char const*) (in /data/installation/qt/qt-4.8/lib/libQtCore.so.4.8.0) ==21938== by 0x87FDA79: QString::fromLatin1_helper(char const*, int) (qstring.cpp:3822) ==21938== by 0x8790B96: QString::QString(QLatin1String const&) (qstring.h:694) ==21938== by 0x88661CC: QTextStream::operator<<(char const*) (qtextstream.cpp:2573) ==21938== by 0x3052FBE3: QDebug::operator<<(bool) (qdebug.h:97) ==21938== by 0x3051B9A5: CMakeProjectVisitor::traverseGlob(QString const&, QString const&, bool, bool) (cmakeprojectvisitor.cpp:2345) ==21938== by 0x3051D81C: CMakeProjectVisitor::visit(FileAst const*) (cmakeprojectvisitor.cpp:1459) ==21938== by 0x3052747C: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2213) ==21938== by 0x30529546: CMakeProjectVisitor::visit(IncludeAst const*) (cmakeprojectvisitor.cpp:563) ==21938== by 0x3052747C: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2213) ==21938== by 0x30527FA5: CMakeProjectVisitor::visit(IfAst const*) (cmakeprojectvisitor.cpp:1302) ==21938== ==21938== Use of uninitialised value of size 8 ==21938== at 0x87FDD6B: QString::fromLatin1_helper(char const*, int) (qstring.cpp:3857) ==21938== by 0x8790B96: QString::QString(QLatin1String const&) (qstring.h:694) ==21938== by 0x88661CC: QTextStream::operator<<(char const*) (qtextstream.cpp:2573) ==21938== by 0x3052FBE3: QDebug::operator<<(bool) (qdebug.h:97) ==21938== by 0x3051B9A5: CMakeProjectVisitor::traverseGlob(QString const&, QString const&, bool, bool) (cmakeprojectvisitor.cpp:2345) ==21938== by 0x3051D81C: CMakeProjectVisitor::visit(FileAst const*) (cmakeprojectvisitor.cpp:1459) ==21938== by 0x3052747C: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2213) ==21938== by 0x30529546: CMakeProjectVisitor::visit(IncludeAst const*) (cmakeprojectvisitor.cpp:563) ==21938== by 0x3052747C: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2213) ==21938== by 0x30527FA5: CMakeProjectVisitor::visit(IfAst const*) (cmakeprojectvisitor.cpp:1302) ==21938== by 0x3052747C: CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) (cmakeprojectvisitor.cpp:2213) ==21938== by 0x30527FA5: CMakeProjectVisitor::visit(IfAst const*) (cmakeprojectvisitor.cpp:1302) kdevelop(21938)/kdevelop (cmake support debug)[0;34m CMakeProjectVisitor::traverseGlob[0m: Starting from ( "/data/installation/kde/trunk/share/apps/cmake/modules" , "KDELibs4ToolsTargets-*.cmake" , false , true ) kdevelop(21938)/kdevelop (cmake support debug)[0;34m CMakeProjectVisitor::traverseGlob[0m: Matching files in "/data/installation/kde/trunk/share/apps/cmake/modules" with glob "KDELibs4ToolsTargets-*.cmake" ASSERTION FAILED: !methodCallLinkInfo.cachedStructure (../3rdparty/javascriptcore/JavaScriptCore/jit/JITPropertyAccess.cpp:1592 static void QTJSC::JIT::patchMethodCallProto(QTJSC::CodeBlock*, QTJSC::MethodCallLinkInfo&, QTJSC::JSFunction*, QTJSC::Structure*, QTJSC::JSObject*, QTJSC::ReturnAddressPtr)) ==21938== Thread 1: ==21938== Invalid write of size 4 ==21938== at 0xBEC4E7D: QTJSC::JIT::patchMethodCallProto(QTJSC::CodeBlock*, QTJSC::MethodCallLinkInfo&, QTJSC::JSFunction*, QTJSC::Structure*, QTJSC::JSObject*, QTJSC::ReturnAddressPtr) (JITPropertyAccess.cpp:1592) ==21938== by 0xBEC9E27: cti_op_get_by_id_method_check (JITStubs.cpp:1344) ==21938== by 0xBEC8B0A: QTJSC::JITThunks::tryCacheGetByID(QTJSC::ExecState*, QTJSC::CodeBlock*, QTJSC::ReturnAddressPtr, QTJSC::JSValue, QTJSC::Identifier const&, QTJSC::PropertySlot const&, QTJSC::StructureStubInfo*) (JITStubs.cpp:926) ==21938== by 0x7FEFFC08F: ??? ==21938== by 0x833473FF: ??? ==21938== by 0x3F207BAF: ??? ==21938== by 0x1: ??? ==21938== by 0x83343FBF: ??? ==21938== by 0x700000001: ??? ==21938== by 0x7FEFFC0BF: ??? ==21938== by 0xBE9BAE6: QTJSC::Register::withInt(int) (Register.h:78) ==21938== Address 0xbbadbeef is not stack'd, malloc'd or (recently) free'd ==21938== ==21938== ==21938== Process terminating with default action of signal 11 (SIGSEGV): dumping core ==21938== Access not within mapped region at address 0xBBADBEEF ==21938== at 0xBEC4E7D: QTJSC::JIT::patchMethodCallProto(QTJSC::CodeBlock*, QTJSC::MethodCallLinkInfo&, QTJSC::JSFunction*, QTJSC::Structure*, QTJSC::JSObject*, QTJSC::ReturnAddressPtr) (JITPropertyAccess.cpp:1592) ==21938== by 0xBEC9E27: cti_op_get_by_id_method_check (JITStubs.cpp:1344) ==21938== by 0xBEC8B0A: QTJSC::JITThunks::tryCacheGetByID(QTJSC::ExecState*, QTJSC::CodeBlock*, QTJSC::ReturnAddressPtr, QTJSC::JSValue, QTJSC::Identifier const&, QTJSC::PropertySlot const&, QTJSC::StructureStubInfo*) (JITStubs.cpp:926) ==21938== by 0x7FEFFC08F: ??? ==21938== by 0x833473FF: ??? ==21938== by 0x3F207BAF: ??? ==21938== by 0x1: ??? ==21938== by 0x83343FBF: ??? ==21938== by 0x700000001: ??? ==21938== by 0x7FEFFC0BF: ??? ==21938== by 0xBE9BAE6: QTJSC::Register::withInt(int) (Register.h:78) ==21938== If you believe this happened as a result of a stack ==21938== overflow in your program's main thread (unlikely but ==21938== possible), you can try to increase the size of the ==21938== main thread stack using the --main-stacksize= flag. ==21938== The main thread stack size used in this run was 8388608. woha that looks like deep in QtScript :( does it crash? or does it hang? the gdb backtrace doesn't show that and the valgrind log doesn't look helpful either... Crashes. Looks tough to debug. I notice a 0xBBADBEEF though.. I'd say this is an upstream issue (webkit/qt related) *** This bug has been marked as a duplicate of bug 297661 *** |