Bug 319201 - project neon crash
Summary: project neon crash
Status: RESOLVED DUPLICATE of bug 320562
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 4.10.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-02 02:28 UTC by Simon Andric
Modified: 2013-06-07 18:19 UTC (History)
2 users (show)

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


Attachments
New crash information added by DrKonqi (5.94 KB, text/plain)
2013-05-08 21:49 UTC, Simon Andric
Details
Fix attempt (1.83 KB, patch)
2013-05-09 11:23 UTC, Thomas Lübking
Details
New crash information added by DrKonqi (5.05 KB, text/plain)
2013-05-25 18:48 UTC, Simon Andric
Details
New crash information added by DrKonqi (5.19 KB, text/plain)
2013-05-28 22:06 UTC, Simon Andric
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Andric 2013-05-02 02:28:19 UTC
Application: kwin (4.10.2)
KDE Platform Version: 4.10.2
Qt Version: 4.8.5
Operating System: Linux 3.9.0-0-generic i686
Distribution: Ubuntu Saucy Salamander (development branch)

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

Every time after a recent saucy upgrade after the splash Message appears AC profile ...something... problem with configuration or installatioon... ill try to get a better look next time i lof on :)

nice day
simon

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb1054740 (LWP 2957))]

Thread 2 (Thread 0xabaefb40 (LWP 2983)):
#0  0xb7788424 in __kernel_vsyscall ()
#1  0xb58f484b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb74b6d7c in __pthread_cond_wait (cond=0x844c5f8, mutex=0x844c5e0) at forward.c:149
#3  0xae570b1c in ?? () from /usr/lib/i386-linux-gnu/dri/r600_dri.so
#4  0xb58f0d78 in start_thread (arg=0xabaefb40) at pthread_create.c:311
#5  0xb74a93de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 1 (Thread 0xb1054740 (LWP 2957)):
[KCrash Handler]
#7  0xb736afb8 in QObject::parent (this=0x85e51a0) at /opt/project-neon/include/QtCore/qobject.h:273
#8  0xb736380d in KWin::EffectWindow::addLayerRepaint (this=0x85e51a0, r=...) at /build/buildd/project-neon-kde-workspace-2+git20130501+r47957/kwin/libkwineffects/kwineffects.cpp:801
#9  0xb7377ea6 in KWin::AnimationEffect::postPaintScreen (this=0x84c6038) at /build/buildd/project-neon-kde-workspace-2+git20130501+r47957/kwin/libkwineffects/kwinanimationeffect.cpp:577
#10 0xb76902a6 in KWin::EffectsHandlerImpl::postPaintScreen (this=0x85e7f18) at /build/buildd/project-neon-kde-workspace-2+git20130501+r47957/kwin/effects.cpp:397
#11 0xb76670e1 in KWin::Scene::paintScreen (this=0x84bffe0, mask=0xbf9930a8, region=0xbf993104) at /build/buildd/project-neon-kde-workspace-2+git20130501+r47957/kwin/scene.cpp:145
#12 0xb7677414 in KWin::SceneOpenGL::paint (this=0x84bffe0, damage=..., toplevels=...) at /build/buildd/project-neon-kde-workspace-2+git20130501+r47957/kwin/scene_opengl.cpp:313
#13 0xb765fd77 in KWin::Compositor::performCompositing (this=0x83f3760) at /build/buildd/project-neon-kde-workspace-2+git20130501+r47957/kwin/composite.cpp:561
#14 0xb765f844 in KWin::Compositor::timerEvent (this=0x83f3760, te=0xbf9935e0) at /build/buildd/project-neon-kde-workspace-2+git20130501+r47957/kwin/composite.cpp:495
#15 0xb5abeefe in QObject::event (this=0x83f3760, e=0xbf9935e0) at kernel/qobject.cpp:1156
#16 0xb4d8a6d2 in QApplicationPrivate::notify_helper (this=0x8224fc8, receiver=0x83f3760, e=0xbf9935e0) at kernel/qapplication.cpp:4562
#17 0xb4d87db9 in QApplication::notify (this=0xbf993918, receiver=0x83f3760, e=0xbf9935e0) at kernel/qapplication.cpp:3944
#18 0xb68802f6 in KApplication::notify (this=0xbf993918, receiver=0x83f3760, event=0xbf9935e0) at /build/buildd/project-neon-kdelibs-2+git20130501+r92483~ebca90e/kdeui/kernel/kapplication.cpp:311
#19 0xb7608026 in KWin::Application::notify (this=0xbf993918, o=0x83f3760, e=0xbf9935e0) at /build/buildd/project-neon-kde-workspace-2+git20130501+r47957/kwin/main.cpp:423
#20 0xb5aa7d95 in QCoreApplication::notifyInternal (this=0xbf993918, receiver=0x83f3760, event=0xbf9935e0) at kernel/qcoreapplication.cpp:949
#21 0xb703570f in QCoreApplication::sendEvent (receiver=0x83f3760, event=0xbf9935e0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#22 0xb5ae25a5 in QTimerInfoList::activateTimers (this=0x8225744) at kernel/qeventdispatcher_unix.cpp:621
#23 0xb5ae3346 in QEventDispatcherUNIX::activateTimers (this=0x81e6ea0) at kernel/qeventdispatcher_unix.cpp:878
#24 0xb5ae369c in QEventDispatcherUNIX::processEvents (this=0x81e6ea0, flags=...) at kernel/qeventdispatcher_unix.cpp:940
#25 0xb4e5850c in QEventDispatcherX11::processEvents (this=0x81e6ea0, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#26 0xb5aa53c8 in QEventLoop::processEvents (this=0xbf993828, flags=...) at kernel/qeventloop.cpp:149
#27 0xb5aa5541 in QEventLoop::exec (this=0xbf993828, flags=...) at kernel/qeventloop.cpp:204
#28 0xb5aa8426 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#29 0xb4d87a3c in QApplication::exec () at kernel/qapplication.cpp:3823
#30 0xb76090c0 in kdemain (argc=3, argv=0xbf993a04) at /build/buildd/project-neon-kde-workspace-2+git20130501+r47957/kwin/main.cpp:591
#31 0x080486a1 in main (argc=3, argv=0xbf993a04) at /build/buildd/project-neon-kde-workspace-2+git20130501+r47957/obj-i686-linux-gnu/kwin/kwin_dummy.cpp:3

