Bug 270025 - ktorrent crash points to a KIO problem
Summary: ktorrent crash points to a KIO problem
Status: RESOLVED DUPLICATE of bug 222780
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: 4.6
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
Depends on:
Reported: 2011-04-03 19:30 UTC by George R. Goffe
Modified: 2011-04-04 01:25 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description George R. Goffe 2011-04-03 19:30:24 UTC
Version:           4.6 (using KDE 4.6.1) 
OS:                Linux

Could be a dup of 268864. Here's the gdb output from ktorrent. I HOPE it'll help.



gdb --args /usr/bin/ktorrent --nofork
GNU gdb (GDB) Fedora (7.2-50.fc14)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-redhat-linux-gnu".
For bug reporting instructions, please see:
Reading symbols from /usr/bin/ktorrent...Reading symbols from
(gdb) run
Starting program: /usr/bin/ktorrent --nofork
[Thread debugging using libthread_db enabled]
warning: "/usr/lib/debug/usr/lib/sse2/libgmp.so.3.5.0.debug": separate debug
info file has no debug info
warning: "/usr/lib/debug/usr/lib/libQt3Support.so.4.7.1.debug": separate debug
info file has no debug info
KGlobal::locale::Warning your global KLocale is being recreated with a valid
main component instead of a fake component, this usually means you tried to
call i18n related functions before your main component was created. You should
not do that since it most likely will not work 
[New Thread 0xb5fdab70 (LWP 9733)]
[Thread 0xb5fdab70 (LWP 9733) exited]
Warning: QWidget::insertAction: Attempt to insert null action
Warning: QWidget::insertAction: Attempt to insert null action
Warning: QWidget::insertAction: Attempt to insert null action
warning: "/usr/lib/debug/usr/lib/libQtWebKit.so.4.7.1.debug": separate debug
info file has no debug info
[New Thread 0xb5fdab70 (LWP 9741)]
[New Thread 0xb289cb70 (LWP 9742)]
[New Thread 0xb209bb70 (LWP 9743)]
[New Thread 0xb16ffb70 (LWP 9744)]
[New Thread 0xb0cffb70 (LWP 9745)]
[Thread 0xb0cffb70 (LWP 9745) exited]
[Thread 0xb5fdab70 (LWP 9741) exited]
[Thread 0xb16ffb70 (LWP 9744) exited]
[New Thread 0xb16ffb70 (LWP 9746)]
[New Thread 0xb5fdab70 (LWP 9747)]
[New Thread 0xb0cffb70 (LWP 9748)]
[Thread 0xb16ffb70 (LWP 9746) exited]
[Thread 0xb289cb70 (LWP 9742) exited]
[New Thread 0xb16ffb70 (LWP 9751)]
[Thread 0xb5fdab70 (LWP 9747) exited]
[New Thread 0xb5fdab70 (LWP 9752)]
[New Thread 0xb289cb70 (LWP 9753)]
[New Thread 0xb04feb70 (LWP 9754)]
[New Thread 0xafcfdb70 (LWP 9755)]
[New Thread 0xaf4fcb70 (LWP 9756)]
[New Thread 0xaecfbb70 (LWP 9757)]
[New Thread 0xae4fab70 (LWP 9758)]
[New Thread 0xadcf9b70 (LWP 9763)]
[New Thread 0xad4f8b70 (LWP 9764)]
[New Thread 0xaccf7b70 (LWP 9765)]
[Thread 0xb0cffb70 (LWP 9748) exited]
[Thread 0xb289cb70 (LWP 9753) exited]
[Thread 0xb209bb70 (LWP 9743) exited]
[Thread 0xb5fdab70 (LWP 9752) exited]
[New Thread 0xb5fdab70 (LWP 9799)]
[New Thread 0xb209bb70 (LWP 9800)]
[New Thread 0xb289cb70 (LWP 9801)]
[New Thread 0xb0cffb70 (LWP 9802)]
[Thread 0xb289cb70 (LWP 9801) exited]
[Thread 0xb209bb70 (LWP 9800) exited]
[Thread 0xb16ffb70 (LWP 9751) exited]
[Thread 0xb0cffb70 (LWP 9802) exited]
[Thread 0xb5fdab70 (LWP 9799) exited]
[New Thread 0xb5fdab70 (LWP 9813)]
[New Thread 0xb0cffb70 (LWP 9814)]
[New Thread 0xb16ffb70 (LWP 9815)]
[Thread 0xb0cffb70 (LWP 9814) exited]
[Thread 0xb5fdab70 (LWP 9813) exited]
[Thread 0xb16ffb70 (LWP 9815) exited]
[New Thread 0xb16ffb70 (LWP 9835)]
[New Thread 0xb5fdab70 (LWP 9836)]
[New Thread 0xb0cffb70 (LWP 9837)]
[Thread 0xb16ffb70 (LWP 9835) exited]
[New Thread 0xb16ffb70 (LWP 9838)]
[New Thread 0xb209bb70 (LWP 9840)]
[New Thread 0xb289cb70 (LWP 9841)]
[Thread 0xb5fdab70 (LWP 9836) exited]
[Thread 0xb289cb70 (LWP 9841) exited]
[Thread 0xb16ffb70 (LWP 9838) exited]
[Thread 0xb209bb70 (LWP 9840) exited]
[Thread 0xb0cffb70 (LWP 9837) exited]
[New Thread 0xb0cffb70 (LWP 9849)]
[New Thread 0xb209bb70 (LWP 9850)]
[New Thread 0xb16ffb70 (LWP 9851)]
[New Thread 0xb289cb70 (LWP 9852)]
[New Thread 0xac4f6b70 (LWP 9853)]
[Thread 0xac4f6b70 (LWP 9853) exited]
[Thread 0xb209bb70 (LWP 9850) exited]
[Thread 0xb289cb70 (LWP 9852) exited]
[Thread 0xb16ffb70 (LWP 9851) exited]
[Thread 0xb0cffb70 (LWP 9849) exited]
[New Thread 0xb0cffb70 (LWP 9929)]
[New Thread 0xb16ffb70 (LWP 9930)]
[New Thread 0xb289cb70 (LWP 9931)]
[New Thread 0xb209bb70 (LWP 9932)]
[New Thread 0xac4f6b70 (LWP 9933)]
[Thread 0xb289cb70 (LWP 9931) exited]
[Thread 0xb0cffb70 (LWP 9929) exited]
[Thread 0xb209bb70 (LWP 9932) exited]

