Bug 285723 - All the application from the ~/kde/install/bin crashing, backtrace points to oxygen.
Summary: All the application from the ~/kde/install/bin crashing, backtrace points to ...
Status: RESOLVED NOT A BUG
Alias: None
Product: Oxygen
Classification: Plasma
Component: general (show other bugs)
Version: 4.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Hugo Pereira Da Costa
URL:
Keywords:
: 286073 286151 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-11-04 02:16 UTC by swair shah
Modified: 2011-12-16 10:21 UTC (History)
4 users (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 swair shah 2011-11-04 02:16:43 UTC
Version:           4.0 (using KDE 4.7.3) 
OS:                Linux

Opening applications from devel environment (~/kde/install/bin) results in crashes here are backtraces for a few of them:
For nepomukshell(https://projects.kde.org/projects/extragear/utils/nepomukshell/repository):
#0  0xb7590700 in QPixmap::isNull() const () from /usr/lib/libQtGui.so.4
#1  0xb51e5462 in Oxygen::Helper::hasBackgroundPixmap (this=0x811bbb0) at /home/swair/kde/source/kde-workspace/libs/oxygen/oxygenhelper.h:202
#2  0xb51b311f in Oxygen::TopLevelManager::eventFilter (this=0x812dc80, object=0x81bde78, event=0xbfffea90)
    at /home/swair/kde/source/kde-workspace/kstyles/oxygen/oxygenstyle.cpp:149
#3  0xb64d5cc6 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#4  0xb74aa9f2 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#5  0xb74afe78 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#6  0xb70c37b8 in KApplication::notify (this=0xbfffeb94, receiver=0x81bde78, event=0xbfffea90)
    at /home/swair/kde/source/kdelibs/kdeui/kernel/kapplication.cpp:311
#7  0xb64d5b2e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#8  0xb750905d in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#9  0xb7509391 in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
#10 0x0805a1c7 in QWidget::show (this=0x81bde78) at /usr/include/QtGui/qwidget.h:487
#11 0x08059b5d in main (argc=Cannot access memory at address 0x0
) at /home/swair/kde/source/nepomukshell/main.cpp:54

when running with arg -style=plastique also resulted in crash here is the backtrace for that:
#0  0xb75903bc in QPixmap::~QPixmap() () from /usr/lib/libQtGui.so.4
#1  0xb51f66ef in Oxygen::Helper::~Helper (this=0x811bdb8, __in_chrg=<optimized out>)
    at /home/swair/kde/source/kde-workspace/libs/oxygen/oxygenhelper.h:161
#2  0xb51f6972 in Oxygen::StyleHelper::~StyleHelper (this=0x811bdb8, __in_chrg=<optimized out>)
    at /home/swair/kde/source/kde-workspace/kstyles/oxygen/oxygenstylehelper.h:58
#3  0xb51b6a71 in Oxygen::Style::~Style (this=0x81642d0, __in_chrg=<optimized out>)
    at /home/swair/kde/source/kde-workspace/kstyles/oxygen/oxygenstyle.cpp:208
#4  0xb51b6ab2 in Oxygen::Style::~Style (this=0x81642d0, __in_chrg=<optimized out>)
    at /home/swair/kde/source/kde-workspace/kstyles/oxygen/oxygenstyle.cpp:208
#5  0xb74ae0dc in QApplication::setStyle(QStyle*) () from /usr/lib/libQtGui.so.4
#6  0xb74ae1a0 in QApplication::setStyle(QString const&) () from /usr/lib/libQtGui.so.4
#7  0xb70f0e8e in KGlobalSettings::Private::applyGUIStyle (this=0x811b410) at /home/swair/kde/source/kdelibs/kdeui/kernel/kglobalsettings.cpp:919
#8  0xb70f0eec in KGlobalSettings::Private::kdisplaySetStyle (this=0x811b410)
    at /home/swair/kde/source/kdelibs/kdeui/kernel/kglobalsettings.cpp:1065
#9  0xb70f3000 in KGlobalSettings::activate (this=0x81100b8, options=...) at /home/swair/kde/source/kdelibs/kdeui/kernel/kglobalsettings.cpp:221
#10 0xb70f3075 in KGlobalSettings::activate (this=0x81100b8) at /home/swair/kde/source/kdelibs/kdeui/kernel/kglobalsettings.cpp:207
#11 0xb70c57b5 in KApplicationPrivate::init (this=0x8120590, GUIenabled=true) at /home/swair/kde/source/kdelibs/kdeui/kernel/kapplication.cpp:569
#12 0xb70c5e42 in KApplication::KApplication (this=0xbfffeb84, GUIenabled=true) at /home/swair/kde/source/kdelibs/kdeui/kernel/kapplication.cpp:352
#13 0x08059b3f in main (argc=683076, argv=0x8114070) at /home/swair/kde/source/nepomukshell/main.cpp:5


for scribo(https://projects.kde.org/projects/playground/base/scribo/repository)

#0  0xb7667700 in QPixmap::isNull() const () from /usr/lib/libQtGui.so.4
#1  0xb518d462 in Oxygen::Helper::hasBackgroundPixmap (this=0x80dbb18) at /home/swair/kde/source/kde-workspace/libs/oxygen/oxygenhelper.h:202
#2  0xb515b11f in Oxygen::TopLevelManager::eventFilter (this=0x80b2a10, object=0xbfffeb88, event=0xbfffea80)
    at /home/swair/kde/source/kde-workspace/kstyles/oxygen/oxygenstyle.cpp:149
#3  0xb6aa8cc6 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#4  0xb75819f2 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#5  0xb7586e78 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#6  0xb6e307b8 in KApplication::notify (this=0xbfffebb0, receiver=0xbfffeb88, event=0xbfffea80)
    at /home/swair/kde/source/kdelibs/kdeui/kernel/kapplication.cpp:311
#7  0xb6aa8b2e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#8  0xb75e005d in QWidgetPrivate::show_helper() () from /usr/lib/libQtGui.so.4
#9  0xb75e0391 in QWidget::setVisible(bool) () from /usr/lib/libQtGui.so.4
#10 0x0804d7f7 in QWidget::show (this=0xbfffeb88) at /usr/include/QtGui/qwidget.h:487
#11 0x0804c07d in main (argc=Cannot access memory at address 0x0
) at /home/swair/kde/source/scribo/shell/main.cpp:47



Reproducible: Always

Steps to Reproduce:
Run any of the apps opening QWidget, it results in a crash.


Expected Results:  
Should not crash!
Comment 1 Hugo Pereira Da Costa 2011-11-04 08:04:31 UTC
you probably have a library conflict between libraries and pluggins
(bite me once)
you could try replace the liboxygen* in /usr/lib/kde4/plugins/styles/ by your home made (likely: ~/kde/install/lib/plugins, or smthing similar)

or manually edit $HOME/.config/Trolltech.conf, (find "libraryPath" and put the correct kde path there, or keep empty)

obviously cannot reproduce here.
Comment 2 swair shah 2011-11-05 21:24:15 UTC
yes that solves it! thanks :)
Comment 3 Hugo Pereira Da Costa 2011-11-08 08:21:05 UTC
*** Bug 286073 has been marked as a duplicate of this bug. ***
Comment 4 Hugo Pereira Da Costa 2011-11-09 05:45:52 UTC
*** Bug 286151 has been marked as a duplicate of this bug. ***
Comment 5 Simon Andric 2011-11-11 02:50:17 UTC
Hello!


