Bug 186134 - kwin crashes intermittently for no apparent reason
Summary: kwin crashes intermittently for no apparent reason
Status: RESOLVED DUPLICATE of bug 179537
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-04 16:43 UTC by Alan Prescott
Modified: 2009-03-08 18:31 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 Alan Prescott 2009-03-04 16:43:09 UTC
Version:           unknown (using 4.2.00 (KDE 4.2.0) "release 102", KDE:KDE4:Factory:Desktop / openSUSE_11.0)
Compiler:          gcc
OS:                Linux (i686) release 2.6.25.20-0.1-pae

KWin crashed with signal 11 (SIGSEGV).
This is an intermittent occurrence and I have yet to find any way of forcing it to occur and so am unable to provide a list of packages running etc.

I've attempted to get a backtrace but I get a message that it's of no use but I enclose it below in case it's of some help anyway. I have searched the openSUSE repos for a kwin debuginfo package but I can't find one.
I'm also adding part of the .xsession-errors file in case that's of some use plus /var/log/messages.

I do have a list of ps auwx of user processes taken immediately after the crash if you want a copy of that, let me know

OpenSUSE 11.0, KDE4 (Factory) up to date as of 3-Mar-2009
Graphics card: Nvidia GeForce 6800 with nvidia drivers version 180-29

<snip>
This backtrace appears to be of no use.
This is probably because your packages are built in a way which prevents creation of proper backtraces, or the stack frame was seriously corrupted in the crash.

