Bug 268848

Summary: Locale settings make system settings crash
Product: [Applications] systemsettings Reporter: maildebab
Component: generalAssignee: System Settings Bugs <sourtooth+ssbugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 1.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description maildebab 2011-03-18 22:14:42 UTC
Application: systemsettings (1.0)
KDE Platform Version: 4.6.1 (4.6.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-27-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed: I just double-clic on "Locale" in System Settings, because i wanted to change language settings.
It happens every time I try.

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7723710 (LWP 2349))]

Thread 2 (Thread 0xb3db3b70 (LWP 2350)):
#0  0x00449e36 in clock_gettime () from /lib/librt.so.1
#1  0x006e450b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x007bb6e5 in QTimerInfoList::updateCurrentTime (this=0x8e01a34) at kernel/qeventdispatcher_unix.cpp:339
#4  0x007bb72a in QTimerInfoList::timerWait (this=0x8e01a34, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x007b97a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb3db30bc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x007b983d in timerSourcePrepare (source=0x0, timeout=0x44dff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0x02c2be6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x02c2c279 in ?? () from /lib/libglib-2.0.so.0
#9  0x02c2c848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x007b959f in QEventDispatcherGlib::processEvents (this=0x8b99ea8, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x00789609 in QEventLoop::processEvents (this=0xb3db3290, flags=) at kernel/qeventloop.cpp:149
#12 0x00789a8a in QEventLoop::exec (this=0xb3db3290, flags=...) at kernel/qeventloop.cpp:201
#13 0x00685b7e in QThread::exec (this=0x8dff670) at thread/qthread.cpp:490
#14 0x0076835b in QInotifyFileSystemWatcherEngine::run (this=0x8dff670) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x00688df9 in QThreadPrivate::start (arg=0x8dff670) at thread/qthread_unix.cpp:266
#16 0x019bfcc9 in start_thread () from /lib/libpthread.so.0
#17 0x0192d69e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb7723710 (LWP 2349)):
[KCrash Handler]
#7  0x018d2fd1 in ?? () from /lib/libc.so.6
#8  0x006d478d in QString::realloc (this=0x1355501a, alloc=-805306368) at /usr/include/bits/string3.h:52
#9  0x006d48c6 in QString::realloc (this=0xbfdcffa8) at tools/qstring.cpp:1293
#10 0x01357392 in detach (this=0x9033958, forceUpdate=false) at ../../include/QtCore/../../src/corelib/tools/qstring.h:717
#11 data (this=0x9033958, forceUpdate=false) at ../../include/QtCore/../../src/corelib/tools/qstring.h:713
#12 QLineControl::updateDisplayText (this=0x9033958, forceUpdate=false) at widgets/qlinecontrol.cpp:84
#13 0x01359880 in QLineControl::finishChange (this=0x9033958, validateFromState=-1, update=true, edited=false) at widgets/qlinecontrol.cpp:598
#14 0x01359be7 in QLineControl::internalSetText (this=0x9033958, txt=..., pos=-805306368, edited=168) at widgets/qlinecontrol.cpp:636
#15 0x0135011d in setText (this=0x9033480, text=...) at ../../include/QtGui/private/../../../src/gui/widgets/qlinecontrol_p.h:204
#16 QLineEdit::setText (this=0x9033480, text=...) at widgets/qlineedit.cpp:383
#17 0x013080b1 in QComboBox::setEditText (this=0x9032fb0, text=...) at widgets/qcombobox.cpp:2648
#18 0x0534a8f3 in KCMLocale::initAmPmSymbols (this=0x8ff7108) at ../../../kcontrol/locale/kcmlocale.cpp:2513
#19 0x0535aafa in KCMLocale::initSettingsWidgets (this=0x8ff7108) at ../../../kcontrol/locale/kcmlocale.cpp:674
#20 0x0535b292 in KCMLocale::load (this=0x8ff7108) at ../../../kcontrol/locale/kcmlocale.cpp:425
#21 0x00c66fd6 in KCModule::qt_metacall (this=0x8ff7108, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0x8c15dd0) at ./kcmodule.moc:89
#22 0x0535b59a in KCMLocale::qt_metacall (this=0x8ff7108, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0x8c15dd0) at ./kcmlocale.moc:201
#23 0x007908ca in QMetaObject::metacall (object=0x8ff7108, cl=671088640, idx=30, argv=0x8c15dd0) at kernel/qmetaobject.cpp:237
#24 0x0079bdf6 in QMetaCallEvent::placeMetaCall (this=0x9045a90, object=0x8ff7108) at kernel/qobject.cpp:534
#25 0x0079d6a2 in QObject::event (this=0x8ff7108, e=0x13555008) at kernel/qobject.cpp:1219
#26 0x00f1d936 in QWidget::event (this=0x8ff7108, event=0x9045a90) at kernel/qwidget.cpp:8646
#27 0x00ebffdc in QApplicationPrivate::notify_helper (this=0x8b48d70, receiver=0x8ff7108, e=0x9045a90) at kernel/qapplication.cpp:4396
#28 0x00ec60e9 in QApplication::notify (this=0xbfdd0cbc, receiver=0x8ff7108, e=0x9045a90) at kernel/qapplication.cpp:4361
#29 0x00ba57da in KApplication::notify (this=0xbfdd0cbc, receiver=0x8ff7108, event=0x9045a90) at ../../kdeui/kernel/kapplication.cpp:311
#30 0x0078ab3b in QCoreApplication::notifyInternal (this=0xbfdd0cbc, receiver=0x8ff7108, event=0x9045a90) at kernel/qcoreapplication.cpp:732
#31 0x0078dd8b in sendEvent (receiver=0x0, event_type=0, data=0x8b25f20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8b25f20) at kernel/qcoreapplication.cpp:1373
#33 0x0078df4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#34 0x007b9a74 in sendPostedEvents (s=0x8b4b110) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#35 postEventSourceDispatch (s=0x8b4b110) at kernel/qeventdispatcher_glib.cpp:277
#36 0x02c28855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#37 0x02c2c668 in ?? () from /lib/libglib-2.0.so.0
#38 0x02c2c848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#39 0x007b9565 in QEventDispatcherGlib::processEvents (this=0x8b259d0, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#40 0x00f81be5 in QGuiEventDispatcherGlib::processEvents (this=0x8b259d0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00789609 in QEventLoop::processEvents (this=0xbfdd0c14, flags=) at kernel/qeventloop.cpp:149
#42 0x00789a8a in QEventLoop::exec (this=0xbfdd0c14, flags=...) at kernel/qeventloop.cpp:201
#43 0x0078e00f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#44 0x00ebee07 in QApplication::exec () at kernel/qapplication.cpp:3672
#45 0x0805736e in main (argc=5, argv=0xbfdd0e04) at ../../../systemsettings/app/main.cpp:49

Reported using DrKonqi
Comment 1 Christoph Feck 2011-03-19 01:07:45 UTC
Please remove the "Language=" line from .kde/share/config/kdeglobals file.

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