[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [kdev-python] [Bug 363760] New: Crash when parsing some old python library
From:       Mattia Basaglia via KDE Bugzilla <bugzilla_noreply () kde ! org>
Date:       2016-05-31 20:05:10
Message-ID: bug-363760-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=363760

            Bug ID: 363760
           Summary: Crash when parsing some old python library
           Product: kdev-python
           Version: unspecified
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: mail@svenbrauch.de
          Reporter: mattia.basaglia@gmail.com
                CC: mail@svenbrauch.de

Sometimes when background parser is scanning some old python code KDevelop
crashes.

Here is the log from a crash:
====> PARSING ====> parsing file 
KUrl("file:///.../lib/python2.5/site-packages/statlib/matfunc.py") ; has
priority 10000
 ====> AST     ====>     building abstract syntax tree for 
"/.../lib/python2.5/site-packages/statlib/matfunc.py"
 ====> DUCHAIN ====>     building duchain for
"/.../lib/python2.5/site-packages/statlib/matfunc.py"
ASSERT: "comprehensionContext" in file
/build/buildd/kdev-python-1.7.1/duchain/expressionvisitor.cpp, line 581
KCrash: Application 'kdevelop' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
KCrash: Connect sock_file=/home/my_user/.kde/socket-my_hostname/kdeinit4__0
QSocketNotifier: Invalid socket 7 and type 'Read', disabling...
QSocketNotifier: Invalid socket 15 and type 'Read', disabling...
QSocketNotifier: Invalid socket 34 and type 'Read', disabling...
QSocketNotifier: Invalid socket 39 and type 'Exception', disabling...
QSocketNotifier: Invalid socket 21 and type 'Read', disabling...
QSocketNotifier: Invalid socket 16 and type 'Read', disabling...
QSocketNotifier: Invalid socket 19 and type 'Read', disabling...
kdevelop: Fatal IO error: client killed
IndexedContainerData::m_values There were items left on destruction: 1
ClassDeclarationData::m_decorators There were items left on destruction: 56
SpecialTemplateDeclarationData::m_specializations There were items left on
destruction: 12
ClassFunctionDeclarationData::m_defaultParameters There were items left on
destruction: 4606
DUContextData::m_uses There were items left on destruction: 67212
TopDUContextData::m_usedDeclarationIds There were items left on destruction:
1678
TopDUContextData::m_problems There were items left on destruction: 1797
FunctionDeclarationData::m_decorators There were items left on destruction:
1140
DUContextData::m_importers There were items left on destruction: 32139
DUContextData::m_importedContexts There were items left on destruction: 33480
FunctionTypeData::m_arguments There were items left on destruction: 9
FunctionDeclarationData::m_defaultParameters There were items left on
destruction: 34508
DUContextData::m_childContexts There were items left on destruction: 79390
ClassDeclarationData::baseClasses There were items left on destruction: 4712
DUContextData::m_localDeclarations There were items left on destruction: 79390
Unable to start Dr. Konqi
Not forwarding the crash to Apport.

And a copy of the file causing the issue:
https://raw.githubusercontent.com/seperman/python-statlib/master/statlib/matfunc.py

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic