Bug 203262 - When leaving KDE with ktorrent and the ktorrent widget active, plasma crashes
Summary: When leaving KDE with ktorrent and the ktorrent widget active, plasma crashes
Status: RESOLVED NOT A BUG
Alias: None
Product: plasma4
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Unspecified
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-10 04:52 UTC by David Hubner
Modified: 2012-05-28 22:17 UTC (History)
1 user (show)

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 David Hubner 2009-08-10 04:52:07 UTC
Version:            (using KDE 4.3.0)
Installed from:    Unlisted Binary Package

When leaving KDE with ktorrent and the ktorrent widget active, plasma crashes. Here is the backtrace info:

More backtrace info:

Application: Plasma Workspace (kdeinit4), signal: Aborted
[Current thread is 0 (LWP 27183)]

Thread 3 (Thread 0x7f7b83114910 (LWP 27186)):
#0  0x00007f7b9fc38a6b in g_main_context_check () from
/usr/lib/libglib-2.0.so.0
#1  0x00007f7b9fc39260 in g_main_context_iterate () from
/usr/lib/libglib-2.0.so.0
#2  0x00007f7b9fc39690 in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#3  0x00007f7ba300755e in QEventDispatcherGlib::processEvents (this=0x107c1a0,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#4  0x00007f7ba2fda4b2 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f7ba2fda884 in QEventLoop::exec (this=0x7f7b83110460, flags=) at
kernel/qeventloop.cpp:201
#6  0x00007f7ba1f2221c in KIO::NetAccess::enter_loop () from
/usr/lib/libkio.so.5
#7  0x00007f7ba1f2286f in KIO::NetAccess::synchronousRunInternal () from
/usr/lib/libkio.so.5
#8  0x00007f7ba1f22ef1 in KIO::NetAccess::synchronousRun () from
/usr/lib/libkio.so.5
#9  0x00007f7b86b41915 in Update_Thread::downloadFile () from
/usr/lib/kde4/plasma_applet_cwp.so
#10 0x00007f7b86b4c6ee in Update_Thread::collectAndParseData () from
/usr/lib/kde4/plasma_applet_cwp.so
#11 0x00007f7b86b4dbf8 in Update_Thread::run () from
/usr/lib/kde4/plasma_applet_cwp.so
#12 0x00007f7ba2ee9305 in QThreadPrivate::start (arg=0x105d890) at
thread/qthread_unix.cpp:188
#13 0x00007f7ba2c7257a in start_thread () from /lib/libpthread.so.0
#14 0x00007f7ba05ab16d in clone () from /lib/libc.so.6
#15 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f7b825c4910 (LWP 27188)):
#0  0x00007f7ba2c7705d in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#1  0x00007f7ba2eea512 in QWaitCondition::wait (this=<value optimized out>,
mutex=0x1592d00, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  0x00007f7ba2edf19a in QThreadPoolThread::run (this=<value optimized out>)
at concurrent/qthreadpool.cpp:140
#3  0x00007f7ba2ee9305 in QThreadPrivate::start (arg=0x1592e40) at
thread/qthread_unix.cpp:188
#4  0x00007f7ba2c7257a in start_thread () from /lib/libpthread.so.0
#5  0x00007f7ba05ab16d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7ba34c3760 (LWP 27183)):
[KCrash Handler]
#5  0x00007f7ba0511f15 in raise () from /lib/libc.so.6
#6  0x00007f7ba0513340 in abort () from /lib/libc.so.6
#7  0x00007f7b863d6f49 in bt::QtMessageOutput () from /usr/lib/libbtcore.so.11
#8  0x00007f7ba2ee017e in qt_message_output (msgType=QtFatalMsg, buf=0x6a2f
<Address 0x6a2f out of bounds>) at global/qglobal.cpp:2007
#9  0x00007f7ba2ee0316 in qFatal (msg=<value optimized out>) at
global/qglobal.cpp:2241
#10 0x00007f7b9efee2e9 in QDBusConnectionPrivate::connectSignal (this=<value
optimized out>, key=<value optimized out>, hook=@0x7fff567debe0) at
qdbusintegrator.cpp:1949
#11 0x00007f7b9eff0f32 in QDBusConnectionPrivate::connectRelay (this=0xb9f6d0,
service=<value optimized out>, owner=<value optimized out>, path=<value
optimized out>, interface=@0xba59d0, 
    receiver=<value optimized out>, signal=0x7f7b9f02b190
