Bug 243446 - kwin crash when i manual modify the position of buttons in window
Summary: kwin crash when i manual modify the position of buttons in window
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-02 15:43 UTC by Ezio Vergine
Modified: 2010-07-19 13:36 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ezio Vergine 2010-07-02 15:43:24 UTC
Application: kwin (4.4.90 (KDE 4.4.90 (KDE 4.5 RC1)))
KDE Platform Version: 4.4.90 (KDE 4.4.90 (KDE 4.5 RC1))
Qt Version: 4.7.0
Operating System: Linux 2.6.32-22-generic i686
Distribution: Ubuntu 10.04 LTS

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

I go to systemsettings-->workspace apperance-->configure buttons.
Modified the buttons, pres "ok" and "apply". kwin crash.

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7738720 (LWP 11483))]

Thread 2 (Thread 0xaeb5cb70 (LWP 11489)):
#0  0x004b3e16 in *__GI_clock_gettime (clock_id=4947956, tp=0xaeb5c0f0) at ../sysdeps/unix/clock_gettime.c:100
#1  0x02222ceb in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x022f9045 in QTimerInfoList::updateCurrentTime (this=0x8bc0590) at kernel/qeventdispatcher_unix.cpp:339
#4  0x022f908a in QTimerInfoList::timerWait (this=0x8bc0590, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x022fa5fb in QEventDispatcherUNIX::processEvents (this=0x83aa610, flags=...) at kernel/qeventdispatcher_unix.cpp:906
#6  0x022c71a9 in QEventLoop::processEvents (this=0xaeb5c280, flags=) at kernel/qeventloop.cpp:149
#7  0x022c75fa in QEventLoop::exec (this=0xaeb5c280, flags=...) at kernel/qeventloop.cpp:201
#8  0x021c4aee in QThread::exec (this=0x8b77350) at thread/qthread.cpp:490
#9  0x022a62eb in QInotifyFileSystemWatcherEngine::run (this=0x8b77350) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x021c7dc9 in QThreadPrivate::start (arg=0x8b77350) at thread/qthread_unix.cpp:266
#11 0x001d096e in start_thread (arg=0xaeb5cb70) at pthread_create.c:300
#12 0x00752a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7738720 (LWP 11483)):
[KCrash Handler]
#7  0x001aa9aa in ?? () from /usr/lib/mesa/libGL.so.1
#8  0x0018421c in ?? () from /usr/lib/mesa/libGL.so.1
#9  0x00ce6e33 in KWin::SceneOpenGL::waitSync (this=0x8691738) at ../../kwin/scene_opengl.cpp:781
#10 0x00ceb870 in KWin::SceneOpenGL::flushBuffer (this=0x8691738, mask=-1073845012, damage=...) at ../../kwin/scene_opengl.cpp:793
#11 0x00cec8e4 in KWin::SceneOpenGL::paint (this=0x8691738, damage=..., toplevels=...) at ../../kwin/scene_opengl.cpp:761
#12 0x00cd4594 in KWin::Workspace::performCompositing (this=0x8316e58) at ../../kwin/composite.cpp:455
#13 0x00c4525e in KWin::Workspace::qt_metacall (this=0x8316e58, _c=QMetaObject::InvokeMetaMethod, _id=190, _a=0xbffe700c) at ./workspace.moc:583
#14 0x022ce42a in QMetaObject::metacall (object=0x8316e58, cl=1747328, idx=190, argv=0xbffe700c) at kernel/qmetaobject.cpp:237
#15 0x022e11a5 in QMetaObject::activate (sender=0x8317108, m=0x23fa5a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#16 0x023328d7 in QTimer::timeout (this=0x8317108) at .moc/release-shared/moc_qtimer.cpp:134
#17 0x022e6d4e in QTimer::timerEvent (this=0x8317108, e=0xbffe7560) at kernel/qtimer.cpp:271
#18 0x022db014 in QObject::event (this=0x8317108, e=0x8351cb8) at kernel/qobject.cpp:1183
#19 0x0139732c in QApplicationPrivate::notify_helper (this=0x82c3460, receiver=0x8317108, e=0xbffe7560) at kernel/qapplication.cpp:4358
#20 0x0139e6fe in QApplication::notify (this=0xbffe7864, receiver=0x8317108, e=0xbffe7560) at kernel/qapplication.cpp:3762
#21 0x009c90da in KApplication::notify (this=0xbffe7864, receiver=0x8317108, event=0xbffe7560) at ../../kdeui/kernel/kapplication.cpp:309
#22 0x00c6215f in KWin::Application::notify (this=0xbffe7864, o=0x8317108, e=0xbffe7560) at ../../kwin/main.cpp:372
#23 0x022c86cb in QCoreApplication::notifyInternal (this=0xbffe7864, receiver=0x8317108, event=0xbffe7560) at kernel/qcoreapplication.cpp:732
#24 0x022fa426 in QCoreApplication::sendEvent (this=0x82c3c00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#25 QTimerInfoList::activateTimers (this=0x82c3c00) at kernel/qeventdispatcher_unix.cpp:602
#26 0x022fa587 in QEventDispatcherUNIX::processEvents (this=0x82c20d0, flags=...) at kernel/qeventdispatcher_unix.cpp:923
#27 0x014595c2 in QEventDispatcherX11::processEvents (this=0x82c20d0, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#28 0x022c71a9 in QEventLoop::processEvents (this=0xbffe77b4, flags=) at kernel/qeventloop.cpp:149
#29 0x022c75fa in QEventLoop::exec (this=0xbffe77b4, flags=...) at kernel/qeventloop.cpp:201
#30 0x022cbbaf in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#31 0x01396157 in QApplication::exec () at kernel/qapplication.cpp:3637
#32 0x00c642c4 in kdemain (argc=3, argv=0xbffe7ac4) at ../../kwin/main.cpp:531
#33 0x0804860b in main (argc=3, argv=0xbffe7ac4) at kwin_dummy.cpp:3

