Bug 131123

Summary: Choosing to close chat tab after adding to ignore list crashes Konversation
Product: [Applications] konversation Reporter: Leticia Hernández <aikurn>
Component: generalAssignee: Konversation Developers <konversation-devel>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Leticia Hernández 2006-07-20 17:56:09 UTC
Version:            (using KDE KDE 3.5.3)
Installed from:    Ubuntu Packages
OS:                Linux

To reproduce this crash: In a private chat window, right-click the user name and select Ignore. When Konversation asks if you would like to close the window, say Yes. At this point Konvi crashes. If you choose to keep the window open the behaviour is normal.

I'm sorry I can't provide a backtrace because the third or fourth time I choose to keep the window open and not to ask again.

I'm using the Kubuntu semi-official KDE 3.5.3 packages.
Comment 1 Andreas Kling 2006-07-24 17:01:26 UTC
SVN commit 565822 by kling:

Fixed dangling pointer dereference when doing an ignore-and-close in query window.

BUG: 131123


 M  +1 -1      server.cpp  


--- trunk/extragear/network/konversation/src/server.cpp #565821:565822
@@ -1932,7 +1932,7 @@
         // else select next query
         else lookQuery=queryList.next();
     }
-    delete query;
+    query->deleteLater();
 }
 
 void Server::sendJoinCommand(const QString& name, const QString& password)