From kde-bugs-dist Mon Aug 30 20:33:00 1999 From: owner () max ! tat ! physik ! uni-tuebingen ! de (Stephan Kulow) Date: Mon, 30 Aug 1999 20:33:00 +0000 To: kde-bugs-dist Subject: Bug#1843: marked as done (crash on selecting Tools [22:56,29.08.99]) X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=93604466627905 Your message dated Mon, 30 Aug 1999 22:25:17 +0200 with message-id <99083022254306.00696@ati13> 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; 29 Aug 1999 21:00:21 +0000 From fba@ginko.marunet.de Sun Aug 29 23:00:21 1999 Received: from post.webmailer.de ([192.67.198.37]:48782 "EHLO post.webmailer.de") by max.tat.physik.uni-tuebingen.de with ESMTP id ; Sun, 29 Aug 1999 23:00:03 +0200 Received: from ginko.marunet.de (ppp-88.tnt02.ffm.nikoma.de [212.122.146.88]) by post.webmailer.de (8.9.3/8.8.7) with ESMTP id XAA25622 for ; Sun, 29 Aug 1999 23:00:00 +0200 (MET DST) Received: (from fba@localhost) by ginko.marunet.de (8.9.3/8.9.3) id XAA02925 for submit@bugs.kde.org; Sun, 29 Aug 1999 23:03:20 +0200 Date: Sun, 29 Aug 1999 23:03:20 +0200 From: Frank Message-Id: <199908292103.XAA02925@ginko.marunet.de> To: submit@bugs.kde.org Subject: crash on selecting Tools [22:56,29.08.99] Return-Path: X-Orcpt: rfc822;submit@bugs.kde.org Package: kdevelop Version: 1.0beta2 Severity: grave Bugreport ID : 22:56,29.08.99 Originator : Frank Bauer E-Mail : frank.bauer@nikocity.de Subject : crash on selecting Tools Error Class : software bug Error Location: I donīt know Priority : medium Bug Description --------------------------- When choosing a tool from the Tool-menu and _not_ having a project open, kdevelop crashes imediately. Well, it is not such an important thing though, but IMHO it should be possible to use the tools even without a project. Or, at least, it shouldnīt crash. How to repeat the error ------------------- start kdevelop and choose any tool from the menu Bugfix or Workaround ---------------------- well, not really a fix, but a workaround. If there would be a test of "argument" in CKDevelop::slotToolsTool(int tool), the crash could be avoided at least: void CKDevelop::slotToolsTool(int tool){ /* switch(tool){ case ID_TOOLS_KDLGEDIT: return; break; case ID_KDLG_TOOLS_KDEVELOP: return; break; }*/ if(!CToolClass::searchProgram(tools_exe.at(tool)) ){ return; } if(!bKDevelop) switchToKDevelop(); showOutputView(false); //********** //290899 FB: Error message QGList::locate: Index xx out of range // QStrList seems still empty. Not using "argument" prevents us from // crashing at least QString argument=tools_argument.at(tool); if (!argument) { return; } //********** // This allows us to replace the macro %H with the header file name, %S with the source file name // and %D with the project directory name. Any others we should have? argument.replace( QRegExp("%H"), header_widget->getName() ); argument.replace( QRegExp("%S"), cpp_widget->getName() ); argument.replace( QRegExp("%D"), prj->getProjectDir() ); System Information ------------------------ KDevelop version : 1.0beta2 KDE version : 1.1 QT version : 1.44 ? OS/Distribution : Linux 2.2.9 (based on SuSE 6.1) Compiler : egcs-2.91.66