Possible duplicates by query: bug 241325, bug 241263.

Reported using DrKonqi
Comment 1 Martin Flöser 2010-07-02 22:23:41 UTC
I'm sorry to say, but it crashes in the OpenGL driver implementation. So there is nothing we can do about it :-(

If you are able to reproduce you could install the debugging symbols for mesa and open a new bugreport at the freedesktop.org bugtracker. But given that you are using a driver shipped by a distribution it is likely that the crash has been fixed already as mesa drivers are moving quite fast currently.
Comment 2 Thomas Lübking 2010-07-02 22:50:40 UTC
if it's a persistent problem, try to deactivate vsync'ing

i wonder how this is related to button setup / client reconstruction, though - which deco are you using?

(+ it's  a dupe of the two mentioned bugs, have a look at their system/driver configuraion, seems like xorg/radeon from ppa)
Comment 3 Ezio Vergine 2010-07-03 10:58:06 UTC
Ok, thanks for help.

For deco I use oxygen.
Disable v-sinc don't resolve the problem. I use an experimental repo for xorg and driver ati because the default kubuntu 10.04 is extremly slow with mi video card. Ok next week i try to reinstall kubuntu and kde 4.5 SC1

X.Org X Server 1.8.1.902 (1.8.2 RC 2)
Release Date: 2010-06-21

mesa: 7.9-dev


Sorry for my english
Comment 4 Thomas Lübking 2010-07-03 16:22:37 UTC
(In reply to comment #3)
> Disable v-sinc don't resolve the problem. 
And you get the very same backtrace??

> Sorry for my english
Don't worry, we're all bad.
Well, that is except for the English natives, of course :-)
Comment 5 Ezio Vergine 2010-07-03 18:42:47 UTC
If I disable v-sync and make the same procedure the desktop freeze (I can move the mouse but evrithing don't respond. For example if i click on the kickoff menu i see the hdd led flashlight but the desktop stay freezed).
So I goes to tty0, kill kwin, restart with "kwin -display :0.0 &" and return to tty7 (the desktop). kwin is down (i don't have the window decoration) but my best friend drkonqi has return. Then if i click "restart application" kwin work.

backtrace:

Application: KWin (kwin), signal: Aborted
[KCrash Handler]
#7  0x009a1422 in __kernel_vsyscall ()
#8  0x00408651 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0x0040ba82 in *__GI_abort () at abort.c:92
#10 0x012e12ac in qt_message_output (msgType=QtFatalMsg, buf=0x962f3f0 "kwin(2492): Session bus not found \n") at global/qglobal.cpp:2271
#11 0x0061dff5 in ~QDebug (this=0xbfcc4e00, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qdebug.h:85
#12 0x007246cc in KApplicationPrivate::init (this=0x95f8548, GUIenabled=true) at ../../kdeui/kernel/kapplication.cpp:508
#13 0x00725f57 in KApplication (this=0xbfcc5474, GUIenabled=true) at ../../kdeui/kernel/kapplication.cpp:350
#14 0x00d00888 in Application (this=0xbfcc5474) at ../../kwin/main.cpp:246
#15 0x00d01f3c in kdemain (argc=3, argv=0xbfcc56d4) at ../../kwin/main.cpp:510
#16 0x0804860b in main (argc=3, argv=0xbfcc56d4) at kwin_dummy.cpp:3

Thanks for support.
don't lost more time with this bug if the problem is related to driver, i've upgraded with non official repo and unstable version. Next week I will install 10.04 in another partition and try kde 4.5 RC1 with distro's driver.

Thanks :)
Comment 6 Thomas Lübking 2010-07-03 21:39:26 UTC
The "freeze" should be a(nother) driver problem. (Esp. as the driver seems pretty unstable anyway) If you encounter it again, try to suspend compositing by SHIFT+ALT+F12.

To restart kwin from a distant terminal, better set an environment variable

   DISPLAY=:0.0 kwin --replace &
Comment 7 Thomas Lübking 2010-07-03 21:39:26 UTC
The "freeze" should be a(nother) driver problem. (Esp. as the driver seems pretty unstable anyway) If you encounter it again, try to suspend compositing by SHIFT+ALT+F12.

To restart kwin from a distant terminal, better set an environment variable

   DISPLAY=:0.0 kwin --replace &
Comment 8 Ezio Vergine 2010-07-19 13:36:53 UTC
I have reinstalled the system and now, with the distro ati driver there is no problem. Thanks guys