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

List:       kdevelop-bugs
Subject:    [Bug 185862] New: KDevelop crashes when opening CMakeLists.txt
From:       Joris Guisson <joris.guisson () gmail ! com>
Date:       2009-03-01 9:57:10
Message-ID: bug-185862-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

           Summary: KDevelop crashes when opening CMakeLists.txt
           Product: kdevelop
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: NEW
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: joris.guisson@gmail.com


Version:            (using KDE 4.2.0)
OS:                Linux

Using an SVN version from yesterday (rev 932984)

When opening a CMakeLists.txt of one of my kdevelop projects, I get the
following crash :

0xb612c4c8 in KDevelop::DUChainUtils::standardContextForUrl (url=@0xbfc30afc)
at /home/joris/tmp/kdevplatform/language/duchain/duchainutils.cpp:239
239             chosen = language->languageSupport()->standardContext(url);     
(gdb) bt                                                                        
#0  0xb612c4c8 in KDevelop::DUChainUtils::standardContextForUrl
(url=@0xbfc30afc) at
/home/joris/tmp/kdevplatform/language/duchain/duchainutils.cpp:239
#1  0xb60a2e29 in KDevelop::DUChain::documentLoadedPrepare (this=0x8e870a8,
doc=0xa255950) at
/home/joris/tmp/kdevplatform/language/duchain/duchain.cpp:1228
#2  0xb60a7c31 in KDevelop::DUChain::qt_metacall (this=0x8e870a8,
_c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbfc30c6c)                         
    at /home/joris/tmp/kdevplatform/build/language/duchain.moc:155              
#3  0xb7122a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4         
#4  0xb71237e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4         
#5  0xb7de8483 in KDevelop::IDocumentController::documentLoadedPrepare
(this=0x8d06660, _t1=0xa255950) at
/home/joris/tmp/kdevplatform/build/interfaces/idocumentcontroller.moc:237
#6  0xb7de5fa2 in KDevelop::IDocument::notifyLoaded (this=0xa255950) at
/home/joris/tmp/kdevplatform/interfaces/idocument.cpp:119                       
#7  0xb7d9ed31 in KDevelop::TextDocument::qt_metacall (this=0xa255940,
_c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbfc30ddc)                         
    at /home/joris/tmp/kdevplatform/shell/textdocument.cpp:151                  
#8  0xb7122a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4         
#9  0xb71237e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4         
#10 0xb7a35533 in KTextEditor::Document::textChanged (this=0x8b8b0f0,
_t1=0x8b8b0f0) at
/build/buildd/kde4libs-4.2.0/obj-i486-linux-gnu/interfaces/ktexteditor/document.moc:154 
#11 0xaede3372 in KateDocument::openFile (this=0x8b8b0f0) at
/build/buildd/kde4libs-4.2.0/kate/document/katedocument.cpp:3409                
#12 0xb7a7596a in KParts::ReadOnlyPart::openUrl (this=0x8b8b0f0,
url=@0xbfc311e0) at /build/buildd/kde4libs-4.2.0/kparts/part.cpp:558            
#13 0xb7d9de17 in KDevelop::TextDocument::createViewWidget (this=0xa255940,
parent=0xa2556f0) at /home/joris/tmp/kdevplatform/shell/textdocument.cpp:223    
#14 0xb7d9e3ee in KDevelop::TextView::createWidget (this=0xa388b30,
parent=0xa2556f0) at /home/joris/tmp/kdevplatform/shell/textdocument.cpp:487    
#15 0xb6010437 in Sublime::View::widget (this=0xa388b30, parent=0xa2556f0) at
/home/joris/tmp/kdevplatform/sublime/view.cpp:77                                
#16 0xb600b582 in Sublime::MainWindowPrivate::ViewCreator::operator()
(this=0xbfc31448, index=0x8cd0ec0) at
/home/joris/tmp/kdevplatform/sublime/mainwindow_p.cpp:169              
#17 0xb600f4c9 in
Sublime::Area::walkViewsInternal<Sublime::MainWindowPrivate::ViewCreator>
(this=0x8cd1c10, op=@0xbfc31448, index=0x8cd0ec0)                               
    at /home/joris/tmp/kdevplatform/sublime/areawalkers.h:32                    
#18 0xb600bf87 in Sublime::MainWindowPrivate::viewAdded (this=0x8cae978,
index=0x8cd0ec0, view=0xa388b30) at
/home/joris/tmp/kdevplatform/sublime/areawalkers.h:48                 
#19 0xb60065a0 in Sublime::MainWindow::qt_metacall (this=0x8ca9498,
_c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfc31578)                         
    at /home/joris/tmp/kdevplatform/build/sublime/mainwindow.moc:102            
#20 0xb7d74fca in KDevelop::MainWindow::qt_metacall (this=0x8ca9498,
_c=QMetaObject::InvokeMetaMethod, _id=58, _a=0xbfc31578)                        
    at /home/joris/tmp/kdevplatform/build/shell/mainwindow.moc:77               
