Bug 238569 - Kanagram crashes when trying to download new words with the ghns dialog using the keyboard
Summary: Kanagram crashes when trying to download new words with the ghns dialog using...
Status: RESOLVED FIXED
Alias: None
Product: kanagram
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Jeremy Whiting
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-23 12:57 UTC by Martin Walch
Modified: 2010-10-28 22:05 UTC (History)
0 users

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 Martin Walch 2010-05-23 12:57:36 UTC
Application: kanagram (0.2)
KDE Platform Version: 4.4.3 (KDE 4.4.3) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-gentoo-r7 x86_64
Distribution: "Gentoo Base System release 2.0.0"

-- Information about the crash:
1. open the GHNS dialog of kanagram to download new words
2. press Tab until one of the download buttons is highlighted
3. press spacebar

The crash should now have happened. This happens for me whenever I try to install or uninstall words in kanagram.

Note that when using the up and down keys, the highlighting of the download buttons and of the whole entries may be out of sync.


The crash can be reproduced every time.

 -- Backtrace:
Application: Kanagram (kanagram), signal: Segmentation fault
The current source language is "auto; currently c".
[KCrash Handler]
#5  QAbstractProxyModel::d_func (this=0x0) at itemviews/qabstractproxymodel.h:90
#6  QAbstractProxyModel::sourceModel (this=0x0) at itemviews/qabstractproxymodel.cpp:137
#7  0x00007fc97d9d4b57 in KNS::ItemsViewDelegate::slotInstallClicked (this=0x1430640) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/knewstuff/knewstuff2/ui/itemsviewdelegate.cpp:323
#8  0x00007fc97d9adddc in KNS::ItemsViewDelegate::qt_metacall (this=0x1430640, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff2994cf00)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3_build/knewstuff/knewstuff2/moc_itemsviewdelegate.cpp:83
#9  0x00007fc97bdc7af1 in QMetaObject::activate (sender=0x16168c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xc) at kernel/qobject.cpp:3285
#10 0x00007fc97b5bd602 in QAbstractButton::clicked (this=0x0, _t1=false) at .moc/debug-shared/moc_qabstractbutton.cpp:206
#11 0x00007fc97b2943db in QAbstractButtonPrivate::emitClicked (this=0x162c4a0) at widgets/qabstractbutton.cpp:546
#12 0x00007fc97b295f9b in QAbstractButtonPrivate::click (this=0x162c4a0) at widgets/qabstractbutton.cpp:539
#13 0x00007fc97af17cb1 in QWidget::event (this=0x16168c0, event=0x7fff2994d760) at kernel/qwidget.cpp:8070
#14 0x00007fc97aebb3f0 in QApplicationPrivate::notify_helper (this=0xe0eb30, receiver=0x16168c0, e=0x7fff2994d760) at kernel/qapplication.cpp:4300
#15 0x00007fc97aec3ad7 in QApplication::notify (this=<value optimized out>, receiver=0x16168c0, e=0x7fff2994d760) at kernel/qapplication.cpp:3763
#16 0x00007fc97cc4a8f1 in KApplication::notify (this=0xe0ea30, receiver=0x16168c0, event=0x7fff2994d760)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/kdeui/kernel/kapplication.cpp:302
#17 0x00007fc97bdb1cab in QCoreApplication::notifyInternal (this=0xe0ea30, receiver=0x16168c0, event=0x7fff2994d760) at kernel/qcoreapplication.cpp:704
#18 0x00007fc97af6f32a in QKeyMapper::sendKeyEvent (keyWidget=0x16168c0, grab=<value optimized out>, type=QEvent::KeyRelease, code=32, modifiers=<value optimized out>, text=..., autorepeat=false, 
    count=1, nativeScanCode=65, nativeVirtualKey=32, nativeModifiers=16) at kernel/qkeymapper_x11.cpp:1861
