[Panel-devel] playground/base/plasma/applets/dict

Laurent Montel montel at kde.org
Sun Jul 29 18:03:32 CEST 2007


> What crash does this fix?
> If you have a backtrace, can you send it to me?
> I see no reason this would crash it

Timer is not finish and it call getdefinition and before we press enter which 
called getdefinition too. I think that there is a pb with this two call.

> and it adds a feature. 

which feature ? (same code when timer is finish or we press enter)

> Thomas Georgiou

This crash appear when we press enter before timer is finish.

This crash:
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1208207664 (LWP 9770)]
[New Thread -1218167920 (LWP 9839)]
[KCrash handler]
#6  0x008edaa0 in QIODevice::d_func (this=0x0)
    at ../../include/QtCore/../../src/corelib/io/qiodevice.h:145
#7  0x008ed0b5 in QIODevice::readAll (this=0x0) at io/qiodevice.cpp:907
#8  0x01d2248e in DictEngine::getDefinition (this=0x82fc2f0)
    
at /home/laurent/kde/kde4/playground/base/plasma/engines/dict/dictengine.cpp:67
#9  0x01d23f8f in DictEngine::qt_metacall (this=0x82fc2f0, 
    _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfa54084)
    
at /home/laurent/kde/kde4/playground/base/plasma/build/engines/dict/dictengine.moc:67
#10 0x00953d36 in QMetaObject::activate (sender=0x81a3b18, 
    from_signal_index=8, to_signal_index=8, argv=0x0)
    at kernel/qobject.cpp:3063
#11 0x00954165 in QMetaObject::activate (sender=0x81a3b18, m=0xa57f30, 
    local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3125
#12 0x00a0b3e5 in QAbstractSocket::connected (this=0x81a3b18)
    at .moc/debug-shared/moc_qabstractsocket.cpp:125
#13 0x00a0ca49 in QAbstractSocketPrivate::fetchConnectionParameters (
    this=0x84ba348) at qabstractsocket.cpp:990
#14 0x00a0e0c3 in QAbstractSocketPrivate::_q_testConnection (this=0x84ba348)
    at qabstractsocket.cpp:867
#15 0x00a0e1c3 in QAbstractSocketPrivate::canWriteNotification 
(this=0x84ba348)
    at qabstractsocket.cpp:592
#16 0x00a106ed in QAbstractSocketPrivate::writeNotification (this=0x84ba348)
    at qabstractsocket_p.h:58
#17 0x009fd497 in QAbstractSocketEngine::writeNotification (this=0x82f4950)
    at qabstractsocketengine.cpp:126
#18 0x009feaf3 in QWriteNotifier::event (this=0x8322ba0, e=0xbfa54658)
    at qnativesocketengine.cpp:936
#19 0x0108451d in QApplicationPrivate::notify_helper (this=0x8187f58, 
    receiver=0x8322ba0, e=0xbfa54658) at kernel/qapplication.cpp:3538
#20 0x01084836 in QApplication::notify (this=0xbfa548b8, receiver=0x8322ba0, 
    e=0xbfa54658) at kernel/qapplication.cpp:3097
#21 0x003b13ea in KApplication::notify (this=0xbfa548b8, receiver=0x8322ba0, 
    event=0xbfa54658)
    at /home/laurent/kde/kde4/kdelibs/kdeui/kernel/kapplication.cpp:300
#22 0x009425e0 in QCoreApplication::notifyInternal (this=0xbfa548b8, 
    receiver=0x8322ba0, event=0xbfa54658) at kernel/qcoreapplication.cpp:509
#23 0x00945ab5 in QCoreApplication::sendEvent (receiver=0x8322ba0, 
    event=0xbfa54658)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:186
#24 0x0096c39a in socketNotifierSourceDispatch (source=0x818af50)
    at kernel/qeventdispatcher_glib.cpp:89
#25 0x41330442 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#26 0x4133341f in g_main_context_check () from /lib/libglib-2.0.so.0
#27 0x41333985 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#28 0x0096bb8c in QEventDispatcherGlib::processEvents (this=0x8182590, 
    flags=@0xbfa547a8) at kernel/qeventdispatcher_glib.cpp:325
#29 0x0111b084 in QGuiEventDispatcherGlib::processEvents (this=0x8182590, 
    flags=@0xbfa547d8) at kernel/qguieventdispatcher_glib.cpp:178
#30 0x0093f4b6 in QEventLoop::processEvents (this=0xbfa54850, 
    flags=@0xbfa54814) at kernel/qeventloop.cpp:126
#31 0x0093f638 in QEventLoop::exec (this=0xbfa54850, flags=@0xbfa54858)
    at kernel/qeventloop.cpp:168
#32 0x00942d2d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:729
#33 0x01084084 in QApplication::exec () at kernel/qapplication.cpp:3035
#34 0x08054948 in main (argc=1, argv=0xbfa549c4)
    at /home/laurent/kde/kde4/kdebase/workspace/plasma/plasma/main.cpp:45
#0  0x0021f402 in __kernel_vsyscall ()


More information about the Panel-devel mailing list