Reported using DrKonqi
Comment 1 Martin Flöser 2013-05-02 06:44:14 UTC
This crash looks rather bogus. It's crashing inside QObject::parent()... I 
just looked at the code and it just needs to be valid at that point. If it 
weren't it would already crash at the position #9 in the back trace.

So until we have more data confirming that there is a problem on our side I 
assume it's a packaging problem. After all saucy was just announced last week 
and you mention yourself that it started after an update.

One question though: are all crashes looking like that or is there variation 
in the back trace?
Comment 2 Thomas Lübking 2013-05-02 07:11:44 UTC
where can one see the exact sources (including patches)?
Comment 3 Rohan Garg 2013-05-02 11:23:13 UTC
Hi Thomas
You can find the packaging here : http://bazaar.launchpad.net/~neon/project-neon/kde-workspace-ubuntu/files

The code is imported over here : https://code.launchpad.net/~neon/kde-baseapps/kde-workspace
Comment 4 Thomas Lübking 2013-05-02 11:56:00 UTC
Smells like a dangeling iterator in m_animations.
Since it only happens at login (not at kwin startup, correct?) I assume an animation is triggered in the construction event  cycle and the relevant window deleted in the same (ie. before init is invoked)

Thus adding an "initialized" member to the d_ptr and using it to enforce init pre ::p_animate() should do.

Can you inject a patch and will you need one or do you feel like "i understood the above and will just try"?
Comment 5 Martin Flöser 2013-05-02 12:08:08 UTC
given discussion with Rohan we should clearly wait and get confirmation from 
an independent report not on 13.10. It's currently in transition:

> [13:21] <shadeslayer> yofel: is PN + Saucy open ? is it installable /
> working ?
> [13:22] <yofel__> I'm bootstrapping it, expect it working till end of the 
week
Comment 6 Simon Andric 2013-05-08 21:49:51 UTC
Created attachment 79788 [details]
New crash information added by DrKonqi

kwin (4.10.60) on KDE Platform 4.10.60 using Qt 4.8.5

- What I was doing when the application crashed:

hello!

i went now on full to use project neon, so i can explore this project neon crash, which is still happening to me, *after* i reset the ocmputer and log in.
also i would like to note, that all my desktop settings in project neon considering widgets on desktop and wallpapeer information are lost when i reboot. i use the package "desktop-base", which offers me the choice of "grid desktop", but every time i reset the computer im back to "default dekstop"...i also choose a slideshow of wallpapers, and after reboot im again stuck with the default wallppaer piture... no widgets which i drag onto desktop stays there after reboot...analog clock, rssnow, calendar, folderview, weather forecast, system information... all of them dissapear... Interestingly the settings for my panel (both default and empty one are saved.)... including the widgets and their settings which are dragged on the panel (weather forecast, digital clock, keyboard layout...) maybe these two problems are related...

thank you

Simon :)

