<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>319045</bug_id>
          
          <creation_ts>2013-04-29 05:46:55 +0000</creation_ts>
          <short_desc>KDevelop crach after import twisted.internet.ssl</short_desc>
          <delta_ts>2013-05-01 11:22:31 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Developer tools</classification>
          <product>kdev-python</product>
          <component>Language support</component>
          <version>1.4.0 / 1.4.1 (stable)</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>1.6.0</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Alexandr Zamaraev (aka Tonal)">tonal.promsoft</reporter>
          <assigned_to name="Sven Brauch">mail</assigned_to>
          
          
          <cf_commitlink>http://commits.kde.org/kdev-python/257bcbba297de43da726893d9016f41f39de23ec</cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1364782</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandr Zamaraev (aka Tonal)">tonal.promsoft</who>
    <bug_when>2013-04-29 05:46:55 +0000</bug_when>
    <thetext>KDevelop crach after import twisted.internet.ssl


Reproducible: Always

Steps to Reproduce:
1. Create new simple python project
2. type in main file
import twisted.internet.ssl
3. KDevelop crashed with message:
Application: KDevelop (kdevelop), signal: Aborted
In console:
$ kdevelop
... 
 ====&gt; PARSING ====&gt; parsing file  &quot;/usr/lib/python2.7/dist-packages/twisted/protocols/__init__.py&quot; ; has priority 99993 
 ====&gt; AST     ====&gt;     building abstract syntax tree for  &quot;/usr/lib/python2.7/dist-packages/twisted/protocols/__init__.py&quot; 
 ====&gt; DUCHAIN ====&gt;     building duchain for &quot;/usr/lib/python2.7/dist-packages/twisted/protocols/__init__.py&quot; 
 ====&gt; DUCHAIN ====&gt;     rebuilding duchain for &quot;/usr/lib/python2.7/dist-packages/twisted/protocols/__init__.py&quot; (was built before) 
 ====&gt; PARSING ====&gt; parsing file  &quot;/usr/lib/python2.7/dist-packages/twisted/internet/ssl.py&quot; ; has priority 99993 
 ====&gt; AST     ====&gt;     building abstract syntax tree for  &quot;/usr/lib/python2.7/dist-packages/twisted/internet/ssl.py&quot; 
 ====&gt; DUCHAIN ====&gt;     building duchain for &quot;/usr/lib/python2.7/dist-packages/twisted/internet/ssl.py&quot; 
ASSERT: &quot;comprehensionContext&quot; in file /media/my_book/lang/work/kdev-python/duchain/expressionvisitor.cpp, line 606
KCrash: Application &apos;kdevelop&apos; crashing...
...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1364818</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Brauch">mail</who>
    <bug_when>2013-04-29 09:44:28 +0000</bug_when>
    <thetext>Git commit 257bcbba297de43da726893d9016f41f39de23ec by Sven Brauch.
Committed on 29/04/2013 at 11:44.
Pushed by brauch into branch &apos;1.5&apos;.

Don&apos;t visit decorators and base classes twice

This led to crashes because the second turn was done within
the class context.

M  +4    -5    duchain/declarationbuilder.cpp
M  +5    -0    duchain/tests/pyduchaintest.cpp

http://commits.kde.org/kdev-python/257bcbba297de43da726893d9016f41f39de23ec</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1365107</commentid>
    <comment_count>2</comment_count>
    <who name="Alexandr Zamaraev (aka Tonal)">tonal.promsoft</who>
    <bug_when>2013-04-30 05:50:11 +0000</bug_when>
    <thetext>How about bakport to 1.4 branch?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1365480</commentid>
    <comment_count>3</comment_count>
    <who name="Sven Brauch">mail</who>
    <bug_when>2013-05-01 11:22:31 +0000</bug_when>
    <thetext>Git commit c21e6c782a42328ce59aeddd928be8d08c62ceb6 by Sven Brauch.
Committed on 29/04/2013 at 11:44.
Pushed by brauch into tag &apos;v1.4.2&apos;.

Don&apos;t visit decorators and base classes twice

Backported to 1.4 for 1.4.2 release
This led to crashes because the second turn was done within
the class context.

Conflicts:
	duchain/tests/pyduchaintest.cpp

M  +4    -5    duchain/declarationbuilder.cpp
M  +7    -1    duchain/tests/pyduchaintest.cpp

http://commits.kde.org/kdev-python/c21e6c782a42328ce59aeddd928be8d08c62ceb6</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>