Bug 303996

Summary: Kget crash on start
Product: [Applications] kget Reporter: s.zayetz
Component: generalAssignee: KGet authors <kget>
Status: RESOLVED WORKSFORME    
Severity: crash CC: aspersieman, joris.guisson
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description s.zayetz 2012-07-24 09:45:57 UTC
Application: kget (2.8.4)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-26-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I've just started Kubuntu. Kget was running before previous quit

-- Backtrace:
Application: KGet (kget), signal: Illegal instruction
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:39
[Current thread is 1 (Thread 0x7f759771b7c0 (LWP 1878))]

Thread 2 (Thread 0x7f757a6fe700 (LWP 2566)):
[KCrash Handler]
#6  0x00007f75944418c0 in qt_meta_data_QObject () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f757b7f7426 in endline (this=0x228e5d0) at ../../src/util/log.cpp:160
#8  bt::endl (lg=...) at ../../src/util/log.cpp:222
#9  0x00007f757b87e60e in operator<< (func=<optimized out>, this=<optimized out>) at ../../src/util/log.h:140
#10 bt::CacheFile::preallocate (this=0x28eb710) at ../../src/diskio/cachefile.cpp:461
#11 0x00007f757b87363b in bt::MultiFileCache::preallocateDiskSpace (this=0x28e3030, prealloc=0x28e4210) at ../../src/diskio/multifilecache.cpp:804
#12 0x00007f757b87a8fd in bt::PreallocationThread::run (this=0x28e4210) at ../../src/diskio/preallocationthread.cpp:53
#13 0x00007f7594268fcb in QThreadPrivate::start (arg=0x28e4210) at thread/qthread_unix.cpp:298
#14 0x00007f75953aae9a in start_thread (arg=0x7f757a6fe700) at pthread_create.c:308
#15 0x00007f7592a444bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#16 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f759771b7c0 (LWP 1878)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:39
#1  0x00007f7594267a9b in _q_futex (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0x23938f0) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=0x23938f0, timeout=<optimized out>) at thread/qmutex_unix.cpp:113
#3  0x00007f759426386d in QMutex::lockInternal (this=<optimized out>) at thread/qmutex.cpp:450
#4  0x00007f757b7f891e in bt::Out (arg=<optimized out>) at ../../src/util/log.cpp:270
#5  0x00007f757b809d4c in net::ServerSocket::bind (this=0x2964d70, addr=...) at ../../src/net/serversocket.cpp:93
#6  0x00007f757b809f5e in net::ServerSocket::bind (this=0x2964d70, ip=..., port=<optimized out>) at ../../src/net/serversocket.cpp:83
#7  0x00007f757b83c9c1 in add (port=6881, ip=..., this=0x2715d90) at ../../src/torrent/server.cpp:70
#8  bt::Server::changePort (this=0x2715df0, p=6881) at ../../src/torrent/server.cpp:103
#9  0x00007f757bb64ff2 in BTTransfer::btTransferInit (this=0x2701330, src=..., data=...) at ../../../../kget/transfer-plugins/bittorrent/bttransfer.cpp:431
#10 0x00007f757bb663ef in BTTransfer::start (this=0x2701330) at ../../../../kget/transfer-plugins/bittorrent/bttransfer.cpp:145
#11 0x00007f759656168a in Scheduler::updateQueue (this=0x2386c60, queue=0x2342ca0) at ../../kget/core/scheduler.cpp:303
#12 0x00007f759654d56a in JobQueue::append (this=0x2342ca0, jobs=...) at ../../kget/core/jobqueue.cpp:88
#13 0x00007f759656f46f in TransferGroup::append (this=0x2342ca0, transfers=...) at ../../kget/core/transfergroup.cpp:102
#14 0x00007f7596564f42 in TransferTreeModel::addTransfers (this=0x2389f00, transfers=..., group=0x2342ca0) at ../../kget/core/transfertreemodel.cpp:257
#15 0x00007f759655ac90 in KGet::createTransfers (dataItems=...) at ../../kget/core/kget.cpp:937
#16 0x00007f759655dd2f in KGet::addTransfers (elements=..., groupName=...) at ../../kget/core/kget.cpp:278
#17 0x00007f759656fe0c in TransferGroup::load (this=0x2342ca0, e=...) at ../../kget/core/transfergroup.cpp:387
#18 0x00007f7596550851 in KGet::load (filename=...) at ../../kget/core/kget.cpp:575
#19 0x00000000004af371 in MainWindow::init (this=0x23288a0) at ../../kget/mainwindow.cpp:408
#20 0x00000000004b4f39 in KGetApp::newInstance (this=0x7fff4d40c4d0) at ../../kget/main.cpp:55
#21 0x00007f7597117192 in KUniqueApplicationAdaptor::newInstance (this=0x228f630, asn_id=..., args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:442
#22 0x00007f7597117214 in qt_static_metacall (_a=0x7fff4d40b780, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./kuniqueapplication_p.moc:58
#23 KUniqueApplicationAdaptor::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fff4d40b780) at ./kuniqueapplication_p.moc:52
#24 0x00007f759711735b in KUniqueApplicationAdaptor::qt_metacall (this=0x228f630, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff4d40b780) at ./kuniqueapplication_p.moc:102
#25 0x00007f75946e237b in QDBusConnectionPrivate::deliverCall (this=0x21fa290, object=0x228f630, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:947
#26 0x00007f75946e341d in QDBusConnectionPrivate::activateCall (this=0x21fa290, object=0x228f630, flags=337, msg=...) at qdbusintegrator.cpp:850
#27 0x00007f75946e3e3b in QDBusConnectionPrivate::activateObject (this=0x21fa290, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1423
#28 0x00007f75946e3f2b in QDBusActivateObjectEvent::placeMetaCall (this=0x232de40) at qdbusintegrator.cpp:1537
#29 0x00007f7594381446 in QObject::event (this=0x7fff4d40c4d0, e=<optimized out>) at kernel/qobject.cpp:1195
#30 0x00007f75936ee5f4 in QApplication::event (this=0x7fff4d40c4d0, e=0x232de40) at kernel/qapplication.cpp:2541
#31 0x00007f75936ea894 in notify_helper (e=0x232de40, receiver=0x7fff4d40c4d0, this=0x220e430) at kernel/qapplication.cpp:4559
#32 QApplicationPrivate::notify_helper (this=0x220e430, receiver=0x7fff4d40c4d0, e=0x232de40) at kernel/qapplication.cpp:4531
#33 0x00007f75936ef713 in QApplication::notify (this=0x7fff4d40c4d0, receiver=0x7fff4d40c4d0, e=0x232de40) at kernel/qapplication.cpp:4420
#34 0x00007f75971119e6 in KApplication::notify (this=0x7fff4d40c4d0, receiver=0x7fff4d40c4d0, event=0x232de40) at ../../kdeui/kernel/kapplication.cpp:311
#35 0x00007f7594367e9c in QCoreApplication::notifyInternal (this=0x7fff4d40c4d0, receiver=0x7fff4d40c4d0, event=0x232de40) at kernel/qcoreapplication.cpp:876
#36 0x00007f759436bc6a in sendEvent (event=0x232de40, receiver=0x7fff4d40c4d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#37 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x21b14a0) at kernel/qcoreapplication.cpp:1500
#38 0x00007f7594396f93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#39 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#40 0x00007f758e93ad53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f758e93b0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007f758e93b164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007f75943973bf in QEventDispatcherGlib::processEvents (this=0x21b2d80, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#44 0x00007f7593792d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#45 0x00007f7594366c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#46 0x00007f7594366ed7 in QEventLoop::exec (this=0x7fff4d40c450, flags=...) at kernel/qeventloop.cpp:204
#47 0x00007f759436bf67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#48 0x0000000000429fee in main (argc=3, argv=0x7fff4d40cb38) at ../../kget/main.cpp:149

