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

List:       kdevelop-bugs
Subject:    [Bug 136436] KDevelop 3.4 svn - crash in
From:       Dario Vecchio <dariovecchio () tiscali ! it>
Date:       2006-10-29 9:21:06
Message-ID: 20061029092106.27003.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=136436         




------- Additional Comments From dariovecchio tiscali it  2006-10-29 10:21 -------
I reported the same problem in kdevelop-devel mailing list.
The problem seems to be the pointer "commentnode" not initialized.
After correcting the problem (initialize the pointer in the constructor)
I found another problem: in the top .pro file the SUBDIRS variable value
laks of spaces e.g. if you have myLib1 myLib2 src you get:

              SUBDIRS += myLib1myLib2src

and you have to manually edit .pro file.
Maybe the line:
            buffer += " ";
should be out of "if( commentnode )"

Follows the reported email

============================================================================

Hi all,

in the Subroject Configuration Dialog if you modify something that add 
a new variable
and than press Apply or OK -> crash.
Example: for theSharedLib: Basic -> Target -> Output file: write some 
target name and press OK:
- if the TARGET variable was already present in .pro file -> no 
problem
- if the TARGET variable was not already present in .pro file -> crash
Same behavior if you have CONFIG += ... but don't have CONFIG -= ... 
in your .pro file:
unchecking some Configuration -> Requirements should generate CONFIG -
= ...,  but crash.
The .pro file is then lost.

Possible solution:

the pointer

     // qmakeast.h, 178
     QMake::AST* commentnode;  

is not initialized in the constructor.

This can result in using invalid pointer at qmakeast.cpp, 127

Add:

    commentnode = NULL;

in the constructor of class AssignementAST

Dario

============================================================================


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

Configure | About | News | Add a list | Sponsored by KoreLogic