Bug 163078 - systemsettings crash in region and language spell checker
Summary: systemsettings crash in region and language spell checker
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kdeui (show other bugs)
Version: SVN
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
: 163316 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-06-02 17:14 UTC by Viesturs Zarins
Modified: 2008-06-26 10:48 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Viesturs Zarins 2008-06-02 17:14:41 UTC
Version:            (using Devel)
Installed from:    Compiled sources
OS:                Linux

I'm running kde4daily, updated at 02.06.2008.

Steps to reproduce: Run systemsettings, open regional and language, in spell checker enable "Skip words with all uppercase letters" and press Apply.

Result: Crash


Backtrace:

Application: System Settings (systemsettings), signal SIGABRT
[Thread debugging using libthread_db enabled]
[New Thread 0xb62a0720 (LWP 4825)]
[KCrash handler]
#6  0xb7fc7410 in __kernel_vsyscall ()
#7  0xb65fa085 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb65fba01 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb7e12895 in qt_message_output ()
   from /home/kde4daily/install/qt-copy/lib/libQtCore.so.4
#10 0xb7e12919 in qFatal ()
   from /home/kde4daily/install/qt-copy/lib/libQtCore.so.4
#11 0xb7e12970 in qt_assert_x ()
   from /home/kde4daily/install/qt-copy/lib/libQtCore.so.4
#12 0xb79d5ed2 in QList<QString>::operator[] (this=0xbfd6648c, i=-1)
    at /home/kde4daily/install/qt-copy/include/QtCore/qlist.h:401
#13 0xb7a91683 in Sonnet::ConfigWidget::setFromGui (this=0x8328320)
    at /home/kde4daily/src/kdelibs/kdeui/sonnet/configwidget.cpp:115
#14 0xb7a9177a in Sonnet::ConfigWidget::save (this=0x8328320)
    at /home/kde4daily/src/kdelibs/kdeui/sonnet/configwidget.cpp:106
#15 0xb448f9f4 in SonnetSpellCheckingModule::save (this=0x80b4cd0)
    at /home/kde4daily/src/kdebase/runtime/kcontrol/spellchecking/spellchecking.cpp:50
#16 0xb75ccc2b in KCModuleProxy::save (this=0x83b56e8)
    at /home/kde4daily/src/kdelibs/kutils/kcmoduleproxy.cpp:276
#17 0x08054c5d in KCMultiWidget::apply (this=0x832daa0, module=0x83b56e8)
    at /home/kde4daily/src/kdebase/workspace/systemsettings/kcmultiwidget.cpp:308
#18 0x08054fbd in KCMultiWidget::queryClose (this=0x832daa0, module=0x83b56e8)
    at /home/kde4daily/src/kdebase/workspace/systemsettings/kcmultiwidget.cpp:360
#19 0x08055082 in KCMultiWidget::slotAboutToShow (this=0x832daa0, 
    current=0x844cac8, before=0x8330ac8)
    at /home/kde4daily/src/kdebase/workspace/systemsettings/kcmultiwidget.cpp:234
#20 0x08055206 in KCMultiWidget::qt_metacall (this=0x832daa0, 
    _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfd666d8)
    at /home/kde4daily/build/kdebase/workspace/systemsettings/kcmultiwidget.moc:91
#21 0xb7f26517 in QMetaObject::activate ()
   from /home/kde4daily/install/qt-copy/lib/libQtCore.so.4
#22 0xb7f26999 in QMetaObject::activate ()
   from /home/kde4daily/install/qt-copy/lib/libQtCore.so.4
#23 0xb7a65635 in KPageDialog::currentPageChanged (this=0x832daa0, 
    _t1=0x844cac8, _t2=0x8330ac8)
    at /home/kde4daily/build/kdelibs/kdeui/kpagedialog.moc:80
#24 0xb7a656c0 in KPageDialog::qt_metacall (this=0x832daa0, 
    _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfd66818)
    at /home/kde4daily/build/kdelibs/kdeui/kpagedialog.moc:68
#25 0x080550e6 in KCMultiWidget::qt_metacall (this=0x832daa0, 
    _c=QMetaObject::InvokeMetaMethod, _id=71, _a=0xbfd66818)
    at /home/kde4daily/build/kdebase/workspace/systemsettings/kcmultiwidget.moc:78
