Export to GitHub

qdevelop - issue #380

crash in ProjectManager::loadProject


Posted on Aug 15, 2010 by Swift Hippo

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

Comment #1

Posted on Aug 15, 2010 by Swift Hippo

Comment deleted

Comment #2

Posted on Aug 15, 2010 by Swift Hippo

Comment deleted

Comment #3

Posted on Aug 15, 2010 by Swift Hippo

Apparently the first crash caused a corruption in qdevelop.ini (attached), which had to be removed for qdevelop to launch without crashing.

Attachments

Comment #4

Posted on Aug 15, 2010 by Swift Hippo

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

Status: New

Labels:
Type-Defect Priority-Medium