Bug 236348 - Parley crashed while running the spell check
Summary: Parley crashed while running the spell check
Status: RESOLVED FIXED
Alias: None
Product: parley
Classification: Applications
Component: general (show other bugs)
Version: 0.9.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: parley bug tracker
URL:
Keywords:
: 236981 241617 246096 249577 252002 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-04 19:00 UTC by Juergen
Modified: 2011-04-04 14:19 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (5.34 KB, text/plain)
2010-06-01 05:28 UTC, Juergen
Details
New crash information added by DrKonqi (5.86 KB, text/plain)
2010-10-12 15:52 UTC, Juergen
Details
New crash information added by DrKonqi (5.80 KB, text/plain)
2010-10-23 03:27 UTC, Juergen
Details
New crash information added by DrKonqi (5.80 KB, text/plain)
2010-11-09 11:52 UTC, essilor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen 2010-05-04 19:00:07 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-21-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
Parley crashed while running the spell check
Parley crashed while running the spell check
Parley crashed while running the spell check

 -- Backtrace:
Application: Parley (parley), signal: Aborted
[KCrash Handler]
#6  0x0079e422 in __kernel_vsyscall ()
#7  0x007c9651 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0x007cca82 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0x0030c52f in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6
#10 0x0030a465 in ?? () from /usr/lib/libstdc++.so.6
#11 0x0030a4a2 in std::terminate() () from /usr/lib/libstdc++.so.6
#12 0x0030a5e1 in __cxa_throw () from /usr/lib/libstdc++.so.6
#13 0x0045ab15 in qBadAlloc () at global/qglobal.cpp:2004
#14 0x004bc220 in QTextBoundaryFinder::operator= (this=0xa64c630, other=...) at tools/qtextboundaryfinder.cpp:200
#15 0x05475345 in Sonnet::Filter::setBuffer (this=0xa64c628, buffer=...) at ../../kdecore/sonnet/filter.cpp:83
#16 0x05478887 in Sonnet::BackgroundEngine::setText (this=0xa018808, text=...) at ../../kdecore/sonnet/backgroundengine.cpp:49
#17 0x05477c33 in Sonnet::BackgroundChecker::setText (this=0x9128d58, text=...) at ../../kdecore/sonnet/backgroundchecker.cpp:70
#18 0x04b55503 in Sonnet::Dialog::slotDone (this=0x8a02f10) at ../../kdeui/sonnet/dialog.cpp:433
#19 0x04b55959 in Sonnet::Dialog::qt_metacall (this=0x8a02f10, _c=QMetaObject::InvokeMetaMethod, _id=83, _a=0xbfacc4cc) at ./dialog.moc:122
#20 0x0056bc9a in QMetaObject::metacall (object=0x8a02f10, cl=1838, idx=83, argv=0xbfacc4cc) at kernel/qmetaobject.cpp:237
#21 0x0057a3d5 in QMetaObject::activate (sender=0x9128d58, m=0x55726f0, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3293
#22 0x05477927 in Sonnet::BackgroundChecker::done (this=0x9128d58) at ./backgroundchecker.moc:111
#23 0x05477b51 in Sonnet::BackgroundChecker::slotEngineDone (this=0x9128d58) at ../../kdecore/sonnet/backgroundchecker.cpp:138
#24 0x05477d13 in Sonnet::BackgroundChecker::qt_metacall (this=0x9128d58, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbfacc62c) at ./backgroundchecker.moc:93
#25 0x0056bc9a in QMetaObject::metacall (object=0x9128d58, cl=1838, idx=11, argv=0xbfacc62c) at kernel/qmetaobject.cpp:237
#26 0x0057a3d5 in QMetaObject::activate (sender=0xa018808, m=0x5572758, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3293
#27 0x05478457 in Sonnet::BackgroundEngine::done (this=0xa018808) at ./backgroundengine_p.moc:98
#28 0x05478640 in Sonnet::BackgroundEngine::checkNext (this=0xa018808) at ../../kdecore/sonnet/backgroundengine.cpp:92
#29 0x05478743 in Sonnet::BackgroundEngine::qt_metacall (this=0xa018808, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfacc78c) at ./backgroundengine_p.moc:80
#30 0x0056bc9a in QMetaObject::metacall (object=0xa018808, cl=1838, idx=6, argv=0xbfacc78c) at kernel/qmetaobject.cpp:237
#31 0x0057a3d5 in QMetaObject::activate (sender=0x9a88190, m=0x679188, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#32 0x00581fe7 in QSingleShotTimer::timeout (this=0x9a88190) at .moc/release-shared/qtimer.moc:82
#33 0x005820fc in QSingleShotTimer::timerEvent (this=0x9a88190) at kernel/qtimer.cpp:308
#34 0x00577254 in QObject::event (this=0x9a88190, e=0x6) at kernel/qobject.cpp:1212
#35 0x03eed4dc in QApplicationPrivate::notify_helper (this=0x87927a0, receiver=0x9a88190, e=0xbfacccc0) at kernel/qapplication.cpp:4300
#36 0x03ef405e in QApplication::notify (this=0xbfacd020, receiver=0x9a88190, e=0xbfacccc0) at kernel/qapplication.cpp:3704
#37 0x04ae2f2a in KApplication::notify (this=0xbfacd020, receiver=0x9a88190, event=0xbfacccc0) at ../../kdeui/kernel/kapplication.cpp:302
#38 0x00566a3b in QCoreApplication::notifyInternal (this=0xbfacd020, receiver=0x9a88190, event=0xbfacccc0) at kernel/qcoreapplication.cpp:704
#39 0x00595d66 in QCoreApplication::sendEvent (this=0x87955b4) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#40 QTimerInfoList::activateTimers (this=0x87955b4) at kernel/qeventdispatcher_unix.cpp:603
#41 0x00592917 in timerSourceDispatch (source=0x8795a00) at kernel/qeventdispatcher_glib.cpp:184
#42 idleTimerSourceDispatch (source=0x8795a00) at kernel/qeventdispatcher_glib.cpp:231
#43 0x075635e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#44 0x075672d8 in ?? () from /lib/libglib-2.0.so.0
#45 0x075674b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#46 0x005925d5 in QEventDispatcherGlib::processEvents (this=0x877b090, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#47 0x03fad135 in QGuiEventDispatcherGlib::processEvents (this=0x877b090, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#48 0x00565059 in QEventLoop::processEvents (this=0xbfaccf84, flags=) at kernel/qeventloop.cpp:149
#49 0x005654aa in QEventLoop::exec (this=0xbfaccf84, flags=...) at kernel/qeventloop.cpp:201
#50 0x0056969f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#51 0x03eed577 in QApplication::exec () at kernel/qapplication.cpp:3579
#52 0x08121ce1 in main (argc=1, argv=0xbfacd224) at ../../../parley/src/main.cpp:139

