[Konsole-devel] [Bug 49153] deattach/attach session -> key input is doubled

Simon Hausmann hausmann at kde.org
Sun Oct 20 16:13:58 UTC 2002


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=49153     




------- Additional Comments From hausmann at kde.org  2002-10-20 18:13 -------
While debugging (it looks indeed like a Qt bug) I noticed that when attaching the KonsoleChild     
destructor deletes the TEWidget object before emitting the doneChild signal. the signal emission   
leads to attachSession and somewhen it ends up in TEmulation::changeGUI . At this point the gui  
member variable is a dangling pointer because the TEWidget is already dead. See attached patch for  
a fix for the invalid reads caused by that. (nope, that doesn't fix this bug, it's just a side-effect :)



More information about the konsole-devel mailing list