Bug 268690

Summary: Ktorrent shortly after launch, stops. After restarting Ktorrent quits collapse.
Product: [Applications] ktorrent Reporter: Viktor Matveenko <viktor.matveenko>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Viktor Matveenko 2011-03-16 22:13:00 UTC
Application: ktorrent (4.0.1)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.36.2-desktop-2mnb x86_64
Distribution: "Mandriva Linux 2010.2"

-- Information about the crash:
Ktorrent shortly after launch, stops. After restarting Ktorrent quits collapse.

The crash can be reproduced every time.

 -- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f7b19d41720 (LWP 6874))]

Thread 6 (Thread 0x7f7b0abbf710 (LWP 6876)):
[KCrash Handler]
#5  0x00007f7b1606a9d0 in _wordcopy_fwd_aligned () from /lib64/libc.so.6
#6  0x00007f7b160690a2 in memmove () from /lib64/libc.so.6
#7  0x00007f7b17a2c68d in QListData::remove(int) () from /usr/lib64/libQtCore.so.4
#8  0x00007f7b17b2befa in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f7b17afcd22 in QBasicTimer::stop() () from /usr/lib64/libQtCore.so.4
#10 0x00007f7b17afcd51 in QBasicTimer::start(int, QObject*) () from /usr/lib64/libQtCore.so.4
#11 0x00007f7b19905ee8 in utp::Connection::handleTimeout() () from /usr/lib64/libktorrent.so.1
#12 0x00007f7b17b0e043 in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#13 0x00007f7b16ca70cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#14 0x00007f7b16cad6bb in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#15 0x0000000000437d7a in _start ()