-- Backtrace (Reduced):
#7  0xb5c22320 in QHashData::shared_null () from /opt/project-neon/lib/libQtCore.so.4
[...]
#10 0xb731a6d1 in KWin::EffectWindow::addLayerRepaint (this=0x92526d8, r=...) at /build/buildd/project-neon-kde-workspace-2+git20130507+r47975/kwin/libkwineffects/kwineffects.cpp:791
#11 0xb732eb7a in KWin::AnimationEffect::postPaintScreen (this=0x8f76200) at /build/buildd/project-neon-kde-workspace-2+git20130507+r47975/kwin/libkwineffects/kwinanimationeffect.cpp:577
#12 0xb7646062 in KWin::EffectsHandlerImpl::postPaintScreen (this=0x9246680) at /build/buildd/project-neon-kde-workspace-2+git20130507+r47975/kwin/effects.cpp:394
#13 0xb761d258 in KWin::Scene::paintScreen (this=0x912ee88, mask=0xbfdff0c8, region=0xbfdff124) at /build/buildd/project-neon-kde-workspace-2+git20130507+r47975/kwin/scene.cpp:145
Comment 7 Thomas Lübking 2013-05-08 22:08:01 UTC
Your secondary issue sounds much like you've no write permissions in ~/.kde

Reg. the original issue, see comment #4
a) does it also happen on "kwin --replace&"?
b) can you inject a patch?
Comment 8 Simon Andric 2013-05-09 08:28:28 UTC
fani@avatar:~$ kwin --replace
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated.
kwin(3221) KWin::Extensions::init:  non_native_pixmaps:  true
kwin(3221) KWin::Xcb::Extensions::init: Extensions: shape: 0x "11"  composite: 0x "4"  render: 0x "b"  fixes: 0x "50"  randr: 0x "14"  sync: 0x "31"  damage: 0x  "11"
We are checking whether the service is present true 
Locking mutex for currentActivity 
Locking mutex for listActivities 
Locking mutex for runningActivities 
kwin(3221) KDecorationPlugins::canLoad: kwin : path  "/opt/project-neon/lib/kde4/kwin3_aurorae.so"  for  "kwin3_aurorae"
kwin(3221) KWin::RootInfo::create: Error occurred while lowering support window:  3
kwin(3221) KWin::x11ErrorHandler: kwin: X Error ( "error: BadValue [2], request: X_CreateWindow[1]" ) 
kwin(3221) KWin::Workspace::updateClientArea: screens:  1 desktops:  2
kwin(3221) KWin::Workspace::updateClientArea: Done.
QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread
QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread
Trying to lock mutex 
kwin(3221) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 4294967295
kwin(3221) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 33554845 ;WMCLASS: "plasma" : "plasma" ;Caption: "plasma-desktop" ' : 4294967295
kwin(3221) KWin::Workspace::allowClientActivation: Activation: No client active, allowing
kwin(3221) KWin::Workspace::updateClientArea: screens:  1 desktops:  2
kwin(3221) KWin::Workspace::updateClientArea: Done.
kwin(3221) KWin::RuleBook::find: Rule found: [ "Window settings for konsole" : "konsole" ] : 'ID: 25165851 ;WMCLASS: "konsole" : "konsole" ;Caption: "fani : kwin – Konsole" '
kwin(3221) KWin::Client::checkActivities: no activities!?!?
kwin(3221) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 114480
kwin(3221) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 25165851 ;WMCLASS: "konsole" : "konsole" ;Caption: "fani : kwin – Konsole" ' : 114480
kwin(3221) KWin::Workspace::allowClientActivation: Activation: No client active, allowing
kwin(3221) KWin::Workspace::updateClientArea: screens:  1 desktops:  2
kwin(3221) KWin::Workspace::updateClientArea: Done.
kwin(3221) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 4294967295
kwin(3221) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 33554824 ;WMCLASS: "plasma" : "plasma" ;Caption: "plasma-desktop" ' : 4294967295
kwin(3221) KWin::Workspace::allowClientActivation: Activation: No client active, allowing
kwin(3221) KWin::Workspace::updateClientArea: screens:  1 desktops:  2
kwin(3221) KWin::Workspace::updateClientArea: Done.
kwin(3221) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 108452
kwin(3221) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 33554815 ;WMCLASS: "plasma" : "plasma" ;Caption: "plasma-desktop" ' : 108452
kwin(3221) KWin::Workspace::allowClientActivation: Activation: No client active, allowing
kwin(3221) KWin::Workspace::updateClientArea: screens:  1 desktops:  2
kwin(3221) KWin::Workspace::updateClientArea: Done.
kwin(3221) KWin::Workspace::updateClientArea: screens:  1 desktops:  2
kwin(3221) KWin::Workspace::updateClientArea: Done.
Returning listActivities ("35c045a1-ce29-4e1d-8237-c34581e04cf3") 
Unlocked mutex 
QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread
QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread
Trying to lock mutex 
kwin(3221)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/project-neon-kde-fani/kdecache-fani/ksycoca4"
Returning currentActivity "35c045a1-ce29-4e1d-8237-c34581e04cf3" 
Unlocked mutex 
Unlocked mutex 
kwin(3221) KWin::Compositor::slotCompositingOptionsInitialized: Initializing OpenGL compositing
kwin(3221) KWin::GlxBackend::initDrawableConfigs: Drawable visual (depth  24 ): 0x "21e"
kwin(3221) KWin::GlxBackend::initDrawableConfigs: Drawable visual (depth  32 ): 0x "7b"
kwin(3221) KWin::GlxBackend::initBuffer: Buffer visual (depth  24 ): 0x "220"
OpenGL vendor string:                   X.Org
OpenGL renderer string:                 Gallium 0.4 on AMD RV710
OpenGL version string:                  3.0 Mesa 9.2.0
OpenGL shading language version string: 1.30
Driver:                                 R600G
GPU class:                              R700
OpenGL version:                         3.0
GLSL version:                           1.30
Mesa version:                           9.2
X server version:                       1.13.4
Linux kernel version:                   3.9
Direct rendering:                       yes
Requires strict binding:                no
GLSL shaders:                           yes
Texture NPOT support:                   yes
Virtual Machine:                        no
kwin(3221) KWin::GlxBackend::init: Direct rendering: true
kwin(3221) KWin::SceneOpenGL2::SceneOpenGL2: Color correction: false
kwin(3221) KWin::ShaderManager::initShaders: Ortho Shader is valid
kwin(3221) KWin::ShaderManager::initShaders: Generic Shader is valid
kwin(3221) KWin::ShaderManager::initShaders: Color Shader is valid
kwin(3221) KWin::SceneOpenGL2::SceneOpenGL2: OpenGL 2 compositing successfully initialized
kwin(3221) KWin::currentRefreshRate: Vertical Refresh rate  75 Hz
kwin(3221)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/project-neon-kde-fani/kdecache-fani/ksycoca4"
kwin(3221) KWin::x11ErrorHandler: kwin: X Error ( "error: BadMatch [8], request: X_ReparentWindow[7], resource: 0x2d2" ) 
kwin(3221) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_login"
kwin(3221) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_slidingpopups"
kwin(3221) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_blur"
kwin(3221) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_desktopgrid"
kwin(3221) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_fade"
kwin(3221) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_slide"
kwin(3221) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_presentwindows"
kwin(3221) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_dashboard"
kwin(3221) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_startupfeedback"
kwin(3221) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_screenedge"
kwin(3221) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_maximize"
kwin(3221) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_taskbarthumbnail"
kwin(3221) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_logout"
kwin(3221) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_screenshot"
kwin(3221) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_translucency"
kwin(3221) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_highlightwindow"
kwin(3221) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_zoom"
kwin(3221) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_dialogparent"
kwin(3221) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_minimizeanimation"
kwin(3221) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 124784
kwin(3221) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 33555586 ;WMCLASS: "plasma-desktop" : "plasma-desktop" ;Caption: "Desktop Settings – Plasma Desktop Shell" ' : 124784
kwin(3221) KWin::Workspace::allowClientActivation: Activation: No client active, allowing
kwin(3221) KWin::Workspace::updateClientArea: screens:  1 desktops:  2
kwin(3221) KWin::Workspace::updateClientArea: Done.
Returning the running activities ("35c045a1-ce29-4e1d-8237-c34581e04cf3") 
kwin(3221) KWin::UserActionsMenu::showHideActivityMenu: activities: 1
kwin(3221) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 4294967295
kwin(3221) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 31457298 ;WMCLASS: "kwin_rules_dialog" : "kwin_rules_dialog" ;Caption: "Edit Window-Specific Settings – KWin" ' : 140816
kwin(3221) KWin::Workspace::allowClientActivation: Activation, compared: 'ID: 31457298 ;WMCLASS: "kwin_rules_dialog" : "kwin_rules_dialog" ;Caption: "Edit Window-Specific Settings – KWin" ' : 140816 : 134339 : true
kwin(3221) KWin::Workspace::updateClientArea: screens:  1 desktops:  2
kwin(3221) KWin::Workspace::updateClientArea: Done.
kwin(3221) KWin::x11ErrorHandler: kwin: X Error ( "error: BadMatch [8], request: X_ReparentWindow[7], resource: 0x2d2" ) 
kwin(3221) KWin::Workspace::updateClientArea: screens:  1 desktops:  2
kwin(3221) KWin::Workspace::updateClientArea: Done.
kwin(3221) KWin::Workspace::slotReconfigure: Workspace::slotReconfigure()
kwin(3221) KWin::RuleBook::find: Rule found: [ "Window settings for konsole" : "konsole" ] : 'ID: 25165851 ;WMCLASS: "konsole" : "konsole" ;Caption: "fani : kwin – Konsole" '
kwin(3221) KWin::RuleBook::find: Rule found: [ "Window settings for plasma-desktop" : "plasma-desktop" ] : 'ID: 33555586 ;WMCLASS: "plasma-desktop" : "plasma-desktop" ;Caption: "Desktop Settings – Plasma Desktop Shell" '
kwin(3221) KWin::x11ErrorHandler: kwin: X Error ( "error: BadMatch [8], request: X_ReparentWindow[7], resource: 0x2d2" ) 
kwin(3221) KWin::Workspace::updateClientArea: screens:  1 desktops:  2
kwin(3221) KWin::Workspace::updateClientArea: Done.
kwin(3221) KWin::RuleBook::find: Rule found: [ "Window settings for plasma-desktop" : "plasma-desktop" ] : 'ID: 33555681 ;WMCLASS: "plasma-desktop" : "plasma-desktop" ;Caption: "Desktop Settings – Plasma Desktop Shell" '
kwin(3221) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 166640
kwin(3221) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 33555681 ;WMCLASS: "plasma-desktop" : "plasma-desktop" ;Caption: "Desktop Settings – Plasma Desktop Shell" ' : 166640
kwin(3221) KWin::Workspace::allowClientActivation: Activation: No client active, allowing
kwin(3221) KWin::Workspace::updateClientArea: screens:  1 desktops:  2
kwin(3221) KWin::Workspace::updateClientArea: Done.
kwin(3221) KWin::x11ErrorHandler: kwin: X Error ( "error: BadMatch [8], request: X_ReparentWindow[7], resource: 0x2d2" ) 
kwin(3221) KWin::Workspace::updateClientArea: screens:  1 desktops:  2
kwin(3221) KWin::Workspace::updateClientArea: Done.
kwin(3221) KWin::RuleBook::find: Rule found: [ "Window settings for firefox-trunk" : "navigator firefox-trunk" ] : 'ID: 69206222 ;WMCLASS: "firefox-trunk" : "navigator" ;Caption: "Nightly" '
kwin(3221) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 191587
kwin(3221) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 69206222 ;WMCLASS: "firefox-trunk" : "navigator" ;Caption: "Nightly" ' : 191587
kwin(3221) KWin::Workspace::allowClientActivation: Activation, compared: 'ID: 69206222 ;WMCLASS: "firefox-trunk" : "navigator" ;Caption: "Nightly" ' : 191587 : 182894 : true
kwin(3221) KWin::Workspace::updateClientArea: screens:  1 desktops:  2
kwin(3221) KWin::Workspace::updateClientArea: Done.
kwin(3221) KWin::x11ErrorHandler: kwin: X Error ( "error: BadDamage [DAMAGE+0], request: XDamageDestroy[DAMAGE+2], resource: 0x42075c2" ) 
kwin(3221) KWin::Toplevel::createWindowPixmap: Creating window pixmap failed:  3
kwin(3221) KWin::x11ErrorHandler: kwin: X Error ( "error: BadDrawable [9], request: X_GetGeometry[14], resource: 0x20004f0" ) 
kwin(3221) KWin::Toplevel::createWindowPixmap: Creating window pixmap failed:  3
kwin(3221) KWin::x11ErrorHandler: kwin: X Error ( "error: BadDrawable [9], request: X_GetGeometry[14], resource: 0x20004f0" ) 
kwin(3221) KWin::Toplevel::createWindowPixmap: Creating window pixmap failed:  3
kwin(3221) KWin::x11ErrorHandler: kwin: X Error ( "error: BadDrawable [9], request: X_GetGeometry[14], resource: 0x20004f0" ) 
kwin(3221) KWin::Toplevel::createWindowPixmap: Creating window pixmap failed:  3
kwin(3221) KWin::x11ErrorHandler: kwin: X Error ( "error: BadDrawable [9], request: X_GetGeometry[14], resource: 0x20004f0" ) 
kwin(3221) KWin::Toplevel::createWindowPixmap: Creating window pixmap failed:  3
kwin(3221) KWin::x11ErrorHandler: kwin: X Error ( "error: BadDrawable [9], request: X_GetGeometry[14], resource: 0x20004f0" ) 

