View Issue Details

IDProjectCategoryView StatusLast Update
0011863ScribusStory Editor / Text Framespublic2014-03-09 09:01
ReporterFirasH Assigned Tojghali  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product Version1.5.0svn 
Fixed in Version1.4.4.svn 
Summary0011863: Check Spelling crashes pressing "Ignore All" without text available
Description"Ignore All" button crashes Scribus if Check Spelling is used without text available or when all the text has been checked, so basically when tries to check something that does not exist.
Steps To Reproduce1) Create a document with an empty Text Frame
2) Select the Text Frame
3) Go to Extras > Check Spelling...
4) Click on "Ignore All"

The same happens if some text is available: you have to continue pressing "Ignore All" until the end of the text.
Additional InformationScribus SVN 18615

Crash report:
Scribus crashes due to Signal 6
TagsNo tags attached.
Patch

Activities

christoph_s

2013-12-03 00:18

administrator   ~0030896

New Thread 0x7fffcc6b6700 (LWP 4337)]
[Thread 0x7fffcc6b6700 (LWP 4337) exited]
ASSERT failure in QList<T>::at: "index out of range", file /usr/include/qt5/QtCore/qlist.h, line 452

Program received signal SIGABRT, Aborted.
0x00007ffff00f8849 in raise () from /lib64/libc.so.6
(gdb) bt
#0 0x00007ffff00f8849 in raise () from /lib64/libc.so.6
0000001 0x00007ffff00f9cd8 in abort () from /lib64/libc.so.6
0000002 0x00007ffff752a455 in QMessageLogger::fatal(char const*, ...) const () from /usr/lib64/libQt5Core.so.5
0000003 0x00007ffff7527367 in qt_assert_x(char const*, char const*, char const*, int) ()
   from /usr/lib64/libQt5Core.so.5
0000004 0x00007fffcd5a7997 in QList<WordsFound>::at (this=0x2cb4960, i=0) at /usr/include/qt5/QtCore/qlist.h:452
0000005 0x00007fffcd5a48d6 in HunspellDialog::ignoreAllWords (this=0x7fffffffc780)
    at /home/christoph/scribus15/Scribus/scribus/plugins/tools/hunspellcheck/hunspelldialog.cpp:106
0000006 0x00007fffcd5ac241 in HunspellDialog::qt_static_metacall (_o=0x7fffffffc780,
    _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fffffffba70)
    at /home/christoph/scribus15/Scribus/scribus/plugins/tools/hunspellcheck/moc_hunspelldialog.cpp:94
0000007 0x00007ffff76d5596 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
0000008 0x00007ffff712a222 in QAbstractButton::clicked(bool) () from /usr/lib64/libQt5Widgets.so.5
0000009 0x00007ffff6ec3a36 in ?? () from /usr/lib64/libQt5Widgets.so.5
0000010 0x00007ffff6ec454e in ?? () from /usr/lib64/libQt5Widgets.so.5
0000011 0x00007ffff6ec46c4 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQt5Widgets.so.5
0000012 0x00007ffff6e09e59 in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
0000013 0x00007ffff6dd01ec in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib64/libQt5Widgets.so.5
0000014 0x00007ffff6dd5b49 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
0000015 0x00007ffff76af9cd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
0000016 0x00007ffff6dd3e71 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQt5Widgets.so.5
0000017 0x00007ffff6e25aef in ?? () from /usr/lib64/libQt5Widgets.so.5
0000018 0x00007ffff6e27803 in ?? () from /usr/lib64/libQt5Widgets.so.5
0000019 0x00007ffff6dd01ec in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib64/libQt5Widgets.so.5
0000020 0x00007ffff6dd52d6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
0000021 0x00007ffff76af9cd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
0000022 0x00007ffff67433c7 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
    () from /usr/lib64/libQt5Gui.so.5
