Bug 240460

Summary: moved 139 word from one folder to another and parley crashed
Product: [Applications] parley Reporter: Juergen <all.online>
Component: generalAssignee: parley bug tracker <parley-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: echidnaman
Priority: NOR    
Version: 0.9.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Juergen 2010-06-02 13:40:43 UTC
Application: parley (0.9.3)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
moved 139 word from one folder to another and parley crashed
moved 139 word from one folder to another and parley crashed

 -- Backtrace:
Application: Parley (parley), signal: Segmentation fault
[KCrash Handler]
#6  QList<int>::append (this=0xad112e0) at /usr/include/qt4/QtCore/qlist.h:478
#7  QMap<int, KEduVocTranslation*>::keys (this=0xad112e0) at /usr/include/qt4/QtCore/qmap.h:796
#8  0x00b5cdbe in KEduVocExpression::translationIndices (this=0xad0b1e8) at ../../../libkdeedu/keduvocdocument/keduvocexpression.cpp:205
#9  0x00b5e63c in KEduVocExpression::translation (this=0xad0b1e8, index=0) at ../../../libkdeedu/keduvocdocument/keduvocexpression.cpp:188
#10 0x00b892ca in KEduVocKvtml2Writer::writeWordTypes (this=0xbf80708c, typesElement=..., parentContainer=0xa79a9d0) at ../../../libkdeedu/keduvocdocument/keduvockvtml2writer.cpp:415
#11 0x00b8e722 in KEduVocKvtml2Writer::createXmlDocument (this=0xbf80708c, doc=0xa0f4230, generator=...) at ../../../libkdeedu/keduvocdocument/keduvockvtml2writer.cpp:93
#12 0x00b8e993 in KEduVocKvtml2Writer::writeDoc (this=0xbf80708c, doc=0xa0f4230, generator=...) at ../../../libkdeedu/keduvocdocument/keduvockvtml2writer.cpp:39
#13 0x00b5a34c in KEduVocDocument::saveAs (this=0xa0f4230, url=..., ft=KEduVocDocument::Kvtml, generator=...) at ../../../libkdeedu/keduvocdocument/keduvocdocument.cpp:390
#14 0x0811dca3 in ParleyDocument::save (this=0x9eb3cc8) at ../../../parley/src/parleydocument.cpp:246
#15 0x0811e16b in ParleyDocument::qt_metacall (this=0x9eb3cc8, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0xbf807398) at ./parleydocument.moc:105
#16 0x0042cc9a in QMetaObject::metacall (object=0x9eb3cc8, cl=QMetaObject::InvokeMetaMethod, idx=14, argv=0xbf807398) at kernel/qmetaobject.cpp:237
#17 0x0043b3d5 in QMetaObject::activate (sender=0xa12ebb8, m=0x1c49d58, local_signal_index=1, argv=0xbf807398) at kernel/qobject.cpp:3293
#18 0x0131abd9 in QAction::triggered (this=0xa12ebb8, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#19 0x0131cdcc in QAction::activate (this=0xa12ebb8, event=QAction::Trigger) at kernel/qaction.cpp:1255
#20 0x017c060c in QMenuPrivate::activateCausedStack (this=0xa79a220, causedStack=..., action=0xa12ebb8, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1011
#21 0x017c6abb in QMenuPrivate::activateAction (this=0xa79a220, action=0xa12ebb8, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1103
#22 0x017c7ac7 in QMenu::mouseReleaseEvent (this=0xa79a200, e=0xbf807c30) at widgets/qmenu.cpp:2312
#23 0x04337f65 in KMenu::mouseReleaseEvent (this=0xa79a200, e=0xbf807c30) at ../../kdeui/widgets/kmenu.cpp:471
#24 0x0137f7f8 in QWidget::event (this=0xa79a200, event=0xbf807c30) at kernel/qwidget.cpp:7998
#25 0x017c90cc in QMenu::event (this=0xa79a200, e=0xbf807c30) at widgets/qmenu.cpp:2414
#26 0x013214dc in QApplicationPrivate::notify_helper (this=0x9d9d7a0, receiver=0xa79a200, e=0xbf807c30) at kernel/qapplication.cpp:4300
#27 0x013289f7 in QApplication::notify (this=0xbf8084e0, receiver=0xa79a200, e=0xbf807c30) at kernel/qapplication.cpp:3865
#28 0x04241f2a in KApplication::notify (this=0xbf8084e0, receiver=0xa79a200, event=0xbf807c30) at ../../kdeui/kernel/kapplication.cpp:302
#29 0x00427a3b in QCoreApplication::notifyInternal (this=0xbf8084e0, receiver=0xa79a200, event=0xbf807c30) at kernel/qcoreapplication.cpp:704
#30 0x01327952 in QCoreApplication::sendEvent (receiver=0xa79a200, event=0xbf807c30, alienWidget=0x0, nativeWidget=0xa79a200, buttonDown=0x1c65058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QApplicationPrivate::sendMouseEvent (receiver=0xa79a200, event=0xbf807c30, alienWidget=0x0, nativeWidget=0xa79a200, buttonDown=0x1c65058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#32 0x013b35cf in QETWidget::translateMouseEvent (this=0xa79a200, event=0xbf80814c) at kernel/qapplication_x11.cpp:4302
#33 0x013b2511 in QApplication::x11ProcessEvent (this=0xbf8084e0, event=0xbf80814c) at kernel/qapplication_x11.cpp:3379
#34 0x013e160a in x11EventSourceDispatch (s=0x9da0a40, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#35 0x0255a5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#36 0x0255e2d8 in ?? () from /lib/libglib-2.0.so.0
#37 0x0255e4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#38 0x004535d5 in QEventDispatcherGlib::processEvents (this=0x9d86090, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#39 0x013e1135 in QGuiEventDispatcherGlib::processEvents (this=0x9d86090, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00426059 in QEventLoop::processEvents (this=0xbf808444, flags=) at kernel/qeventloop.cpp:149
#41 0x004264aa in QEventLoop::exec (this=0xbf808444, flags=...) at kernel/qeventloop.cpp:201
#42 0x0042a69f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#43 0x01321577 in QApplication::exec () at kernel/qapplication.cpp:3579
#44 0x08121ce1 in main (argc=1, argv=0xbf8086e4) at ../../../parley/src/main.cpp:139

This bug may be a duplicate of or related to bug 238470.

Possible duplicates by query: bug 238470, bug 233932.

Reported using DrKonqi
Comment 1 Juergen 2010-06-02 13:49:48 UTC
Here is what caused the crash. 2 scenarios:
One:
I had 139 nouns and highlighted the masculine ones (all start with el - I am in Spanish) and dragged them to word type noun masculine.
I did the same with feminine nouns. 
I have 2 entries started with los and dragged them to masculine nouns.

Afterword I moved this nouns from one folder to another. When attempting to save Parley crashes and overwrite the present file with a 0kb file and delete all words!

Two:
I do the same like above BUT save BEFORE the moving and close Parley. After opening Parley I move the 139 words and no crash. I can save again without problems.

I noticed that when shifting lots of words and line up several operations Parley has a high tendency to crash.
Comment 2 Jonathan Thomas 2010-07-25 15:38:53 UTC

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