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

List:       kdevelop-bugs
Subject:    [Bug 283147] New: kdev-python crashes on pyparsing.py [backtrace
From:       Thorben Kröger <thorbenk () gmx ! net>
Date:       2011-10-01 17:26:00
Message-ID: bug-283147-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

           Summary: kdev-python crashes on pyparsing.py [backtrace
                    attached]
           Product: kdevelop
           Version: git master
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: Language Support: Python
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: thorbenk@gmx.net
                CC: svenbrauch@googlemail.com


Created an attachment (id=64124)
 --> (http://bugs.kde.org/attachment.cgi?id=64124)
backtrace of the crash

Version:           git master (using KDE 4.7.1) 
OS:                Linux

I'm using a git build of kdevplatform, kdevelop and kdev-python from today
(01.10.2011). When I run

kdevelop pyparsing.py

(with clean .kdevduchain directory, deleted kdeveloprc and
.kde4/share/apps/kdev*)
I get a reproducible crash within the builder of kdevelop python here:

6  0x00007fffd03b68b9 in KDevelop::AbstractTypeBuilder<Python::Ast,
Python::Identifier,
Python::ContextBuilder>::currentType<KDevelop::FunctionType> (this=0x3153270)
    at
/home/thorben/inst/include/kdevplatform/language/duchain/builders/abstracttypebuilder.h:184
184       TypePtr<T2> currentType() { return
TypePtr<T2>::dynamicCast(m_typeStack.top()); }

where m_typeStack is empty and thus top() not accessible.

The pyparsing.py file is part of this package
http://pypi.python.org/pypi/pyparsing (I have version 1.5.6)

Reproducible: Always

Steps to Reproduce:
gdb --args kdevelop pyparsing.py


Expected Results:  
no crash

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

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