#26 0xb7f26517 in QMetaObject::activate ()
   from /home/kde4daily/install/qt-copy/lib/libQtCore.so.4
#27 0xb7f26999 in QMetaObject::activate ()
   from /home/kde4daily/install/qt-copy/lib/libQtCore.so.4
#28 0xb7a6bc6d in KPageWidget::currentPageChanged (this=0x829dad8, 
    _t1=0x844cac8, _t2=0x8330ac8)
    at /home/kde4daily/build/kdelibs/kdeui/kpagewidget.moc:88
#29 0xb7a6bdf3 in KPageWidgetPrivate::_k_slotCurrentPageChanged (
    this=0x830bc68, current=@0x853bcf8, before=@0x8509388)
    at /home/kde4daily/src/kdelibs/kdeui/paged/kpagewidget.cpp:43
#30 0xb7a6bf1a in KPageWidget::qt_metacall (this=0x829dad8, 
    _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfd66968)
    at /home/kde4daily/build/kdelibs/kdeui/kpagewidget.moc:77
#31 0xb7f26517 in QMetaObject::activate ()
   from /home/kde4daily/install/qt-copy/lib/libQtCore.so.4
#32 0xb7f26999 in QMetaObject::activate ()
   from /home/kde4daily/install/qt-copy/lib/libQtCore.so.4
#33 0xb7a66967 in KPageView::currentPageChanged (this=0x829dad8, 
    _t1=@0x853bcf8, _t2=@0x8509388)
    at /home/kde4daily/build/kdelibs/kdeui/kpageview.moc:132
#34 0xb7a678e0 in KPageViewPrivate::_k_pageSelected (this=0x830bc68, 
    index=@0x853bcf8, previous=@0x8509388)
    at /home/kde4daily/src/kdelibs/kdeui/paged/kpageview.cpp:235
#35 0xb7a684c6 in KPageView::qt_metacall (this=0x829dad8, 
    _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfd66b08)
    at /home/kde4daily/build/kdelibs/kdeui/kpageview.moc:93
#36 0xb7a6be2e in KPageWidget::qt_metacall (this=0x829dad8, 
    _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbfd66b08)
    at /home/kde4daily/build/kdelibs/kdeui/kpagewidget.moc:69
#37 0xb7f26517 in QMetaObject::activate ()
   from /home/kde4daily/install/qt-copy/lib/libQtCore.so.4
#38 0xb7f26999 in QMetaObject::activate ()
   from /home/kde4daily/install/qt-copy/lib/libQtCore.so.4
#39 0xb6ee406b in QItemSelectionModel::currentChanged ()
   from /home/kde4daily/install/qt-copy/lib/libQtGui.so.4
#40 0xb6ee4b64 in QItemSelectionModel::setCurrentIndex ()
   from /home/kde4daily/install/qt-copy/lib/libQtGui.so.4
#41 0xb6e998bd in QAbstractItemView::mousePressEvent ()
   from /home/kde4daily/install/qt-copy/lib/libQtGui.so.4
#42 0xb69f1fcb in QWidget::event ()
   from /home/kde4daily/install/qt-copy/lib/libQtGui.so.4
#43 0xb6d6003c in QFrame::event ()
   from /home/kde4daily/install/qt-copy/lib/libQtGui.so.4
#44 0xb6df7481 in QAbstractScrollArea::viewportEvent ()
   from /home/kde4daily/install/qt-copy/lib/libQtGui.so.4
#45 0xb6e9a14d in QAbstractItemView::viewportEvent ()
   from /home/kde4daily/install/qt-copy/lib/libQtGui.so.4
#46 0xb6df9f6e in QAbstractScrollAreaPrivate::viewportEvent ()
   from /home/kde4daily/install/qt-copy/lib/libQtGui.so.4
#47 0xb6df9fa0 in QAbstractScrollAreaFilter::eventFilter ()
   from /home/kde4daily/install/qt-copy/lib/libQtGui.so.4
#48 0xb7f0fa18 in QCoreApplicationPrivate::sendThroughObjectEventFilters ()
   from /home/kde4daily/install/qt-copy/lib/libQtCore.so.4
#49 0xb69947f7 in QApplicationPrivate::notify_helper ()
   from /home/kde4daily/install/qt-copy/lib/libQtGui.so.4