-------------------------

hope it helps.... and abvout patches... nope.... have no idea how to do that... :)

nice day...and thank you....

Simon
Comment 9 Simon Andric 2013-05-09 08:31:16 UTC
sorry...again...this time with "&":

fani@avatar:~$ kwin --replace&
[1] 3411
fani@avatar:~$ QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated.
kwin(3411) KWin::Extensions::init:  non_native_pixmaps:  true
kwin(3411) KWin::Xcb::Extensions::init: Extensions: shape: 0x "11"  composite: 0x "4"  render: 0x "b"  fixes: 0x "50"  randr: 0x "14"  sync: 0x "31"  damage: 0x  "11"
We are checking whether the service is present true 
Locking mutex for currentActivity 
Locking mutex for listActivities 
Locking mutex for runningActivities 
kwin(3411) KDecorationPlugins::canLoad: kwin : path  "/opt/project-neon/lib/kde4/kwin3_aurorae.so"  for  "kwin3_aurorae"
kwin(3411) KWin::RootInfo::create: Error occurred while lowering support window:  3
kwin(3411) KWin::x11ErrorHandler: kwin: X Error ( "error: BadValue [2], request: X_CreateWindow[1]" ) 
kwin(3411) KWin::Workspace::updateClientArea: screens:  1 desktops:  2
kwin(3411) KWin::Workspace::updateClientArea: Done.
QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread
QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread
Trying to lock mutex 
kwin(3411) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 162337
kwin(3411) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 33554845 ;WMCLASS: "plasma" : "plasma" ;Caption: "plasma-desktop" ' : 162337
kwin(3411) KWin::Workspace::allowClientActivation: Activation: No client active, allowing
kwin(3411) KWin::Workspace::updateClientArea: screens:  1 desktops:  2
kwin(3411) KWin::Workspace::updateClientArea: Done.
kwin(3411) KWin::RuleBook::find: Rule found: [ "Window settings for firefox-trunk" : "navigator firefox-trunk" ] : 'ID: 69206222 ;WMCLASS: "firefox-trunk" : "navigator" ;Caption: "Bug 319201 – project neon crash - Nightly (Build 20130508063410)" '
kwin(3411) KWin::Client::checkActivities: no activities!?!?
kwin(3411) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 406173
kwin(3411) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 69206222 ;WMCLASS: "firefox-trunk" : "navigator" ;Caption: "Bug 319201 – project neon crash - Nightly (Build 20130508063410)" ' : 406173
kwin(3411) KWin::Workspace::allowClientActivation: Activation: No client active, allowing
kwin(3411) KWin::Workspace::updateClientArea: screens:  1 desktops:  2
kwin(3411) KWin::Workspace::updateClientArea: Done.
kwin(3411) KWin::RuleBook::find: Rule found: [ "Window settings for konsole" : "konsole" ] : 'ID: 25165851 ;WMCLASS: "konsole" : "konsole" ;Caption: "fani : bash – Konsole" '
kwin(3411) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 446152
kwin(3411) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 25165851 ;WMCLASS: "konsole" : "konsole" ;Caption: "fani : bash – Konsole" ' : 446152
kwin(3411) KWin::Workspace::allowClientActivation: Activation: No client active, allowing
kwin(3411) KWin::Workspace::updateClientArea: screens:  1 desktops:  2
kwin(3411) KWin::Workspace::updateClientArea: Done.
kwin(3411) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 108452
kwin(3411) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 33554815 ;WMCLASS: "plasma" : "plasma" ;Caption: "plasma-desktop" ' : 108452
kwin(3411) KWin::Workspace::allowClientActivation: Activation: No client active, allowing
kwin(3411) KWin::Workspace::updateClientArea: screens:  1 desktops:  2
kwin(3411) KWin::Workspace::updateClientArea: Done.
kwin(3411) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 438889
kwin(3411) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 33554824 ;WMCLASS: "plasma" : "plasma" ;Caption: "plasma-desktop" ' : 438889
kwin(3411) KWin::Workspace::allowClientActivation: Activation: No client active, allowing
kwin(3411) KWin::Workspace::updateClientArea: screens:  1 desktops:  2
kwin(3411) KWin::Workspace::updateClientArea: Done.
kwin(3411) KWin::Workspace::updateClientArea: screens:  1 desktops:  2
kwin(3411) KWin::Workspace::updateClientArea: Done.
Unlocked mutex 
Returning listActivities ("35c045a1-ce29-4e1d-8237-c34581e04cf3") 
QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread
QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread
Trying to lock mutex 
kwin(3411)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/project-neon-kde-fani/kdecache-fani/ksycoca4"
Returning currentActivity "35c045a1-ce29-4e1d-8237-c34581e04cf3" 
Unlocked mutex 
Unlocked mutex 
kwin(3411) KWin::Compositor::slotCompositingOptionsInitialized: Initializing OpenGL compositing
kwin(3411) KWin::GlxBackend::initDrawableConfigs: Drawable visual (depth  24 ): 0x "21e"
kwin(3411) KWin::GlxBackend::initDrawableConfigs: Drawable visual (depth  32 ): 0x "7b"
kwin(3411) KWin::GlxBackend::initBuffer: Buffer visual (depth  24 ): 0x "220"
OpenGL vendor string:                   X.Org
OpenGL renderer string:                 Gallium 0.4 on AMD RV710
OpenGL version string:                  3.0 Mesa 9.2.0
OpenGL shading language version string: 1.30
Driver:                                 R600G
GPU class:                              R700
OpenGL version:                         3.0
GLSL version:                           1.30
Mesa version:                           9.2
X server version:                       1.13.4
Linux kernel version:                   3.9
Direct rendering:                       yes
Requires strict binding:                no
GLSL shaders:                           yes
Texture NPOT support:                   yes
Virtual Machine:                        no
kwin(3411) KWin::GlxBackend::init: Direct rendering: true
kwin(3411) KWin::SceneOpenGL2::SceneOpenGL2: Color correction: false
kwin(3411) KWin::ShaderManager::initShaders: Ortho Shader is valid
kwin(3411) KWin::ShaderManager::initShaders: Generic Shader is valid
kwin(3411) KWin::ShaderManager::initShaders: Color Shader is valid
kwin(3411) KWin::SceneOpenGL2::SceneOpenGL2: OpenGL 2 compositing successfully initialized
kwin(3411) KWin::currentRefreshRate: Vertical Refresh rate  75 Hz
kwin(3411)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/project-neon-kde-fani/kdecache-fani/ksycoca4"
kwin(3411) KWin::x11ErrorHandler: kwin: X Error ( "error: BadMatch [8], request: X_ReparentWindow[7], resource: 0x2d2" ) 
kwin(3411) KWin::x11ErrorHandler: kwin: X Error ( "error: BadMatch [8], request: X_ReparentWindow[7], resource: 0x2d2" ) 
kwin(3411) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_login"
kwin(3411) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_slidingpopups"
kwin(3411) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_blur"
kwin(3411) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_desktopgrid"
kwin(3411) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_fade"
kwin(3411) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_slide"
kwin(3411) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_presentwindows"
kwin(3411) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_dashboard"
kwin(3411) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_startupfeedback"
kwin(3411) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_screenedge"
kwin(3411) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_maximize"
kwin(3411) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_taskbarthumbnail"
kwin(3411) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_logout"
kwin(3411) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_screenshot"
kwin(3411) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_translucency"
kwin(3411) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_highlightwindow"
kwin(3411) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_zoom"
kwin(3411) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_dialogparent"
kwin(3411) KWin::EffectsHandlerImpl::loadEffect: Trying to load  "kwin4_effect_minimizeanimation"
kwin(3411) KWin::x11ErrorHandler: kwin: X Error ( "error: BadDamage [DAMAGE+0], request: XDamageDestroy[DAMAGE+2], resource: 0x20006a1" ) 
kwin(3411) KWin::RuleBook::find: Rule found: [ "Window settings for plasma-desktop" : "plasma-desktop" ] : 'ID: 33556155 ;WMCLASS: "plasma-desktop" : "plasma-desktop" ;Caption: "Desktop Settings – Plasma Desktop Shell" '
kwin(3411) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 466272
kwin(3411) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 33556155 ;WMCLASS: "plasma-desktop" : "plasma-desktop" ;Caption: "Desktop Settings – Plasma Desktop Shell" ' : 466272
kwin(3411) KWin::Workspace::allowClientActivation: Activation: No client active, allowing
kwin(3411) KWin::Workspace::updateClientArea: screens:  1 desktops:  2
kwin(3411) KWin::Workspace::updateClientArea: Done.
kwin(3411) KWin::x11ErrorHandler: kwin: X Error ( "error: BadMatch [8], request: X_ReparentWindow[7], resource: 0x2d2" ) 
kwin(3411) KWin::Workspace::updateClientArea: screens:  1 desktops:  2
kwin(3411) KWin::Workspace::updateClientArea: Done.

