code-google-com / qdevelop

Automatically exported from code.google.com/p/qdevelop
GNU General Public License v2.0
1 stars 1 forks source link

crash in ProjectManager::loadProject #380

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. download xdbg from Google code
2. run qdevelop xdbg.pro
3. it segfaults:

rogram received signal SIGSEGV, Segmentation fault.
0x000000000051826a in size (this=0xcec2a0, s=<value optimized out>, 
newProjectItem=0x0) at /usr/include/QtCore/qlist.h:90
90      inline int size() const { return d->end - d->begin; }
(gdb) where
#0  0x000000000051826a in size (this=0xcec2a0, s=<value optimized out>, 
newProjectItem=0x0) at /usr/include/QtCore/qlist.h:90
#1  count (this=0xcec2a0, s=<value optimized out>, newProjectItem=0x0) at 
/usr/include/QtCore/qlist.h:261
#2  childCount (this=0xcec2a0, s=<value optimized out>, newProjectItem=0x0) at 
/usr/include/QtGui/qtreewidget.h:190
#3  ProjectManager::loadProject (this=0xcec2a0, s=<value optimized out>, 
newProjectItem=0x0) at src/projectmanager.cpp:1516
#4  0x000000000051d0d6 in ProjectManager::init (this=0xcec2a0, name=...) at 
src/projectmanager.cpp:87
#5  0x00000000004bab55 in MainImpl::openProject (this=0x7fffffffd220, s=...) at 
src/mainimpl.cpp:1149
#6  0x00000000004ab5bd in main (argc=2, argv=<value optimized out>) at 
src/main.cpp:131

Original issue reported on code.google.com by x...@bob.cat on 15 Aug 2010 at 9:18

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Apparently the first crash caused a corruption in qdevelop.ini (attached), 
which had to be removed for qdevelop to launch without crashing.

Original comment by x...@bob.cat on 15 Aug 2010 at 9:39

Attachments:

GoogleCodeExporter commented 9 years ago
This crashs seems to be caused by the nested !exists statements:
{{{
        MARIADB_PATH=C:\Program Files\MariaDB 5.1.49
        !exists($$MARIADB_PATH\include\mysql.h) {
                MARIADB_PATH=C:\Program Files (x86)\MariaDB 5.1.49
                !exists($$MARIADB_PATH\include\mysql.h) {
                        error(Please install MariaDB 5.1.49 with developer components
                }
        }
}}}

Original comment by x...@bob.cat on 15 Aug 2010 at 9:45