Summary: | KLocale::insertCatalog crashes when KColorDialog is launched from pure-Qt application | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | Rafał Malinowski <rafal.przemyslaw.malinowski> |
Component: | kdecore | Assignee: | David Faure <faure> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | cfeck, faure |
Priority: | NOR | ||
Version: | 4.5 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Rafał Malinowski
2010-08-18 00:31:40 UTC
David, I tested your patch and I get an assert: #6 0xb70fc2f0 in qt_assert (assertion=0xb5f25b7f "d", file=0xb5f25a70 "/local/svn/kde/trunk/KDE/kdelibs/kdecore/kernel/kcomponentdata.cpp", line=213) at /local/git/Qt/qt/src/corelib/global/qglobal.cpp:2004 #7 0xb5e2e166 in KComponentData::aboutData (this=0x80bff48) at /local/svn/kde/trunk/KDE/kdelibs/kdecore/kernel/kcomponentdata.cpp:213 #8 0xb5e2c9fe in KGlobal::locale () at /local/svn/kde/trunk/KDE/kdelibs/kdecore/kernel/kglobal.cpp:154 #9 0xb5ebdf3d in KLocalizedString::toString (this=0xbfffeb7c) at /local/svn/kde/trunk/KDE/kdelibs/kdecore/localization/klocalizedstring.cpp:195 #10 0xb6261402 in i18n (text=0xb64eb3be "&OK") at /local/svn/kde/trunk/KDE/kdelibs/kdecore/localization/klocalizedstring.h:632 #11 0xb63ccc96 in KStandardGuiItem::ok () at /local/svn/kde/trunk/KDE/kdelibs/kdeui/util/kstandardguiitem.cpp:109 #12 0xb629df1d in KDialog::setButtons (this=0x80e5e80, buttonMask=...) at /local/svn/kde/trunk/KDE/kdelibs/kdeui/dialogs/kdialog.cpp:237 #13 0xb629d7f2 in KDialogPrivate::init (this=0x80f7b28, q=0x80e5e80) at /local/svn/kde/trunk/KDE/kdelibs/kdeui/dialogs/kdialog.cpp:167 #14 0xb629d945 in KDialog::KDialog (this=0x80e5e80, parent=0xbffff0d8, flags=...) at /local/svn/kde/trunk/KDE/kdelibs/kdeui/dialogs/kdialog.cpp:183 #15 0xb6283dd4 in KColorDialog::KColorDialog (this=0x80e5e80, parent=0xbffff0d8, modal=true) at /local/svn/kde/trunk/KDE/kdelibs/kdeui/colors/kcolordialog.cpp:1012 #16 0xb67eee16 in KColorDialogBridge::KColorDialogBridge (this=0x80e5e80, original_=0xbffff0d8) at /local/svn/kde/trunk/KDE/kdebase/workspace/qguiplatformplugin_kde/qguiplatformplugin_kde.cpp:124 #17 0xb67f04bd in KQGuiPlatformPlugin::colorDialogSetVisible (this=0x8105bd8, qcd=0xbffff0d8, visible=true) at /local/svn/kde/trunk/KDE/kdebase/workspace/qguiplatformplugin_kde/qguiplatformplugin_kde.cpp:316 #18 0xb7aab023 in QColorDialog::setVisible (this=0xbffff0d8, visible=true) at /local/git/Qt/qt/src/gui/dialogs/qcolordialog.cpp:1913 #19 0xb7542a1c in QWidget::show (this=0xbffff0d8) at ../../include/QtGui/../../../../git/Qt/qt/src/gui/kernel/qwidget.h:487 SVN commit 1170981 by dfaure: Fix crash in KGlobal::locale() when using a kde dialog from a pure-Qt application (e.g. Open File in Qt Creator...) BUG: 248194 M +2 -6 kernel/kglobal.cpp M +1 -0 tests/CMakeLists.txt A tests/qcoreapptest.cpp [License: LGPL (v2+)] WebSVN link: http://websvn.kde.org/?view=rev&revision=1170981 |