Thread 5 (Thread 0x7f7b0a3be710 (LWP 6877)):
#0  0x00007f7b160becf3 in select () from /lib64/libc.so.6
#1  0x00007f7b198cb812 in ?? () from /usr/lib64/libktorrent.so.1
#2  0x00007f7b17a0eb45 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f7b17785a5d in start_thread () from /lib64/libpthread.so.0
#4  0x00007f7b160c615d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f7b04df0710 (LWP 6915)):
#0  0x00007f7b160bc533 in poll () from /lib64/libc.so.6
#1  0x00007f7b1987008c in net::Poll::poll(int) () from /usr/lib64/libktorrent.so.1
#2  0x00007f7b1986c1d0 in ?? () from /usr/lib64/libktorrent.so.1
#3  0x00007f7b1986c2a6 in ?? () from /usr/lib64/libktorrent.so.1
#4  0x00007f7b1986ccc9 in ?? () from /usr/lib64/libktorrent.so.1
#5  0x00007f7b17a0eb45 in ?? () from /usr/lib64/libQtCore.so.4
#6  0x00007f7b17785a5d in start_thread () from /lib64/libpthread.so.0
#7  0x00007f7b160c615d in clone () from /lib64/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f7b055f1710 (LWP 6916)):
#0  0x00007f7b160d3d5e in __lll_lock_wait_private () from /lib64/libc.so.6
#1  0x00007f7b160628c8 in _L_lock_5834 () from /lib64/libc.so.6
#2  0x00007f7b1605ee46 in free_check () from /lib64/libc.so.6
#3  0x00007f7b198708c9 in std::_Rb_tree<int, std::pair<int const, QSharedPointer<net::PollClient> >, std::_Select1st<std::pair<int const, QSharedPointer<net::PollClient> > >, std::less<int>, std::allocator<std::pair<int const, QSharedPointer<net::PollClient> > > >::_M_erase(std::_Rb_tree_node<std::pair<int const, QSharedPointer<net::PollClient> > >*) () from /usr/lib64/libktorrent.so.1
#4  0x00007f7b198700e7 in net::Poll::poll(int) () from /usr/lib64/libktorrent.so.1
#5  0x00007f7b1986b876 in ?? () from /usr/lib64/libktorrent.so.1
#6  0x00007f7b1986b956 in ?? () from /usr/lib64/libktorrent.so.1
#7  0x00007f7b1986ccc9 in ?? () from /usr/lib64/libktorrent.so.1
#8  0x00007f7b17a0eb45 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f7b17785a5d in start_thread () from /lib64/libpthread.so.0
#10 0x00007f7b160c615d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f7af3d84710 (LWP 6917)):
#0  0x00007f7b160b7e3d in read () from /lib64/libc.so.6
#1  0x00007f7b16058588 in _IO_new_file_underflow () from /lib64/libc.so.6
#2  0x00007f7b16059d5e in _IO_default_uflow_internal () from /lib64/libc.so.6
#3  0x00007f7b1604ec9e in _IO_getline_info_internal () from /lib64/libc.so.6
#4  0x00007f7b1604dab9 in fgets () from /lib64/libc.so.6
#5  0x00007f7b07333ecb in ?? () from /lib64/libnss_mdns4.so.2
#6  0x00007f7b07334335 in _nss_mdns4_gethostbyaddr_r () from /lib64/libnss_mdns4.so.2
#7  0x00007f7b160ddcf0 in gethostbyaddr_r@@GLIBC_2.2.5 () from /lib64/libc.so.6
#8  0x00007f7b160e661c in getnameinfo () from /lib64/libc.so.6
#9  0x00007f7b1986fa8f in ?? () from /usr/lib64/libktorrent.so.1
#10 0x00007f7b1986fb30 in ?? () from /usr/lib64/libktorrent.so.1
#11 0x00007f7b1986fc27 in ?? () from /usr/lib64/libktorrent.so.1
#12 0x00007f7b17a0eb45 in ?? () from /usr/lib64/libQtCore.so.4
#13 0x00007f7b17785a5d in start_thread () from /lib64/libpthread.so.0
#14 0x00007f7b160c615d in clone () from /lib64/libc.so.6
#15 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7b19d41720 (LWP 6874)):
#0  0x00007f7b160d3d5e in __lll_lock_wait_private () from /lib64/libc.so.6
#1  0x00007f7b16062df5 in _L_lock_11885 () from /lib64/libc.so.6
#2  0x00007f7b16062032 in realloc_check () from /lib64/libc.so.6
#3  0x00007f7b17a5395b in QString::realloc(int) () from /usr/lib64/libQtCore.so.4
#4  0x00007f7b17a53f75 in QString::resize(int) () from /usr/lib64/libQtCore.so.4
#5  0x00007f7b17a5456c in QString::expand(int) () from /usr/lib64/libQtCore.so.4
#6  0x00007f7b17a545ed in QString::insert(int, QChar) () from /usr/lib64/libQtCore.so.4
#7  0x00007f7b17a3590a in QLocalePrivate::longLongToString(long long, int, int, int, unsigned int) const () from /usr/lib64/libQtCore.so.4
#8  0x00007f7b17a5e2e2 in QString::arg(long long, int, int, QChar const&) const () from /usr/lib64/libQtCore.so.4
#9  0x00007f7b17a1da77 in QTime::toString(Qt::DateFormat) const () from /usr/lib64/libQtCore.so.4
#10 0x00007f7b17a2171b in QDateTime::toString(Qt::DateFormat) const () from /usr/lib64/libQtCore.so.4
#11 0x00007f7b1985e1b6 in ?? () from /usr/lib64/libktorrent.so.1
#12 0x00007f7b1985d577 in bt::endl(bt::Log&) () from /usr/lib64/libktorrent.so.1
#13 0x00007f7b19869a61 in net::Socket::accept(net::Address&) () from /usr/lib64/libktorrent.so.1
#14 0x00007f7b198a099b in bt::Server::readyToAccept(int) () from /usr/lib64/libktorrent.so.1
#15 0x00007f7b198a0a5f in bt::Server::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libktorrent.so.1
#16 0x00007f7b17b117b6 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#17 0x00007f7b17b5e1be in QSocketNotifier::activated(int) () from /usr/lib64/libQtCore.so.4
#18 0x00007f7b17b18573 in QSocketNotifier::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#19 0x00007f7b16ca70cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#20 0x00007f7b16cad6bb in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#21 0x0000000000437d7a in _start ()

Reported using DrKonqi
Comment 1 Joris Guisson 2011-03-17 19:26:49 UTC

*** This bug has been marked as a duplicate of bug 251117 ***