Bug 300962 - Desktop Effects Crashes
Summary: Desktop Effects Crashes
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 4.8.3
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-31 19:51 UTC by Sergey Mescherin
Modified: 2012-05-31 20:50 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:
thomas.luebking: Gallium3D+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Mescherin 2012-05-31 19:51:30 UTC
Application: kcmshell4 ()
KDE Platform Version: 4.8.3 (4.8.3)
Qt Version: 4.8.1
Operating System: Linux 3.3.7-1.fc17.x86_64 x86_64
Distribution: "Fedora release 17 (Beefy Miracle)"

-- Information about the crash:
- What I was doing when the application crashed:
Opened Desktop Effects to turn on OpenGL because desktop effects was disables. I used open source ATI drivers.

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Control Module (kcmshell4), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f9c772bd880 (LWP 2048))]

Thread 2 (Thread 0x7f9c589f9700 (LWP 2051)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166
#1  0x00007f9c5a2f88d3 in pipe_semaphore_wait (sema=0x26fdee8) at ../../../../../src/gallium/auxiliary/os/os_thread.h:432
#2  radeon_drm_cs_emit_ioctl (param=0x26dc370) at radeon_drm_cs.c:401
#3  0x00007f9c7580bd14 in start_thread (arg=0x7f9c589f9700) at pthread_create.c:309
#4  0x00007f9c73e3499d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f9c772bd880 (LWP 2048)):
[KCrash Handler]
#6  0x00007f9c66ef4360 in ?? ()
#7  0x00007f9c5d439675 in KWin::GLPlatform::detect (this=0x27a2d20) at /usr/src/debug/kde-workspace-4.8.3/kwin/libkwineffects/kwinglplatform.cpp:501
#8  0x00007f9c5d4354b6 in KWin::CompositingPrefs::detectDriverAndVersion (this=<optimized out>) at /usr/src/debug/kde-workspace-4.8.3/kwin/compositingprefs.cpp:381
#9  0x00007f9c5d435739 in KWin::CompositingPrefs::detect (this=0x21fe8d8) at /usr/src/debug/kde-workspace-4.8.3/kwin/compositingprefs.cpp:169
#10 0x00007f9c5d42d407 in KWin::KWinCompositingConfig::load (this=0x21fe670) at /usr/src/debug/kde-workspace-4.8.3/kwin/kcmkwin/kwincompositing/main.cpp:387
#11 0x00007f9c5d42a6e7 in KWin::KWinCompositingConfig::rearmGlSupport (this=0x21fe670) at /usr/src/debug/kde-workspace-4.8.3/kwin/kcmkwin/kwincompositing/main.cpp:303
#12 0x00007f9c75bac07f in QMetaObject::activate (sender=0x2196c90, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff59514d50) at kernel/qobject.cpp:3547
#13 0x00007f9c75391932 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:219
#14 0x00007f9c750e5dfe in QAbstractButtonPrivate::emitClicked (this=this@entry=0x2178850) at widgets/qabstractbutton.cpp:548
#15 0x00007f9c750e6400 in QAbstractButtonPrivate::click (this=this@entry=0x2178850) at widgets/qabstractbutton.cpp:541
#16 0x00007f9c750e666c in QAbstractButton::mouseReleaseEvent (this=0x2196c90, e=0x7fff595155f0) at widgets/qabstractbutton.cpp:1123
#17 0x00007f9c74d7cd00 in QWidget::event (this=0x2196c90, event=0x7fff595155f0) at kernel/qwidget.cpp:8362
#18 0x00007f9c74d2d47c in QApplicationPrivate::notify_helper (this=this@entry=0x1f77e90, receiver=receiver@entry=0x2196c90, e=e@entry=0x7fff595155f0) at kernel/qapplication.cpp:4554
#19 0x00007f9c74d3220b in QApplication::notify (this=<optimized out>, receiver=0x2196c90, e=0x7fff595155f0) at kernel/qapplication.cpp:4097
#20 0x00007f9c76875a56 in KApplication::notify (this=0x7fff595163e0, receiver=0x2196c90, event=0x7fff595155f0) at /usr/src/debug/kdelibs-4.8.3/kdeui/kernel/kapplication.cpp:311
#21 0x00007f9c75b9593e in QCoreApplication::notifyInternal (this=0x7fff595163e0, receiver=0x2196c90, event=0x7fff595155f0) at kernel/qcoreapplication.cpp:876
#22 0x00007f9c74d2e2bb in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#23 QApplicationPrivate::sendMouseEvent (receiver=0x2196c90, event=0x7fff595155f0, alienWidget=0x2196c90, nativeWidget=0x212c840, buttonDown=0x7f9c75800d88, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3165
#24 0x00007f9c74da8994 in QETWidget::translateMouseEvent (this=this@entry=0x212c840, event=event@entry=0x7fff59515d60) at kernel/qapplication_x11.cpp:4523
#25 0x00007f9c74da7721 in QApplication::x11ProcessEvent (this=0x7fff595163e0, event=0x7fff59515d60) at kernel/qapplication_x11.cpp:3646
#26 0x00007f9c74dcd70c in x11EventSourceDispatch (s=s@entry=0x1f76880, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#27 0x00007f9c7025b5cc in g_main_dispatch (context=0x1f7b240) at gmain.c:2515
#28 g_main_context_dispatch (context=context@entry=0x1f7b240) at gmain.c:3052
#29 0x00007f9c7025b9e8 in g_main_context_iterate (context=context@entry=0x1f7b240, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at gmain.c:3123
#30 0x00007f9c7025baa4 in g_main_context_iteration (context=0x1f7b240, may_block=1) at gmain.c:3184
#31 0x00007f9c75bc39c6 in QEventDispatcherGlib::processEvents (this=0x1f54770, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#32 0x00007f9c74dcd3ee in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#33 0x00007f9c75b9493f in QEventLoop::processEvents (this=this@entry=0x7fff59516140, flags=...) at kernel/qeventloop.cpp:149
#34 0x00007f9c75b94bc8 in QEventLoop::exec (this=0x7fff59516140, flags=...) at kernel/qeventloop.cpp:204
#35 0x00007f9c751e0058 in QDialog::exec (this=0x212c840) at dialogs/qdialog.cpp:554
#36 0x00007f9c76edfb2c in kdemain (_argc=32943840, _argv=<optimized out>) at /usr/src/debug/kde-runtime-4.8.3/kcmshell/main.cpp:292
#37 0x00007f9c73d64735 in __libc_start_main (main=0x400720 <main(int, char**)>, argc=2, ubp_av=0x7fff59516518, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff59516508) at libc-start.c:226
#38 0x0000000000400751 in _start ()

Reported using DrKonqi
Comment 1 Thomas Lübking 2012-05-31 20:50:36 UTC
crashes in glGetString(GL_VENDOR);

please record your exact GPU and driver versions (you cannot use kwin to detect them and glxinfo will likely fail as well)

the effects are likely disabled because the test crashed several times in a row before what is why you got 
#11 0x00007f9c5d42a6e7 in KWin::KWinCompositingConfig::rearmGlSupport
a warning before (this is a very basic OpenGL call and if that crashes sth. is seriously broken with the driver)

The bug is either in mesa or xf86-video-ati/ati-dri -> try other versions of those or use the xrender backend (also check whether your GPU is actually supported by the driver)