[Kget] [Bug 273170] New: Kget crashes

bob.dicarat at gmail.com bob.dicarat at gmail.com
Fri May 13 08:56:33 CEST 2011


https://bugs.kde.org/show_bug.cgi?id=273170

           Summary: Kget crashes
           Product: kget
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kget at kde.org
        ReportedBy: bob.dicarat at gmail.com


Application: kget (2.6.2)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-9-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
When I star Kget, the program goes completely wild, starts a few wild downloads
randomly chosen from ktorrent downloads anf finally crashes. The result is my
directories getting filled with files that are called like prevoiously ktorretn
downloads, that occupy drive space, don't work and if used makes the whole
system stall. Crazy!

The crash can be reproduced every time.

-- Backtrace:
Application: KGet (kget), signal: Segmentation fault
[Current thread is 1 (Thread 0xb60e5720 (LWP 4344))]

Thread 6 (Thread 0xb5dfbb70 (LWP 4345)):
#0  0x00f80416 in __kernel_vsyscall ()
#1  0x01f0bf76 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x0601184b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x060011af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x0600192b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x0630a304 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0x0602a2df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x00df3e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x01f1a73e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 5 (Thread 0xb13b8b70 (LWP 4392)):
#0  0x00f80416 in __kernel_vsyscall ()
#1  0x01f0bf76 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x036fd8a6 in net::Poll::poll (this=0x8d66220, timeout=-1) at
../../src/net/poll.cpp:99
#3  0x036f9e42 in net::DownloadThread::waitForSocketReady (this=0x8d66218) at
../../src/net/downloadthread.cpp:128
#4  0x036f9f4f in net::DownloadThread::update (this=0x8d66218) at
../../src/net/downloadthread.cpp:48
#5  0x036fa1e8 in net::NetworkThread::run (this=0x8d66218) at
../../src/net/networkthread.cpp:48
#6  0x02fadda2 in QThreadPrivate::start (arg=0x8d66218) at
thread/qthread_unix.cpp:320
#7  0x00df3e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x01f1a73e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 4 (Thread 0xb0af7b70 (LWP 4393)):
#0  0x036fdda4 in deref (this=0x8d6663c, __x=0xb541cbb0) at
/usr/include/qt4/QtCore/qatomic_i386.h:132
#1  deref (this=0x8d6663c, __x=0xb541cbb0) at
/usr/include/qt4/QtCore/qsharedpointer_impl.h:336
#2  deref (this=0x8d6663c, __x=0xb541cbb0) at
/usr/include/qt4/QtCore/qsharedpointer_impl.h:328
#3  ~ExternalRefCount (this=0x8d6663c, __x=0xb541cbb0) at
/usr/include/qt4/QtCore/qsharedpointer_impl.h:386
#4  ~QSharedPointer (this=0x8d6663c, __x=0xb541cbb0) at
/usr/include/qt4/QtCore/qsharedpointer_impl.h:445
#5  ~pair (this=0x8d6663c, __x=0xb541cbb0) at
/usr/include/c++/4.5/bits/stl_pair.h:72
#6  destroy (this=0x8d6663c, __x=0xb541cbb0) at
/usr/include/c++/4.5/ext/new_allocator.h:115
#7  _M_destroy_node (this=0x8d6663c, __x=0xb541cbb0) at
/usr/include/c++/4.5/bits/stl_tree.h:383
#8  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 (this=0x8d6663c,
__x=0xb541cbb0) at /usr/include/c++/4.5/bits/stl_tree.h:990
#9  0x036fd91c in clear (this=0x8d66628, timeout=-1) at
/usr/include/c++/4.5/bits/stl_tree.h:744
#10 clear (this=0x8d66628, timeout=-1) at
/usr/include/c++/4.5/bits/stl_map.h:664
#11 net::Poll::poll (this=0x8d66628, timeout=-1) at ../../src/net/poll.cpp:113
#12 0x036f95b0 in net::UploadThread::waitForSocketsReady (this=0x8d66620) at
../../src/net/uploadthread.cpp:129
#13 0x036f96bf in net::UploadThread::update (this=0x8d66620) at
../../src/net/uploadthread.cpp:45
#14 0x036fa1e8 in net::NetworkThread::run (this=0x8d66620) at
../../src/net/networkthread.cpp:48
#15 0x02fadda2 in QThreadPrivate::start (arg=0x8d66620) at
thread/qthread_unix.cpp:320
#16 0x00df3e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x01f1a73e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xb02f6b70 (LWP 4394)):
#0  0x00f80416 in __kernel_vsyscall ()
#1  0x00df848c in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/i386-linux-gnu/libpthread.so.0
#2  0x02fae467 in wait (this=0xb5413aec, mutex=0xb5413ae8, time=4294967295) at
thread/qwaitcondition_unix.cpp:88
#3  QWaitCondition::wait (this=0xb5413aec, mutex=0xb5413ae8, time=4294967295)
at thread/qwaitcondition_unix.cpp:160
#4  0x036fd3af in net::ReverseResolverThread::run (this=0xb5413ae0) at
../../src/net/reverseresolver.cpp:123
#5  0x02fadda2 in QThreadPrivate::start (arg=0xb5413ae0) at
thread/qthread_unix.cpp:320
#6  0x00df3e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#7  0x01f1a73e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xafaf5b70 (LWP 4396)):
[KCrash Handler]
#7  0x00000000 in ?? ()
#8  0x036eb3b6 in endline (lg=...) at ../../src/util/log.cpp:160
#9  bt::endl (lg=...) at ../../src/util/log.cpp:222
#10 0x03770459 in operator<< (this=0x95cffd8) at ../../src/util/log.h:140
#11 bt::CacheFile::preallocate (this=0x95cffd8) at
../../src/diskio/cachefile.cpp:512
#12 0x03763b5f in bt::MultiFileCache::preallocateDiskSpace (this=0xb543a5b0,
prealloc=0x9748fe8) at ../../src/diskio/multifilecache.cpp:807
#13 0x0377326b in bt::ChunkManager::preallocateDiskSpace (this=0xb543a430,
prealloc=0x9748fe8) at ../../src/diskio/chunkmanager.cpp:896
#14 0x0376b7bc in bt::PreallocationThread::run (this=0x9748fe8) at
../../src/diskio/preallocationthread.cpp:53
#15 0x02fadda2 in QThreadPrivate::start (arg=0x9748fe8) at
thread/qthread_unix.cpp:320
#16 0x00df3e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x01f1a73e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb60e5720 (LWP 4344)):
#0  0x00f80416 in __kernel_vsyscall ()
#1  0x00df848c in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/i386-linux-gnu/libpthread.so.0
#2  0x02facdaa in QMutexPrivate::wait (this=0x9478350, timeout=-1) at
thread/qmutex_unix.cpp:84
#3  0x02fa94b2 in QMutex::lock (this=0x9478340) at thread/qmutex.cpp:204
#4  0x036ea8a3 in bt::Log::lock (this=0x9478318) at ../../src/util/log.cpp:262
#5  0x036eac4e in bt::Out (arg=19) at ../../src/util/log.cpp:270
#6  0x03731544 in bt::Server::changePort (this=0xb5413bc8, p=6881) at
../../src/torrent/server.cpp:81
#7  0x03730c9d in bt::Globals::initTCPServer (this=0x94797b8, port=6881) at
../../src/torrent/globals.cpp:71
#8  0x0848ace7 in BTTransfer::btTransferInit (this=0x9450f18, src=...,
data=...) at ../../../../kget/transfer-plugins/bittorrent/bttransfer.cpp:425
#9  0x0848c0c6 in BTTransfer::start (this=0x9450f18) at
../../../../kget/transfer-plugins/bittorrent/bttransfer.cpp:139
#10 0x00607839 in Scheduler::updateQueue (this=0x8b4db80, queue=0x8d553b0) at
../../kget/core/scheduler.cpp:285
#11 0x005f310c in JobQueue::append (this=0x8d553b0, jobs=...) at
../../kget/core/jobqueue.cpp:95
#12 0x006163a8 in TransferGroup::append (this=0x8d553b0, transfers=...) at
../../kget/core/transfergroup.cpp:102
#13 0x0060b646 in TransferTreeModel::addTransfers (this=0x8d507e8,
transfers=..., group=0x8d553b0) at ../../kget/core/transfertreemodel.cpp:241
#14 0x006006e8 in KGet::createTransfers (dataItems=...) at
../../kget/core/kget.cpp:915
#15 0x00603768 in KGet::addTransfers (elements=..., groupName=...) at
../../kget/core/kget.cpp:277
#16 0x0061500d in TransferGroup::load (this=0x8d553b0, e=...) at
../../kget/core/transfergroup.cpp:399
#17 0x005f7206 in KGet::load (filename=...) at ../../kget/core/kget.cpp:559
#18 0x080e4db6 in MainWindow::init (this=0x8d45d70) at
../../kget/mainwindow.cpp:357
#19 0x080effda in KGetApp::newInstance (this=0xbf9f1928) at
../../kget/main.cpp:71
#20 0x00acbff4 in KUniqueApplicationAdaptor::newInstance (this=0x8d3a020,
asn_id=..., args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:436
#21 0x00acc0b2 in KUniqueApplicationAdaptor::qt_metacall (this=0x8d3a020,
_c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbf9f0ebc) at
./kuniqueapplication_p.moc:81
#22 0x00ebbacd in QDBusConnectionPrivate::deliverCall (this=0x8b93a68,
object=0x8d3a020, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:942
#23 0x00ebcbb2 in QDBusConnectionPrivate::activateCall (this=0x8b93a68,
object=0x8d3a020, flags=337, msg=...) at qdbusintegrator.cpp:845
#24 0x00ebd1ac in QDBusConnectionPrivate::activateObject (this=0x8b93a68,
node=..., msg=..., pathStartPos=16) at qdbusintegrator.cpp:1430
#25 0x00ebd62a in QDBusActivateObjectEvent::placeMetaCall (this=0x8ce6370) at
qdbusintegrator.cpp:1524
#26 0x030b73b7 in QObject::event (this=0xbf9f1928, e=0x8ce6370) at
kernel/qobject.cpp:1226
#27 0x030a26ab in QCoreApplication::event (this=0xbf9f1928, e=0x8ce6370) at
kernel/qcoreapplication.cpp:1560
#28 0x0547623f in QApplication::event (this=0xbf9f1928, e=0x8ce6370) at
kernel/qapplication.cpp:2503
#29 0x05473d24 in QApplicationPrivate::notify_helper (this=0x8ba0cb8,
receiver=0xbf9f1928, e=0x8ce6370) at kernel/qapplication.cpp:4462
#30 0x054788ce in QApplication::notify (this=0xbf9f1928, receiver=0xbf9f1928,
e=0x8ce6370) at kernel/qapplication.cpp:3862
#31 0x00ac53ca in KApplication::notify (this=0xbf9f1928, receiver=0xbf9f1928,
event=0x8ce6370) at ../../kdeui/kernel/kapplication.cpp:311
#32 0x030a20bb in QCoreApplication::notifyInternal (this=0xbf9f1928,
receiver=0xbf9f1928, event=0x8ce6370) at kernel/qcoreapplication.cpp:731
#33 0x030a5c79 in sendEvent (receiver=0x0, event_type=0, data=0x8b47248) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#34 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x8b47248) at kernel/qcoreapplication.cpp:1372
#35 0x030a5e0d in QCoreApplication::sendPostedEvents (receiver=0x0,
event_type=0) at kernel/qcoreapplication.cpp:1265
#36 0x030cf3c4 in sendPostedEvents (s=0x8ba3fb8) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#37 postEventSourceDispatch (s=0x8ba3fb8) at
kernel/qeventdispatcher_glib.cpp:277
#38 0x06000aa8 in g_main_context_dispatch () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#39 0x06001270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#40 0x06001524 in g_main_context_iteration () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#41 0x030cf53c in QEventDispatcherGlib::processEvents (this=0x8b46d78,
flags=...) at kernel/qeventdispatcher_glib.cpp:422
#42 0x05527775 in QGuiEventDispatcherGlib::processEvents (this=0x8b46d78,
flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x030a1289 in QEventLoop::processEvents (this=0xbf9f1884, flags=...) at
kernel/qeventloop.cpp:149
#44 0x030a1522 in QEventLoop::exec (this=0xbf9f1884, flags=...) at
kernel/qeventloop.cpp:201
#45 0x030a5ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#46 0x054718e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#47 0x080eef30 in main (argc=) at ../../kget/main.cpp:167

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kget mailing list