#50 0xb69952f1 in QApplication::notify ()
   from /home/kde4daily/install/qt-copy/lib/libQtGui.so.4
#51 0xb7a3603b in KApplication::notify (this=0xbfd67d18, receiver=0x83ba4d0, 
    event=0xbfd674c8)
    at /home/kde4daily/src/kdelibs/kdeui/kernel/kapplication.cpp:311
#52 0xb7f1168a in QCoreApplication::notifyInternal ()
   from /home/kde4daily/install/qt-copy/lib/libQtCore.so.4
#53 0xb69a0669 in QCoreApplication::sendSpontaneousEvent ()
   from /home/kde4daily/install/qt-copy/lib/libQtGui.so.4
#54 0xb6999166 in QApplicationPrivate::sendMouseEvent ()
   from /home/kde4daily/install/qt-copy/lib/libQtGui.so.4
#55 0xb6a13221 in QETWidget::translateMouseEvent ()
   from /home/kde4daily/install/qt-copy/lib/libQtGui.so.4
#56 0xb6a108be in QApplication::x11ProcessEvent ()
   from /home/kde4daily/install/qt-copy/lib/libQtGui.so.4
#57 0xb6a3cef1 in x11EventSourceDispatch ()
   from /home/kde4daily/install/qt-copy/lib/libQtGui.so.4
#58 0xb6546bf8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#59 0xb6549e5e in ?? () from /usr/lib/libglib-2.0.so.0
#60 0x08078920 in ?? ()
#61 0x00000000 in ?? ()
#0  0xb7fc7410 in __kernel_vsyscall ()
Application: System Settings (systemsettings), signal SIGABRT
[Thread debugging using libthread_db enabled]
[New Thread 0xb62a0720 (LWP 4825)]
[KCrash handler]
#6  0xb7fc7410 in __kernel_vsyscall ()
#7  0xb65fa085 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb65fba01 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb7e12895 in qt_message_output ()
   from /home/kde4daily/install/qt-copy/lib/libQtCore.so.4
#10 0xb7e12919 in qFatal ()
   from /home/kde4daily/install/qt-copy/lib/libQtCore.so.4
#11 0xb7e12970 in qt_assert_x ()
   from /home/kde4daily/install/qt-copy/lib/libQtCore.so.4
#12 0xb79d5ed2 in QList<QString>::operator[] (this=0xbfd6648c, i=-1)
    at /home/kde4daily/install/qt-copy/include/QtCore/qlist.h:401
#13 0xb7a91683 in Sonnet::ConfigWidget::setFromGui (this=0x8328320)
    at /home/kde4daily/src/kdelibs/kdeui/sonnet/configwidget.cpp:115
#14 0xb7a9177a in Sonnet::ConfigWidget::save (this=0x8328320)
    at /home/kde4daily/src/kdelibs/kdeui/sonnet/configwidget.cpp:106
#15 0xb448f9f4 in SonnetSpellCheckingModule::save (this=0x80b4cd0)
    at /home/kde4daily/src/kdebase/runtime/kcontrol/spellchecking/spellchecking.cpp:50
#16 0xb75ccc2b in KCModuleProxy::save (this=0x83b56e8)
    at /home/kde4daily/src/kdelibs/kutils/kcmoduleproxy.cpp:276
#17 0x08054c5d in KCMultiWidget::apply (this=0x832daa0, module=0x83b56e8)
    at /home/kde4daily/src/kdebase/workspace/systemsettings/kcmultiwidget.cpp:308
#18 0x08054fbd in KCMultiWidget::queryClose (this=0x832daa0, module=0x83b56e8)
    at /home/kde4daily/src/kdebase/workspace/systemsettings/kcmultiwidget.cpp:360
#19 0x08055082 in KCMultiWidget::slotAboutToShow (this=0x832daa0, 
    current=0x844cac8, before=0x8330ac8)
    at /home/kde4daily/src/kdebase/workspace/systemsettings/kcmultiwidget.cpp:234
#20 0x08055206 in KCMultiWidget::qt_metacall (this=0x832daa0, 
    _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfd666d8)
    at /home/kde4daily/build/kdebase/workspace/systemsettings/kcmultiwidget.moc:91
#21 0xb7f26517 in QMetaObject::activate ()
   from /home/kde4daily/install/qt-copy/lib/libQtCore.so.4