Reported using DrKonqi
Comment 1 Juergen 2010-05-04 19:02:05 UTC
No data loos :-) after restart of Parley
Comment 2 Frederik Gladhorn 2010-06-01 03:27:20 UTC
do you have the spell checker languages installed? did it work before or after?
Comment 3 Juergen 2010-06-01 05:28:45 UTC
Created attachment 47542 [details]
New crash information added by DrKonqi

I am running a simple spell check on an english-spanish set of words (2500 words) . The crash happens every time. Before I had 500 words only and the spell check worked fine. Then I added 2000 words from another set and since then it crashes.
Comment 4 Juergen 2010-06-02 13:51:02 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 5 Christoph Feck 2010-09-22 03:42:25 UTC
*** Bug 236981 has been marked as a duplicate of this bug. ***
Comment 6 Christoph Feck 2010-09-22 03:43:05 UTC
*** Bug 241617 has been marked as a duplicate of this bug. ***
Comment 7 Christoph Feck 2010-09-22 03:43:29 UTC
*** Bug 252002 has been marked as a duplicate of this bug. ***
Comment 8 Christoph Feck 2010-09-22 03:52:39 UTC
*** Bug 249577 has been marked as a duplicate of this bug. ***
Comment 9 Christoph Feck 2010-09-22 03:53:03 UTC
*** Bug 246096 has been marked as a duplicate of this bug. ***
Comment 10 Juergen 2010-10-12 15:52:25 UTC
Created attachment 52446 [details]
New crash information added by DrKonqi