------------

nice day!

Simon :)
Comment 10 Thomas Lübking 2013-05-09 11:05:52 UTC
@Rohan, do you reproduce the crash and could pot. inject a patch?

Otherwise i'd suggest to push the suggestion from comment #4 since it should be pretty safe (running right now)
Comment 11 Rohan Garg 2013-05-09 11:12:58 UTC
@Thomas I'm not currently running saucy, and don't plan to upgrade at least for another month. Testing a patch in Neon is quite simple :

Step 1 : Grab sources from projects.kde.org
Step 2 : Apply patch
Step 3 : neon-env && neonmake
Step 4 : logout and login

So if you could provide a patch to the reporter, it should be trivial for him to try it out in Neon
Comment 12 Thomas Lübking 2013-05-09 11:23:32 UTC
Created attachment 79795 [details]
Fix attempt

Ok Simon.

To apply the attached patch, copy it into the kde-workspace/kwin source dir and call:
     patch -p2 < __try_on_319201.diff
Comment 13 Simon Andric 2013-05-22 09:43:02 UTC
hello!

sorry for late reply, lately real life got in the way :) but... even without applying your patch, for which im kindly grateful it seems after a last few updates, this problem does not occur anymore - at least error... the error with "not keeping my desktop preferences" in project neon however persist, even though i made bothfolders .kde and .project-neon-kde in dolphin as root with my ownership and group ownership in folder and all files/subfolders... not root.

