Bug 167180 - konversation servertab close crash
Summary: konversation servertab close crash
Status: RESOLVED FIXED
Alias: None
Product: konversation
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Konversation Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-22 02:53 UTC by Bernd Buschinski
Modified: 2008-07-22 15:57 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Buschinski 2008-07-22 02:53:01 UTC
Version:           svn (using KDE 3.5.9)
Installed from:    Gentoo Packages
Compiler:          gcc-4.3.1 
OS:                Linux

konversation crashes when you close a servertab and your current view is set to a channel from this server

Example:
- join irc.freenode.org and #konversation
- change your view to #konversation(click on it in the treeview)
- right click servertab(freenode) -> close tab
- crash


[Thread debugging using libthread_db enabled]
[New Thread 0x7f2198207750 (LWP 21447)]
[KCrash handler]
#5  0x000000000044d695 in QValueListIterator<QString>::operator++ (
    this=0x7fffa0246db0) at /usr/qt/3/include/qvaluelist.h:121
#6  0x000000000044df6d in QValueListPrivate (this=0x7f2184813340, 
    _p=<value optimized out>) at /usr/qt/3/include/qvaluelist.h:272
#7  0x000000000044dfea in QValueList<QString>::detachInternal (this=0xd5abf0)
    at /usr/qt/3/include/qvaluelist.h:631
#8  0x00000000004652b5 in QValueList<QString>::begin (this=0x7fffa0246db0)
    at /usr/qt/3/include/qvaluelist.h:474
#9  0x00000000004b9c81 in Channel::getPassword (this=<value optimized out>)
    at channel.cpp:972
#10 0x00000000004bab22 in Channel::channelSettings (this=0xd5a7c0)
    at channel.cpp:985
#11 0x00000000004bac80 in Channel::autoJoin (this=<value optimized out>)
    at channel.cpp:907
#12 0x0000000000451e52 in ViewContainer::updateViewActions (this=0xa8c390, 
    index=13) at viewcontainer.cpp:469
#13 0x00000000004531c4 in ViewContainer::cleanupAfterClose (this=0xa8c390, 
    view=0xd5a7c0) at viewcontainer.cpp:1564
#14 0x0000000000456ce2 in ViewContainer::qt_invoke (this=0xa8c390, _id=24, 
    _o=0x7fffa02472b0) at viewcontainer.moc:590
#15 0x00007f2194884161 in QObject::activate_signal ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#16 0x000000000048ac1b in ChatWindow::closing (this=0xd5a7c0, t0=0xd5a7c0)
    at chatwindow.moc:204
#17 0x000000000048c47b in ~ChatWindow (this=0x7fffa0246dd0)
    at chatwindow.cpp:55
#18 0x00000000004bd4dc in ~Channel (this=0xd5a7c0) at channel.cpp:378
#19 0x00007f2194c15cce in QGList::clear () from /usr/qt/3/lib64/libqt-mt.so.3
#20 0x00000000004dae2d in ~Server (this=0xc6a400) at server.cpp:164
#21 0x00007f2194881aa1 in QObject::event () from /usr/qt/3/lib64/libqt-mt.so.3
#22 0x00007f2194809143 in QApplication::internalNotify ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#23 0x00007f219480b28e in QApplication::notify ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#24 0x00007f219611df5a in KApplication::notify ()
   from /usr/kde/3.5/lib64/libkdecore.so.4
#25 0x00007f219480a30a in QApplication::sendPostedEvents ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#26 0x00007f219480a48b in QApplication::sendPostedEvents ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#27 0x00007f219479fa09 in QEventLoop::processEvents ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#28 0x00007f2194828da9 in QEventLoop::enterLoop ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#29 0x00007f2194828baf in QEventLoop::exec ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#30 0x00007f219480af88 in QApplication::exec ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#31 0x00000000004e1e7f in main (argc=<value optimized out>, 
    argv=<value optimized out>) at main.cpp:105
Comment 1 Eike Hein 2008-07-22 15:57:45 UTC
SVN commit 836540 by hein:

Fix regressions from r833919:
* Crash on manual status panel close with open channels.
BUG:167180
* Window reset on last tab close.
Added bonus:
* Less unnecessary action updates after tab close.


 M  +1 -3      viewcontainer.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=836540