Bug 301054 - Crash after Alt+Shift+F12
Summary: Crash after Alt+Shift+F12
Status: RESOLVED DUPLICATE of bug 270818
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-02 13:38 UTC by Andras888
Modified: 2012-06-02 17:24 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 Andras888 2012-06-02 13:38:53 UTC
Application: kwin (4.8.2 (4.8.2))
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.0.0-16-generic x86_64
Distribution: Linux Mint 12 KDE

-- Information about the crash:
- What I was doing when the application crashed: Right after bootup the panel was not transparent, but black.  I pressed Alt+Shift+F12 and it crashed.

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7fbc0e66e700 (LWP 3367)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007fbc0e66dad0 in ?? ()
#2  0x00007fff5bdc87e7 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0x7fbc0de6d700 (LWP 3368)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fbc26030052 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007fbc26030089 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007fbc1e18fefc in start_thread (arg=0x7fbc0de6d700) at pthread_create.c:304
#4  0x00007fbc2956359d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fbc29d347a0 (LWP 3352)):
[KCrash Handler]
#6  __memcpy_sse2 () at ../sysdeps/x86_64/multiarch/../memcpy.S:332
#7  0x00007fbc2581bb6e in ?? () from /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
#8  0x00007fbc0c706abf in KWin::ARBBlurShader::init (this=0x134d0e0) at ../../../kwin/effects/blur/blurshader.cpp:471
#9  0x00007fbc0c702049 in KWin::BlurEffect::reconfigure (this=0x134cfa0, flags=<optimized out>) at ../../../kwin/effects/blur/blur.cpp:85
#10 0x00007fbc0c702327 in KWin::BlurEffect::BlurEffect (this=0x134cfa0) at ../../../kwin/effects/blur/blur.cpp:53
#11 0x00007fbc0c702426 in KWin::effect_create_kwin4_effect_blur () at ../../../kwin/effects/blur/blur.cpp:34
#12 0x00007fbc298f4e12 in KWin::EffectsHandlerImpl::loadEffect (this=0x13195d0, name=..., checkDefault=false) at ../../kwin/effects.cpp:1198
#13 0x00007fbc298f615a in KWin::EffectsHandlerImpl::reconfigure (this=0x13195d0) at ../../kwin/effects.cpp:196
#14 0x00007fbc298f66d8 in KWin::EffectsHandlerImpl::EffectsHandlerImpl (this=0x13195d0, type=<optimized out>) at ../../kwin/effects.cpp:128
#15 0x00007fbc298ca8bf in KWin::Workspace::setupCompositing (this=0x10c4050) at ../../kwin/composite.cpp:174
#16 0x00007fbc298cb215 in KWin::Workspace::setupCompositing (this=<optimized out>) at ../../kwin/composite.cpp:87
#17 0x00007fbc298cc698 in KWin::Workspace::suspendCompositing (this=0x10c4050, suspend=<optimized out>) at ../../kwin/composite.cpp:321
#18 0x00007fbc2986442c in KWin::Workspace::qt_metacall (this=0x10c4050, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff5bca1130) at ./workspace.moc:377
#19 0x00007fbc24d5d589 in QMetaObject::activate (sender=0x11db6c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff5bca1130) at kernel/qobject.cpp:3566
#20 0x00007fbc240c7e32 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#21 0x00007fbc240c801f in QAction::activate (this=0x11db6c0, event=<optimized out>) at kernel/qaction.cpp:1257
#22 0x00007fbc29094810 in trigger (this=0x11db6c0) at /usr/include/qt4/QtGui/qaction.h:218
#23 KGlobalAccelPrivate::_k_invokeAction (this=<optimized out>, componentUnique=<optimized out>, actionUnique=<optimized out>, timestamp=274437) at ../../kdeui/shortcuts/kglobalaccel.cpp:449
#24 0x00007fbc29096fb3 in KGlobalAccel::qt_metacall (this=0x115b300, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff5bca1360) at ./kglobalaccel.moc:77
#25 0x00007fbc24d5d589 in QMetaObject::activate (sender=0x11804a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff5bca1360) at kernel/qobject.cpp:3566
#26 0x00007fbc291a8a79 in OrgKdeKglobalaccelComponentInterface::globalShortcutPressed (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>, _t3=274437) at kglobalaccel_component_interface.moc:150
#27 0x00007fbc291a8ee2 in OrgKdeKglobalaccelComponentInterface::qt_metacall (this=0x11804a0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff5bca1790) at kglobalaccel_component_interface.moc:98
#28 0x00007fbc250c435b in QDBusConnectionPrivate::deliverCall (this=0xf5de40, object=0x11804a0, msg=..., metaTypes=..., slotIdx=5) at qdbusintegrator.cpp:947
#29 0x00007fbc24d62546 in QObject::event (this=0x11804a0, e=<optimized out>) at kernel/qobject.cpp:1195
#30 0x00007fbc240ce2e4 in notify_helper (e=0x12f2ea0, receiver=0x11804a0, this=0xf67740) at kernel/qapplication.cpp:4559
#31 QApplicationPrivate::notify_helper (this=0xf67740, receiver=0x11804a0, e=0x12f2ea0) at kernel/qapplication.cpp:4531
#32 0x00007fbc240d3163 in QApplication::notify (this=0x7fff5bca2280, receiver=0x11804a0, e=0x12f2ea0) at kernel/qapplication.cpp:4420
#33 0x00007fbc2904fbf6 in KApplication::notify (this=0x7fff5bca2280, receiver=0x11804a0, event=0x12f2ea0) at ../../kdeui/kernel/kapplication.cpp:311
#34 0x00007fbc24d48f9c in QCoreApplication::notifyInternal (this=0x7fff5bca2280, receiver=0x11804a0, event=0x12f2ea0) at kernel/qcoreapplication.cpp:876
#35 0x00007fbc24d4cd6a in sendEvent (event=0x12f2ea0, receiver=0x11804a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#36 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xefe1f0) at kernel/qcoreapplication.cpp:1500
#37 0x00007fbc2417411a in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#38 QEventDispatcherX11::processEvents (this=0xeffad0, flags=...) at kernel/qeventdispatcher_x11.cpp:75
#39 0x00007fbc24d47d82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007fbc24d47fd7 in QEventLoop::exec (this=0x7fff5bca21c0, flags=...) at kernel/qeventloop.cpp:204
#41 0x00007fbc24d4d067 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#42 0x00007fbc298817d6 in kdemain (argc=<optimized out>, argv=<optimized out>) at ../../kwin/main.cpp:541
#43 0x00007fbc294a130d in __libc_start_main (main=0x400640 <main(int, char**)>, argc=1, ubp_av=0x7fff5bca29a8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff5bca2998) at libc-start.c:226
#44 0x0000000000400671 in _start ()