also this error happened a few days ago, maybe they are related ...

https://bugs.kde.org/show_bug.cgi?id=319965

thank you for helping...

nice day :)

simon
Comment 14 Simon Andric 2013-05-25 18:48:45 UTC
Created attachment 80076 [details]
New crash information added by DrKonqi

kwin (4.10.60) on KDE Platform 4.10.60 using Qt 4.8.5

- What I was doing when the application crashed:

rebooting machine - project neon..... after splash dr. konqi... apppeared...


nice day! :)

simon

-- Backtrace (Reduced):
#7  0xb5bec320 in QHashData::shared_null () from /opt/project-neon/lib/libQtCore.so.4
[...]
#10 0xb72e96d1 in KWin::EffectWindow::addLayerRepaint (this=0xa361a80, r=...) at /build/buildd/project-neon-kde-workspace-2+git20130524+r48105/kwin/libkwineffects/kwineffects.cpp:791
#11 0xb72fdb7a in KWin::AnimationEffect::postPaintScreen (this=0xa35fbf0) at /build/buildd/project-neon-kde-workspace-2+git20130524+r48105/kwin/libkwineffects/kwinanimationeffect.cpp:577
#12 0xb7617dde in KWin::EffectsHandlerImpl::postPaintScreen (this=0xa3475b8) at /build/buildd/project-neon-kde-workspace-2+git20130524+r48105/kwin/effects.cpp:394
#13 0xb75ee618 in KWin::Scene::paintScreen (this=0xa24c0c0, mask=0xbf977244, region=0xbf9772b4) at /build/buildd/project-neon-kde-workspace-2+git20130524+r48105/kwin/scene.cpp:145
Comment 15 Thomas Lübking 2013-05-25 19:19:20 UTC
Did you apply the provided patch?
Comment 16 Simon Andric 2013-05-28 22:06:22 UTC
Created attachment 80142 [details]
New crash information added by DrKonqi