0000023 0x00007ffff6744ec5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib64/libQt5Gui.so.5
0000024 0x00007ffff672f608 in QWindowSystemInterface::sendWindowSystemEventsImplementation(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Gui.so.5
0000025 0x00007fffe4ea3130 in ?? () from /usr/lib64/qt5/plugins/platforms/libqxcb.so
0000026 0x00007fffed90e2d6 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
0000027 0x00007fffed90e628 in ?? () from /usr/lib64/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
0000028 0x00007fffed90e6cc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
0000029 0x00007ffff76f69cc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib64/libQt5Core.so.5
0000030 0x00007ffff76ae71b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib64/libQt5Core.so.5
0000031 0x00007ffff6faf40d in QDialog::exec() () from /usr/lib64/libQt5Widgets.so.5
0000032 0x00007fffcd5aae15 in HunspellPluginImpl::openGUIForTextFrame (this=0x2cb4950, iText=0x2f0d410)
    at /home/christoph/scribus15/Scribus/scribus/plugins/tools/hunspellcheck/hunspellpluginimpl.cpp:191
0000033 0x00007fffcd5aa70f in HunspellPluginImpl::checkWithHunspell (this=0x2cb4950)
    at /home/christoph/scribus15/Scribus/scribus/plugins/tools/hunspellcheck/hunspellpluginimpl.cpp:99
0000034 0x00007fffcd5aa408 in HunspellPluginImpl::run (this=0x2cb4950, target=..., doc=0x30243c0)
    at /home/christoph/scribus15/Scribus/scribus/plugins/tools/hunspellcheck/hunspellpluginimpl.cpp:61
0000035 0x00007fffcd5a988b in HunspellPlugin::run (this=0x1c3bf60, doc=0x30243c0, target=...)
    at /home/christoph/scribus15/Scribus/scribus/plugins/tools/hunspellcheck/hunspellplugin.cpp:81
0000036 0x0000000000781083 in ScActionPlugin::qt_static_metacall (_o=0x1c3bf60, _c=QMetaObject::InvokeMetaMethod,
    _id=1, _a=0x7fffffffcbb0) at /home/christoph/scribus15/Scribus/scribus/moc_scplugin.cpp:163
0000037 0x00007ffff76d5596 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
0000038 0x0000000000782733 in ScrAction::triggeredData (this=0x23ecae0, _t1=0x30243c0)
    at /home/christoph/scribus15/Scribus/scribus/moc_scraction.cpp:250
0000039 0x0000000000c41370 in ScrAction::triggeredToTriggeredData (this=0x23ecae0)
    at /home/christoph/scribus15/Scribus/scribus/scraction.cpp:198
0000040 0x000000000078220d in ScrAction::qt_static_metacall (_o=0x23ecae0, _c=QMetaObject::InvokeMetaMethod,
    _id=10, _a=0x7fffffffcde0) at /home/christoph/scribus15/Scribus/scribus/moc_scraction.cpp:114
0000041 0x00007ffff76d5596 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
0000042 0x00007ffff6dc9242 in QAction::triggered(bool) () from /usr/lib64/libQt5Widgets.so.5
0000043 0x00007ffff6dcb558 in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQt5Widgets.so.5
0000044 0x00007ffff6f35e1a in ?? () from /usr/lib64/libQt5Widgets.so.5
0000045 0x00007ffff6f3aef6 in ?? () from /usr/lib64/libQt5Widgets.so.5
0000046 0x00007ffff6f3f35a in QMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQt5Widgets.so.5
0000047 0x00007ffff6e09e59 in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
0000048 0x00007ffff6f3faab in QMenu::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
0000049 0x00007ffff6dd01ec in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib64/libQt5Widgets.so.5
0000050 0x00007ffff6dd5b49 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
0000051 0x00007ffff76af9cd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
0000052 0x00007ffff6dd3e71 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQt5Widgets.so.5
0000053 0x00007ffff6e2589d in ?? () from /usr/lib64/libQt5Widgets.so.5
---Type <return> to continue, or q <return> to quit---
0000054 0x00007ffff6e27803 in ?? () from /usr/lib64/libQt5Widgets.so.5
0000055 0x00007ffff6dd01ec in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib64/libQt5Widgets.so.5
0000056 0x00007ffff6dd52d6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
0000057 0x00007ffff76af9cd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
0000058 0x00007ffff67433c7 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
    () from /usr/lib64/libQt5Gui.so.5
0000059 0x00007ffff6744ec5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib64/libQt5Gui.so.5
0000060 0x00007ffff672f608 in QWindowSystemInterface::sendWindowSystemEventsImplementation(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Gui.so.5
0000061 0x00007fffe4ea3130 in ?? () from /usr/lib64/qt5/plugins/platforms/libqxcb.so
0000062 0x00007fffed90e2d6 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
0000063 0x00007fffed90e628 in ?? () from /usr/lib64/libglib-2.0.so.0
0000064 0x00007fffed90e6cc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
0000065 0x00007ffff76f69cc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib64/libQt5Core.so.5
0000066 0x00007ffff76ae71b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib64/libQt5Core.so.5
0000067 0x00007ffff76b4ca1 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
0000068 0x000000000120ba54 in mainApp (argc=1, argv=0x7fffffffddc8)
    at /home/christoph/scribus15/Scribus/scribus/main_nix.cpp:86
0000069 0x000000000120b9e4 in main (argc=1, argv=0x7fffffffddc8)
    at /home/christoph/scribus15/Scribus/scribus/main_nix.cpp:54

christoph_s

2013-12-04 01:18

administrator   ~0030899

Tested, fixed. Thanks.

Issue History

Date Modified Username Field Change
2013-12-02 16:48 FirasH New Issue
2013-12-03 00:18 christoph_s Note Added: 0030896
2013-12-03 00:18 christoph_s Assigned To => christoph_s
2013-12-03 00:18 christoph_s Status new => confirmed
2013-12-03 00:19 christoph_s Assigned To christoph_s =>
2013-12-03 22:51 jghali Status confirmed => resolved
2013-12-03 22:51 jghali Fixed in Version => 1.5.0svn
2013-12-03 22:51 jghali Resolution open => fixed
2013-12-03 22:51 jghali Assigned To => jghali
2013-12-04 01:18 christoph_s Note Added: 0030899
2013-12-04 01:18 christoph_s Status resolved => closed
2014-03-09 09:01 jghali Fixed in Version 1.5.0svn => 1.4.4.svn
2015-09-17 20:08 Kunda Category Story Editor / Text Frames => Story Ed/Txt Frames
2015-09-17 20:12 Kunda Category Story Ed/Txt Frames => Story Editor / Text Frames