Bug 319284 - Segmentation fault at project from the link
Summary: Segmentation fault at project from the link
Status: RESOLVED NOT A BUG
Alias: None
Product: kdev-python
Classification: Developer tools
Component: general (show other bugs)
Version: 1.5.x
Platform: openSUSE Linux
: NOR crash
Target Milestone: 1.6.0
Assignee: Sven Brauch
URL: https://github.com/DAP-DarkneSS/Rando...
Keywords:
: 321765 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-05-03 16:22 UTC by Dmitriy A. Perlow
Modified: 2013-06-29 19:11 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (21.04 KB, text/plain)
2013-05-03 16:43 UTC, Dmitriy A. Perlow
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitriy A. Perlow 2013-05-03 16:22:43 UTC
Kdevelop 1.5.0 will crash when I open it after update from 1.4 with some files from mentioned project.

Reproducible: Always

Steps to Reproduce:
1. Open wx-randorator.py and body.py at Kdevelop 1.4.
2. Update Kdevelop to 1.5.
3. Restart Kdevelop.
Actual Results:  
Crash.

Expected Results:  
Starting without crashes.

%gdb kdevelop
GNU gdb (GDB) SUSE (7.5.1-2.5.1)
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/kdevelop...Reading symbols from /usr/lib/debug/usr/bin/kdevelop.debug...done.
done.
(gdb) run
Starting program: /usr/bin/kdevelop 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work 
WARNING: deleting stale lockfile /home/da/.kde4/share/apps/kdevelop/sessions/{5f5e77a0-b311-4be8-a136-0d123b91f982}/lock
WARNING: deleting stale lockfile /home/da/.cache/kdevduchain/{5f5e77a0-b311-4be8-a136-0d123b91f982}/0/lock
kdevelop(20151)/kdevplatform (language) KDevelop::ItemRepositoryRegistry::open: version-hint not found, seems to be an old version 
kdevelop(20151)/kdevplatform (language) KDevelop::ItemRepositoryRegistry::open: "The data-repository at /home/da/.cache/kdevduchain/{5f5e77a0-b311-4be8-a136-0d123b91f982}/0 has to be cleared." 
[New Thread 0x7fffdf123700 (LWP 20342)]
Missing separate debuginfo for /usr/lib64/libpython2.7-kdevelop.so.1.0
Try: zypper install -C "debuginfo(build-id)=5a1c7ac51d683b94442a0fb44311c07dd3bd9e74"
[New Thread 0x7fffce001700 (LWP 20431)]
Detaching after fork from child process 20432.
[New Thread 0x7fffc43a0700 (LWP 20443)]
[New Thread 0x7fffc3b9f700 (LWP 20444)]
Detaching after fork from child process 20445.
[New Thread 0x7fffc2f3f700 (LWP 20466)]
qrc:/main.qml:23:1: QML Loader: Binding loop detected for property "source"
static bool QDeclarativeMetaType::isModule(const QByteArray&, int, int) Qt 4.7 import detected; please note that Qt 4.7 is directly reusable as QtQuick 1.x with no code changes. Continuing, but startup time will be slower. 
[New Thread 0x7fffc0ca8700 (LWP 20496)]
[New Thread 0x7fffb3fff700 (LWP 20497)]
[Thread 0x7fffc0ca8700 (LWP 20496) exited]
[Thread 0x7fffb3fff700 (LWP 20497) exited]
kdevelop(20151)/kdevplatform (shell) KDevelop::SessionControllerPrivate::performRecovery: Starting recovery from  "/home/da/.kde4/share/apps/kdevelop/sessions/{5f5e77a0-b311-4be8-a136-0d123b91f982}/recovery/current" 
[New Thread 0x7fffb3fff700 (LWP 20511)]
 ====> PARSING ====> parsing file  KUrl("file:///home/da/Documents/Python/Randorator/wx-randorator.py") ; has priority 0 
