Bug 181416 - kopete crash on cancel / stop filetransfer
Summary: kopete crash on cancel / stop filetransfer
Status: RESOLVED WORKSFORME
Alias: None
Product: kopete
Classification: Applications
Component: Jabber Plugin (show other bugs)
Version: 0.60.82
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
: 183912 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-01-20 18:22 UTC by Florian Reinhard
Modified: 2021-01-02 04:34 UTC (History)
4 users (show)

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 Florian Reinhard 2009-01-20 18:22:54 UTC
Version:           0.60.82 (using Devel)
OS:                Linux
Installed from:    Compiled sources

plugins: 
* KopeteTeX
* statistics
* history
* otr (quit the otr session since file transfer doesn't work with otr)

howto reproduce:
1) send a file to a jabber-contact
2) you get a progress window in systray, this one contains a stop-button, hit it

don't know if it matters whether the jabber-contact accepted the filetransfer or not

backtrace:
Anwendung: Kopete (kopete), Signal SIGSEGV
[Current thread is 0 (LWP 11246)]

Thread 3 (Thread 0xb2454b90 (LWP 11335)):
#0  0xb5d5d54a in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0xb6ea30ab in ?? () from /usr/lib/libQtCore.so.4
#2  0xb6ea3281 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb6ea4e3c in ?? () from /usr/lib/libQtCore.so.4
#4  0xb6ea165a in ?? () from /usr/lib/libQtCore.so.4
#5  0xb5cde602 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#6  0xb5cdea8a in ?? () from /usr/lib/libglib-2.0.so.0
#7  0xb5cdef61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#8  0xb6ea1497 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#9  0xb6e7552a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#10 0xb6e756ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#11 0xb2f01e59 in QCA::SyncThread::run () from /usr/lib/libqca.so.2
#12 0xb6d866ae in ?? () from /usr/lib/libQtCore.so.4
#13 0xb5e7550f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0xb623e7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb2c55b90 (LWP 11336)):
#0  0xb806b430 in __kernel_vsyscall ()
#1  0xb5e79075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb624c9ed in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libc.so.6
#3  0xb6d876f2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb7636532 in ?? () from /usr/lib/libQtNetwork.so.4
#5  0xb6d866ae in ?? () from /usr/lib/libQtCore.so.4
#6  0xb5e7550f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb623e7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb58196c0 (LWP 11246)):
[KCrash Handler]
#6  0xb70a205c in KJob::setError (this=0xaffb950, errorCode=123) at /build/buildd/kde4libs-4.1.96/kdecore/jobs/kjob.cpp:234
#7  0xb7dbe121 in Kopete::Transfer::slotError (this=0xaffb950, error=123, errorText=@0xbfa6ac94) at /build/buildd/kdenetwork-4.1.96/kopete/libkopete/kopetetransfermanager.cpp:257
#8  0xb30812d1 in JabberFileTransfer::slotTransferError (this=0xaffbbe8, errorCode=2) at /build/buildd/kdenetwork-4.1.96/kopete/protocols/jabber/jabberfiletransfer.cpp:282
#9  0xb308508c in JabberFileTransfer::qt_metacall (this=0xaffbbe8, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfa6addc)
    at /build/buildd/kdenetwork-4.1.96/obj-i486-linux-gnu/kopete/protocols/jabber/jabberfiletransfer.moc:80
#10 0xb6e8ba60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#11 0xb6e8c7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#12 0xb2dce803 in XMPP::FileTransfer::error (this=0xb0fea38, _t1=2) at /build/buildd/kdenetwork-4.1.96/obj-i486-linux-gnu/kopete/protocols/jabber/libiris/moc_filetransfer.cpp:131
#13 0xb2de4ce8 in XMPP::FileTransfer::s5b_error (this=0xb0fea38, x=1) at /build/buildd/kdenetwork-4.1.96/kopete/protocols/jabber/libiris/iris/jabber/filetransfer.cpp:326
#14 0xb2dd2957 in XMPP::FileTransfer::qt_metacall (this=0xb0fea38, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0xbfa6aefc)
    at /build/buildd/kdenetwork-4.1.96/obj-i486-linux-gnu/kopete/protocols/jabber/libiris/moc_filetransfer.cpp:93
