Bug 267270 - ktorrent crash with start download
Summary: ktorrent crash with start download
Status: RESOLVED DUPLICATE of bug 215288
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-27 18:55 UTC by Andrey
Modified: 2011-02-27 20:59 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 Andrey 2011-02-27 18:55:43 UTC
Application: ktorrent (4.0.3)
KDE Platform Version: 4.6.00 (4.6.0)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-25-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
ktorrent crash with start download when add new torrent

The crash can be reproduced every time.

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

Thread 8 (Thread 0x7f1904e62700 (LWP 24587)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f1904e61ae0 in ?? ()
#2  0x00007fff75fcf852 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 7 (Thread 0x7f18fffff700 (LWP 24588)):
#0  0x00007f190efed2c3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00000033c0ac4212 in dht::RPCServerThread::run (this=0xb66b80) at ../../src/dht/rpcserver.cpp:107
#2  0x00000033b547527e in QThreadPrivate::start (arg=0xb66b80) at thread/qthread_unix.cpp:266
#3  0x00007f190f51b971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#4  0x00007f190eff492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f18ff0d6700 (LWP 24628)):
#0  0x00007fff75fcf7a4 in gettimeofday ()
#1  0x00007f190efa7c8a in gettimeofday () at ../sysdeps/unix/sysv/linux/x86_64/gettimeofday.S:37
#2  0x00000033c0a4baae in bt::Now () at ../../src/util/functions.cpp:171
#3  0x00000033c0a61808 in net::DownloadThread::update (this=0xa22300) at ../../src/net/downloadthread.cpp:53
#4  0x00000033c0a622c9 in net::NetworkThread::run (this=0xa22300) at ../../src/net/networkthread.cpp:48
#5  0x00000033b547527e in QThreadPrivate::start (arg=0xa22300) at thread/qthread_unix.cpp:266
#6  0x00007f190f51b971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#7  0x00007f190eff492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f18fd8d3700 (LWP 24629)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00000033b5474533 in QMutexPrivate::wait (this=0xa22280, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00000033b546fee5 in QMutex::lock (this=0x6d9088) at thread/qmutex.cpp:167
#3  0x00000033c0a60ea3 in net::UploadThread::update (this=0xa22860) at ../../src/net/uploadthread.cpp:49
#4  0x00000033c0a622c9 in net::NetworkThread::run (this=0xa22860) at ../../src/net/networkthread.cpp:48
#5  0x00000033b547527e in QThreadPrivate::start (arg=0xa22860) at thread/qthread_unix.cpp:266
#6  0x00007f190f51b971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#7  0x00007f190eff492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f18fd0d2700 (LWP 24630)):
#0  0x00007f190efe672d in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f190ef81278 in _IO_new_file_underflow (fp=0x7f18ec430b70) at fileops.c:606
#2  0x00007f190ef82dfe in _IO_default_uflow (fp=0x4) at genops.c:440
#3  0x00007f190ef7732e in _IO_getline_info (fp=0x7f18ec430b70, buf=0x7f1910cba000 "RESOLVE-ADDRESS 95.72.124.110\n", n=255, delim=10, extract_delim=1, eof=0x0) at iogetline.c:74
#4  0x00007f190ef76209 in _IO_fgets (buf=0x7f18fd0d10d0 "-15 Timeout reached\n", n=<value optimized out>, fp=0x7f18ec430b70) at iofgets.c:58
#5  0x00007f18fe6b0fcb in ?? () from /lib/libnss_mdns4.so.2
#6  0x00007f18fe6b1435 in _nss_mdns4_gethostbyaddr_r () from /lib/libnss_mdns4.so.2
#7  0x00007f190f00f578 in __gethostbyaddr_r (addr=0xa3f0164, len=4, type=<value optimized out>, resbuf=0x7f18fd0d1b50, buffer=<value optimized out>, buflen=<value optimized out>, result=0x7f18fd0d1b80, h_errnop=0x7f18fd0d1b8c) at ../nss/getXXbyYY_r.c:253
#8  0x00007f190f015b6b in getnameinfo (sa=0xa3f0160, addrlen=<value optimized out>, host=0x7f18fd0d1cb0 "", hostlen=199, serv=0x7f18fd0d1be0 "", servlen=199, flags=<value optimized out>) at getnameinfo.c:223
#9  0x00000033c0a64f4f in net::ReverseResolver::resolve (this=<value optimized out>, addr=...) at ../../src/net/reverseresolver.cpp:64
#10 0x00000033c0a64ff0 in net::ReverseResolver::run (this=0x6f64ab0) at ../../src/net/reverseresolver.cpp:73
#11 0x00000033c0a651dd in net::ReverseResolverThread::run (this=0x7f18ec00a9f0) at ../../src/net/reverseresolver.cpp:118
#12 0x00000033b547527e in QThreadPrivate::start (arg=0x7f18ec00a9f0) at thread/qthread_unix.cpp:266
#13 0x00007f190f51b971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#14 0x00007f190eff492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f18fe0d4700 (LWP 24690)):
#0  0x00007fff75fcf86c in ?? ()
#1  0x00007fff75fcf945 in clock_gettime ()
#2  0x00007f190d2b50bf in clock_gettime (clock_id=-32687392, tp=0x7f18fe0d3ae0) at ../sysdeps/unix/clock_gettime.c:100
#3  0x00000033b54ca94f in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#5  0x00000033b55971fd in QTimerInfoList::updateCurrentTime (this=0x7f18fe0d3ae0) at kernel/qeventdispatcher_unix.cpp:339
#6  0x00000033b5597225 in QTimerInfoList::timerWait (this=0x7f18fe0d3ae0, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#7  0x00000033b55953dd in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7f18fe0d3c1c) at kernel/qeventdispatcher_glib.cpp:136
#8  0x00000033b5595485 in timerSourcePrepare (source=0x7f18fe0d3ae0, timeout=0x7f18fe0d3ae0) at kernel/qeventdispatcher_glib.cpp:169
#9  0x00007f190d012a11 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#10 0x00007f190d012e78 in ?? () from /lib/libglib-2.0.so.0
#11 0x00007f190d01345c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#12 0x00000033b55951e6 in QEventDispatcherGlib::processEvents (this=0x8752270, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#13 0x00000033b5567a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#14 0x00000033b5567dec in QEventLoop::exec (this=0x7f18fe0d3db0, flags=) at kernel/qeventloop.cpp:201
#15 0x00000033b54722fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#16 0x00000033b55475f8 in QInotifyFileSystemWatcherEngine::run (this=0x7f18ec8bf1c0) at io/qfilesystemwatcher_inotify.cpp:248
#17 0x00000033b547527e in QThreadPrivate::start (arg=0x7f18ec8bf1c0) at thread/qthread_unix.cpp:266
#18 0x00007f190f51b971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#19 0x00007f190eff492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#20 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f18f1b7a700 (LWP 26595)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f18f1b79a90 in ?? ()
#2  0x00007fff75fcf852 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0x7f1910e71760 (LWP 24585)):
[KCrash Handler]
#6  d_func (this=0x0, mode=QDBus::Block, method=..., args=...) at qdbusabstractinterface.h:156
#7  QDBusAbstractInterface::callWithArgumentList (this=0x0, mode=QDBus::Block, method=..., args=...) at qdbusabstractinterface.cpp:406
#8  0x00007f18fb487b26 in Reset (this=0x38a1990, s=<value optimized out>) at ../../dnssd/avahi_entrygroup_interface.h:94
#9  DNSSD::PublicServicePrivate::serverStateChanged (this=0x38a1990, s=<value optimized out>) at ../../dnssd/avahi-publicservice.cpp:203
#10 0x00007f18fb487d36 in DNSSD::PublicService::publishAsync (this=<value optimized out>) at ../../dnssd/avahi-publicservice.cpp:230
#11 0x00007f18f87f2eb2 in kt::TorrentService::start (this=0x866b130) at ../../../plugins/zeroconf/torrentservice.cpp:83
#12 0x00000033c0a9efe2 in bt::PeerSourceManager::start (this=0x77dfa20) at ../../src/torrent/peersourcemanager.cpp:81
#13 0x00000033c0aac88d in bt::TorrentControl::continueStart (this=0x9329040) at ../../src/torrent/torrentcontrol.cpp:446
#14 0x00000033c0aacae3 in bt::TorrentControl::preallocFinished (this=0x9329040, error=..., completed=true) at ../../src/torrent/torrentcontrol.cpp:1779
#15 0x00000033c0ad598d in bt::PreallocationJob::finished (this=0x77a48d0) at ../../src/diskio/preallocationjob.cpp:62
#16 0x00000033c0a47d30 in bt::PreallocationJob::qt_metacall (this=0x77a48d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at moc_preallocationjob.cpp:74
#17 0x00000033b557abde in QObject::event (this=0x77a48d0, e=0x7fff75eb0b40) at kernel/qobject.cpp:1219
#18 0x00000033be5b7fdc in QApplicationPrivate::notify_helper (this=0xa7dfc0, receiver=0x77a48d0, e=0x3b23f40) at kernel/qapplication.cpp:4396
#19 0x00000033be5bdaed in QApplication::notify (this=0x7fff75eb19a0, receiver=0x77a48d0, e=0x3b23f40) at kernel/qapplication.cpp:4277
#20 0x0000000000437d1a in kt::App::notify (this=0x7fff75eb0b40, receiver=0x0, event=0x1) at ../../ktorrent/app.cpp:97
#21 0x00000033b5568cdc in QCoreApplication::notifyInternal (this=0x7fff75eb19a0, receiver=0x77a48d0, event=0x3b23f40) at kernel/qcoreapplication.cpp:732
#22 0x00000033b556bc22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0xa1fc80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#23 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0xa1fc80) at kernel/qcoreapplication.cpp:1373
#24 0x00000033b5595653 in sendPostedEvents (s=0xa7ca00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#25 postEventSourceDispatch (s=0xa7ca00) at kernel/qeventdispatcher_glib.cpp:277
#26 0x00007f190d00f342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#27 0x00007f190d0132a8 in ?? () from /lib/libglib-2.0.so.0
#28 0x00007f190d01345c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#29 0x00000033b5595193 in QEventDispatcherGlib::processEvents (this=0xa1f3e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#30 0x00000033be66aa4e in QGuiEventDispatcherGlib::processEvents (this=0x7fff75eb0b40, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00000033b5567a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#32 0x00000033b5567dec in QEventLoop::exec (this=0x7fff75eb1910, flags=) at kernel/qeventloop.cpp:201
#33 0x00000033b556bebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#34 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 215288.

Possible duplicates by query: bug 259992, bug 251659.

Reported using DrKonqi
Comment 1 Joris Guisson 2011-02-27 20:59:05 UTC

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