[New Thread 0x7fffc0ca8700 (LWP 20516)]
 ====> AST     ====>     building abstract syntax tree for  "/home/da/Documents/Python/Randorator/wx-randorator.py" 
 ====> PARSING ====> parsing file  KUrl("file:///home/da/Documents/Python/Randorator/body.py") ; has priority 0 
 ====> DUCHAIN ====>     building duchain for "/home/da/Documents/Python/Randorator/wx-randorator.py" 

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffb3fff700 (LWP 20511)]
QString::operator= (this=0x7fffc4617d18 <Python::Helper::dataDir>, other=...) at tools/qstring.cpp:1410
1410    tools/qstring.cpp: Нет такого файла или каталога.
(gdb) bt full
#0  QString::operator= (this=0x7fffc4617d18 <Python::Helper::dataDir>, other=...) at tools/qstring.cpp:1410
No locals.
#1  0x00007fffc43de477 in Python::Helper::getDataDir () at /usr/src/debug/kdev-python-v1.5.0/duchain/helpers.cpp:263
        d = <incomplete type>
#2  0x00007fffc43de93d in Python::Helper::getSearchPaths (workingOnDocument=...)
    at /usr/src/debug/kdev-python-v1.5.0/duchain/helpers.cpp:297
        searchPaths = {{p = {static shared_null = {ref = {_q_value = 1}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, 
              d = 0x61de60 <QListData::shared_null>}, d = 0x61de60 <QListData::shared_null>}}
        __PRETTY_FUNCTION__ = "static QList<KUrl> Python::Helper::getSearchPaths(KUrl)"
#3  0x00007fffc43e6c3d in Python::ContextBuilder::findModulePath (this=0x7fffb80998e0, name=...)
    at /usr/src/debug/kdev-python-v1.5.0/duchain/contextbuilder.cpp:348
        tmp = {<QUrl> = {d = 0x7fffb3ffe2f0}, d = 0x4a}
        leftNameComponents = {<QList<QString>> = {{p = {static shared_null = {ref = {_q_value = 1}, alloc = 0, begin = 0, end = 0, 
                  sharable = 1, array = {0x0}}, d = 0x6e0000005b}, d = 0x6e0000005b}}, <No data fields>}
        __PRETTY_FUNCTION__ = "QPair<KUrl, QStringList> Python::ContextBuilder::findModulePath(const QString&)"
        nameComponents = {<QList<QString>> = {{p = {static shared_null = {ref = {_q_value = 1}, alloc = 0, begin = 0, end = 0, 
                  sharable = 1, array = {0x0}}, d = 0x7fffb801c040}, d = 0x7fffb801c040}}, <No data fields>}
        searchPaths = {{p = {static shared_null = {ref = {_q_value = 1}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, 
              d = 0x61de60 <QListData::shared_null>}, d = 0x61de60 <QListData::shared_null>}}
#4  0x00007fffc43ef6d6 in Python::DeclarationBuilder::createModuleImportDeclaration (this=this@entry=0x7fffb80998e0, moduleName=..., 
    declarationName=..., declarationIdentifier=0x7fffb8117798, rangeNode=rangeNode@entry=0x0, 
    createProblem=createProblem@entry=Python::DeclarationBuilder::CreateProblems)
    at /usr/src/debug/kdev-python-v1.5.0/duchain/declarationbuilder.cpp:781
        moduleInfo = {first = {<QUrl> = {d = 0x0}, d = 0x7ffff5cc4c49 <QThread::currentThread()+9>}, second = {<QList<QString>> = {{
                p = {static shared_null = {ref = {_q_value = 1}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, 
                  d = 0x1}, d = 0x1}}, <No data fields>}}
        __PRETTY_FUNCTION__ = "KDevelop::Declaration* Python::DeclarationBuilder::createModuleImportDeclaration(QString, QString, Python::Identifier*, Python::Ast*, Python::DeclarationBuilder::ProblemPolicy)"
        range = {start = {line = 40322224, column = 0}, end = {line = 42739016, column = 0}}
        moduleContext = {m_topContext = 0x1}
        lock = {m_lock = 0xf5bcb320, m_locked = 224, m_timeout = 32767}
        modulePath = {m_index = 42738160}
---Type <return> to continue, or q <return> to quit---
        resultingDeclaration = <optimized out>
#5  0x00007fffc43f05e8 in Python::DeclarationBuilder::visitImport (this=0x7fffb80998e0, node=<optimized out>)
    at /usr/src/debug/kdev-python-v1.5.0/duchain/declarationbuilder.cpp:596
        moduleName = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 1}, alloc = 0, size = 0, 
            data = 0x61dcda <QString::shared_null+26>, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, 
            reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 2385}, alloc = 0, size = 0, 
            data = 0x7ffff61218da <QString::shared_empty+26>, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, 
            capacity = 0, reserved = 0, array = {0}}, d = 0x7fffb8091e90, static codecForCStrings = 0x0}
        declarationIdentifier = <optimized out>
        name = <optimized out>
        _container_ = {c = {{p = {static shared_null = {ref = {_q_value = 1}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {
                    0x0}}, d = 0x7fffb8091e10}, d = 0x7fffb8091e10}}, brk = 0, i = {i = 0x7fffb8091e28}, e = {i = 0x7fffb8091e30}}
        lock = {m_lock = 0x1a10cb8, m_locked = true, m_timeout = 0}
