Bug#2288: marked as done (Including h-File into project)

Stephan Kulow owner at bugs.kde.org
Sun Dec 5 17:18:01 UTC 1999


Your message dated Sun, 5 Dec 1999 18:11:49 +0100
with message-id <99120518115800.08034 at albundy>
and subject line (no subject)
has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I'm
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Stephan Kulow
(administrator, KDE bugs database)

Received: (at submit) by bugs.kde.org; 12 Nov 1999 13:36:35 +0000
>From olly at ateP.ate.uni-duisburg.de Fri Nov 12 14:36:35 1999
Received: from ateP.ate.uni-duisburg.de ([134.91.66.124]:46342 "EHLO
        ateP.ate.uni-duisburg.de") by max.tat.physik.uni-tuebingen.de
	with ESMTP id <S742558AbPKLNgV>; Fri, 12 Nov 1999 14:36:21 +0100
Received: (from olly at localhost)
	by ateP.ate.uni-duisburg.de (8.9.3/8.9.3) id PAA31661;
	Fri, 12 Nov 1999 15:37:12 +0100
Date:   Fri, 12 Nov 1999 15:37:12 +0100
Message-Id: <199911121437.PAA31661 at ateP.ate.uni-duisburg.de>
FROM:   Oliver Pertz <Pertz at uni-duisburg.de>
TO:     submit at bugs.kde.org
SUBJECT: Including h-File into project
Return-Path: <olly at ateP.ate.uni-duisburg.de>
X-Orcpt: rfc822;submit at bugs.kde.org

Package: kdevelop
Version: 4.1-19991111-A
Severity: grave

Bugreport ID : 15:24,12.11.99

Originator	: Oliver Pertz
E-Mail		: Pertz at uni-duisburg.de

Subject : Including h-File into project

Error Class	: software bug
Error Location	: project management
Priority	: medium
Bug Description ---------------------------

The following header file ALWAYS causes kdevelop to hang when
scanning the project file. If it is included into the project the following
happens:
The file is displayed, the project is being scanned and at a certain
percent rate (dependent on the position of the file in the project) the 
progress bar stops and kdevelop hangs. kdevelop does not react to 
the x-Button on the window to close but closes on a SIGTERM then.
It uses full CPU when hanging but does not allocate any additional 
memory.

I am not sure, but I used the same h-File in kdevelop 1.0beta3 
without problems, but I still used my own Makefiles. Now it is a C++-
terminal application.

// Gnu header left out here
#ifndef MATHE_H
#define MATHE_H

#include <string>
#include "CMatrix.h"

namespace CMatOp {
        CMatrix *add (const CMatrix &, const CMatrix &) ;
        CMatrix *subtract (const CMatrix &, const CMatrix &) ;
        CMatrix *multiply (const CMatrix &, const CMatrix &) ;
        CMatrix power (const CMatrix &, int) ;
        CMatrix unity (int) ;
        CMatrix *copy (const CMatrix &) ;
        CMatrix transpose (const CMatrix &) ;
        CMatrix diag (complexbase, int) ;
        CMatrix diagVec (const CMatrix &) ;
        CMatrix subCMatrix (const CMatrix, int, int) ;
        CMatrix subCVector(const CMatrix, int) ;
        CMatrix solve (const CMatrix &, const CMatrix &) ;
        CMatrix *scalMul (const CMatrix &,complexbase) ;
        complexbase scalarProduct (const CMatrix &, const CMatrix &) ;
        CMatrix crossProduct (const CMatrix &, const CMatrix &) ;
        bool compare (const CMatrix &, const CMatrix &,doublebase) ;
}

doublebase powMinus1 (int) ;
complexbase CpowMinus1(int) ;
doublebase abs (complexbase) ;
doublebase carg (complexbase) ;
int sgn (doublebase) ;
bool existFile (string) ;
doublebase faculty (int)  ;

inline int pow2 (int exponent)
{
        int result = 1 ;
        for (int i = 1 ; i < exponent ; ++i, result *=2 ) ;
        return result ;
}

inline complexbase tanh (complexbase arg)
{
        return sinh (arg) / cosh (arg) ;
}

inline doublebase powMinus1 (int exponent)
{
        int expon = exponent % 2 ;
        return ((expon == 0)  ? 1.0 : -1.0 )  ;
}

#endif

 

How to repeat the error -------------------

Create a new C Terminal application and include this h-File into the 
project. (h-File is called Math.h)

Bugfix or Workaround ----------------------

No.

System Information ------------------------

KDevelop version	: 4.1-19991111-A
KDE version		: 1.1.2
QT version		: 1.44
OS/Distribution		: SuSE Linux 6.2 Kernel 2.2.13
Compiler		: gcc 2.95.1

misc :
Happens on 1.0beta4.1 as well




More information about the KDevelop-devel mailing list