[kde] [Bug 344371] New: kwin_x11 --replace leads to crash sometimes

FabiB plusfabi at gmail.com
Fri Feb 20 01:23:45 GMT 2015


https://bugs.kde.org/show_bug.cgi?id=344371

            Bug ID: 344371
           Summary: kwin_x11 --replace leads to crash sometimes
           Product: kde
           Version: unspecified
          Platform: unspecified
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: plusfabi at gmail.com

Application: kwin_x11 (5.2.0)

Qt Version: 5.4.0
Operating System: Linux 3.18.0-13-generic x86_64
Distribution: Ubuntu Vivid Vervet (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
sometimes my kwin ation "dubbleclick on window boarder minimize window" dont
work anymore. kwin starts just the drag action. in this case i need to restart
kwin with
kwin_x11 --replace
this works fine but sometimes kwin crashes

The crash can be reproduced sometimes.

-- Backtrace:
Application: KWin (kwin_x11), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff709b79840 (LWP 4255))]

Thread 4 (Thread 0x7ff6e3c77700 (LWP 5319)):
#0  0x00007ff709639f23 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ff707e6dfa1 in qt_safe_select (nfds=14,
fdread=fdread at entry=0x7ff6dc000a78, fdwrite=fdwrite at entry=0x7ff6dc000d08,
fdexcept=fdexcept at entry=0x7ff6dc000f98, orig_timeout=orig_timeout at entry=0x0) at
kernel/qcore_unix.cpp:75
#2  0x00007ff707e6fb5c in select (timeout=0x0, exceptfds=0x7ff6dc000f98,
writefds=0x7ff6dc000d08, readfds=0x7ff6dc000a78, nfds=<optimized out>,
this=0x7ff6dc0008c0) at kernel/qeventdispatcher_unix.cpp:320
#3  QEventDispatcherUNIXPrivate::doSelect (this=this at entry=0x7ff6dc0008e0,
flags=..., flags at entry=..., timeout=timeout at entry=0x0) at
kernel/qeventdispatcher_unix.cpp:196
#4  0x00007ff707e700d5 in QEventDispatcherUNIX::processEvents
(this=0x7ff6dc0008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#5  0x00007ff707e17392 in QEventLoop::exec (this=this at entry=0x7ff6e3c76d60,
flags=..., flags at entry=...) at kernel/qeventloop.cpp:204
#6  0x00007ff707bd6a94 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:503
#7  0x00007ff7019f16a5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007ff707bdba4e in QThreadPrivate::start (arg=0xbcff40) at
thread/qthread_unix.cpp:337
#9  0x00007ff700bb80a5 in start_thread (arg=0x7ff6e3c77700) at
pthread_create.c:309
#10 0x00007ff7096425ad in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7ff6e0e87700 (LWP 5333)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ff6e1f1cfbb in cnd_wait (mtx=0xd53218, cond=0xd53240) at
../../../../../../../include/c11/threads_posix.h:154
#2  pipe_semaphore_wait (sema=0xd53218) at
../../../../../../../src/gallium/auxiliary/os/os_thread.h:248
#3  radeon_drm_cs_emit_ioctl (param=param at entry=0xd52f00) at
../../../../../../../src/gallium/winsys/radeon/drm/radeon_drm_winsys.c:594
#4  0x00007ff6e1f1c747 in impl_thrd_routine (p=<optimized out>) at
../../../../../../../include/c11/threads_posix.h:87
#5  0x00007ff700bb80a5 in start_thread (arg=0x7ff6e0e87700) at
pthread_create.c:309
#6  0x00007ff7096425ad in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7ff6d981e700 (LWP 5356)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ff7069ca684 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007ff7069ca6c9 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007ff700bb80a5 in start_thread (arg=0x7ff6d981e700) at
pthread_create.c:309
#4  0x00007ff7096425ad in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7ff709b79840 (LWP 4255)):
[KCrash Handler]
#6  0x00007ff70957ee37 in __GI_raise (sig=sig at entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007ff709580528 in __GI_abort () at abort.c:89
#8  0x00007ff709577ce6 in __assert_fail_base (fmt=0x7ff6e3c8cfeb "%s%s%s:%u:
%s%sZusicherung \302\273%s\302\253 nicht erf\303\274llt.\n%n",
assertion=assertion at entry=0x7ff6e1fa0388 "drawable->textures[statt]",
file=file at entry=0x7ff6e1fa0438
"../../../../../../src/gallium/state_trackers/dri/dri2.c", line=line at entry=526,
function=function at entry=0x7ff6e1fa0420 <__PRETTY_FUNCTION__.38595>
"dri2_allocate_textures") at assert.c:92
#9  0x00007ff709577d92 in __GI___assert_fail (assertion=0x7ff6e1fa0388
"drawable->textures[statt]", file=0x7ff6e1fa0438
"../../../../../../src/gallium/state_trackers/dri/dri2.c", line=526,
function=0x7ff6e1fa0420 <__PRETTY_FUNCTION__.38595> "dri2_allocate_textures")
at assert.c:101
#10 0x00007ff6e1bf3768 in dri2_allocate_textures (ctx=0x109f,
drawable=0x15c9460, statts=0x6, statts_count=4294967295) at
../../../../../../src/gallium/state_trackers/dri/dri2.c:526
#11 0x00007ff6e1bf030a in dri_st_framebuffer_validate (stctx=<optimized out>,
stfbi=<optimized out>, statts=0xc33cd0, count=2, out=0x7fff8ecb9730) at
../../../../../../src/gallium/state_trackers/dri/dri_drawable.c:83
#12 0x00007ff6e1b3262e in st_framebuffer_validate (stfb=0xc33880,
st=st at entry=0x184dac0) at ../../../../src/mesa/state_tracker/st_manager.c:200
#13 0x00007ff6e1b33680 in st_api_make_current (stapi=<optimized out>,
stctxi=0x184dac0, stdrawi=0x15c9460, streadi=0x15c9460) at
../../../../src/mesa/state_tracker/st_manager.c:769
#14 0x00007ff6e1befdd1 in dri_make_current (cPriv=<optimized out>,
driDrawPriv=0x16cbd40, driReadPriv=0x16cbd40) at
../../../../../../src/gallium/state_trackers/dri/dri_context.c:234
#15 0x00007ff6e1bec536 in driBindContext (pcp=<optimized out>, pdp=<optimized
out>, prp=<optimized out>) at
../../../../../../../src/mesa/drivers/dri/common/dri_util.c:538
#16 0x00007ff6ffd52e2b in dri2_bind_context (context=0x178e0f0, old=<optimized
out>, draw=46791287, read=46791287) at ../../../../src/glx/dri2_glx.c:160
#17 0x00007ff6ffd26c67 in MakeContextCurrent (dpy=0x9f0f20, draw=46791287,
read=46791287, gc_user=0x178e0f0) at ../../../../src/glx/glxcurrent.c:243
#18 0x00007ff6f491a01b in QGLXContext::makeCurrent (this=0x17a94d0,
surface=0x16b33f0) at qglxintegration.cpp:481
#19 0x00007ff7081aa2b2 in QOpenGLContext::makeCurrent (this=0x188bbd0,
surface=0x1836900) at kernel/qopenglcontext.cpp:898
#20 0x00007ff706c4f8a9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#21 0x00007ff706c812a3 in QQuickWindow::~QQuickWindow() () from
/usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#22 0x00007ff706d630a3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#23 0x00007ff709196c3d in cleanup (pointer=<optimized out>) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:62
#24 ~QScopedPointer (this=0x1395610, __in_chrg=<optimized out>) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:109
#25 KWin::CompositedOutlineVisual::~CompositedOutlineVisual
(this=this at entry=0x13955f0, __in_chrg=<optimized out>) at ../outline.cpp:133
#26 0x00007ff709196c79 in
KWin::CompositedOutlineVisual::~CompositedOutlineVisual (this=0x13955f0,
__in_chrg=<optimized out>) at ../outline.cpp:135
#27 0x00007ff7091985bb in cleanup (pointer=<optimized out>) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:62
#28 reset (other=0x0, this=0xb87470) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:157
#29 KWin::Outline::compositingChanged (this=0xb87460) at ../outline.cpp:110
#30 0x00007ff707e4a959 in QMetaObject::activate (sender=sender at entry=0xad4fa0,
signalOffset=<optimized out>, local_signal_index=local_signal_index at entry=0,
argv=argv at entry=0x7fff8ecb9c50) at kernel/qobject.cpp:3716
#31 0x00007ff707e4afe7 in QMetaObject::activate (sender=sender at entry=0xad4fa0,
m=m at entry=0x7ff709539f60 <KWin::Compositor::staticMetaObject>,
local_signal_index=local_signal_index at entry=0, argv=argv at entry=0x7fff8ecb9c50)
at kernel/qobject.cpp:3582
#32 0x00007ff7092a63af in KWin::Compositor::compositingToggled
(this=this at entry=0xad4fa0, _t1=_t1 at entry=false) at moc_composite.cpp:329
#33 0x00007ff7091e87da in KWin::Compositor::finish (this=this at entry=0xad4fa0)
at ../composite.cpp:354
#34 0x00007ff7091e887f in KWin::Compositor::~Compositor (this=0xad4fa0,
__in_chrg=<optimized out>) at ../composite.cpp:137
#35 0x00007ff7091e8909 in KWin::Compositor::~Compositor (this=0xad4fa0,
__in_chrg=<optimized out>) at ../composite.cpp:141
#36 0x00007ff709162fce in KWin::Workspace::~Workspace
(this=this at entry=0xa940b0, __in_chrg=<optimized out>) at ../workspace.cpp:405
#37 0x00007ff709163ae9 in KWin::Workspace::~Workspace (this=0xa940b0,
__in_chrg=<optimized out>) at ../workspace.cpp:448
#38 0x00007ff709913ef9 in KWin::ApplicationX11::lostSelection
(this=0x7fff8ecba6b0) at ../main_x11.cpp:135
#39 0x00007ff707e4a959 in QMetaObject::activate (sender=sender at entry=0xa40e00,
signalOffset=<optimized out>, local_signal_index=local_signal_index at entry=0,
argv=argv at entry=0x0) at kernel/qobject.cpp:3716
#40 0x00007ff707e4afe7 in QMetaObject::activate (sender=sender at entry=0xa40e00,
m=m at entry=0x7ff708ec9bc0 <KSelectionOwner::staticMetaObject>,
local_signal_index=local_signal_index at entry=0, argv=argv at entry=0x0) at
kernel/qobject.cpp:3582
#41 0x00007ff708cb8d30 in KSelectionOwner::lostOwnership
(this=this at entry=0xa40e00) at moc_kselectionowner.cpp:143
#42 0x00007ff708c9b42b in KSelectionOwner::filterEvent (this=0xa40e00,
ev_P=<optimized out>) at ../../src/kselectionowner.cpp:352
#43 0x00007ff707e164c0 in QAbstractEventDispatcher::filterNativeEvent
(this=this at entry=0xa2f430, eventType=..., message=message at entry=0x7ff6ec0014b0,
result=result at entry=0x7fff8ecb9fc8) at kernel/qabstracteventdispatcher.cpp:460
#44 0x00007ff6f48f1f5d in QXcbConnection::handleXcbEvent
(this=this at entry=0x9f0b60, event=event at entry=0x7ff6ec0014b0) at
qxcbconnection.cpp:854
#45 0x00007ff6f48f345b in QXcbConnection::processXcbEvents (this=0x9f0b60) at
qxcbconnection.cpp:1297
#46 0x00007ff707e4b6ca in QObject::event (this=0x9f0b60, e=<optimized out>) at
kernel/qobject.cpp:1245
#47 0x00007ff70872b2ec in QApplicationPrivate::notify_helper (this=0x9e9a30,
receiver=0x9f0b60, e=0x7ff6ec001d20) at kernel/qapplication.cpp:3722
#48 0x00007ff708730960 in QApplication::notify (this=0x7fff8ecba6b0,
receiver=0x9f0b60, e=0x7ff6ec001d20) at kernel/qapplication.cpp:3505
#49 0x00007ff707e19bdb in QCoreApplication::notifyInternal
(this=0x7fff8ecba6b0, receiver=0x9f0b60, event=event at entry=0x7ff6ec001d20) at
kernel/qcoreapplication.cpp:932
#50 0x00007ff707e1bc4b in sendEvent (event=0x7ff6ec001d20, receiver=<optimized
out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#51 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver at entry=0x0,
event_type=event_type at entry=0, data=0x9da2f0) at
kernel/qcoreapplication.cpp:1536
#52 0x00007ff707e6ff72 in QEventDispatcherUNIX::processEvents (this=0xa2f430,
flags=flags at entry=...) at kernel/qeventdispatcher_unix.cpp:579
#53 0x00007ff6f494881d in QUnixEventDispatcherQPA::processEvents
(this=<optimized out>, flags=...) at
eventdispatchers/qunixeventdispatcher.cpp:62
#54 0x00007ff707e17392 in QEventLoop::exec (this=this at entry=0x7fff8ecba5d0,
flags=..., flags at entry=...) at kernel/qeventloop.cpp:204
#55 0x00007ff707e1efdc in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1185
#56 0x00007ff70816319c in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1535
#57 0x00007ff708726f55 in QApplication::exec () at kernel/qapplication.cpp:2956
#58 0x00007ff7099148e3 in kdemain (argc=1, argv=0x7fff8ecba808) at
../main_x11.cpp:294
#59 0x00007ff709569ec5 in __libc_start_main (main=0x400790 <main(int, char**)>,
argc=1, argv=0x7fff8ecba808, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fff8ecba7f8) at libc-start.c:287
#60 0x00000000004007be in _start ()

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list