Bug 266962 - Crash while running in background
Summary: Crash while running in background
Status: RESOLVED DUPLICATE of bug 247984
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: 2011-02-23 12:38 UTC by Kevin Shepherd
Modified: 2011-02-23 18:01 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 Kevin Shepherd 2011-02-23 12:38:25 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-25-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
Nothing.  Machine unattended - KTorrent downloading and uploading as usual.

The crash can be reproduced some of the time.

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

Thread 6 (Thread 0x7f781efc5700 (LWP 3049)):
#0  0x00007f7829703203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f782455e009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f782455e7b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#3  0x00007f781f6fc0f4 in ?? () from /usr/lib/libgio-2.0.so.0
#4  0x00007f78245837e4 in ?? () from /lib/libglib-2.0.so.0
#5  0x00007f782ae3a971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f782970f92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f780d1d2700 (LWP 3226)):
#0  0x00007f78297082c3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f782d703212 in dht::RPCServerThread::run (this=0x1c7d820) at ../../src/dht/rpcserver.cpp:107
#2  0x00007f782b0c527e in QThreadPrivate::start (arg=0x1c7d820) at thread/qthread_unix.cpp:266
#3  0x00007f782ae3a971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#4  0x00007f782970f92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f77fdbf0700 (LWP 3380)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f782b0c4845 in thread_sleep (ti=0x7f77fdbefda0) at thread/qthread_unix.cpp:416
#2  0x00007f782b0c49b0 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:442
#3  0x00007f782d6a09dd in net::DownloadThread::update (this=0x1983320) at ../../src/net/downloadthread.cpp:91
#4  0x00007f782d6a12c9 in net::NetworkThread::run (this=0x1983320) at ../../src/net/networkthread.cpp:48
#5  0x00007f782b0c527e in QThreadPrivate::start (arg=0x1983320) at thread/qthread_unix.cpp:266
#6  0x00007f782ae3a971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#7  0x00007f782970f92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f77fcbee700 (LWP 3381)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f782b0c4845 in thread_sleep (ti=0x7f77fcbedda0) at thread/qthread_unix.cpp:416
#2  0x00007f782b0c49b0 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:442
#3  0x00007f782d6a007d in net::UploadThread::update (this=0x1983990) at ../../src/net/uploadthread.cpp:89
#4  0x00007f782d6a12c9 in net::NetworkThread::run (this=0x1983990) at ../../src/net/networkthread.cpp:48
#5  0x00007f782b0c527e in QThreadPrivate::start (arg=0x1983990) at thread/qthread_unix.cpp:266
#6  0x00007f782ae3a971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#7  0x00007f782970f92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f77fd3ef700 (LWP 3382)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f782b0c5e3b in wait (this=<value optimized out>, mutex=0x2f50100, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2f50100, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f782d6a42e2 in net::ReverseResolverThread::run (this=0x2f500f0) at ../../src/net/reverseresolver.cpp:123
#4  0x00007f782b0c527e in QThreadPrivate::start (arg=0x2f500f0) at thread/qthread_unix.cpp:266
#5  0x00007f782ae3a971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f782970f92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f782db92760 (LWP 3041)):
[KCrash Handler]
#6  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#7  0x00007f782912a0b6 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#8  0x00007f78291404c5 in QCA::Hash::update(QByteArray const&) () from /usr/lib/libqca.so.2
#9  0x00007f782d6894ab in bt::SHA1HashGen::update (this=0x3553a70, data=0x7f782d9d0000 "\031'\330\232L,p\242e;\231\063oKq\274\325\372\327\374\254\333\245\224\274\255\026\343\222{\361\224[c\031\376\071]\006d\232tl,E\020", len=16384) at ../../src/util/sha1hashgen.cpp:240
#10 0x00007f782d6c40e3 in bt::ChunkDownload::updateHash (this=0x35539b0) at ../../src/download/chunkdownload.cpp:555
#11 0x00007f782d6c62e8 in bt::ChunkDownload::piece (this=0x35539b0, p=..., ok=<value optimized out>) at ../../src/download/chunkdownload.cpp:127
#12 0x00007f782d6ccbde in bt::Downloader::pieceReceived (this=0x245fa20, p=...) at ../../src/download/downloader.cpp:134
#13 0x00007f782d6b0315 in bt::Peer::packetReady (this=0x3515670, packet=0x7f77f814bca0 "\a", len=<value optimized out>) at ../../src/peer/peer.cpp:283
#14 0x00007f782d6bb248 in bt::PacketReader::update (this=0x35556b0) at ../../src/peer/packetreader.cpp:141
#15 0x00007f782d6af0d5 in bt::Peer::update (this=0x3515670) at ../../src/peer/peer.cpp:538
#16 0x00007f782d6b4995 in bt::PeerManager::update (this=0x23e32c0) at ../../src/peer/peermanager.cpp:144
#17 0x00007f782d6e68a4 in bt::TorrentControl::update (this=0x23dff40) at ../../src/torrent/torrentcontrol.cpp:163
#18 0x00000000004289fb in kt::Core::update (this=0x1c70f20) at ../../ktorrent/core.cpp:1030
#19 0x0000000000431222 in kt::Core::qt_metacall (this=0x1c70f20, _c=QMetaObject::InvokeMetaMethod, _id=52413384, _a=0x7fff23bc5e00) at ./core.moc:167
#20 0x00007f782b1d0b27 in QMetaObject::activate (sender=0x1c70f48, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x600) at kernel/qobject.cpp:3280
#21 0x00007f782b1ca8f9 in QObject::event (this=0x1c70f48, e=0x7f782d9d1000) at kernel/qobject.cpp:1183
#22 0x00007f782a302fdc in QApplicationPrivate::notify_helper (this=0x19b0510, receiver=0x1c70f48, e=0x7fff23bc6530) at kernel/qapplication.cpp:4396
#23 0x00007f782a308aed in QApplication::notify (this=0x7fff23bc6860, receiver=0x1c70f48, e=0x7fff23bc6530) at kernel/qapplication.cpp:4277
#24 0x0000000000437d1a in kt::App::notify (this=0x31fd3c8, receiver=0x7f782d9d1000, event=0x4000) at ../../ktorrent/app.cpp:97
#25 0x00007f782b1b8cdc in QCoreApplication::notifyInternal (this=0x7fff23bc6860, receiver=0x1c70f48, event=0x7fff23bc6530) at kernel/qcoreapplication.cpp:732
#26 0x00007f782b1e86f2 in sendEvent (this=0x19b7ed0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 QTimerInfoList::activateTimers (this=0x19b7ed0) at kernel/qeventdispatcher_unix.cpp:602
#28 0x00007f782b1e54a4 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#29 0x00007f782455a342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#30 0x00007f782455e2a8 in ?? () from /lib/libglib-2.0.so.0
#31 0x00007f782455e45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#32 0x00007f782b1e5193 in QEventDispatcherGlib::processEvents (this=0x1981320, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#33 0x00007f782a3b5a4e in QGuiEventDispatcherGlib::processEvents (this=0x31fd3c8, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f782b1b7a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#35 0x00007f782b1b7dec in QEventLoop::exec (this=0x7fff23bc67d0, flags=) at kernel/qeventloop.cpp:201
#36 0x00007f782b1bbebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#37 0x0000000000426a8b in main (argc=<value optimized out>, argv=<value optimized out>) at ../../ktorrent/main.cpp:176

This bug may be a duplicate of or related to bug 247984.

Possible duplicates by query: bug 263830, bug 263012, bug 262378, bug 262037, bug 261102.

Reported using DrKonqi
Comment 1 Joris Guisson 2011-02-23 18:01:43 UTC

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