Bug 294577

Summary: vim bash gnome-terminal
Product: [Plasma] kwin Reporter: Chris Maple <chrismaple>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Chris Maple 2012-02-21 19:04:39 UTC
Application: kwin (4.6.5 (4.6.5))
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.4
Operating System: Linux 2.6.35.14-106.fc14.i686 i686
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
Fresh reinstall of Fedora 14, fully updated. Running vim in 2nd of 3 instances of gnome-terminal, all 132x62. Pressed "Page Down" key in vim. Crash! 2nd instance of gnome-terminal moved and reduced to 80x24, 3rd instance disappeared.

The crash can be reproduced some of the time.

-- Backtrace:
Application: KWin (kwin), signal: Aborted
[Current thread is 1 (Thread 0xb776b780 (LWP 14996))]

Thread 2 (Thread 0xb3f1ab70 (LWP 15000)):
#0  0x0062c416 in __kernel_vsyscall ()
#1  0x003c539b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x0393cdc7 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x3a52260) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#3  0x0393ce12 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x3a52260) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#4  0x003c0e99 in start_thread (arg=0xb3f1ab70) at pthread_create.c:301
#5  0x002d3d2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb776b780 (LWP 14996)):
[KCrash Handler]
#7  0x0062c416 in __kernel_vsyscall ()
#8  0x002272f1 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0x00228d5e in abort () at abort.c:92
#10 0x0021fc08 in __assert_fail (assertion=0x4cb450 "dpy->xcb->reply_data != ((void *)0)", file=0x4cb209 "xcb_io.c", line=656, function=0x4cb4ae "_XRead") at assert.c:81
#11 0x0045c81d in _XRead (dpy=0x845de80, data=0x85e5f20 "", size=4) at xcb_io.c:656
#12 0x02befba1 in __glXReadReply (dpy=0x845de80, size=4, dest=0x85e5f20, reply_is_always_array=1 '\001') at indirect.c:81
#13 0x02bf6704 in __indirect_glGenTextures (n=1, textures=0x85e5f20) at indirect.c:5258
#14 0x02c1267f in glGenTextures (n=1, textures=0x85e5f20) at ../../../src/mapi/glapi/glapitemp.h:1762
#15 0x02fb3c33 in KWin::GLTexture::load (this=0x85e5f18, image=..., target=3553) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/lib/kwinglutils.cpp:392
#16 0x02fb3ce1 in KWin::GLTexture::GLTexture (this=0x85e5f18, image=..., target=3553) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/lib/kwinglutils.cpp:286
#17 0x01664a3a in KWin::TrackMouseEffect::loadTexture (this=0x87960f8) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/effects/trackmouse/trackmouse.cpp:207
#18 0x01664c4a in KWin::TrackMouseEffect::mouseChanged (this=0x87960f8, modifiers=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/effects/trackmouse/trackmouse.cpp:174
#19 0x03570836 in KWin::EffectsHandlerImpl::mouseChanged (this=0x87617b0, pos=..., oldpos=..., buttons=..., oldbuttons=..., modifiers=..., oldmodifiers=...) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/effects.cpp:432
#20 0x034b26c8 in KWin::Workspace::checkCursorPos (this=0x850aff0) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/workspace.cpp:3083
#21 0x03545a5e in KWin::Workspace::performMousePoll (this=0x850aff0) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/composite.cpp:463
#22 0x034ba65e in KWin::Workspace::qt_metacall (this=0x850aff0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf97e5fc) at /usr/src/debug/kdebase-workspace-4.6.5/i686-redhat-linux-gnu/kwin/workspace.moc:606
#23 0x06ea066b in QMetaObject::metacall (object=0x850aff0, cl=QMetaObject::InvokeMetaMethod, idx=197, argv=0xbf97e5fc) at kernel/qmetaobject.cpp:237
#24 0x06eafc67 in QMetaObject::activate (sender=0x850b2ac, m=0x6fd6ae4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3278
#25 0x06efe378 in QTimer::timeout (this=0x850b2ac) at .moc/release-shared/moc_qtimer.cpp:134
#26 0x06eb68be in QTimer::timerEvent (this=0x850b2ac, e=0xbf97eb4c) at kernel/qtimer.cpp:271
#27 0x06eaf5c4 in QObject::event (this=0x850b2ac, e=0xbf97eb4c) at kernel/qobject.cpp:1181
#28 0x075adecc in QApplicationPrivate::notify_helper (this=0x845bc78, receiver=0x850b2ac, e=0xbf97eb4c) at kernel/qapplication.cpp:4481
#29 0x075b2bd2 in QApplication::notify (this=0xbf97ee94, receiver=0x850b2ac, e=0xbf97eb4c) at kernel/qapplication.cpp:3881
#30 0x022831ab in KApplication::notify (this=0xbf97ee94, receiver=0x850b2ac, event=0xbf97eb4c) at /usr/src/debug/kdelibs-4.6.5/kdeui/kernel/kapplication.cpp:311
#31 0x034d76e0 in KWin::Application::notify (this=0xbf97ee94, o=0x850b2ac, e=0xbf97eb4c) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/main.cpp:376
#32 0x06e99e33 in QCoreApplication::notifyInternal (this=0xbf97ee94, receiver=0x850b2ac, event=0xbf97eb4c) at kernel/qcoreapplication.cpp:787
#33 0x06eca861 in sendEvent (this=0x845d7c8) at kernel/qcoreapplication.h:215
#34 QTimerInfoList::activateTimers (this=0x845d7c8) at kernel/qeventdispatcher_unix.cpp:603
#35 0x06eca9b9 in QEventDispatcherUNIX::processEvents (this=0x8459eb8, flags=...) at kernel/qeventdispatcher_unix.cpp:922
#36 0x07663282 in QEventDispatcherX11::processEvents (this=0x8459eb8, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#37 0x06e98fca in QEventLoop::processEvents (this=0xbf97edb4, flags=...) at kernel/qeventloop.cpp:149
#38 0x06e9927a in QEventLoop::exec (this=0xbf97edb4, flags=...) at kernel/qeventloop.cpp:201
#39 0x06e9de27 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#40 0x075abcd8 in QApplication::exec () at kernel/qapplication.cpp:3755
#41 0x034da307 in kdemain (argc=3, argv=0xbf97f114) at /usr/src/debug/kdebase-workspace-4.6.5/kwin/main.cpp:542
#42 0x080487bc in main (argc=3, argv=0xbf97f114) at /usr/src/debug/kdebase-workspace-4.6.5/i686-redhat-linux-gnu/kwin/kwin_dummy.cpp:3

Possible duplicates by query: bug 288350.

Reported using DrKonqi
Comment 1 Thomas Lübking 2012-02-21 19:08:53 UTC
driver bug.
this is induced by the "track mouse" effect, but there's no gurantee that other
effects won't.

if it's not a ati chip, use direct rendering, in doubt force it by placing this
in your evironment (~/.kde/env/)

#!/bin/sh
export KWIN_DIRECT_GL=1

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