#6  0x00007fffddc9c433 in Python::AstDefaultVisitor::visitCode (this=0x7fffb8099940, node=<optimized out>)
    at /usr/src/debug/kdev-python-v1.5.0/parser/astdefaultvisitor.cpp:47
        statement = <optimized out>
        _container_ = {c = {{p = {static shared_null = {ref = {_q_value = 1}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {
                    0x0}}, d = 0x7fffb8112900}, d = 0x7fffb8112900}}, brk = 0, i = {i = 0x7fffb8112918}, e = {i = 0x7fffb8112a78}}
#7  0x00007fffc43e67c7 in Python::ContextBuilder::visitCode (this=0x7fffb80998e0, node=0x7fffb8003050)
    at /usr/src/debug/kdev-python-v1.5.0/duchain/contextbuilder.cpp:333
        doc_url = {<QUrl> = {d = 0x0}, d = 0x0}
        doc = {m_index = 0}
#8  0x00007fffc43ebe51 in Python::DeclarationBuilder::visitCode (this=0x7fffb80998e0, node=0x7fffb8003050)
    at /usr/src/debug/kdev-python-v1.5.0/duchain/declarationbuilder.cpp:356
No locals.
#9  0x00007fffc43f92f5 in supportBuild (context=0x7fffb806aef0, node=0x7fffb8003050, this=0x7fffb80998e0)
    at /usr/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:133
No locals.
#10 KDevelop::AbstractTypeBuilder<Python::Ast, Python::Identifier, Python::ContextBuilder>::supportBuild (this=0x7fffb80998e0, 
    node=0x7fffb8003050, context=<optimized out>) at /usr/include/kdevplatform/language/duchain/builders/abstracttypebuilder.h:85
No locals.
#11 0x00007fffc43e88cf in build (updateContext=..., node=0x7fffb8003050, url=..., this=0x7fffb80998e0)
---Type <return> to continue, or q <return> to quit---
    at /usr/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:113
No locals.
#12 Python::ContextBuilder::build (this=0x7fffb80998e0, url=..., node=0x7fffb8003050, updateContext=...)
    at /usr/src/debug/kdev-python-v1.5.0/duchain/contextbuilder.cpp:86
No locals.
#13 0x00007fffc43eb2f3 in Python::DeclarationBuilder::build (this=0x7fffb80998e0, url=..., node=0x7fffb8003050, updateContext=...)
    at /usr/src/debug/kdev-python-v1.5.0/duchain/declarationbuilder.cpp:104
        __PRETTY_FUNCTION__ = "virtual KDevelop::ReferencedTopDUContext Python::DeclarationBuilder::build(const KDevelop::IndexedString&, Python::Ast*, KDevelop::ReferencedTopDUContext)"
#14 0x00007fffc43eb278 in Python::DeclarationBuilder::build (this=0x7fffb3ffebd0, url=..., node=0x7fffb8003050, updateContext=...)
    at /usr/src/debug/kdev-python-v1.5.0/duchain/declarationbuilder.cpp:97
        prebuilder = 0x7fffb80998e0
        __PRETTY_FUNCTION__ = "virtual KDevelop::ReferencedTopDUContext Python::DeclarationBuilder::build(const KDevelop::IndexedString&, Python::Ast*, KDevelop::ReferencedTopDUContext)"
