Bug 159847 - konversation crashes while closing if it has an active dcc receive
Summary: konversation crashes while closing if it has an active dcc receive
Status: RESOLVED FIXED
Alias: None
Product: konversation
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-25 20:01 UTC by Bernd Buschinski
Modified: 2008-03-26 18:52 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-03-25 20:01:13 UTC
Version:           svn-r788113 (using KDE 3.5.9)
Installed from:    Gentoo Packages
Compiler:          gcc-4.2.2 
OS:                Linux

If konversation is receiving something via dcc
and you are closing it, it will crash

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0x2b2bf7879350 (LWP 5918)]
[KCrash handler]
#5  0x00002b2bf270962e in QGList::first () from /usr/qt/3/lib64/libqt-mt.so.3
#6  0x00002b2bf251e027 in QPtrList<QTab>::first ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#7  0x00002b2bf2518d4c in QTabBar::indexOf ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#8  0x00002b2bf2520416 in QTabWidget::currentPageIndex ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#9  0x00002b2bf252069b in QTabWidget::currentPage ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#10 0x0000000000503292 in ViewContainer::updateFrontView (this=0xa14f60)
    at viewcontainer.cpp:637
#11 0x000000000050351f in ViewContainer::appendToFrontmost (this=0xa14f60,
    type=@0x7fffbb940ef0, message=@0x7fffbb940ec0, serverView=0xb8e940,
    parseURL=true) at viewcontainer.cpp:1751
#12 0x00000000004b2c72 in Server::dccGetDone (this=0xb94b10,
    item=<value optimized out>) at server.cpp:1997
#13 0x00000000004b801d in Server::qt_invoke (this=0xb94b10, _id=69,
    _o=0x7fffbb9411d0) at server.moc:892
#14 0x00002b2bf23a91dd in QObject::activate_signal ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#15 0x0000000000509fc7 in DccTransfer::done (this=0x16cdbc0, t0=0x16cdbc0)
    at dcctransfer.moc:133
#16 0x00000000004d0a00 in DccTransferRecv::slotSocketClosed (this=0x16cdbc0)
    at dcctransferrecv.cpp:666
#17 0x00000000004d1e0d in DccTransferRecv::qt_invoke (this=0x16cdbc0, _id=21,
    _o=0x7fffbb941390) at dcctransferrecv.moc:156
#18 0x00002b2bf23a90b4 in QObject::activate_signal ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#19 0x00002b2bf23a9fd9 in QObject::activate_signal ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#20 0x00002b2bf0dc35ab in KNetwork::KClientSocketBase::close ()
   from /usr/kde/3.5/lib64/libkdecore.so.4
#21 0x00000000004d0866 in DccTransferRecv::cleanUp (this=0x16cdbc0)
    at dcctransferrecv.cpp:101
#22 0x00000000004d2212 in ~DccTransferRecv (this=0x0)
    at dcctransferrecv.cpp:75
#23 0x000000000050cb19 in ~DccTransferManager (this=0x815ce0)
    at dcctransfermanager.cpp:39
#24 0x00002b2bf23ab4f3 in QObject::~QObject ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#25 0x00002b2bf23398a2 in QApplication::~QApplication ()
   from /usr/qt/3/lib64/libqt-mt.so.3
#26 0x00000000004be3de in main (argc=<value optimized out>,
    argv=0x7fffbb941b68) at main.cpp:113
Comment 1 Eike Hein 2008-03-26 18:52:32 UTC
SVN commit 790375 by hein:

Don't crash when quitting during an ongoing DCC file transfer.
BUG:159847


 M  +1 -1      dcctransfer.cpp  
 M  +1 -1      dcctransfer.h  
 M  +4 -16     dcctransfermanager.cpp  
 M  +2 -2      dcctransferrecv.cpp  
 M  +1 -1      dcctransferrecv.h  
 M  +2 -2      dcctransfersend.cpp  
 M  +1 -1      dcctransfersend.h  
 M  +1 -1      konversationmainwindow.cpp  
 M  +29 -11    viewcontainer.cpp  
 M  +1 -1      viewcontainer.h  


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