Bug 78195

Summary: Konsole crashes when closing it after playing with transparency
Product: [Applications] konsole Reporter: Florian Evers <florian-evers>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: crash CC: simone
Priority: NOR    
Version: 1.3.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Florian Evers 2004-03-22 11:02:47 UTC
Version:           1.3.1 (using KDE KDE 3.2.1)
Installed from:    SuSE RPMs
OS:          Linux

Hi,

Konsole crashed reproducable here, when doing the following steps:

1. Start a Konsole
2. Activate Transparency:
   Settings->Colors->Transparency
3. Switch back to previous settings:
   Settings->Colors->Linux-Colors
4. Close Konsole (by clicking "X" in titlebar _or_ Session->Close _or_ Session->Exit)

Konsole crashes in 100% of all cases here.

Konsole output:
---------------
florian@powerstation:~> konsole
KCrash: Application 'konsole' crashing...

Crashmanager output:
--------------------
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...[New Thread 16384 (LWP 2955)]

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...0x412efcf7 in waitpid ()
   from /lib/libpthread.so.0
#0  0x412efcf7 in waitpid () from /lib/libpthread.so.0
#1  0x4089dcd9 in KCrash::defaultCrashHandler(int) ()
   from /opt/kde3/lib/libkdecore.so.4
#2  0x412ee895 in __pthread_sighandler () from /lib/libpthread.so.0
#3  <signal handler called>
#4  0x40f533c9 in QGList::findRef(void*, bool) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#5  0x40f53004 in QGList::removeRef(void*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#6  0x40884f07 in KWinModule::~KWinModule() ()
   from /opt/kde3/lib/libkdecore.so.4
#7  0x4004f22f in Konsole::~Konsole() ()
   from /opt/kde3/lib/libkdeinit_konsole.so
#8  0x40c93d8c in QObject::event(QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#9  0x40ccd0cf in QWidget::event(QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#10 0x40d8d422 in QMainWindow::event(QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#11 0x40c382af in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#12 0x40c37560 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#13 0x40818574 in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kde3/lib/libkdecore.so.4
#14 0x40c39164 in QApplication::sendPostedEvents(QObject*, int) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#15 0x40c4a7a8 in QEventLoop::enterLoop() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#16 0x40c4a656 in QEventLoop::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#17 0x40c384cf in QApplication::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0x4004c31d in kdemain () from /opt/kde3/lib/libkdeinit_konsole.so
#19 0x0804865b in main ()
#20 0x414558ae in __libc_start_main () from /lib/libc.so.6


Versions:
---------
florian@powerstation:~> konsole --version
Qt: 3.3.1
KDE: 3.2.1
Konsole: 1.3.1
florian@powerstation:~> rpm -qif `which konsole`
Name        : kdebase3                     Relocations: (not relocateable)
Version     : 3.2.1                             Vendor: SuSE Linux AG, Nuernberg, Germany
Release     : 10                            Build Date: Mon 08 Mär 2004 18:42:32 CET
Install date: Die 09 Mär 2004 20:48:57 CET      Build Host: dale.suse.de
Group       : System/GUI/KDE                Source RPM: kdebase3-3.2.1-10.src.rpm
Size        : 50285791                         License: GPL
Packager    : http://www.suse.de/feedback
URL         : http://www.kde.org/
Summary     : The KDE core components
Description :
This package contains kdebase, one of the basic packages of the K
Desktop Environment. It contains among others kwin (the KDE window
manager), konqueror (the KDE web browser), and KControl (the
configuration program)

This package is needed if you want to use the KDE Desktop. It is not
needed if you only want to start some KDE applications.



Authors:
--------
    The KDE Team <kde@kde.org>
Distribution: SuSE Linux 8.2 (i386)
florian@powerstation:~>



Greetings,

Florian Evers
Comment 1 Waldo Bastian 2004-03-22 12:17:22 UTC
CVS commit by waba: 

Don't crash. (BR78195)
CCMAIL:78195-done@bugs.kde.org


  M +3 -1      kwinmodule.cpp   1.62.2.1


--- kdelibs/kdecore/kwinmodule.cpp  #1.62:1.62.2.1
@@ -126,4 +126,6 @@ void KWinModule::init(int what)
         static_d = new KWinModulePrivate(what);
         static_d->modules = modules;
+        for ( QPtrListIterator<KWinModule> mit( modules ); mit.current(); ++mit )
+            (*mit)->d = static_d;
     }
     


Comment 2 Lubos Lunak 2004-05-08 17:23:04 UTC
*** Bug 81114 has been marked as a duplicate of this bug. ***