parley (0.9.4) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed: run the spell check. SOme word get checked and at one point Parley crashed. This was aleardy the case in version 0.9.3 on KDE 4.4.2 - now on 0.9.4 and KDE 4.5.1

-- Backtrace (Reduced):
#14 0x008fcea5 in qBadAlloc () at global/qglobal.cpp:1996
#15 0x00960518 in QTextBoundaryFinder::operator= (this=0x8eb7bb8, other=...) at tools/qtextboundaryfinder.cpp:206
#16 0x06abf9d5 in Sonnet::Filter::setBuffer (this=0x8eb7bb0, buffer=...) at ../../kdecore/sonnet/filter.cpp:84
#17 0x06ac32e7 in Sonnet::BackgroundEngine::setText (this=0x924b0c0, text=...) at ../../kdecore/sonnet/backgroundengine.cpp:49
#18 0x06ac2693 in Sonnet::BackgroundChecker::setText (this=0x90368a8, text=...) at ../../kdecore/sonnet/backgroundchecker.cpp:70
Comment 12 Juergen 2010-10-23 03:27:08 UTC
Created attachment 52790 [details]
New crash information added by DrKonqi

parley (0.9.4) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed: I simply run the spell-check

- What I was doing when the application crashed: I simply run the spell-check

-- Backtrace (Reduced):
#14 0x007d7ea5 in qBadAlloc () at global/qglobal.cpp:1996
#15 0x0083b518 in QTextBoundaryFinder::operator= (this=0xae6d550, other=...) at tools/qtextboundaryfinder.cpp:206
#16 0x090b79d5 in Sonnet::Filter::setBuffer (this=0xae6d548, buffer=...) at ../../kdecore/sonnet/filter.cpp:84
#17 0x090bb2e7 in Sonnet::BackgroundEngine::setText (this=0xb922898, text=...) at ../../kdecore/sonnet/backgroundengine.cpp:49
#18 0x090ba693 in Sonnet::BackgroundChecker::setText (this=0xa370b40, text=...) at ../../kdecore/sonnet/backgroundchecker.cpp:70
Comment 13 essilor 2010-11-09 11:52:03 UTC
Created attachment 53274 [details]
New crash information added by DrKonqi

parley (0.9.4) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed: no permite hacer la corrección completa del texto ya que en la última corrección se cierra la aplicación

-- Backtrace (Reduced):
#14 0x001c6ea5 in qBadAlloc () at global/qglobal.cpp:1996
#15 0x0022a518 in QTextBoundaryFinder::operator= (this=0x8d825d0, other=...) at tools/qtextboundaryfinder.cpp:206
#16 0x052e09d5 in Sonnet::Filter::setBuffer (this=0x8d825c8, buffer=...) at ../../kdecore/sonnet/filter.cpp:84
#17 0x052e42e7 in Sonnet::BackgroundEngine::setText (this=0x86218f8, text=...) at ../../kdecore/sonnet/backgroundengine.cpp:49
#18 0x052e3693 in Sonnet::BackgroundChecker::setText (this=0x86992a0, text=...) at ../../kdecore/sonnet/backgroundchecker.cpp:70
Comment 14 Frederik Gladhorn 2011-04-04 14:19:38 UTC
Git commit bdaabe145a527a9f3faf7132223e57579be1d9e1 by Frederik Gladhorn.
Committed on 04/04/2011 at 14:00.
Pushed by gladhorn into branch 'master'.

Rewrite spell-checking.

Make spell checking check only one language.
Add combobox to select speller on a per language base in language settings.

Currently it will check the selected column.
(It should offer the column titles in the menu instead.)

BUG: 171432
BUG: 236348
BUG: 252690
BUG: 269386
FIXED-IN: KDE 4.7.0

M  +24   -9    src/settings/languagepropertiespage.cpp     
M  +18   -5    src/settings/languagepropertiespage.ui     
M  +23   -17   src/settings/languagesettings.kcfg     
M  +44   -59   src/vocabulary/vocabularyview.cpp     
M  +6    -4    src/vocabulary/vocabularyview.h     

http://commits.kde.org/parley/bdaabe145a527a9f3faf7132223e57579be1d9e1