Help please. I dont know is the problem only for me like this or no - i only have the problem when i select PROJECT NEON at startup menu, if i choose KDE it works flawlessly. Till two days before it didnt have this problem.

I tried opening $HOME/.config/Trolltech.conf, and find expression "libraryPath", but there was none...

also
~/kde/install/lib/plugins

home/(myname)/kde/... doesnt exist
home/(myname)/.kde/... exists but no subfolder "install" exists
/kde/... doesnt exist
/.kde/... doesnt exist

im a complete noob... can u help me understanding which folder i should look into and what exactly i should replace... i really dont want to make things any worse... and id love to continue use of project neon, so i can contribute to the better development of kde & kubuntu.

thank you!

symon
Comment 6 Hugo Pereira Da Costa 2011-11-11 12:00:17 UTC
@Simon,
I have no idea about what can be wrong, nor am I familiar with project neon.
You'd better ask on neon's forum, you'd get better assistance here, from others which use the same setup as yours. From what I can tell, there is no actual bug involved in oxygen (nor kde) code base itself
(I'm running home-build kde from master here, and everything is nice and smooth).

Sorry. Can't help
Comment 7 Martin Klapetek 2011-11-11 12:21:10 UTC
For Project Neon you have to add

[qt]
4.7\libraryPath=/opt/project-neon/lib/kde4/plugins

into ~/.project-neon-kde/config/Trolltech.conf, then it will work.
Comment 8 Simon Andric 2011-12-16 02:09:47 UTC
Hello!

Now after i did something (in system settings under login screen i have chosen to disable themed mode and use the simple mode), after reboot, it said in this enivornment kubuntu wont load in project neon, just in normal KDE workspace and in the options of the login menu project neon doesnt appear anymore. :(

The problem is now this... when i load kubuntu (the kde workspace), i have the same problem with kwin (it says it crashed a lot and doesnt enable it).

can you please tell me in which trolltech.conf i have to write and how should the line look like? (like it is written for project neon in the previous post?) 

i tried to use the information from all previous posts but i think i made it even worse than before, coz it doesnt say exactly what i have to put...and where - like it says  for project neon...

thank you!

Symon
Comment 9 Simon Andric 2011-12-16 02:19:57 UTC
i would also like to add one thing about this bug. Maybe it happens only in project neon - i dont know, BUT, ...after updating this is the second time it happened, that the path to the correct libraries became not correct by itself - i mean, i didnt change it. So it has to do with something with the installation/updating process. Somewhere during that, the path in trolltech.conf becames wrong. what i want to say is... like this to repair it by hand doesnt fix the bug, maybe it should be fixed with change to some installation/update package, who specify the path to that folder ... i dont know... i just suggest...

thank you!

Simon :)
Comment 10 Hugo Pereira Da Costa 2011-12-16 06:43:13 UTC
@simon well, since this is an installation problem, you will likely not get much help here, unfortunately. Project neon's forums is the right place.
As for the suggestion to fix in the install process, same thing.
Now this is not specific to neon. This is specific to everyone installing kde in a non standard directory. But the issue is with Qt, not oxygen, and you'll have the same issue every time you re-install Qt, even without changing kde install. so no, kde can't (and should not) provide a package to "fix" the Qt install.
Comment 11 Martin Klapetek 2011-12-16 10:21:53 UTC
I'm adding this for a future reference. 

PLEASE do not add anything more about PROJECT NEON, the problem that was there is already solved. Adding more Neon related comments just makes this bug unnecessarily long. Noone is going to read it when it's too long. Use Neon forums or #project-neon at freenode.

@Simon - by changing your kdm options from Project Neon, you pretty much messed up your system :) It overwrites /etc/kde4/kdmrc config file with different paths, thus pretty much screwing everything. You no longer see 'Project Neon' in kdm because it became 'KDE Workspace' and you no longer have access to the stable distro KDE. However try solving this elsewhere please.

As for the trolltech.conf - changing that config was recently added to package scripts, from what I understood, that found a more sophisticated way how to do that correctly (read change it elsewhere). I'm on Project Neon myself and everything works as expected, it's most likely your config problem, sorry.