Bug 299845 - Crash when opening Window Manager Settings
Summary: Crash when opening Window Manager Settings
Status: RESOLVED NOT A BUG
Alias: None
Product: Oxygen
Classification: Plasma
Component: win deco (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Hugo Pereira Da Costa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-11 21:54 UTC by Christoph Feck
Modified: 2012-05-12 12:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Feck 2012-05-11 21:54:15 UTC
Application: kcmshell4 ()
KDE Platform Version: 4.8.3 (4.8.3) (Compiled from sources)
Qt Version: 4.8.2
Operating System: Linux 3.3.0-2-desktop i686
Distribution: "openSUSE 12.2 Milestone 4 (i586)"

-- Information about the crash:
- What I was doing when the application crashed:

Got this crash when opening Window Manager Settings from the titlebar right-click menu. I am not using Oxygen.

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Control Module (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#7  0xadacdd1e in QCache<int, Oxygen::TileSet>::trim (this=0x9a75790, m=64) at /local/qt4/include/QtCore/qcache.h:207
#8  0xadacd98c in QCache<int, Oxygen::TileSet>::setMaxCost (this=0x9a75790, m=64) at /local/qt4/include/QtCore/qcache.h:144
#9  0xadacd4be in Oxygen::ShadowCache::setMaxIndex (this=0x9a756b0, value=18) at /local/git/KDE/base/kde-workspace/libs/oxygen/oxygenshadowcache.h:86
#10 0xadacac40 in Oxygen::ShadowCache::readConfig (this=0x9a756b0, config=...) at /local/git/KDE/base/kde-workspace/libs/oxygen/oxygenshadowcache.cpp:75
#11 0xadb03e74 in Oxygen::Factory::readConfig (this=0x9a754a0) at /local/git/KDE/base/kde-workspace/kwin/clients/oxygen/oxygenfactory.cpp:127
#12 0xadb03aab in Oxygen::Factory::Factory (this=0x9a754a0) at /local/git/KDE/base/kde-workspace/kwin/clients/oxygen/oxygenfactory.cpp:53
#13 0xadb039c8 in create_factory () at /local/git/KDE/base/kde-workspace/kwin/clients/oxygen/oxygenfactory.cpp:41
#14 0xae225b15 in KDecorationPlugins::loadPlugin (this=0x958f918, nameStr=...) at /local/git/KDE/base/kde-workspace/kwin/libkdecorations/kdecoration_plugins_p.cpp:175
#15 0xae25cb0d in KWin::DecorationModel::regeneratePreview (this=0x958f848, index=..., size=...) at /local/git/KDE/base/kde-workspace/kwin/kcmkwin/kwindecoration/decorationmodel.cpp:290
#16 0xae25c6ef in KWin::DecorationModel::regeneratePreviews (this=0x958f848) at /local/git/KDE/base/kde-workspace/kwin/kcmkwin/kwindecoration/decorationmodel.cpp:261
#17 0xae249d16 in KWin::KWinDecorationModule::KWinDecorationModule (this=0x9440c88, parent=0x94c3808) at /local/git/KDE/base/kde-workspace/kwin/kcmkwin/kwindecoration/kwindecoration.cpp:120
#18 0xae24df17 in KPluginFactory::createInstance<KWin::KWinDecorationModule, QWidget> (parentWidget=0x0, parent=0x94c3808, args=...) at /local/kde4/include/KDE/../kpluginfactory.h:477
#19 0xb707ae4d in KPluginFactory::create (this=0x9491988, iface=0xb769bd00 "KCModule", parentWidget=0x0, parent=0x94c3808, args=..., keyword=...) at /local/git/KDE/libs/kdelibs/kdecore/util/kpluginfactory.cpp:203
#20 0xb077ec5d in KPluginFactory::create<KCModule> (this=0x9491988, parentWidget=0x0, parent=0x94c3808, keyword=..., args=...) at /local/git/KDE/libs/kdelibs/kdecore/util/kpluginfactory.h:531
#21 0xb077e7de in KService::createInstance<KCModule> (this=0x944fa80, parentWidget=0x0, parent=0x94c3808, args=..., error=0xbfa17f48) at /local/git/KDE/libs/kdelibs/kdecore/services/kservice.h:559
#22 0xb077e56c in KService::createInstance<KCModule> (this=0x944fa80, parent=0x94c3808, args=..., error=0xbfa17f48) at /local/git/KDE/libs/kdelibs/kdecore/services/kservice.h:536
#23 0xb077d947 in KCModuleLoader::loadModule (mod=..., report=KCModuleLoader::Inline, parent=0x94c3808, args=...) at /local/git/KDE/libs/kdelibs/kutils/kcmoduleloader.cpp:89
#24 0xb0783e22 in KCModuleProxyPrivate::loadModule (this=0x94c5ab0) at /local/git/KDE/libs/kdelibs/kutils/kcmoduleproxy.cpp:106
#25 0xb0783a7e in KCModuleProxy::realModule (this=0x94c3808) at /local/git/KDE/libs/kdelibs/kutils/kcmoduleproxy.cpp:83
#26 0xb0784de9 in KCModuleProxy::useRootOnlyMessage (this=0x94c3808) at /local/git/KDE/libs/kdelibs/kutils/kcmoduleproxy.cpp:315
#27 0xb0780eeb in KCMultiDialog::addModule (this=0x944e428, moduleInfo=..., parentItem=0x0, args=...) at /local/git/KDE/libs/kdelibs/kutils/kcmultidialog.cpp:390
#28 0xb0756dbf in kdemain (_argc=13, _argv=0x938aa80) at /local/git/KDE/base/kde-runtime/kcmshell/main.cpp:285
#29 0x0804decc in launch (argc=13, _name=0x938adcc "kcmshell4", args=0x938ae76 "\001", cwd=0x0, envc=1, envs=0x938ae85 "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x8053761 "0") at /local/git/KDE/libs/kdelibs/kinit/kinit.cpp:734
#30 0x0804ef33 in handle_launcher_request (sock=8, who=0x80539fc "launcher") at /local/git/KDE/libs/kdelibs/kinit/kinit.cpp:1226
#31 0x0804f6ad in handle_requests (waitForPid=0) at /local/git/KDE/libs/kdelibs/kinit/kinit.cpp:1419
#32 0x08051073 in main (argc=4, argv=0xbfa18c94, envp=0xbfa18ca8) at /local/git/KDE/libs/kdelibs/kinit/kinit.cpp:1907

Reported using DrKonqi
Comment 1 Hugo Pereira Da Costa 2012-05-12 09:12:42 UTC
Can't reproduce.
(Qt 4.8.1 and kde from master)
I suspect either a problem with Qt4.8.2 or some inconsistency between library path and plugin path (since you compiled from source)
Please make sure that the right plugins kwin_oxygen_config.so and kwin3_oxygen.so are loaded by system settings (right path should be $your_local_install/lib/kde4/, and not, e.g. /usr/lib/kde4/)
Comment 2 Christoph Feck 2012-05-12 12:09:23 UTC
On my system, there is only a single installation of Qt and KDE, both compiled from source, so it cannot be a mismatch of paths.
Comment 3 Hugo Pereira Da Costa 2012-05-12 12:13:04 UTC
... same here.
So ... Qt4.8.2 ?
(fact is: crash happens in a Qt method indeed)
Comment 4 Christoph Feck 2012-05-12 12:31:25 UTC
I recompiled all of kde-workspace, and can no longer reproduce. The problem probably was that I yesterday updated/compiled kwin alone (which includes the decoration), without rebuilding oxygen library. Since there is no binary compatibility garantuee across different compilations of different parts of kde-workspace, this bug is invalid.
Comment 5 Hugo Pereira Da Costa 2012-05-12 12:53:04 UTC
"The problem probably was that I yesterday updated/compiled kwin alone (which includes the decoration), without rebuilding oxygen library"
yes most likely that's it.
that also can create inconsistency lib vs plugin.