[?1034h(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb552f6f0 (LWP 15649)]
[New Thread 0xae8a1b90 (LWP 16921)]
0xffffe430 in __kernel_vsyscall ()
[Current thread is 0 (LWP 15649)]

Thread 2 (Thread 0xae8a1b90 (LWP 16921)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb68eced1 in select () from /lib/libc.so.6
#2  0xb6e2c337 in QProcessManager::run (this=0x807d260) at io/qprocess_unix.cpp:301
#3  0xb6d5a73e in QThreadPrivate::start (arg=0x807d260) at thread/qthread_unix.cpp:185
#4  0xb6cfa175 in start_thread () from /lib/libpthread.so.0
#5  0xb68f3dae in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb552f6f0 (LWP 15649)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb68bd0c6 in nanosleep () from /lib/libc.so.6
#2  0xb68bceae in sleep () from /lib/libc.so.6
#3  0xb7e0c6c0 in KCrash::startDrKonqi (argv=0xbff62c54, argc=17) at /usr/src/debug/kdelibs-4.2.0/kdeui/util/kcrash.cpp:412
#4  0xb7e0d084 in KCrash::defaultCrashHandler (sig=11) at /usr/src/debug/kdelibs-4.2.0/kdeui/util/kcrash.cpp:337
#5  <signal handler called>
#6  0xb793ea2c in typeinfo for QPixmap () from /usr/lib/libQtGui.so.4
#7  0xb31855c3 in ?? () from /usr/lib/kde4/kwin4_effect_builtins.so
#8  0xb3190795 in ?? () from /usr/lib/kde4/kwin4_effect_builtins.so
#9  0xb3190eab in ?? () from /usr/lib/kde4/kwin4_effect_builtins.so
#10 0xb319182a in ?? () from /usr/lib/kde4/kwin4_effect_builtins.so
#11 0xb8012387 in ?? () from /usr/lib/libkdeinit4_kwin.so
#12 0xb7f9cc05 in ?? () from /usr/lib/libkdeinit4_kwin.so
#13 0xb7f9cd12 in ?? () from /usr/lib/libkdeinit4_kwin.so
#14 0xb7fc1a08 in ?? () from /usr/lib/libkdeinit4_kwin.so
#15 0xb7faf112 in ?? () from /usr/lib/libkdeinit4_kwin.so
#16 0xb7135fde in qt_x11EventFilter (ev=0x826de00) at kernel/qapplication_x11.cpp:371
#17 0xb7148748 in QApplication::x11ProcessEvent (this=0xbff63d64, event=0xbff63a4c) at kernel/qapplication_x11.cpp:3262
#18 0xb717340c in x11EventSourceDispatch (s=0x806c4e0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:142
#19 0xb652a2d9 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#20 0xb652d85b in ?? () from /usr/lib/libglib-2.0.so.0
#21 0xb652d9d8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#22 0xb6e7a458 in QEventDispatcherGlib::processEvents (this=0x8069bc0, flags={i = -1074381816}) at kernel/qeventdispatcher_glib.cpp:319
#23 0xb7172ad5 in QGuiEventDispatcherGlib::processEvents (this=0x8069bc0, flags={i = -1074381768}) at kernel/qguieventdispatcher_glib.cpp:198
#24 0xb6e4cf1a in QEventLoop::processEvents (this=0xbff63cb0, flags={i = -1074381704}) at kernel/qeventloop.cpp:145
#25 0xb6e4d35a in QEventLoop::exec (this=0xbff63cb0, flags={i = -1074381640}) at kernel/qeventloop.cpp:196
#26 0xb6e4f7e9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:876
#27 0xb70d2c27 in QApplication::exec () at kernel/qapplication.cpp:3549
#28 0xb7fb1faa in kdemain () from /usr/lib/libkdeinit4_kwin.so
#29 0x08048762 in _start ()
#0  0xffffe430 in __kernel_vsyscall ()
</snip>

# tail /var/log/messages
<snip>
Mar  4 15:31:22 nikyo gconfd (alan-6190): GConf server is not in use, shutting down.
Mar  4 15:31:22 nikyo gconfd (alan-6190): Exiting
</snip>

file: .xsession-errors
<snip>
kdeinit4: preparing to launch
kdeinit4: preparing to launch
kdeinit4: preparing to launch
kdeinit4: preparing to launch
kdeinit4: preparing to launch
kdeinit4: preparing to launch
Application::crashHandler() called with signal 11; recent crashes: 1
KCrash: Application 'kwin' crashing...
kdeinit4: preparing to launch /usr/lib/kde4/libexec/drkonqi
/usr/bin/firefox: line 126:  6188 Segmentation fault      $MOZ_PROGRAM "$@"
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x6c00118
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x6c00118
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  25
  Minor opcode:  0
  Resource id:  0x5c0005e
plasma(5773): Failed to lock file "/var/tmp/kdecache-alanebDtK9/kpc/plasma_theme_Aya.lock" , last result = 1
kwin: X Error (error: <unknown>[DAMAGE+0], request: XDamageDestroy[DAMAGE+2], resource: 0x6401549)
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  25
  Minor opcode:  0
  Resource id:  0x5c0005e
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  25
  Minor opcode:  0
  Resource id:  0x5c0005e
kdeinit4: preparing to launch
dolphin(5813) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/kde4/services/ServiceMenus/preview.desktop" is not compliant with XDG standard (missing trailing semicolon).
kdeinit4: preparing to launch /usr/bin/kwrite
kdeinit4: preparing to launch
kwin: X Error (error: <unknown>[DAMAGE+0], request: XDamageDestroy[DAMAGE+2], resource: 0x64019d5)
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  25
  Minor opcode:  0
  Resource id:  0x5c0005e
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  25
  Minor opcode:  0
  Resource id:  0x5c0005e
kdeinit4: preparing to launch
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  25
  Minor opcode:  0
  Resource id:  0x5c0005e
kwin: X Error (error: <unknown>[DAMAGE+0], request: XDamageDestroy[DAMAGE+2], resource: 0x6402934)
dolphin(5813) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/kde4/services/ServiceMenus/preview.desktop" is not compliant with XDG standard (missing trailing semicolon).
kdeinit4: preparing to launch /usr/bin/kwrite
Object::connect: Attempt to bind non-signal TaskManager::TaskGroup::editRequest()
kwin: X Error (error: <unknown>[DAMAGE+0], request: XDamageDestroy[DAMAGE+2], resource: 0x6402ad8)
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  25
  Minor opcode:  0
  Resource id:  0x5c0005e
</snip>
Comment 1 Dario Andres 2009-03-05 23:52:06 UTC
Please install the "kdebase4-workspace-debuginfo" package in order to obtain a more useful backtrace. Thanks.
Comment 2 Alan Prescott 2009-03-06 08:42:32 UTC
Ah - that's where the debuginfo is - will do.
Comment 3 Dario Andres 2009-03-06 12:01:49 UTC
Thanks
Comment 4 Alan Prescott 2009-03-08 18:22:27 UTC
Backtrace as requested

<backtrace>
Application: KWin (kwin), signal SIGSEGV
[?1034h[Thread debugging using libthread_db enabled]

Thread 1 (Thread 0xb544e6f0 (LWP 6703)):
[KCrash Handler]
#6  0x00000007 in ?? ()
#7  0xb311f795 in KWin::PresentWindowsEffect::rearrangeWindows (this=0x8266cc0) at /usr/src/debug/kdebase-workspace-4.2.1/kwin/effects/presentwindows.cpp:484
#8  0xb311feab in KWin::PresentWindowsEffect::setActive (this=0x8266cc0, active=true, closingTab=false) at /usr/src/debug/kdebase-workspace-4.2.1/kwin/effects/presentwindows.cpp:1153
#9  0xb312082a in KWin::PresentWindowsEffect::borderActivated (this=0x8266cc0, border=KWin::ElectricLeft) at /usr/src/debug/kdebase-workspace-4.2.1/kwin/effects/presentwindows.h:99
#10 0xb7f32387 in KWin::EffectsHandlerImpl::borderActivated (this=0x8231928, border=KWin::ElectricLeft) at /usr/src/debug/kdebase-workspace-4.2.1/kwin/effects.cpp:321
#11 0xb7ebcc05 in KWin::Workspace::checkElectricBorder (this=0x8119970, pos=@0xbfe86484, now=73044941) at /usr/src/debug/kdebase-workspace-4.2.1/kwin/workspace.cpp:2260
#12 0xb7ebcd12 in KWin::Workspace::electricBorderEvent (this=0x8119970, e=0xbfe86a8c) at /usr/src/debug/kdebase-workspace-4.2.1/kwin/workspace.cpp:2324
#13 0xb7ee1a08 in KWin::Workspace::workspaceEvent (this=0x8119970, e=0xbfe86a8c) at /usr/src/debug/kdebase-workspace-4.2.1/kwin/events.cpp:410
#14 0xb7ecf112 in KWin::Application::x11EventFilter (this=0xbfe86da4, e=0xbfe86a8c) at /usr/src/debug/kdebase-workspace-4.2.1/kwin/main.cpp:359
#15 0xb7054fde in qt_x11EventFilter (ev=0xbfe86a8c) at kernel/qapplication_x11.cpp:375
#16 0xb7067748 in QApplication::x11ProcessEvent (this=0xbfe86da4, event=0xbfe86a8c) at kernel/qapplication_x11.cpp:3271
#17 0xb70924dc in x11EventSourceDispatch (s=0x806bc20, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#18 0xb64492d9 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#19 0xb644c85b in ?? () from /usr/lib/libglib-2.0.so.0
#20 0xb644c9d8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#21 0xb6d99488 in QEventDispatcherGlib::processEvents (this=0x8066908, flags={i = -1075286968}) at kernel/qeventdispatcher_glib.cpp:323
#22 0xb7091ba5 in QGuiEventDispatcherGlib::processEvents (this=0x8066908, flags={i = -1075286920}) at kernel/qguieventdispatcher_glib.cpp:202
#23 0xb6d6bf4a in QEventLoop::processEvents (this=0xbfe86cf0, flags={i = -1075286856}) at kernel/qeventloop.cpp:149
#24 0xb6d6c38a in QEventLoop::exec (this=0xbfe86cf0, flags={i = -1075286792}) at kernel/qeventloop.cpp:200
#25 0xb6d6e819 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#26 0xb6ff1c27 in QApplication::exec () at kernel/qapplication.cpp:3553
#27 0xb7ed1faa in kdemain (argc=3, argv=0xbfe86f74) at /usr/src/debug/kdebase-workspace-4.2.1/kwin/main.cpp:519
#28 0x08048762 in main (argc=0, argv=0x8603108) at /usr/src/debug/kdebase-workspace-4.2.1/build/kwin/kwin_dummy.cpp:3
</backtrace>

Appliactions running at the time of the crash:-
Dolphin (2 instances) 1.2.1
Firefox (2 instances) - Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.0.7) Gecko/2009022800 SUSE/3.0.7-1.2 Firefox/3.0.7
Gimp 2.4.5
Kate 2.5.10
Konsole 2.2.1
Kontact 1.4.1

Firefox crashed at the same time so could be Firefox taking down Kwin or Kwin taking down Firefox
Comment 5 Dario Andres 2009-03-08 18:31:49 UTC
Please ask your packager to redo their kdebase-workspace package with the
official tarball. This crash only occurs for distributions that released KDE
4.2.1 before it was ready.

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