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

            Bug ID: 365367
           Summary: Kwin always crashes when I try adjust the scale of a
                    bitmap image in MTPaint
           Product: kwin
           Version: 5.6.4
          Platform: openSUSE RPMs
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kwin-bugs-n...@kde.org
          Reporter: rb03...@gmail.com

Application: kwin_x11 (5.6.4)

Qt Version: 5.6.1
Frameworks Version: 5.23.0
Operating System: Linux 4.6.3-1-default x86_64
Distribution: "openSUSE Tumbleweed (20160625) (x86_64)"

-- Information about the crash:
1. Opened MTPaint and opened a bitmap file originally scaled at 22 x 22 px
2. Navigated to Image -->Scale Canvas
3. Clicked on the resize up button to increase the size of the bitmap to 80 x
80 px
4. This always freezes up followed by kwin_x11 crashing
5.  I can replicate this every time

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f61d8bc8940 (LWP 28181))]

Thread 6 (Thread 0x7f61bd0db700 (LWP 28184)):
#0  0x00007f61d832ba1d in poll () from /lib64/libc.so.6
#1  0x00007f61d5de5410 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f61d5de71a9 in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f61bdfb2579 in QXcbEventReader::run (this=0x1b74010) at
qxcbconnection.cpp:1325
#4  0x00007f61d60b52d8 in QThreadPrivate::start (arg=0x1b74010) at
thread/qthread_unix.cpp:341
#5  0x00007f61d85f5474 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f61d83343ed in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f61b26c0700 (LWP 28185)):
#0  0x00007f61d832d0a3 in select () from /lib64/libc.so.6
#1  0x00007f61d62de30f in qt_safe_select (nfds=8,
fdread=fdread@entry=0x7f61ac000a78, fdwrite=fdwrite@entry=0x7f61ac000d08,
fdexcept=fdexcept@entry=0x7f61ac000f98, orig_timeout=orig_timeout@entry=0x0) at
kernel/qcore_unix.cpp:75
#2  0x00007f61d62dfdb4 in QEventDispatcherUNIX::select (timeout=0x0,
exceptfds=0x7f61ac000f98, writefds=0x7f61ac000d08, readfds=0x7f61ac000a78,
nfds=<optimized out>, this=0x7f61ac0008c0) at
kernel/qeventdispatcher_unix.cpp:320
#3  QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f61ac0008e0,
flags=..., flags@entry=..., timeout=timeout@entry=0x0) at
kernel/qeventdispatcher_unix.cpp:196
#4  0x00007f61d62e02ca in QEventDispatcherUNIX::processEvents
(this=0x7f61ac0008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#5  0x00007f61d628a76a in QEventLoop::exec (this=this@entry=0x7f61b26bfc50,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f61d60b03b3 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:500
#7  0x00007f61cf06d9b5 in ?? () from /usr/lib64/libQt5DBus.so.5
#8  0x00007f61d60b52d8 in QThreadPrivate::start (arg=0x7f61cf2e0d20) at
thread/qthread_unix.cpp:341
#9  0x00007f61d85f5474 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f61d83343ed in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f61abfff700 (LWP 28201)):
#0  0x00007f61d832d0a3 in select () from /lib64/libc.so.6
#1  0x00007f61d62de30f in qt_safe_select (nfds=14,
fdread=fdread@entry=0x7f61a0000a78, fdwrite=fdwrite@entry=0x7f61a0000d08,
fdexcept=fdexcept@entry=0x7f61a0000f98, orig_timeout=orig_timeout@entry=0x0) at
kernel/qcore_unix.cpp:75
#2  0x00007f61d62dfdb4 in QEventDispatcherUNIX::select (timeout=0x0,
exceptfds=0x7f61a0000f98, writefds=0x7f61a0000d08, readfds=0x7f61a0000a78,
nfds=<optimized out>, this=0x7f61a00008c0) at
kernel/qeventdispatcher_unix.cpp:320
#3  QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f61a00008e0,
flags=..., flags@entry=..., timeout=timeout@entry=0x0) at
kernel/qeventdispatcher_unix.cpp:196
#4  0x00007f61d62e02ca in QEventDispatcherUNIX::processEvents
(this=0x7f61a00008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#5  0x00007f61d628a76a in QEventLoop::exec (this=this@entry=0x7f61abffec60,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f61d60b03b3 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:500
#7  0x00007f61d00f51e5 in ?? () from /usr/lib64/libQt5Qml.so.5
#8  0x00007f61d60b52d8 in QThreadPrivate::start (arg=0x1c78c80) at
thread/qthread_unix.cpp:341
#9  0x00007f61d85f5474 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f61d83343ed in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f61a956a700 (LWP 28202)):
#0  0x00007f61d832d0a3 in select () from /lib64/libc.so.6
#1  0x00007f61d62de30f in qt_safe_select (nfds=23,
fdread=fdread@entry=0x7f6198000a78, fdwrite=fdwrite@entry=0x7f6198000d08,
fdexcept=fdexcept@entry=0x7f6198000f98, orig_timeout=orig_timeout@entry=0x0) at
kernel/qcore_unix.cpp:75
#2  0x00007f61d62dfdb4 in QEventDispatcherUNIX::select (timeout=0x0,
exceptfds=0x7f6198000f98, writefds=0x7f6198000d08, readfds=0x7f6198000a78,
nfds=<optimized out>, this=0x7f61980008c0) at
kernel/qeventdispatcher_unix.cpp:320
#3  QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f61980008e0,
flags=..., flags@entry=..., timeout=timeout@entry=0x0) at
kernel/qeventdispatcher_unix.cpp:196
#4  0x00007f61d62e02ca in QEventDispatcherUNIX::processEvents
(this=0x7f61980008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:607
#5  0x00007f61d628a76a in QEventLoop::exec (this=this@entry=0x7f61a9569c60,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f61d60b03b3 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:500
#7  0x00007f61d00f51e5 in ?? () from /usr/lib64/libQt5Qml.so.5
#8  0x00007f61d60b52d8 in QThreadPrivate::start (arg=0x24d5500) at
thread/qthread_unix.cpp:341
#9  0x00007f61d85f5474 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f61d83343ed in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f619eac6700 (LWP 28204)):
#0  0x00007f61d85fb09f in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f61d5015fc4 in QTWTF::TCMalloc_PageHeap::scavengerThread
(this=0x7f61d52ffec0 <QTWTF::pageheap_memory>) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f61d5016009 in QTWTF::TCMalloc_PageHeap::runScavengerThread
(context=<optimized out>) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f61d85f5474 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f61d83343ed in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f61d8bc8940 (LWP 28181)):
[KCrash Handler]
#6  0x0000000000000570 in ?? ()
#7  0x00007f61d62bff50 in QObject::connect (sender=0x3664060,
signal=signal@entry=0x7f61d50ae1a4 "2destroyed(QObject*)", receiver=0x2852a00,
method=method@entry=0x7f61d50ae186 "1_q_objectDestroyed(QObject*)",
type=type@entry=Qt::AutoConnection) at kernel/qobject.cpp:2642
#8  0x00007f61d50582ef in QScriptEnginePrivate::qobjectData
(this=this@entry=0x279c860, object=<optimized out>, object@entry=0x3664060) at
api/qscriptengine.cpp:1573
#9  0x00007f61d50583b4 in QScriptEnginePrivate::newQObject
(this=this@entry=0x279c860, object=object@entry=0x3664060,
ownership=ownership@entry=QScriptEngine::QtOwnership, options=...) at
api/qscriptengine.cpp:1504
#10 0x00007f61d50586a2 in QScriptEngine::newQObject (this=<optimized out>,
object=0x3664060, ownership=ownership@entry=QScriptEngine::QtOwnership,
options=...) at api/qscriptengine.cpp:2281
#11 0x00007f61d7f48dac in KWin::effectWindowToScriptValue (eng=<optimized out>,
window=<optimized out>) at
/usr/src/debug/kwin-5.6.4/scripting/scriptedeffect.cpp:417
#12 0x00007f61d50589c5 in QScriptEnginePrivate::create
(exec=exec@entry=0x279ca68, type=<optimized out>, ptr=ptr@entry=0x7ffdc823c028)
at api/qscriptengine.cpp:3081
#13 0x00007f61d5081406 in QScript::QObjectConnectionManager::execute
(this=this@entry=0x27a13e0, slotIndex=slotIndex@entry=6,
argv=argv@entry=0x7ffdc823c030) at bridge/qscriptqobject.cpp:2173
#14 0x00007f61d50896d1 in QScript::QObjectConnectionManager::qt_static_metacall
(_a=0x7ffdc823c030, _id=6, _c=QMetaObject::InvokeMetaMethod, _o=0x27a13e0) at
bridge/qscriptqobject.cpp:2070
#15 QScript::QObjectConnectionManager::qt_metacall (this=0x27a13e0,
_c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7ffdc823c030) at
bridge/qscriptqobject.cpp:2099
#16 0x00007f61d62b9ed7 in QMetaObject::activate (sender=0x275ab90,
signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=2,
argv=argv@entry=0x7ffdc823c030) at kernel/qobject.cpp:3745
#17 0x00007f61d62ba757 in QMetaObject::activate (sender=<optimized out>,
m=m@entry=0x7f61d5a4ea80 <KWin::EffectsHandler::staticMetaObject>,
local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffdc823c030)
at kernel/qobject.cpp:3595
#18 0x00007f61d5840518 in KWin::EffectsHandler::desktopPresenceChanged
(this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>, _t3=<optimized
out>) at
/usr/src/debug/kwin-5.6.4/build/libkwineffects/moc_kwineffects.cpp:1262
#19 0x00007f61d5841b1c in KWin::EffectsHandler::qt_static_metacall
(_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized
out>) at /usr/src/debug/kwin-5.6.4/build/libkwineffects/moc_kwineffects.cpp:577
#20 0x00007f61d62bacf9 in QObject::event (this=0x275ab90, e=<optimized out>) at
kernel/qobject.cpp:1256
#21 0x00007f61d6fd2aec in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x275ab90, e=0x36679d0) at kernel/qapplication.cpp:3804
#22 0x00007f61d6fd7f8f in QApplication::notify (this=0x7ffdc823c600,
receiver=0x275ab90, e=0x36679d0) at kernel/qapplication.cpp:3561
#23 0x00007f61d628ca20 in QCoreApplication::notifyInternal2
(receiver=0x275ab90, event=event@entry=0x36679d0) at
kernel/qcoreapplication.cpp:1015
#24 0x00007f61d628e99c in QCoreApplication::sendEvent (event=0x36679d0,
receiver=<optimized out>) at kernel/qcoreapplication.h:225
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0,
event_type=event_type@entry=0, data=0x1b41bd0) at
kernel/qcoreapplication.cpp:1650
#26 0x00007f61d62e01b2 in QEventDispatcherUNIX::processEvents (this=0x1bac930,
flags=...) at kernel/qeventdispatcher_unix.cpp:579
#27 0x00007f61be026b9d in QUnixEventDispatcherQPA::processEvents
(this=<optimized out>, flags=...) at
eventdispatchers/qunixeventdispatcher.cpp:62
#28 0x00007f61d628a76a in QEventLoop::exec (this=this@entry=0x7ffdc823c4f0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#29 0x00007f61d6292f6c in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1285
#30 0x00007f61d67dbb6c in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1607
#31 0x00007f61d6fcfb25 in QApplication::exec () at kernel/qapplication.cpp:2979
#32 0x00007f61d8810ebe in kdemain (argc=<optimized out>, argv=0x7ffdc823c788)
at /usr/src/debug/kwin-5.6.4/main_x11.cpp:327
#33 0x00007f61d826c741 in __libc_start_main () from /lib64/libc.so.6
#34 0x0000000000400809 in _start () at ../sysdeps/x86_64/start.S:118

Possible duplicates by query: bug 365003, bug 364826, bug 364643, bug 364196,
bug 363224.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to