#19 0x00007fc97af718f1 in QKeyMapperPrivate::translateKeyEvent (this=0xe456a0, keyWidget=0x16168c0, event=<value optimized out>, grab=80) at kernel/qkeymapper_x11.cpp:1831
#20 0x00007fc97af4a464 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff2994e310) at kernel/qapplication_x11.cpp:3394
#21 0x00007fc97af74a62 in x11EventSourceDispatch (s=0xe12970, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#22 0x00007fc97934a51d in g_main_dispatch (context=0xe10e20) at gmain.c:1960
#23 IA__g_main_context_dispatch (context=0xe10e20) at gmain.c:2513
#24 0x00007fc97934dee8 in g_main_context_iterate (context=0xe10e20, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#25 0x00007fc97934e010 in IA__g_main_context_iteration (context=0xe10e20, may_block=1) at gmain.c:2654
#26 0x00007fc97bdde973 in QEventDispatcherGlib::processEvents (this=0xdf2270, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#27 0x00007fc97af7461e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#28 0x00007fc97bdb04c2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#29 0x00007fc97bdb0895 in QEventLoop::exec (this=0x7fff2994e630, flags=) at kernel/qeventloop.cpp:201
#30 0x00007fc97d9dde13 in KNS::EnginePrivate::workflow (this=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/knewstuff/knewstuff2/engine.cpp:158
#31 0x00007fc97d9de3a6 in KNS::Engine::downloadDialogModal (this=0x10f84b0, parent=0x0) at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/knewstuff/knewstuff2/engine.cpp:219
#32 0x00007fc97d9de5ff in KNS::Engine::download () at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/knewstuff/knewstuff2/engine.cpp:191
#33 0x000000000041907d in NewStuff::on_btnGetNew_clicked (this=<value optimized out>) at /var/tmp/portage/kde-base/kanagram-4.4.3/work/kanagram-4.4.3/kanagram/src/newstuff.cpp:48
#34 0x00000000004190d0 in NewStuff::qt_metacall (this=0x10ea7b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>)
    at /var/tmp/portage/kde-base/kanagram-4.4.3/work/kanagram-4.4.3_build/kanagram/src/newstuff.moc:74
#35 0x00007fc97bdc7af1 in QMetaObject::activate (sender=0x1022b80, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xc) at kernel/qobject.cpp:3285
#36 0x00007fc97b5bd602 in QAbstractButton::clicked (this=0x0, _t1=false) at .moc/debug-shared/moc_qabstractbutton.cpp:206
#37 0x00007fc97b2943db in QAbstractButtonPrivate::emitClicked (this=0x1101be0) at widgets/qabstractbutton.cpp:546
#38 0x00007fc97b295f9b in QAbstractButtonPrivate::click (this=0x1101be0) at widgets/qabstractbutton.cpp:539
#39 0x00007fc97b29620c in QAbstractButton::mouseReleaseEvent (this=0x1022b80, e=0x7fff2994f410) at widgets/qabstractbutton.cpp:1121
#40 0x00007fc97af17ce5 in QWidget::event (this=0x1022b80, event=0x7fff2994f410) at kernel/qwidget.cpp:7998
#41 0x00007fc97aebb3f0 in QApplicationPrivate::notify_helper (this=0xe0eb30, receiver=0x1022b80, e=0x7fff2994f410) at kernel/qapplication.cpp:4300
#42 0x00007fc97aec3e90 in QApplication::notify (this=0xe0ea30, receiver=0x1022b80, e=0x7fff2994f410) at kernel/qapplication.cpp:3865
#43 0x00007fc97cc4a8f1 in KApplication::notify (this=0xe0ea30, receiver=0x1022b80, event=0x7fff2994f410)
    at /var/tmp/portage/kde-base/kdelibs-4.4.3/work/kdelibs-4.4.3/kdeui/kernel/kapplication.cpp:302
#44 0x00007fc97bdb1cab in QCoreApplication::notifyInternal (this=0xe0ea30, receiver=0x1022b80, event=0x7fff2994f410) at kernel/qcoreapplication.cpp:704
#45 0x00007fc97aec0ca9 in QCoreApplication::sendEvent (receiver=0x1022b80, event=0x7fff2994f410, alienWidget=0x1022b80, nativeWidget=0x10237f0, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#46 QApplicationPrivate::sendMouseEvent (receiver=0x1022b80, event=0x7fff2994f410, alienWidget=0x1022b80, nativeWidget=0x10237f0, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2965
#47 0x00007fc97af4b9f4 in QETWidget::translateMouseEvent (this=0x10237f0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4368
#48 0x00007fc97af4a6aa in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff2994fb90) at kernel/qapplication_x11.cpp:3501
#49 0x00007fc97af74a62 in x11EventSourceDispatch (s=0xe12970, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#50 0x00007fc97934a51d in g_main_dispatch (context=0xe10e20) at gmain.c:1960
#51 IA__g_main_context_dispatch (context=0xe10e20) at gmain.c:2513
#52 0x00007fc97934dee8 in g_main_context_iterate (context=0xe10e20, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#53 0x00007fc97934e010 in IA__g_main_context_iteration (context=0xe10e20, may_block=1) at gmain.c:2654
#54 0x00007fc97bdde973 in QEventDispatcherGlib::processEvents (this=0xdf2270, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#55 0x00007fc97af7461e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#56 0x00007fc97bdb04c2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#57 0x00007fc97bdb0895 in QEventLoop::exec (this=0x7fff2994feb0, flags=) at kernel/qeventloop.cpp:201
#58 0x00007fc97bdb2e6b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#59 0x000000000040cfd5 in main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-base/kanagram-4.4.3/work/kanagram-4.4.3/kanagram/src/main.cpp:51

Reported using DrKonqi
Comment 1 Christoph Feck 2010-10-28 22:05:51 UTC
This is fixed with r1111080.

WebSVN link: http://websvn.kde.org/?revision=1111080&view=revision