"2NameAcquired(QString)") at qdbusintegrator.cpp:2036
#12 0x00007f7b9effde06 in QDBusAbstractInterface::connectNotify (this=0xba0770,
signal=0x7f7b9f02b190 "2NameAcquired(QString)") at
qdbusabstractinterface.cpp:516
#13 0x00007f7ba2fef032 in QObject::connect (sender=0xba0770, signal=<value
optimized out>, receiver=0x158c180, method=<value optimized out>,
type=Qt::AutoConnection) at kernel/qobject.cpp:2547
#14 0x00007f7b8270a7a5 in ktplasma::Engine::Engine () from
/usr/lib/kde4/plasma_engine_ktorrent.so
#15 0x00007f7b8270b597 in KPluginFactory::createInstance<ktplasma::Engine,
QObject> () from /usr/lib/kde4/plasma_engine_ktorrent.so
#16 0x00007f7ba29dbdde in KPluginFactory::create () from
/usr/lib/libkdecore.so.5
#17 0x00007f7b9a92ef26 in Plasma::DataEngineManager::loadEngine () from
/usr/lib/libplasma.so.3
#18 0x00007f7b9a9010a0 in Plasma::Applet::dataEngine () from
/usr/lib/libplasma.so.3
#19 0x00007f7b8691e010 in ktplasma::Applet::init () from
/usr/lib/kde4/plasma_applet_ktorrent.so
#20 0x00007f7b9a9261aa in Plasma::Corona::loadLayout () from
/usr/lib/libplasma.so.3
#21 0x00007f7b9a927252 in Plasma::Corona::initializeLayout () from
/usr/lib/libplasma.so.3
#22 0x00007f7b96e3a986 in PlasmaApp::corona () from
/usr/lib/libkdeinit4_plasma-desktop.so
#23 0x00007f7b96e3ac58 in PlasmaApp::setupDesktop () from
/usr/lib/libkdeinit4_plasma-desktop.so
#24 0x00007f7b96e3ae6c in PlasmaApp::qt_metacall () from
/usr/lib/libkdeinit4_plasma-desktop.so
#25 0x00007f7ba2ff3841 in QMetaObject::activate (sender=<value optimized out>,
from_signal_index=<value optimized out>, to_signal_index=<value optimized out>,
argv=0xffffffffffffffff)
    at kernel/qobject.cpp:3112
#26 0x00007f7ba2ff8f1f in QSingleShotTimer::timerEvent (this=0xc6ef10) at
kernel/qtimer.cpp:298
#27 0x00007f7ba2fec2d3 in QObject::event (this=0xc6ef10, e=0x6a2f) at
kernel/qobject.cpp:1074
#28 0x00007f7ba0ceabec in QApplicationPrivate::notify_helper (this=0xba7170,
receiver=0xc6ef10, e=0x7fff567e00c0) at kernel/qapplication.cpp:4056
#29 0x00007f7ba0cf1f6d in QApplication::notify (this=0xb9e010,
receiver=0xc6ef10, e=0x7fff567e00c0) at kernel/qapplication.cpp:4021
#30 0x00007f7ba199aff6 in KApplication::notify () from /usr/lib/libkdeui.so.5
#31 0x00007f7ba2fdba9c in QCoreApplication::notifyInternal (this=0xb9e010,
receiver=0xc6ef10, event=0x7fff567e00c0) at kernel/qcoreapplication.cpp:610
#32 0x00007f7ba300ab1a in QTimerInfoList::activateTimers (this=0xbaa6e0) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#33 0x00007f7ba30075bd in timerSourceDispatch (source=<value optimized out>) at
kernel/qeventdispatcher_glib.cpp:165
#34 0x00007f7b9fc35dbe in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#35 0x00007f7b9fc39568 in g_main_context_iterate () from
/usr/lib/libglib-2.0.so.0
#36 0x00007f7b9fc39690 in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#37 0x00007f7ba3007506 in QEventDispatcherGlib::processEvents (this=0xaef5a0,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#38 0x00007f7ba0d860be in QGuiEventDispatcherGlib::processEvents (this=0x6a2f,
flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#39 0x00007f7ba2fda4b2 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#40 0x00007f7ba2fda884 in QEventLoop::exec (this=0x7fff567e0360, flags=) at
kernel/qeventloop.cpp:201
#41 0x00007f7ba2fdcc4b in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:888
#42 0x00007f7b96e211ff in kdemain () from
/usr/lib/libkdeinit4_plasma-desktop.so
#43 0x0000000000406eae in _start ()
Comment 1 Joris Guisson 2009-08-11 18:39:31 UTC
The dbus server returns an error when the ktorrent plasma data engine tries to connect a signal. And this results in an assertion in Qt being hit, and you get this nice crash.

Don't know why, but as far as I can see the KT data engine isn't doing anything wrong. The question is, why is the dbus server returning an error ?
Comment 2 David Hubner 2009-09-03 12:57:23 UTC
I belive this is due to 203259, i shall test this when QT4.6 or QT4.5.3 whatever is first.
Comment 3 Myriam Schweingruber 2012-05-28 22:17:26 UTC
Closing as outdated.