| Summary: | Crash in file open dialog | ||
|---|---|---|---|
| Product: | [Unmaintained] kdelibs | Reporter: | Aleksey Palazhchenko <alek.silverstone> |
| Component: | kdecore | Assignee: | Olivier Goffart <ogoffart> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | alek.silverstone, nienhueser, ogoffart |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Aleksey Palazhchenko
2009-02-02 13:46:40 UTC
Looks like it related with widget style engine or something Crashes with: - Oxygen - Plastique - Cleanlooks - CDE - Motif - Windows - (others?) Works with: - QtCurve - Klearlooks SVN commit 920285 by ogoffart: Create a default KComponenentData if there is none. This is usefull for pure Qt applications that loads KDE plugins. KStyle and Oxygen actually worked around the problem but that can be removed QtCreator may crash when opening a file dialog because KFileDialog gets hooked by some designer plugin and, KFileDialog request KGlobal::config for many things. BUG: 182861 M +21 -7 kglobal.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=920285 Thanks for the fix, Olivier, the same happened to me when embedding the KDE version of MarbleWidget, similar backtrace:
#0 KComponentDataPrivate::lazyInit (this=0x0, component=@0x8cc05b0) at /build/buildd/kde4libs-4.2.0/kdecore/kernel/kcomponentdata.cpp:135
#1 0xb1d711b9 in KComponentData::config (this=0x8cc05b0) at /build/buildd/kde4libs-4.2.0/kdecore/kernel/kcomponentdata.cpp:200
#2 0xb1d6f6d8 in KGlobal::config () at /build/buildd/kde4libs-4.2.0/kdecore/kernel/kglobal.cpp:113
#3 0xb121cb1b in KFileDialogQtOverride::getOpenFileName {i = -1077477224}) at /build/buildd/kde4libs-4.2.0/kio/kfile/kfiledialog.cpp:211
#4 0xb7ab97fd in QFileDialog::getOpenFileName () from /usr/lib/libQtGui.so.4
[...]
Backported in http://websvn.kde.org/?view=rev&revision=920287 so the fix will be in KDE 4.2.1
Regarding the style change as a workaround: QtCurve also crashes here, Klearlooks works.
|