Possible duplicates by query: bug 291743, bug 290390, bug 286479, bug 284375, bug 283959.

Reported using DrKonqi
Comment 1 Thomas Lübking 2012-06-02 13:45:08 UTC
"kcmshell4 kwincompositing", disable blur effect (2nd tab) and set the scale method to smooth (3rd tab)

for the records please also specify your gpu and mesa/driver version - in doubt run "kwin --replace&" fro konsole and post the output. Thanks.

*** This bug has been marked as a duplicate of bug 270818 ***
Comment 2 Andras888 2012-06-02 16:25:00 UTC
andras@andras-desktop ~ $ QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
QFileSystemWatcher: failed to add paths: /home/andras/.config/ibus/bus
OpenGL vendor string:                   ATI Technologies Inc.
OpenGL renderer string:                 ATI Radeon HD 3200 Graphics
OpenGL version string:                  1.4 (2.1 (3.3.11554 Compatibility Profile Context))
Driver:                                 Catalyst
Driver version:                         2.1
GPU class:                              R600
OpenGL version:                         1.4
X server version:                       1.10.4
Linux kernel version:                   3.0
Direct rendering:                       no
Requires strict binding:                yes
GLSL shaders:                           no
Texture NPOT support:                   yes
kwin(6344): glCheckFramebufferStatus failed:  "GL_NO_ERROR" 
kwin(6344): Failed to compile fragment program:  
kwin(6344): Shaders are not supported 
kwin(6344): Shaders are not supported 
kwin(6344): Shaders are not supported 
kwin(6344): Shaders are not supported 
andras@andras-desktop ~ $ kwin(6344) KWin::checkGLError: GL error ( PostPaint ):  "GL_INVALID_ENUM" 

[1]-  Done                    kwin --replace
andras@andras-desktop ~ $
Comment 3 Andras888 2012-06-02 16:32:22 UTC
Thomas,

Thanks for your quick responce.  If I understand this correctly, the bug is "resolved downstream".  I believe my system us up-to-date.  How do I fix this then?

Thank you,

Andras888
Comment 4 Thomas Lübking 2012-06-02 17:24:20 UTC
"resolved" does not mean "solved" - just that the bug is outside our scope (in the up/downstream case) and no open task.

however, while being the same trigger and result, the other bug was caused by a software gl installation, but fglrx causes the very same.

you can
- try the radeon driver (xf86-video-ati/ati-dri)
- try fglx with enforced direct rendering (late versions have been reported to be reliable) "KWIN_DIRECT_GL=1 kwin --replace &"
- remain staying away from the ARB shader using code (as hinted)
- ensure that this issue in fglrx is not caused by it's setup demands (afaik one has to run some script after un/installing it)