#15 0xb6e8ba60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0xb6e8c7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#17 0xb2dce9b3 in ByteStream::error (this=0xb0fd6f0, _t1=1) at /build/buildd/kdenetwork-4.1.96/obj-i486-linux-gnu/kopete/protocols/jabber/libiris/moc_bytestream.cpp:111
#18 0xb2df8260 in XMPP::S5BConnection::man_failed (this=0xb0fd6f0, x=1) at /build/buildd/kdenetwork-4.1.96/kopete/protocols/jabber/libiris/iris/jabber/s5b.cpp:453
#19 0xb2df82bf in XMPP::S5BManager::item_error (this=0x9cbf178, x=1) at /build/buildd/kdenetwork-4.1.96/kopete/protocols/jabber/libiris/iris/jabber/s5b.cpp:1000
#20 0xb2dd21c4 in XMPP::S5BManager::qt_metacall (this=0x9cbf178, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfa6b03c)
    at /build/buildd/kdenetwork-4.1.96/obj-i486-linux-gnu/kopete/protocols/jabber/libiris/moc_s5b.cpp:241
#21 0xb6e8ba60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#22 0xb6e8c7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#23 0xb2df0773 in XMPP::S5BManager::Item::error (this=0xb0b8bb0, _t1=1) at /build/buildd/kdenetwork-4.1.96/obj-i486-linux-gnu/kopete/protocols/jabber/libiris/s5b.moc:138
#24 0xb2df07ca in XMPP::S5BManager::Item::checkFailure (this=0xb0b8bb0) at /build/buildd/kdenetwork-4.1.96/kopete/protocols/jabber/libiris/iris/jabber/s5b.cpp:1728
#25 0xb2dfc1d3 in XMPP::S5BManager::Item::jt_finished (this=0xb0b8bb0) at /build/buildd/kdenetwork-4.1.96/kopete/protocols/jabber/libiris/iris/jabber/s5b.cpp:1423
#26 0xb2dfc7db in XMPP::S5BManager::Item::qt_metacall (this=0xb0b8bb0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfa6b198)
    at /build/buildd/kdenetwork-4.1.96/obj-i486-linux-gnu/kopete/protocols/jabber/libiris/s5b.moc:90
#27 0xb6e8ba60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#28 0xb6e8c7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#29 0xb2dce967 in XMPP::Task::finished (this=0xaf088b8) at /build/buildd/kdenetwork-4.1.96/obj-i486-linux-gnu/kopete/protocols/jabber/libiris/moc_xmpp_task.cpp:82
#30 0xb2e95bd3 in XMPP::Task::done (this=0xaf088b8) at /build/buildd/kdenetwork-4.1.96/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_task.cpp:217
#31 0xb2e966a1 in XMPP::Task::setError (this=0xaf088b8, e=@0xbfa6b4e4) at /build/buildd/kdenetwork-4.1.96/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_task.cpp:193
#32 0xb2dfa29a in XMPP::JT_S5B::take (this=0xaf088b8, x=@0xbfa6b4e4) at /build/buildd/kdenetwork-4.1.96/kopete/protocols/jabber/libiris/iris/jabber/s5b.cpp:2327
#33 0xb2e95ddc in XMPP::Task::take (this=0x99ad920, x=@0xbfa6b4e4) at /build/buildd/kdenetwork-4.1.96/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_task.cpp:140
#34 0xb2e4810a in XMPP::Client::distribute (this=0x9cd1a90, x=@0xbfa6b4e4) at /build/buildd/kdenetwork-4.1.96/kopete/protocols/jabber/libiris/iris/xmpp-im/client.cpp:580
#35 0xb2e48a17 in XMPP::Client::streamReadyRead (this=0x9cd1a90) at /build/buildd/kdenetwork-4.1.96/kopete/protocols/jabber/libiris/iris/xmpp-im/client.cpp:527
#36 0xb2dd260e in XMPP::Client::qt_metacall (this=0x9cd1a90, _c=QMetaObject::InvokeMetaMethod, _id=20, _a=0xbfa6b5a8)
    at /build/buildd/kdenetwork-4.1.96/obj-i486-linux-gnu/kopete/protocols/jabber/libiris/moc_xmpp_client.cpp:137
#37 0xb6e8ba60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#38 0xb6e8c7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#39 0xb2dcd317 in XMPP::Stream::readyRead (this=0x9cff380) at /build/buildd/kdenetwork-4.1.96/obj-i486-linux-gnu/kopete/protocols/jabber/libiris/moc_xmpp_stream.cpp:97
#40 0xb2e2e58d in XMPP::ClientStream::doReadyRead (this=0x9cff380) at /build/buildd/kdenetwork-4.1.96/kopete/protocols/jabber/libiris/iris/xmpp-core/stream.cpp:900
#41 0xb2dd1926 in XMPP::ClientStream::qt_metacall (this=0x9cff380, _c=QMetaObject::InvokeMetaMethod, _id=25, _a=0xbfa6b6a8)
    at /build/buildd/kdenetwork-4.1.96/obj-i486-linux-gnu/kopete/protocols/jabber/libiris/moc_xmpp_clientstream.cpp:132