Program received signal SIGSEGV, Segmentation fault.
QAbstractSocketEngine::state (this=0x0) at socket/qabstractsocketengine.cpp:186
186         return d_func()->socketState;
(gdb) where
#0  QAbstractSocketEngine::state (this=0x0) at
#1  0x00c92fab in QNativeSocketEngine::waitForReadOrWrite (this=0x97f5d28,
readyToRead=0xbfffd7af, readyToWrite=0xbfffd7ae, checkRead=true,
checkWrite=true, msecs=-1, timedOut=
    0x0) at socket/qnativesocketengine.cpp:988
#2  0x00ca5427 in QAbstractSocket::waitForBytesWritten (this=0x96f2250,
msecs=-1) at socket/qabstractsocket.cpp:1894
#3  0x0618825b in KIO::SocketConnectionBackend::sendCommand (this=0x9e91790,
task=...) at /usr/src/debug/kdelibs-4.6.1/kio/kio/connection.cpp:294
#4  0x061894eb in KIO::Connection::sendnow (this=0x9341788, _cmd=85, data=...)
at /usr/src/debug/kdelibs-4.6.1/kio/kio/connection.cpp:505
#5  0x0618a7be in KIO::ConnectionPrivate::dequeue (this=0x9eaec08) at
#6  0x06264055 in KIO::Slave::accept (this=0x96bcca0) at
#7  0x06265173 in KIO::Slave::qt_metacall (this=0x96bcca0,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfffd9bc)
    at /usr/src/debug/kdelibs-4.6.1/i686-redhat-linux-gnu/kio/slave.moc:81
