Bug 261346 - Ktorrent krashes when handling 1600 files
Summary: Ktorrent krashes when handling 1600 files
Status: RESOLVED DUPLICATE of bug 261903
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-27 04:21 UTC by Andres Suarez
Modified: 2011-01-05 20:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andres Suarez 2010-12-27 04:21:56 UTC
Application: ktorrent (4.0.3)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-24-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
Custom settings of the application:
It has 1600 files loaded, it crashes when opening firefox, or when diverting any resource used by it. Program closes suddenly.

The crash can be reproduced every time.

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

Thread 6 (Thread 0x7f2663da2700 (LWP 2203)):
#0  0x00007f266e730203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f266958b009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f266958b7b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#3  0x00007f26644d90f4 in ?? () from /usr/lib/libgio-2.0.so.0
#4  0x00007f26695b07e4 in ?? () from /lib/libglib-2.0.so.0
#5  0x00007f266fe67971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f266e73c92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f26562a8700 (LWP 2205)):
#0  0x00007f266e7352c3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f2672730212 in dht::RPCServerThread::run (this=0x132c5d0) at ../../src/dht/rpcserver.cpp:107
#2  0x00007f26700f227e in QThreadPrivate::start (arg=0x132c5d0) at thread/qthread_unix.cpp:266
#3  0x00007f266fe67971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#4  0x00007f266e73c92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f265586b700 (LWP 2254)):
#0  0x00007f266ef2be56 in operator new(unsigned long) () from /usr/lib/libstdc++.so.6
#1  0x00007f26726d1d07 in allocate (this=0x1052358, __x=0x38, __p=0x7f2648000020, __v=...) at /usr/include/c++/4.4/ext/new_allocator.h:89
#2  _M_get_node (this=0x1052358, __x=0x38, __p=0x7f2648000020, __v=...) at /usr/include/c++/4.4/bits/stl_tree.h:359
#3  _M_create_node (this=0x1052358, __x=0x38, __p=0x7f2648000020, __v=...) at /usr/include/c++/4.4/bits/stl_tree.h:369
#4  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_insert_ (this=0x1052358, __x=0x38, __p=0x7f2648000020, __v=...) at /usr/include/c++/4.4/bits/stl_tree.h:881
#5  0x00007f26726d1e31 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_insert_unique (this=0x1052358, __v=...) at /usr/include/c++/4.4/bits/stl_tree.h:1182
#6  0x00007f26726d1ef3 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_insert_unique_ (this=0x1052358, __position=..., __v=...) at /usr/include/c++/4.4/bits/stl_tree.h:1254
#7  0x00007f26726d19e4 in insert (this=0x1052330, pc=) at /usr/include/c++/4.4/bits/stl_map.h:540
#8  operator[] (this=0x1052330, pc=) at /usr/include/c++/4.4/bits/stl_map.h:450
#9  net::Poll::add (this=0x1052330, pc=) at ../../src/net/poll.cpp:74
#10 0x00007f26726cd679 in net::DownloadThread::waitForSocketReady (this=0x1052320) at ../../src/net/downloadthread.cpp:114
#11 0x00007f26726cd7e6 in net::DownloadThread::update (this=0x7f2648000020) at ../../src/net/downloadthread.cpp:48
#12 0x00007f26726ce2c9 in net::NetworkThread::run (this=0x1052320) at ../../src/net/networkthread.cpp:48
#13 0x00007f26700f227e in QThreadPrivate::start (arg=0x1052320) at thread/qthread_unix.cpp:266
#14 0x00007f266fe67971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#15 0x00007f266e73c92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#16 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f264f141700 (LWP 2255)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f26700f1533 in QMutexPrivate::wait (this=0x10522a0, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007f26700ecee5 in QMutex::lock (this=0x6d9088) at thread/qmutex.cpp:167
#3  0x00007f26726ccea3 in net::UploadThread::update (this=0x1052990) at ../../src/net/uploadthread.cpp:49
#4  0x00007f26726ce2c9 in net::NetworkThread::run (this=0x1052990) at ../../src/net/networkthread.cpp:48
#5  0x00007f26700f227e in QThreadPrivate::start (arg=0x1052990) at thread/qthread_unix.cpp:266
#6  0x00007f266fe67971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#7  0x00007f266e73c92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f265506a700 (LWP 2256)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f26700f2e3b in wait (this=<value optimized out>, mutex=0x1350e30, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1350e30, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f26726d12e2 in net::ReverseResolverThread::run (this=0x1350e20) at ../../src/net/reverseresolver.cpp:123
#4  0x00007f26700f227e in QThreadPrivate::start (arg=0x1350e20) at thread/qthread_unix.cpp:266
#5  0x00007f266fe67971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f266e73c92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2672bb8760 (LWP 2202)):
[KCrash Handler]
#6  0x00007f26702150ec in QTimerInfoList::unregisterTimer (this=0x1086bd0, timerId=1) at kernel/qeventdispatcher_unix.cpp:496
#7  0x00007f2670202b01 in QTimer::stop (this=0x440f7f8) at kernel/qtimer.cpp:257
#8  0x00007f26702033fd in QTimer::timerEvent (this=0x5320590, e=0x5320560) at kernel/qtimer.cpp:270
#9  0x00007f26701f78f9 in QObject::event (this=0x440f7f8, e=0x5320560) at kernel/qobject.cpp:1183
#10 0x00007f266f32ffdc in QApplicationPrivate::notify_helper (this=0x107f760, receiver=0x440f7f8, e=0x7fffc6201ca0) at kernel/qapplication.cpp:4396
#11 0x00007f266f335aed in QApplication::notify (this=0x7fffc6201fd0, receiver=0x440f7f8, e=0x7fffc6201ca0) at kernel/qapplication.cpp:4277
#12 0x0000000000437d1a in kt::App::notify (this=0x5320590, receiver=0x5320560, event=0x0) at ../../ktorrent/app.cpp:97
#13 0x00007f26701e5cdc in QCoreApplication::notifyInternal (this=0x7fffc6201fd0, receiver=0x440f7f8, event=0x7fffc6201ca0) at kernel/qcoreapplication.cpp:732
#14 0x00007f26702156f2 in sendEvent (this=0x1086bd0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#15 QTimerInfoList::activateTimers (this=0x1086bd0) at kernel/qeventdispatcher_unix.cpp:602
#16 0x00007f26702124a4 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#17 0x00007f2669587342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#18 0x00007f266958b2a8 in ?? () from /lib/libglib-2.0.so.0
#19 0x00007f266958b45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#20 0x00007f2670212193 in QEventDispatcherGlib::processEvents (this=0x1050320, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#21 0x00007f266f3e2a4e in QGuiEventDispatcherGlib::processEvents (this=0x5320590, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#22 0x00007f26701e4a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#23 0x00007f26701e4dec in QEventLoop::exec (this=0x7fffc6201f40, flags=) at kernel/qeventloop.cpp:201
#24 0x00007f26701e8ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#25 0x0000000000426a8b in main (argc=<value optimized out>, argv=<value optimized out>) at ../../ktorrent/main.cpp:176

Reported using DrKonqi
Comment 1 Joris Guisson 2011-01-05 20:17:14 UTC

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