Possible duplicates by query: bug 273170.

Reported using DrKonqi
Comment 1 Lukas Appelhans 2012-07-24 11:00:06 UTC
Can you look at this Joris?

Lukas
Comment 2 Joris Guisson 2012-07-30 16:12:03 UTC
Which version of libktorrent is this ? And how reproducible is this ?
Comment 3 Nicolaas van der Merwe 2012-08-25 00:41:26 UTC
Created attachment 73450 [details]
New crash information added by DrKonqi

kget (2.8.4) on KDE Platform 4.8.4 (4.8.4) using Qt 4.8.1

- What I was doing when the application crashed:

Every time I start (boot) up after I log in I get this crash.

-- Backtrace (Reduced):
#6  operator& (f=QIODevice::WriteOnly, this=0x119) at ../../include/QtCore/../../src/corelib/global/qglobal.h:2305
#7  QIODevice::write (this=0x1c98cf0, data=0x7f29400031f8 "Sat Aug 25 06:59:55 2012: File /home/aspersieman/Videos/videos/movies/Pirates of the caribbean 1 - 4/Pirates of the caribbean 3/Pirates of the caribbean 3-1.avi already big enough\n", maxSize=180) at io/qiodevice.cpp:1312
#8  0x00007f29615c1272 in write (data=..., this=<optimized out>) at ../../include/QtCore/../../src/corelib/io/qiodevice.h:127
#9  QTextStreamPrivate::flushWriteBuffer (this=0x1c99080) at io/qtextstream.cpp:681
#10 0x00007f29615c94d9 in flush (stream=...) at io/qtextstream.cpp:2887
Comment 4 Andrew Crouthamel 2018-10-29 22:43:57 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2018-11-13 14:39:16 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2018-11-29 09:41:21 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!