#22 0xb7f26999 in QMetaObject::activate ()
   from /home/kde4daily/install/qt-copy/lib/libQtCore.so.4
#23 0xb7a65635 in KPageDialog::currentPageChanged (this=0x832daa0, 
    _t1=0x844cac8, _t2=0x8330ac8)
    at /home/kde4daily/build/kdelibs/kdeui/kpagedialog.moc:80
#24 0xb7a656c0 in KPageDialog::qt_metacall (this=0x832daa0, 
    _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfd66818)
    at /home/kde4daily/build/kdelibs/kdeui/kpagedialog.moc:68
#25 0x080550e6 in KCMultiWidget::qt_metacall (this=0x832daa0, 
    _c=QMetaObject::InvokeMetaMethod, _id=71, _a=0xbfd66818)
    at /home/kde4daily/build/kdebase/workspace/systemsettings/kcmultiwidget.moc:78
#26 0xb7f26517 in QMetaObject::activate ()
   from /home/kde4daily/install/qt-copy/lib/libQtCore.so.4
#27 0xb7f26999 in QMetaObject::activate ()
   from /home/kde4daily/install/qt-copy/lib/libQtCore.so.4
#28 0xb7a6bc6d in KPageWidget::currentPageChanged (this=0x829dad8, 
    _t1=0x844cac8, _t2=0x8330ac8)
    at /home/kde4daily/build/kdelibs/kdeui/kpagewidget.moc:88
#29 0xb7a6bdf3 in KPageWidgetPrivate::_k_slotCurrentPageChanged (
    this=0x830bc68, current=@0x853bcf8, before=@0x8509388)
    at /home/kde4daily/src/kdelibs/kdeui/paged/kpagewidget.cpp:43
#30 0xb7a6bf1a in KPageWidget::qt_metacall (this=0x829dad8, 
    _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfd66968)
    at /home/kde4daily/build/kdelibs/kdeui/kpagewidget.moc:77
#31 0xb7f26517 in QMetaObject::activate ()
   from /home/kde4daily/install/qt-copy/lib/libQtCore.so.4
#32 0xb7f26999 in QMetaObject::activate ()
   from /home/kde4daily/install/qt-copy/lib/libQtCore.so.4
#33 0xb7a66967 in KPageView::currentPageChanged (this=0x829dad8, 
    _t1=@0x853bcf8, _t2=@0x8509388)
    at /home/kde4daily/build/kdelibs/kdeui/kpageview.moc:132
#34 0xb7a678e0 in KPageViewPrivate::_k_pageSelected (this=0x830bc68, 
    index=@0x853bcf8, previous=@0x8509388)
    at /home/kde4daily/src/kdelibs/kdeui/paged/kpageview.cpp:235
#35 0xb7a684c6 in KPageView::qt_metacall (this=0x829dad8, 
    _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfd66b08)
    at /home/kde4daily/build/kdelibs/kdeui/kpageview.moc:93
#36 0xb7a6be2e in KPageWidget::qt_metacall (this=0x829dad8, 
    _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbfd66b08)
    at /home/kde4daily/build/kdelibs/kdeui/kpagewidget.moc:69
#37 0xb7f26517 in QMetaObject::activate ()
   from /home/kde4daily/install/qt-copy/lib/libQtCore.so.4
#38 0xb7f26999 in QMetaObject::activate ()
   from /home/kde4daily/install/qt-copy/lib/libQtCore.so.4
#39 0xb6ee406b in QItemSelectionModel::currentChanged ()
   from /home/kde4daily/install/qt-copy/lib/libQtGui.so.4
#40 0xb6ee4b64 in QItemSelectionModel::setCurrentIndex ()
   from /home/kde4daily/install/qt-copy/lib/libQtGui.so.4
#41 0xb6e998bd in QAbstractItemView::mousePressEvent ()
   from /home/kde4daily/install/qt-copy/lib/libQtGui.so.4
#42 0xb69f1fcb in QWidget::event ()
   from /home/kde4daily/install/qt-copy/lib/libQtGui.so.4
#43 0xb6d6003c in QFrame::event ()
   from /home/kde4daily/install/qt-copy/lib/libQtGui.so.4
#44 0xb6df7481 in QAbstractScrollArea::viewportEvent ()
   from /home/kde4daily/install/qt-copy/lib/libQtGui.so.4
