Bug#2261: kdevelop --setup crashes with segmentation fault

Ralf Palsa rpalsa at eso.org
Tue Nov 9 09:40:20 UTC 1999


Package: kdevelop
Version: 1.0beta4.1
Severity: critical

Bugreport ID : 10:16,09.11.99

Originator	: Ralf Palsa
E-Mail		: rpalsa at eso.org

Subject : kdevelop --setup  crashes with segmentation fault

Error Class	: software bug
Error Location	: installation process
Priority	: medium
Bug Description ---------------------------

Having the startup logo disabled kdevelop crashes with a segmentation fault if
it is started with the '--setup' option. The reason is that in this case the
startup logo is closed without being created before (cf. main.cpp).

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

Disable the startup logo and run kdevelop --setup.

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

Note that I renamed main.cpp before I produced the following diff.

diff -r -u kdevelop-1.0beta4.1/kdevelop/main.cpp kdevelop-1.0beta4.1/kdevelop/main.cpp.org
--- kdevelop-1.0beta4.1/kdevelop/main.cpp          Tue Nov  9 10:14:01 1999
+++ kdevelop-1.0beta4.1/kdevelop/main.cpp.org      Thu Aug  5 23:42:32 1999
@@ -46,11 +46,7 @@
   else{
     if(bInstall){
       CKDevInstall* install=new CKDevInstall(0,"install");
-      if (bStartLogo) {
-       start_logo->close();
-       delete start_logo;
-       bStartLogo = false;
-      }
+      start_logo->close();
       install->show();
       delete install;
     }

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

KDevelop version	: 1.0beta4.1
KDE version		: 1.1.2
QT version		: 1.44
OS/Distribution		: SunOS 5.6
Compiler		: gcc 2.95.1

misc :





More information about the KDevelop-devel mailing list