Bug 318707 - kwin crashed when enable opengl
Summary: kwin crashed when enable opengl
Status: RESOLVED DUPLICATE of bug 277850
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 4.10.2
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-22 08:25 UTC by Jim Green
Modified: 2013-04-22 08:51 UTC (History)
0 users

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 Jim Green 2013-04-22 08:25:06 UTC
Application: kwin (4.10.2)
KDE Platform Version: 4.10.2 (Compiled from sources)
Qt Version: 4.8.4
Operating System: Linux 3.8.8 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:
Just change to enable opengl in desktop effect
using x32 abi. video card is ati hd4200.
I have notice that in /usr/libx32/dri there are no r600_dri.so and swrast_dri.so,so I make a symlink by hand.But it crash kwin.

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/libx32/libthread_db.so.1".
[Current thread is 1 (Thread 0xf778a740 (LWP 3439))]

Thread 2 (Thread 0xdec8e940 (LWP 3511)):
#0  0xf6f28093 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0xf25d6337 in ?? () from /usr/libx32/qt4/libQtCore.so.4
#2  0xf24f83e6 in ?? () from /usr/libx32/qt4/libQtCore.so.4
#3  0xf2279732 in start_thread (arg=<optimized out>) at pthread_create.c:308
#4  0xf6f2f19d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0xf778a740 (LWP 3439)):
[KCrash Handler]
#5  0xf30ee9ab in glGetString () from /usr/libx32/libGL.so.1
#6  0xf30aee8f in indirect_bind_context (gc=0x1445430, old=0xf3304480 <dummyContext>, draw=27265005, read=27265005) at indirect_glx.c:149
#7  0xf30aba3c in MakeContextCurrent (dpy=0x11d7390, draw=27265005, read=27265005, gc_user=0x1445430) at glxcurrent.c:269
#8  0xf30abb66 in glXMakeCurrent (dpy=0x11d7390, draw=27265005, gc=0x1445430) at glxcurrent.c:303
#9  0xf72ebc65 in KWin::GlxBackend::initRenderingContext (this=0x13f1730) at /var/tmp/portage/kde-base/kwin-4.10.2/work/kwin-4.10.2/kwin/glxbackend.cpp:145
#10 0xf72eb6fd in KWin::GlxBackend::init (this=0x13f1730) at /var/tmp/portage/kde-base/kwin-4.10.2/work/kwin-4.10.2/kwin/glxbackend.cpp:96
#11 0xf72eb3a9 in KWin::GlxBackend::GlxBackend (this=0x13f1730) at /var/tmp/portage/kde-base/kwin-4.10.2/work/kwin-4.10.2/kwin/glxbackend.cpp:52
#12 0xf72d9f91 in KWin::SceneOpenGL::createScene () at /var/tmp/portage/kde-base/kwin-4.10.2/work/kwin-4.10.2/kwin/scene_opengl.cpp:224
#13 0xf72c132e in KWin::Compositor::slotCompositingOptionsInitialized (this=0x12e2990) at /var/tmp/portage/kde-base/kwin-4.10.2/work/kwin-4.10.2/kwin/composite.cpp:206
#14 0xf72c0f3e in KWin::Compositor::setup (this=0x12e2990) at /var/tmp/portage/kde-base/kwin-4.10.2/work/kwin-4.10.2/kwin/composite.cpp:171
#15 0xf72c2ad3 in KWin::Compositor::slotConfigChanged (this=0x12e2990) at /var/tmp/portage/kde-base/kwin-4.10.2/work/kwin-4.10.2/kwin/composite.cpp:371
#16 0xf721d9fd in KWin::Compositor::qt_static_metacall (_o=0x12e2990, _c=QMetaObject::InvokeMetaMethod, _id=21, _a=0xffd26aa0) at /var/tmp/portage/kde-base/kwin-4.10.2/work/kwin-4.10.2_build/kwin/moc_composite.cpp:120
#17 0xf260d2b1 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/libx32/qt4/libQtCore.so.4
#18 0xf722cc95 in KWin::Workspace::configChanged (this=0x12b3fa0) at /var/tmp/portage/kde-base/kwin-4.10.2/work/kwin-4.10.2_build/kwin/workspace.moc:487
#19 0xf7224d72 in KWin::Workspace::slotReconfigure (this=0x12b3fa0) at /var/tmp/portage/kde-base/kwin-4.10.2/work/kwin-4.10.2/kwin/workspace.cpp:1022
#20 0xf722c47c in KWin::Workspace::qt_static_metacall (_o=0x12b3fa0, _c=QMetaObject::InvokeMetaMethod, _id=78, _a=0xffd26dc0) at /var/tmp/portage/kde-base/kwin-4.10.2/work/kwin-4.10.2_build/kwin/workspace.moc:318
#21 0xf260d2b1 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/libx32/qt4/libQtCore.so.4
#22 0xf260c5dc in QObject::event(QEvent*) () from /usr/libx32/qt4/libQtCore.so.4
#23 0xf179f5ef in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/libx32/qt4/libQtGui.so.4
#24 0xf17a3d23 in QApplication::notify(QObject*, QEvent*) () from /usr/libx32/qt4/libQtGui.so.4
#25 0xf6a1edca in KApplication::notify(QObject*, QEvent*) () from /usr/libx32/libkdeui.so.5
#26 0xf725fe22 in KWin::Application::notify (this=0xffd276a0, o=0x12b4134, e=0xffd27360) at /var/tmp/portage/kde-base/kwin-4.10.2/work/kwin-4.10.2/kwin/main.cpp:371
#27 0xf25f7c32 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/libx32/qt4/libQtCore.so.4
#28 0xf2628799 in ?? () from /usr/libx32/qt4/libQtCore.so.4
#29 0xf26289a0 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/libx32/qt4/libQtCore.so.4
#30 0xf1842ec4 in ?? () from /usr/libx32/qt4/libQtGui.so.4
#31 0xf25f690e in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/libx32/qt4/libQtCore.so.4
#32 0xf25f6bf8 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/libx32/qt4/libQtCore.so.4
#33 0xf25fb868 in QCoreApplication::exec() () from /usr/libx32/qt4/libQtCore.so.4
#34 0xf72610a5 in kdemain (argc=3, argv=0xffd27c34) at /var/tmp/portage/kde-base/kwin-4.10.2/work/kwin-4.10.2/kwin/main.cpp:537
#35 0x00400794 in main (argc=3, argv=0xffd27c34) at /var/tmp/portage/kde-base/kwin-4.10.2/work/kwin-4.10.2_build/kwin/kwin_dummy.cpp:3

Possible duplicates by query: bug 277850.

Reported using DrKonqi
Comment 1 Martin Flöser 2013-04-22 08:37:39 UTC

*** This bug has been marked as a duplicate of bug 277850 ***
Comment 2 Thomas Lübking 2013-04-22 08:51:51 UTC
you linked what where? that's most likely rather not gonna work and the crash looks like some SW renderer being in place.
-> check /var/log/Xorg.0.log and glxinfo about loaded drivers and system configuration.
abusing any 64bit lib as x86 lib will no way work, so please ensure to compile everything required for your setup.