#45 0xb6e9a14d in QAbstractItemView::viewportEvent ()
   from /home/kde4daily/install/qt-copy/lib/libQtGui.so.4
#46 0xb6df9f6e in QAbstractScrollAreaPrivate::viewportEvent ()
   from /home/kde4daily/install/qt-copy/lib/libQtGui.so.4
#47 0xb6df9fa0 in QAbstractScrollAreaFilter::eventFilter ()
   from /home/kde4daily/install/qt-copy/lib/libQtGui.so.4
#48 0xb7f0fa18 in QCoreApplicationPrivate::sendThroughObjectEventFilters ()
   from /home/kde4daily/install/qt-copy/lib/libQtCore.so.4
#49 0xb69947f7 in QApplicationPrivate::notify_helper ()
   from /home/kde4daily/install/qt-copy/lib/libQtGui.so.4
#50 0xb69952f1 in QApplication::notify ()
   from /home/kde4daily/install/qt-copy/lib/libQtGui.so.4
#51 0xb7a3603b in KApplication::notify (this=0xbfd67d18, receiver=0x83ba4d0, 
    event=0xbfd674c8)
    at /home/kde4daily/src/kdelibs/kdeui/kernel/kapplication.cpp:311
#52 0xb7f1168a in QCoreApplication::notifyInternal ()
   from /home/kde4daily/install/qt-copy/lib/libQtCore.so.4
#53 0xb69a0669 in QCoreApplication::sendSpontaneousEvent ()
   from /home/kde4daily/install/qt-copy/lib/libQtGui.so.4
#54 0xb6999166 in QApplicationPrivate::sendMouseEvent ()
   from /home/kde4daily/install/qt-copy/lib/libQtGui.so.4
#55 0xb6a13221 in QETWidget::translateMouseEvent ()
   from /home/kde4daily/install/qt-copy/lib/libQtGui.so.4
#56 0xb6a108be in QApplication::x11ProcessEvent ()
   from /home/kde4daily/install/qt-copy/lib/libQtGui.so.4
#57 0xb6a3cef1 in x11EventSourceDispatch ()
   from /home/kde4daily/install/qt-copy/lib/libQtGui.so.4
#58 0xb6546bf8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#59 0xb6549e5e in ?? () from /usr/lib/libglib-2.0.so.0
#60 0x08078920 in ?? ()
#61 0x00000000 in ?? ()
#0  0xb7fc7410 in __kernel_vsyscall ()
Comment 1 George Goldberg 2008-06-02 17:18:27 UTC
I followed the exact instructions you gave there and did not get a crash on svn trunk r815578.
Comment 2 FiNeX 2008-06-02 18:36:26 UTC
It doesn't crash to me too. I've used r815560.
Comment 3 Viesturs Zarins 2008-06-04 13:13:59 UTC
Hi, I tried again with today's update. It's still crashing..
Maybe this problem is specific to kde4daily?

Also there are no languages in the default language selection box and all the buttons beside the list are grayed out.
Comment 4 Christophe Marin 2008-06-06 23:53:28 UTC
*** Bug 163316 has been marked as a duplicate of this bug. ***
Comment 5 Tony Wolf 2008-06-07 14:50:36 UTC
It depends not on kde4daily.

I got the crash even I select and unselect the checkbox - click to "overview" - apply to save the change - crash

I've tested it at least with r818000 - last changed r817992

I'm running my own trunk-buildings
Comment 6 Tony Wolf 2008-06-07 19:23:20 UTC
I know the reason of the crash!!!! :D

it seems to be that "Default Language" is empty...

now I've installed / compiled kdelibs with enchat and hspell support and got therefor some languages in the "Default Language"-list. Now it won' crash anymore.
Comment 7 Will Stephenson 2008-06-26 10:48:56 UTC
SVN commit 824575 by wstephens:

Fix crash in the spellchecking config widget due to assuming that the
language combo is always populated.  This is not the case if kdelibs was
built without spellchecking report.  As a result
Solid::ConfigWidget::language() may return an empty string.  CCing
Thomas since I expect you are using that method.  Thanks to Tony Wolf
for finding the reason for the crash.
BUG:163078
CCMAIL:wolf@os-forge.net


 M  +11 -5     configwidget.cpp  
 M  +2 -0      configwidget.h  


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