#42 0xb6e8ba60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#43 0xb6e8c7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#44 0xb6e91db7 in ?? () from /usr/lib/libQtCore.so.4
#45 0xb6e91edc in ?? () from /usr/lib/libQtCore.so.4
#46 0xb6e8653f in QObject::event () from /usr/lib/libQtCore.so.4
#47 0xb651a8ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#48 0xb652272e in QApplication::notify () from /usr/lib/libQtGui.so.4
#49 0xb73ca04d in KApplication::notify (this=0xbfa6bdcc, receiver=0xb0ffd78, event=0xbfa6bb3c) at /build/buildd/kde4libs-4.1.96/kdeui/kernel/kapplication.cpp:307
#50 0xb6e76e61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#51 0xb6ea4d81 in ?? () from /usr/lib/libQtCore.so.4
#52 0xb6ea1520 in ?? () from /usr/lib/libQtCore.so.4
#53 0xb5cdb6f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#54 0xb5cdeda3 in ?? () from /usr/lib/libglib-2.0.so.0
#55 0xb5cdef61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#56 0xb6ea1478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#57 0xb65b4ea5 in ?? () from /usr/lib/libQtGui.so.4
#58 0xb6e7552a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#59 0xb6e756ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#60 0xb6e77da5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#61 0xb651a767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#62 0x0808b93f in main (argc=3, argv=0xbfa6c1b4) at /build/buildd/kdenetwork-4.1.96/kopete/kopete/main.cpp:102
Comment 1 manolis 2009-02-19 09:39:36 UTC
I have the same thing with a transfer of a pdf with MSN live

Application: Kopete (kopete), signal SIGSEGV
0x00007fc72fed7dc1 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 21139)]

Thread 2 (Thread 0x7fc7202ae950 (LWP 21241)):
#0  0x00007fc73175fdb9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fc7319d16a3 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fc732d71464 in ?? () from /usr/lib64/qt4/libQtNetwork.so.4
#3  0x00007fc7319d0632 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007fc73175c007 in start_thread () from /lib/libpthread.so.0
#5  0x00007fc72ff0838d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc7356f3750 (LWP 21139)):
[KCrash Handler]
#5  0x00007fc731afdeaf in QObject::startTimer () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007fc734559c18 in Kopete::Transfer::slotProcessed (this=0x3340af0, bytes=415892)
    at /home/public/portage/tmp/portage/kde-base/kopete-4.2.0/work/kopete-4.2.0/kopete/libkopete/kopetetransfermanager.cpp:213
#7  0x00007fc720e1761e in WlmTransferManager::gotFileTransferProgress (this=0x1646370, conn=<value optimized out>, sessionID=@0x7fff3d845e14, transferred=@0x7fff3d845e08)
    at /home/public/portage/tmp/portage/kde-base/kopete-4.2.0/work/kopete-4.2.0/kopete/protocols/wlm/wlmtransfermanager.cpp:174
#8  0x00007fc720e195d7 in WlmTransferManager::qt_metacall (this=0x1646370, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3d845dd0)
    at /home/public/portage/tmp/portage/kde-base/kopete-4.2.0/work/kopete_build/kopete/protocols/wlm/wlmtransfermanager.moc:88
#9  0x00007fc731b073f4 in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4
#10 0x00007fc720e0481c in Callbacks::gotFileTransferProgress (this=0x3340af0, _t1=0x1a686e0, _t2=<value optimized out>, _t3=<value optimized out>)
    at /home/public/portage/tmp/portage/kde-base/kopete-4.2.0/work/kopete_build/kopete/protocols/wlm/wlmlibmsn.moc:291
#11 0x00007fc720e0485c in Callbacks::fileTransferProgress (this=0x3340af0, conn=0x3e8, sessionID=8517235, transferred=415892, total=72335920)
    at /home/public/portage/tmp/portage/kde-base/kopete-4.2.0/work/kopete-4.2.0/kopete/protocols/wlm/wlmlibmsn.cpp:587
#12 0x00007fc720bae97c in MSN::P2P::receiveP2PData (this=0x1a68750, conn=@0x1a686e0, packet=@0x7fff3d846360)
    at /home/public/portage/tmp/portage/net-libs/libmsn-4.0_beta4/work/libmsn-4.0-beta4/msn/p2p.cpp:314
#13 0x00007fc720baf32a in MSN::P2P::handleP2Pmessage (this=0x1a68750, conn=@0x1a686e0, args=@0x7fff3d8468b0, mime=<value optimized out>, body=<value optimized out>)
    at /home/public/portage/tmp/portage/net-libs/libmsn-4.0_beta4/work/libmsn-4.0-beta4/msn/p2p.cpp:145