kwin (4.10.60) on KDE Platform 4.10.60 using Qt 4.8.5

- What I was doing when the application crashed:

after clean install of saucy again same problem...will ltry to apply patch in  the following days :)

nice day

Simon

-- Backtrace (Reduced):
#9  0x00007f5cdaafd2c7 in KWin::EffectWindow::addLayerRepaint (this=0x23fc3a0, r=...) at /build/buildd/project-neon-kde-workspace-2+git20130527+r48107/kwin/libkwineffects/kwineffects.cpp:791
#10 0x00007f5cdab13f30 in KWin::AnimationEffect::postPaintScreen (this=0x1f67b50) at /build/buildd/project-neon-kde-workspace-2+git20130527+r48107/kwin/libkwineffects/kwinanimationeffect.cpp:577
#11 0x00007f5cdb439648 in KWin::EffectsHandlerImpl::postPaintScreen (this=0x23fdf30) at /build/buildd/project-neon-kde-workspace-2+git20130527+r48107/kwin/effects.cpp:394
#12 0x00007f5cdb40ef54 in KWin::Scene::paintScreen (this=0x2276d90, mask=0x7fffd8ef6458, region=0x7fffd8ef6500) at /build/buildd/project-neon-kde-workspace-2+git20130527+r48107/kwin/scene.cpp:145
#13 0x00007f5cdb41f397 in KWin::SceneOpenGL::paint (this=0x2276d90, damage=..., toplevels=...) at /build/buildd/project-neon-kde-workspace-2+git20130527+r48107/kwin/scene_opengl.cpp:344
Comment 17 Thomas Lübking 2013-06-07 18:19:29 UTC

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