#8  0x04f9fbeb in QMetaObject::metacall (object=0x96bcca0,
cl=QMetaObject::InvokeMetaMethod, idx=29, argv=0xbfffd9bc) at
#9  0x04faf0c7 in QMetaObject::activate (sender=0x931d080, m=0x6386450,
local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3272
#10 0x0618a018 in KIO::ConnectionServer::newConnection (this=0x931d080) at
#11 0x0618a072 in KIO::ConnectionServer::qt_metacall (this=0x931d080,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfffdacc)
---Type <return> to continue, or q <return> to quit---
#12 0x04f9fbeb in QMetaObject::metacall (object=0x931d080,
cl=QMetaObject::InvokeMetaMethod, idx=4, argv=0xbfffdacc) at
#13 0x04faf0c7 in QMetaObject::activate (sender=0x9de8308, m=0x6386420,
local_signal_index=2, argv=0x0) at kernel/qobject.cpp:3272
#14 0x06189e68 in KIO::AbstractConnectionBackend::newConnection
(this=0x9de8308) at
#15 0x06189eeb in KIO::AbstractConnectionBackend::qt_metacall (this=0x9de8308,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfffdc0c)
#16 0x06189f4d in KIO::SocketConnectionBackend::qt_metacall (this=0x9de8308,
_c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfffdc0c)
#17 0x04f9fbeb in QMetaObject::metacall (object=0x9de8308,
cl=QMetaObject::InvokeMetaMethod, idx=6, argv=0xbfffdc0c) at
#18 0x04faf0c7 in QMetaObject::activate (sender=0x9df48f0, m=0x2910e14,
local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3272
#19 0x027ec8a8 in KLocalSocketServer::newConnection (this=0x9df48f0) at
#20 0x027ecac1 in KLocalSocketServer::incomingConnection (this=0x9df48f0,
descriptor=1245) at
#21 0x02868b02 in KLocalSocketServerPrivate::processSocketActivity
(this=0x9268000) at
#22 0x027ec92b in KLocalSocketServer::qt_metacall (this=0x9df48f0,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfffddf8)
---Type <return> to continue, or q <return> to quit---
#23 0x04f9fbeb in QMetaObject::metacall (object=0x9df48f0,
cl=QMetaObject::InvokeMetaMethod, idx=5, argv=0xbfffddf8) at
#24 0x04faf0c7 in QMetaObject::activate (sender=0x9eaeca8, m=0x50d5a70,
local_signal_index=0, argv=0xbfffddf8) at kernel/qobject.cpp:3272
#25 0x04ffd6a4 in QSocketNotifier::activated (this=0x9eaeca8, _t1=932) at
#26 0x04fb58cf in QSocketNotifier::event (this=0x9eaeca8, e=0xbfffe264) at
#27 0x0535426c in QApplicationPrivate::notify_helper (this=0x8161890,
receiver=0x9eaeca8, e=0xbfffe264) at kernel/qapplication.cpp:4445
#28 0x05358ed2 in QApplication::notify (this=0xbfffe570, receiver=0x9eaeca8,
e=0xbfffe264) at kernel/qapplication.cpp:3845
#29 0x08079828 in kt::App::notify (this=0xbfffe570, receiver=0x9eaeca8,
event=0xbfffe264) at /usr/src/debug/ktorrent-4.1.0/ktorrent/app.cpp:97
#30 0x04f993b3 in QCoreApplication::notifyInternal (this=0xbfffe570,
receiver=0x9eaeca8, event=0xbfffe264) at kernel/qcoreapplication.cpp:732
#31 0x04fc6a2f in sendEvent (source=0x8160da0) at kernel/qcoreapplication.h:215
#32 socketNotifierSourceDispatch (source=0x8160da0) at
#33 0x00e3c192 in g_main_dispatch (context=0x8161038) at gmain.c:2149
#34 g_main_context_dispatch (context=0x8161038) at gmain.c:2702
#35 0x00e3c978 in g_main_context_iterate (context=0x8161038, block=1,
dispatch=1, self=<value optimized out>) at gmain.c:2780
---Type <return> to continue, or q <return> to quit---
#36 0x00e3cc35 in g_main_context_iteration (context=0x8161038, may_block=1) at
#37 0x04fc70ad in QEventDispatcherGlib::processEvents (this=0x811a7a0,
flags=...) at kernel/qeventdispatcher_glib.cpp:415
#38 0x05407406 in QGuiEventDispatcherGlib::processEvents (this=0x811a7a0,
flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#39 0x04f9854a in QEventLoop::processEvents (this=0xbfffe4e4, flags=...) at
#40 0x04f987fa in QEventLoop::exec (this=0xbfffe4e4, flags=...) at
#41 0x04f9d3a7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#42 0x05352078 in QApplication::exec () at kernel/qapplication.cpp:3719
#43 0x0806921a in main (argc=-669515775, argv=0xf3b0bfff) at

Reproducible: Always

Steps to Reproduce:
run ktorrent til it backgrounds itself. then run it again to get the gui.

This problem happens with only the background running.

Actual Results:  
crash. see gdb output from ktorrent above.

Expected Results:  
Not a crash, that's for sure.

If you have beta code or need more info, I'm here to help you.


Comment 1 Christoph Feck 2011-04-04 01:25:00 UTC

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