#21 0xb7122a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4         
#22 0xb71237e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4         
#23 0xb5ffa2a9 in Sublime::Area::viewAdded (this=0x8cd1c10, _t1=0x8cd0ec0,
_t2=0xa388b30) at /home/joris/tmp/kdevplatform/build/sublime/area.moc:92        
#24 0xb5ffaa77 in Sublime::Area::addView (this=0x8cd1c10, view=0xa388b30,
index=0x8cd0ec0) at /home/joris/tmp/kdevplatform/sublime/area.cpp:148           
#25 0xb5ffaaff in Sublime::Area::addView (this=0x8cd1c10, view=0xa388b30,
after=0x0) at /home/joris/tmp/kdevplatform/sublime/area.cpp:161                 
#26 0xb7da45a4 in KDevelop::DocumentController::openDocument (this=0x8d06660,
inputUrl=@0xa1ad684, range=@0xbfc3182c, activationParams={i = -1077733320})     
    at /home/joris/tmp/kdevplatform/shell/documentcontroller.cpp:404            
#27 0xb25e239e in ProjectManagerView::openUrl (this=0x927f4d0, url=@0xa1ad684)
at
/home/joris/tmp/kdevplatform/plugins/projectmanagerview/projectmanagerview.cpp:189
#28 0xb25e2a87 in ProjectManagerView::qt_metacall (this=0x927f4d0,
_c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfc3193c)
    at
/home/joris/tmp/kdevplatform/build/plugins/projectmanagerview/projectmanagerview.moc:77
#29 0xb7122a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#30 0xb71237e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#31 0xb25e4703 in ProjectTreeView::activateUrl (this=0xa6f7568, _t1=@0xa1ad684)
at
/home/joris/tmp/kdevplatform/build/plugins/projectmanagerview/projecttreeview.moc:86
#32 0xb25e49be in ProjectTreeView::slotActivated (this=0xa6f7568,
index=@0xa4df5d8) at
/home/joris/tmp/kdevplatform/plugins/projectmanagerview/projecttreeview.cpp:164
#33 0xb25e5dd5 in ProjectTreeView::qt_metacall (this=0xa6f7568,
_c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfc31a6c)
---Type <return> to continue, or q <return> to quit---
    at
/home/joris/tmp/kdevplatform/build/plugins/projectmanagerview/projecttreeview.moc:73
#34 0xb7122a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#35 0xb71237e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#36 0xb6c73603 in QAbstractItemView::activated () from /usr/lib/libQtGui.so.4
#37 0xb6c80920 in QAbstractItemView::mouseReleaseEvent () from
/usr/lib/libQtGui.so.4
#38 0xb6cba794 in QTreeView::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#39 0xb25e4eb7 in ProjectTreeView::mouseReleaseEvent (this=0xa6f7568,
event=0xbfc32398) at
/home/joris/tmp/kdevplatform/plugins/projectmanagerview/projecttreeview.cpp:105
#40 0xb6809962 in QWidget::event () from /usr/lib/libQtGui.so.4
#41 0xb6b40fd3 in QFrame::event () from /usr/lib/libQtGui.so.4
#42 0xb6bd77df in QAbstractScrollArea::viewportEvent () from
/usr/lib/libQtGui.so.4
#43 0xb6c82ccf in QAbstractItemView::viewportEvent () from
/usr/lib/libQtGui.so.4
#44 0xb6cba9e4 in QTreeView::viewportEvent () from /usr/lib/libQtGui.so.4
#45 0xb6bd9d85 in ?? () from /usr/lib/libQtGui.so.4
#46 0xb710d04a in QCoreApplicationPrivate::sendThroughObjectEventFilters ()
from /usr/lib/libQtCore.so.4
#47 0xb67b18ca in QApplicationPrivate::notify_helper () from
/usr/lib/libQtGui.so.4
#48 0xb67ba0e1 in QApplication::notify () from /usr/lib/libQtGui.so.4
#49 0xb7421fed in KApplication::notify (this=0xbfc32cbc, receiver=0x94575c8,
event=0xbfc32398) at
/build/buildd/kde4libs-4.2.0/kdeui/kernel/kapplication.cpp:307
#50 0xb710de61 in QCoreApplication::notifyInternal () from
/usr/lib/libQtCore.so.4
#51 0xb67b936e in QApplicationPrivate::sendMouseEvent () from
/usr/lib/libQtGui.so.4
#52 0xb6823656 in ?? () from /usr/lib/libQtGui.so.4
#53 0xb68229e5 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#54 0xb684c7aa in ?? () from /usr/lib/libQtGui.so.4
#55 0xb5c6e6f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#56 0xb5c71da3 in ?? () from /usr/lib/libglib-2.0.so.0
#57 0xb5c71f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#58 0xb7138478 in QEventDispatcherGlib::processEvents () from
/usr/lib/libQtCore.so.4
#59 0xb684bea5 in ?? () from /usr/lib/libQtGui.so.4
#60 0xb710c52a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#61 0xb710c6ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#62 0xb710eda5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#63 0xb67b1767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#64 0x0804edee in main (argc=1, argv=0xbfc331b4) at
/home/joris/tmp/kdevelop/app/main.cpp:203

I can consistently reproduce this by doing this :
- Open kdevelop
- KDevelop autoloads last project
- Close that project
- Open another project
- Open any CMakeLists.txt file from the newly opened project

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