#14 0x00007fc720b53827 in MSN::SwitchboardServerConnection::message_p2p (this=0x1a686e0, args=@0x7fff3d8468b0, mime=
        {static npos = 18446744073709551615, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7fff3d8465d0 "\210\nS\004"}}, 
    body=<value optimized out>) at /home/public/portage/tmp/portage/net-libs/libmsn-4.0_beta4/work/libmsn-4.0-beta4/msn/switchboardserver.cpp:209
#15 0x00007fc720b5a9a4 in MSN::SwitchboardServerConnection::handle_MSG (this=0x1a686e0, args=@0x7fff3d8468b0)
    at /home/public/portage/tmp/portage/net-libs/libmsn-4.0_beta4/work/libmsn-4.0-beta4/msn/switchboardserver.cpp:376
#16 0x00007fc720b559f2 in MSN::SwitchboardServerConnection::dispatchCommand (this=0x1a686e0, args=@0x7fff3d8468b0)
    at /home/public/portage/tmp/portage/net-libs/libmsn-4.0_beta4/work/libmsn-4.0-beta4/msn/switchboardserver.cpp:237
#17 0x00007fc720b5501b in MSN::SwitchboardServerConnection::handleIncomingData (this=0x1a686e0)
    at /home/public/portage/tmp/portage/net-libs/libmsn-4.0_beta4/work/libmsn-4.0-beta4/msn/switchboardserver.cpp:646
#18 0x00007fc720b50c38 in MSN::Connection::dataArrivedOnSocket (this=0x1a686e0) at /home/public/portage/tmp/portage/net-libs/libmsn-4.0_beta4/work/libmsn-4.0-beta4/msn/connection.cpp:225
#19 0x00007fc720e080ed in WlmSocket::qt_metacall (this=0x1280560, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=<value optimized out>)
    at /home/public/portage/tmp/portage/kde-base/kopete-4.2.0/work/kopete_build/kopete/protocols/wlm/wlmsocket.moc:69
#20 0x00007fc731b073f4 in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4
#21 0x00007fc732da9522 in QSslSocket::qt_metacall () from /usr/lib64/qt4/libQtNetwork.so.4
#22 0x00007fc720e080bd in WlmSocket::qt_metacall (this=0x3340af0, _c=1000, _id=53742320, _a=0x44ee250)
    at /home/public/portage/tmp/portage/kde-base/kopete-4.2.0/work/kopete_build/kopete/protocols/wlm/wlmsocket.moc:64
#23 0x00007fc731b073f4 in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4
#24 0x00007fc732d8eb07 in ?? () from /usr/lib64/qt4/libQtNetwork.so.4
#25 0x00007fc732d7cec1 in ?? () from /usr/lib64/qt4/libQtNetwork.so.4
#26 0x00007fc730abd47d in QApplicationPrivate::notify_helper () from /usr/lib64/qt4/libQtGui.so.4
#27 0x00007fc730abeafa in QApplication::notify () from /usr/lib64/qt4/libQtGui.so.4
#28 0x00007fc7326bbc9b in KApplication::notify (this=0x7fff3d849350, receiver=0x34facc0, event=0x7fff3d849040)
    at /home/public/portage/tmp/portage/kde-base/kdelibs-4.2.0/work/kdelibs-4.2.0/kdeui/kernel/kapplication.cpp:307
#29 0x00007fc731aee33e in QCoreApplication::notifyInternal () from /usr/lib64/qt4/libQtCore.so.4
#30 0x00007fc731b1d169 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#31 0x00007fc72bf41d14 in ?? () from /usr/lib/libglib-2.0.so.0
#32 0x00007fc72bf43a95 in ?? () from /usr/lib/libglib-2.0.so.0
#33 0x00007fc72bf43c6b in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#34 0x00007fc731b1ceff in QEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#35 0x00007fc730b61f5f in ?? () from /usr/lib64/qt4/libQtGui.so.4
#36 0x00007fc731aecf82 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#37 0x00007fc731aed41d in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#38 0x00007fc731af2b4d in QCoreApplication::exec () from /usr/lib64/qt4/libQtCore.so.4
#39 0x00000000004483ac in main (argc=3, argv=0x7fff3d84a108) at /home/public/portage/tmp/portage/kde-base/kopete-4.2.0/work/kopete-4.2.0/kopete/kopete/main.cpp:102
Comment 2 Dario Andres 2009-05-23 17:50:41 UTC
The last backtrace seems a bit different. 
Is this still happening with current versions ? Thanks
Comment 3 Dario Andres 2009-09-28 01:31:30 UTC
*** Bug 183912 has been marked as a duplicate of this bug. ***
Comment 4 Justin Zobel 2020-12-03 22:00:13 UTC
Thank you for the report, Florian.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 5 Bug Janitor Service 2020-12-18 04:34:46 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2021-01-02 04:34:20 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!