tonkv / qdevelop

Automatically exported from code.google.com/p/qdevelop
0 stars 0 forks source link

Crash when opening .pro file #117

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I am using latest SVN version (about 30 mins old), on Debian linux 
(testing, amd64 architecture, Qt 4.2.2)
What steps will reproduce the problem?
1. Open trub.pro (see attachment for this file)
2. Segmentation fault

When I tried to open QDevelop.pro, it work fine. So the problem seems to 
be specific to my .pro file. I attached it to the bug report

I recompiled qdevelop with debug information and I saw this:

#0  0x000000000042539c in QListData::size (this=0x30) at /usr/include/qt4/
QtCore/qlist.h:66
#1  0x000000000044260f in QList<QTreeWidgetItem*>::count (this=0x30) at /
usr/include/qt4/QtCore/qlist.h:227
#2  0x000000000044262b in QTreeWidgetItem::childCount (this=0x0) at /usr/
include/qt4/QtGui/qtreewidget.h:156
#3  0x00000000004c8f72 in ProjectManager::loadProject (this=0x8d0810, 
s=@0x7fffeb803bb0, newProjectItem=0x0) at src/projectmanager.cpp:1477
#4  0x00000000004dc734 in ProjectManager (this=0x8d0810, 
parent=0x7fffeb805670, treeFiles=0x8660c0, treeClasses=0x8283d0, 
name=@0x7fffeb803cd0)
    at src/projectmanager.cpp:83
#5  0x000000000048913b in MainImpl::openProject (this=0x7fffeb805670, 
s=@0x7fffeb803e60) at src/mainimpl.cpp:1078
#6  0x0000000000489e67 in MainImpl::slotOpen (this=0x7fffeb805670) at src/
mainimpl.cpp:1035
#7  0x0000000000536417 in MainImpl::qt_metacall (this=0x7fffeb805670, 
_c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fffeb8044c0)
    at build/moc/moc_mainimpl.cpp:214

Seems like unhandled null pointer (newProjectItem) in 
ProjectManager::loadProject, line 1477

Original issue reported on code.google.com by singular...@gmail.com on 12 Mar 2007 at 5:20

Attachments:

GoogleCodeExporter commented 8 years ago
Working fine in revision 205 (not that I did anything, just loaded the file... 
who 
knows when it was fixed)

Original comment by cucoma...@gmail.com on 10 Sep 2007 at 7:23