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

List:       kde-bugs-dist
Subject:    [kdevplatform] [Bug 275730] Kdevelop crashes during parsing [KDevelop::DUContext::type,
From:       Kevin Funk <kevin () kfunk ! org>
Date:       2013-02-24 8:11:18
Message-ID: bug-275730-17878-rWJO9zLpAe () http ! bugs ! kde ! org/
[Download RAW message or body]

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

Kevin Funk <kevin@kfunk.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|DUPLICATE                   |---

--- Comment #12 from Kevin Funk <kevin@kfunk.org> ---
This isn't a duplicate of bug 284536, as that clearly indicates a complete
different backtrace.

It still seems to crash in
KDevelop::CodeHighlightingInstance::typeForDeclaration in current master, as
reported by hippiehunter on #kdevelop.

Backtrace (reduced):
(gdb) bt full
#0  0x00007ffff1a76ee0 in KDevelop::DUContext::type (this=0x7fff58002800)
    at
/home/hippiehunter/git/kdevgit/kdevplatform/language/duchain/ducontext.cpp:1174
No locals.
#1  0x00007ffff1bb8ee1 in
KDevelop::CodeHighlightingInstance::typeForDeclaration (this=0x7fff582af9e0,
dec=0x7fff58c7d870, context=0x3ee2000)
    at
/home/hippiehunter/git/kdevgit/kdevplatform/language/highlighting/codehighlighting.cpp:373
        type = KDevelop::HighlightingEnumContainer::LocalVariableType
#2  0x00007ffff1bb93e8 in KDevelop::CodeHighlightingInstance::highlightUse (
    this=0x7fff582af9e0, context=0x3ee2000, index=32, color=...)
    at
/home/hippiehunter/git/kdevgit/kdevplatform/language/highlighting/codehighlighting.cpp:440
        type = KDevelop::HighlightingEnumContainer::ErrorVariableType
        decl = 0x7fff58c7d870
#3  0x00007ffff1bb8881 in KDevelop::CodeHighlightingInstance::highlightDUChain
    (this=0x7fff582af9e0, context=0x3ee2000, colorsForDeclarations=..., 
    declarationsForColors=...)
    at
/home/hippiehunter/git/kdevgit/kdevplatform/language/highlighting/codehighlighting.cpp:279
        decl = 0x7fff58c7d870
        color = {cspec = QColor::Invalid, ct = {argb = {alpha = 65535, 
              red = 0, green = 0, blue = 0, pad = 0}, ahsv = {alpha = 65535, 
---Type <return> to continue, or q <return> to quit---
              hue = 0, saturation = 0, value = 0, pad = 0}, acmyk = {
              alpha = 65535, cyan = 0, magenta = 0, yellow = 0, black = 0}, 
            ahsl = {alpha = 65535, hue = 0, saturation = 0, lightness = 0, 
              pad = 0}, array = {65535, 0, 0, 0, 0}}}
        a = 32
        lock = {m_lock = 0x1847398, m_locked = true, m_timeout = 0}
        top = 0x3df32f0
        takeFreeColors = {{p = {static shared_null = {ref = {_q_value = 1}, 
                alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, 
              d = 0x624ea0 <QListData::shared_null>}, 
            d = 0x624ea0 <QListData::shared_null>}}
        children = {{d = 0x7ffff60c0940 <QVectorData::shared_null>, 
            p = 0x7ffff60c0940 <QVectorData::shared_null>}}
#4  0x00007ffff1bb89fa in KDevelop::CodeHighlightingInstance::highlightDUChain
    (this=0x7fff582af9e0, context=0x3df32f0, colorsForDeclarations=..., 
    declarationsForColors=...)
    at
/home/hippiehunter/git/kdevgit/kdevplatform/language/highlighting/codehighlighting.cpp:292
        child = 0x3ee2000
        _container_ = {c = {{d = 0x7fff58cae240, p = 0x7fff58cae240}}, 
          brk = 0, i = 0x7fff58cae2a0, e = 0x7fff58cae370}
        lock = {m_lock = 0x1847398, m_locked = false, m_timeout = 0}
        top = 0x3df32f0
---Type <return> to continue, or q <return> to quit---
        takeFreeColors = {{p = {static shared_null = {ref = {_q_value = 1}, 
                alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, 
              d = 0x624ea0 <QListData::shared_null>}, 
            d = 0x624ea0 <QListData::shared_null>}}
        children = {{d = 0x7fff58cae240, p = 0x7fff58cae240}}
#5  0x00007ffff1bb7ff2 in KDevelop::CodeHighlightingInstance::highlightDUChain
    (this=0x7fff582af9e0, context=0x3df32f0)
    at
/home/hippiehunter/git/kdevgit/kdevplatform/language/highlighting/codehighlighting.cpp:207
No locals.
#6  0x00007ffff1bb7c8a in KDevelop::CodeHighlighting::highlightDUChain (
    this=0x67d0e0, context=...)
    at
/home/hippiehunter/git/kdevgit/kdevplatform/language/highlighting/codehighlighting.cpp:188
        url = {m_index = 1230679}
        __PRETTY_FUNCTION__ = "virtual void
KDevelop::CodeHighlighting::highlightDUChain(KDevelop::ReferencedTopDUContext)"
        highlighting = 0x7ffff1a5ccef
     <QHash<KDevelop::TopDUContext*, unsigned
int>::findNode(KDevelop::TopDUContext* const&, unsigned int*) const+225>
        urlLock = {m_url = {m_index = 1230679}}
        lock = {m_lock = 0x1847398, m_locked = false, m_timeout = 0}
        revision = 2

-- 
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