#15 0x00007fffc4872de2 in Python::ParseJob::run (this=0x3103b10) at /usr/src/debug/kdev-python-v1.5.0/pythonparsejob.cpp:164
        builder = {<KDevelop::AbstractDeclarationBuilder<Python::Ast, Python::Identifier, Python::TypeBuilder>> = {<Python::TypeBuilder> = {<KDevelop::AbstractTypeBuilder<Python::Ast, Python::Identifier, Python::ContextBuilder>> = {<Python::ContextBuilder> = {<KDevelop::AbstractContextBuilder<Python::Ast, Python::Identifier>> = {
                    _vptr.AbstractContextBuilder = 0x7fffc4615550 <vtable for Python::DeclarationBuilder+16>, m_identifier = {
                      m_index = 65582, {dd = 0x19eaffe, cd = 0x19eaffe}}, m_url = {m_index = 0}, m_qIdentifier = <incomplete type>, 
                    m_compilingContexts = false, m_recompiling = false, m_nextContextStack = {<QVector<int>> = {{
                          d = 0x7ffff6121900 <QVectorData::shared_null>, 
                          p = 0x7ffff6121900 <QVectorData::shared_null>}}, <No data fields>}, m_lastContext = 0x0, m_encountered = {
                      q_hash = {{d = 0x7ffff61217a0 <QHashData::shared_null>, e = 0x7ffff61217a0 <QHashData::shared_null>}}}, 
                    m_contextStack = {<QVector<KDevelop::DUContext*>> = {{d = 0x7ffff6121900 <QVectorData::shared_null>, 
                          p = 0x7ffff6121900 <QVectorData::shared_null>}}, <No data fields>}}, <Python::AstDefaultVisitor> = {
    <Python::AstVisitor> = {_vptr.AstVisitor = 0x7fffc46156a8 <vtable for Python::DeclarationBuilder+360>}, <No data fields>}, 
                  m_temporarilyClosedContexts = {{p = {static shared_null = {ref = {_q_value = 1}, alloc = 0, begin = 0, end = 0, 
                          sharable = 1, array = {0x0}}, d = 0x61de60 <QListData::shared_null>}, 
                      d = 0x61de60 <QListData::shared_null>}}, m_currentlyParsedDocument = {m_index = 65639}, m_unresolvedImports = {{
                      p = {static shared_null = {ref = {_q_value = 1}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, 
                        d = 0x61de60 <QListData::shared_null>}, d = 0x61de60 <QListData::shared_null>}}, 
---Type <return> to continue, or q <return> to quit---
                  m_futureModificationRevision = {modificationTime = 1363981437, revision = 0}, m_prebuilding = false, 
                  contextsForModules = {{d = 0x7ffff6121820 <QMapData::shared_null>, e = 0x7ffff6121820 <QMapData::shared_null>}}, 
                  m_editor = 0x7fffb80cf380, m_mapAst = false, m_topContext = {m_topContext = 0x0}, m_moduleContext = {d = {
                      d = 0x0}}, m_builtinFunctionsContext = {d = {d = 0x0}}, m_mostRecentArgumentsContext = {d = {d = 0x0}}, 
                  m_lastGeneratorRange = {start = {line = 0, column = 0}, end = {line = 0, column = 0}}, 
                  m_isScheduledForReparsing = false, m_importedParentContexts = {{p = {static shared_null = {ref = {_q_value = 1}, 
                          alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x61de60 <QListData::shared_null>}, 
                      d = 0x61de60 <QListData::shared_null>}}, 
                  m_indentInformationCache = {<QtSharedPointer::ExternalRefCount<Python::FileIndentInformation>> = {<QtSharedPointer::Basic<Python::FileIndentInformation>> = {value = 0x0}, d = 0x0}, <No data fields>}}, 
                m_typeStack = {<QVector<TypePtr<KDevelop::AbstractType> >> = {{d = 0x7ffff6121900 <QVectorData::shared_null>, 
                      p = 0x7ffff6121900 <QVectorData::shared_null>}}, <No data fields>}, m_lastType = {d = 0x0}, m_topTypes = {{p = {
                      static shared_null = {ref = {_q_value = 1}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, 
                      d = 0x61de60 <QListData::shared_null>}, d = 0x61de60 <QListData::shared_null>}}}, <No data fields>}, 
            m_declarationStack = {<QVector<KDevelop::Declaration*>> = {{d = 0x7ffff6121900 <QVectorData::shared_null>, 
                  p = 0x7ffff6121900 <QVectorData::shared_null>}}, <No data fields>}, m_lastComment = {static shared_null = {ref = {
                  _q_value = 1}, alloc = 0, size = 0, data = 0x61de38 <QByteArray::shared_null+24> "", array = ""}, 
              static shared_empty = {ref = {_q_value = 1126}, alloc = 0, size = 0, 
                data = 0x7ffff6121778 <QByteArray::shared_empty+24> "", array = ""}, d = 0x61de20 <QByteArray::shared_null>}}, 
          m_ownPriority = 0, m_importContextsForImportStatement = {<QVector<KDevelop::DUChainPointer<KDevelop::TopDUContext> >> = {{
                d = 0x7ffff6121900 <QVectorData::shared_null>, p = 0x7ffff6121900 <QVectorData::shared_null>}}, <No data fields>}, 
          m_firstAttributeDeclaration = {d = {d = 0x0}}, m_scheduledForDeletion = {{p = {static shared_null = {ref = {_q_value = 1}, 
                  alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x61de60 <QListData::shared_null>}, 
              d = 0x61de60 <QListData::shared_null>}}}
        usebuilder = 
    {<KDevelop::AbstractUseBuilder<Python::Ast, Python::Identifier, Python::ContextBuilder>> = {<Python::ContextBuilder> = {<KDevelop::AbstractContextBuilder<Python::Ast, Python::Identifier>> = {_vptr.AbstractContextBuilder = 0x6e0000005b, m_identifier = {
                  m_index = 119, {dd = 0x54e4f76a, cd = 0x54e4f76a}}, m_url = {m_index = 3087007776}, 
                m_qIdentifier = <incomplete type>, m_compilingContexts = false, m_recompiling = false, 
                m_nextContextStack = {<QVector<int>> = {{d = 0x0, p = 0x0}}, <No data fields>}, m_lastContext = 0x3000000002, 
                m_encountered = {q_hash = {{d = 0x6e0000005b, e = 0x6e0000005b}}}, 
                m_contextStack = {<QVector<KDevelop::DUContext*>> = {{d = 0x7c00000077, 
---Type <return> to continue, or q <return> to quit---
                      p = 0x7c00000077}}, <No data fields>}}, <Python::AstDefaultVisitor> = {<Python::AstVisitor> = {
                  _vptr.AstVisitor = 0x40}, <No data fields>}, m_temporarilyClosedContexts = {{p = {static shared_null = {ref = {
                        _q_value = 1}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x7fffb8000020}, 
                  d = 0x7fffb8000020}}, m_currentlyParsedDocument = {m_index = 24}, m_unresolvedImports = {{p = {
                    static shared_null = {ref = {_q_value = 1}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, 
                    d = 0x3103b10}, d = 0x3103b10}}, m_futureModificationRevision = {modificationTime = 3087019424, 
                revision = 32767}, m_prebuilding = 48, contextsForModules = {{d = 0x61e6a0, e = 0x61e6a0}}, 
              m_editor = 0x7ffff495ec30 <__GI___libc_malloc+112>, m_mapAst = 24, m_topContext = {
                m_topContext = 0x7ffff49ba259 <write+57>}, m_moduleContext = {d = {d = 0x0}}, m_builtinFunctionsContext = {d = {
                  d = 0x7fffee9978a1}}, m_mostRecentArgumentsContext = {d = {d = 0x61e6b8}}, m_lastGeneratorRange = {start = {
                  line = 1, column = 0}, end = {line = 6416056, column = 0}}, m_isScheduledForReparsing = 106, 
              m_importedParentContexts = {{p = {static shared_null = {ref = {_q_value = 1}, alloc = 0, begin = 0, end = 0, 
                      sharable = 1, array = {0x0}}, d = 0x7fffb8002b60}, d = 0x7fffb8002b60}}, 
              m_indentInformationCache = {<QtSharedPointer::ExternalRefCount<Python::FileIndentInformation>> = {<QtSharedPointer::Basic<Python::FileIndentInformation>> = {value = 0x3db8000020}, d = 0x61e6b8}, <No data fields>}}, 
            m_trackerStack = {<QVector<KDevelop::AbstractUseBuilder<Python::Ast, Python::Identifier, Python::ContextBuilder>::ContextUseTracker>> = {{d = 0x3147738, p = 0x3147738}}, <No data fields>}, m_contexts = {<QVector<KDevelop::DUContext*>> = {{d = 0x3103b10, 
                  p = 0x3103b10}}, <No data fields>}, m_finishContext = 160}, m_session = 0x7fff00000000, m_editor = 0x7ffff5dd4b8d
     <QMetaCallEvent::QMetaCallEvent(unsigned short, unsigned short, void (*)(QObject*, QMetaObject::Call, int, void**), QObject const*, int, int, int*, void**, QSemaphore*)+61>, m_nextUseStack = {<QVector<int>> = {{d = 0x50, p = 0x50}}, <No data fields>}, 
          m_errorReportingEnabled = 160}
        needsReparse = <optimized out>
        toUpdate = {m_topContext = 0x0}
        parserResults = {first = 0x7fffb8003050, second = true}
        __PRETTY_FUNCTION__ = "virtual void Python::ParseJob::run()"
        currentSession = 0x7fffb8003000
        parselock = {q_val = 40499913}
        urlLock = {m_url = {m_index = 65639}}
        editor = {<QtSharedPointer::ExternalRefCount<Python::PythonEditorIntegrator>> = {<QtSharedPointer::Basic<Python::PythonEditorIntegrator>> = {value = 0x7fffb80cf380}, d = 0x7fffb8113270}, <No data fields>}
        lock = {m_lock = 0x0, m_locked = 2, m_timeout = 48}
#16 0x00007fffebe3682a in ?? () from /usr/lib64/libthreadweaver.so.4
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#17 0x00007fffebe369a1 in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib64/libthreadweaver.so.4
No symbol table info available.
#18 0x00007fffebe35fff in ?? () from /usr/lib64/libthreadweaver.so.4
No symbol table info available.
#19 0x00007fffebe360bb in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
No symbol table info available.
#20 0x00007ffff5cc808c in QThreadPrivate::start (arg=0x2c96130) at thread/qthread_unix.cpp:338
        __clframe = {__cancel_routine = 0x7ffff5cc7030 <QThreadPrivate::finish(void*)>, __cancel_arg = 0x2c96130, __do_it = 1, 
          __cancel_type = <optimized out>}
        thr = 0x2c96130
        data = 0x2562dc0
        objectName = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 1}, alloc = 0, size = 0, 
            data = 0x61dcda <QString::shared_null+26>, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, 
            reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 2385}, alloc = 0, size = 0, 
            data = 0x7ffff61218da <QString::shared_empty+26>, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, 
            capacity = 0, reserved = 0, array = {0}}, d = 0x61dcc0 <QString::shared_null>, static codecForCStrings = 0x0}
#21 0x00007ffff46cde0e in start_thread (arg=0x7fffb3fff700) at pthread_create.c:305
        __res = <optimized out>
        pd = 0x7fffb3fff700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736213284608, 8689598925137880138, 1, 55903664, 21, 140736213284608, 
                -8689466984295455670, -8689624049550384054}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {
              prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#22 0x00007ffff49c62cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
No locals.
(gdb)
Comment 1 Sven Brauch 2013-05-03 16:30:32 UTC
I can't reproduce it, at least the repository parses fine in 1.5 (didn't try the 1.4 -> 1.5 step since I think it's unrelated).

Anyways, to me this looks like a broken setup. Can you please verify that $KDEDIRS/share/apps/kdevpythonsupport/documentation_files/ exists and is readable ($KDEDIRS is /usr on my distros)?
Comment 2 Sven Brauch 2013-05-03 16:34:21 UTC
Ah, if that's not it, then please try deleting ~/.kdevduchain and ~/.cache/kdevduchain.
Comment 3 Dmitriy A. Perlow 2013-05-03 16:43:03 UTC
Created attachment 79671 [details]
New crash information added by DrKonqi

kdevelop (4.5.0) on KDE Platform 4.9.5 "release 4" using Qt 4.8.4

%echo $KDEDIRS

%LANG=en_GB.UTF-8 ls -l /usr/share/kde4/apps/kdevpythonsupport/
total 24
drwxr-xr-x   4 root root  4096 May  3 19:35 .
drwxr-xr-x 205 root root 12288 May  3 19:37 ..
drwxr-xr-x   2 root root  4096 May  3 19:35 debugger
drwxr-xr-x   3 root root  4096 May  3 09:22 encodings
% rm -rf ~/.kdevduchain ~/.cache/kdevduchain
% kdevelop

-- Backtrace (Reduced):
#6  QString::operator= (this=0x7ff451258d18 <Python::Helper::dataDir>, other=...) at tools/qstring.cpp:1410
#7  0x00007ff45101f477 in Python::Helper::getDataDir () at /usr/src/debug/kdev-python-v1.5.0/duchain/helpers.cpp:263
#8  0x00007ff45101f93d in Python::Helper::getSearchPaths (workingOnDocument=...) at /usr/src/debug/kdev-python-v1.5.0/duchain/helpers.cpp:297
#9  0x00007ff451027c3d in Python::ContextBuilder::findModulePath (this=0x7ff43c033740, name=...) at /usr/src/debug/kdev-python-v1.5.0/duchain/contextbuilder.cpp:348
#10 0x00007ff4510306d6 in Python::DeclarationBuilder::createModuleImportDeclaration (this=this@entry=0x7ff43c033740, moduleName=..., declarationName=..., declarationIdentifier=declarationIdentifier@entry=0x7ff43c131d00, rangeNode=rangeNode@entry=0x0, createProblem=createProblem@entry=Python::DeclarationBuilder::DontCreateProblems) at /usr/src/debug/kdev-python-v1.5.0/duchain/declarationbuilder.cpp:781
Comment 4 Sven Brauch 2013-05-03 16:50:18 UTC
The data dir must contain a documentation_files directory. It contains the python API, which is read by the parser and is vital to the correct functioning of the plugin. The plugin shouldn't crash but display an error message instead (I'll fix that) but the problem is that it's not installed correctly. If this is from your distribution's package, please report a bug with them about it.

Closing as invalid.

Cheers,
Sven
Comment 5 Dmitriy A. Perlow 2013-05-03 16:51:51 UTC
Thanks a lot!
Comment 6 Sven Brauch 2013-05-03 16:54:46 UTC
As a workaround, you can try
git clone git://anongit.kde.org/kdev-python
sudo cp -R kdev-python/documentation_files/ /usr/share/kde4/apps/kdevpythonsupport/
Comment 7 Dmitriy A. Perlow 2013-05-03 16:56:38 UTC
There is doc-subpackage at openSUSE, but it isn't required y the main one. Thanks!
Comment 8 Sven Brauch 2013-05-03 17:05:48 UTC
Did you check, and does installing the doc package work? That's good ;)
Should I tell the SuSE people, or did you create a report already?
I should probably pick a less confusing name for the directory to make sure people don't get it wrong again.
Comment 9 Dmitriy A. Perlow 2013-05-03 17:07:12 UTC
Yes, I did.
No, I'll do it.
Comment 10 Sven Brauch 2013-05-03 17:38:07 UTC
Would you mind posting the link to the report here, for future reference? Thanks.
Comment 11 Dmitriy A. Perlow 2013-05-03 18:00:53 UTC
I've already posted: https://build.opensuse.org/request/diff/174462
Comment 12 Christophe Marin 2013-05-03 18:09:24 UTC
(In reply to comment #4)
> The data dir must contain a documentation_files directory. It contains the
> python API, which is read by the parser and is vital to the correct
> functioning of the plugin. The plugin shouldn't crash but display an error
> message instead (I'll fix that) but the problem is that it's not installed
> correctly. If this is from your distribution's package, please report a bug
> with them about it.
> 

Additionally, you could add a README.packagers (or whatever name) with this notice
Comment 13 Sven Brauch 2013-05-03 18:23:54 UTC
Yes, that's what I was planning to do. Thanks for the link (and for the report in the first place).
Comment 14 Dmitriy A. Perlow 2013-05-03 18:31:52 UTC
It's a pleasure! Great thanks for immediate reply!
Comment 15 Sven Brauch 2013-05-03 18:41:13 UTC
Git commit 75928062e2bf9aebc39de4de500240d0ac75eb3e by Sven Brauch.
Committed on 03/05/2013 at 20:40.
Pushed by brauch into branch '1.5'.

Add a PACKAGERS readme file.

This should help prevent issues such as bug 319284.

A  +29   -0    README.packagers

http://commits.kde.org/kdev-python/75928062e2bf9aebc39de4de500240d0ac75eb3e
Comment 16 Kevin Funk 2013-06-29 19:11:17 UTC
*** Bug 321765 has been marked as a duplicate of this bug. ***