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

            Bug ID: 383858
           Summary: Crash when showing/hiding layer.
           Product: krita
           Version: unspecified
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Application: krita (4.0.0-pre-alpha (git 96835a0))

Qt Version: 5.9.1
Frameworks Version: 5.37.0
Operating System: Linux 4.10.0-32-generic x86_64
Distribution: KDE neon User Edition 5.10

-- Information about the crash:
I was animating. Then, I wondered whether another layer looked better. So I
tried to show it... Crash.

-- Backtrace:
Application: Krita (krita), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff532fec8c0 (LWP 1575))]

Thread 6 (Thread 0x7ff48ce15700 (LWP 12316)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007ff5431d5826 in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007ff5431d0e9a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007ff5431d4989 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ff53d0126ba in start_thread (arg=0x7ff48ce15700) at
pthread_create.c:333
#5  0x00007ff5428cb3dd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7ff4fcc7b700 (LWP 1594)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ff5431d58eb in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007ff543f31d8a in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#3  0x00007ff5431d4989 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ff53d0126ba in start_thread (arg=0x7ff4fcc7b700) at
pthread_create.c:333
#5  0x00007ff5428cb3dd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7ff4fc47a700 (LWP 1592)):
#0  0x00007ff54289030d in nanosleep () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ff5433fd2ad in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007ff5431d3d18 in QThread::msleep(unsigned long) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007ff54084742a in KisTileDataSwapper::run (this=0x7ff540d17b00
<(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder+64>) at
/home/wolthera/krita/src/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:97
#4  0x00007ff5431d4989 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ff53d0126ba in start_thread (arg=0x7ff4fc47a700) at
pthread_create.c:333
#6  0x00007ff5428cb3dd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7ff525363700 (LWP 1577)):
#0  0x00007ff53ba177c0 in g_main_context_prepare () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007ff53ba182bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff53ba1849c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff5433fd94b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ff5433a67ca in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ff5431cfcd4 in QThread::exec() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ff53d23db75 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007ff5431d4989 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ff53d0126ba in start_thread (arg=0x7ff525363700) at
pthread_create.c:333
#9  0x00007ff5428cb3dd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7ff530b72700 (LWP 1576)):
#0  0x00007ff5428bf70d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ff540f74c62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007ff540f768d7 in xcb_wait_for_event () from
/usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007ff532eba329 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007ff5431d4989 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ff53d0126ba in start_thread (arg=0x7ff530b72700) at
pthread_create.c:333
#6  0x00007ff5428cb3dd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7ff532fec8c0 (LWP 1575)):
[KCrash Handler]
#6  KisSharedPtr<KisDefaultBoundsBase>::operator-> (this=0x50) at
/home/wolthera/krita/src/libs/global/kis_shared_ptr.h:181
#7  KisPaintDevice::Private::currentStrategy (this=0x30) at
/home/wolthera/krita/src/libs/image/kis_paint_device.cc:555
#8  0x00007ff540970e9d in KisPaintDevice::extent (this=<optimized out>) at
/home/wolthera/krita/src/libs/image/kis_paint_device.cc:1127
#9  0x00007ff54097351b in KisPaintDeviceCache::exactBoundsAmortized
(this=<optimized out>) at
/home/wolthera/krita/src/libs/image/kis_paint_device_cache.h:74
#10 KisPaintDevice::exactBoundsAmortized (this=<optimized out>) at
/home/wolthera/krita/src/libs/image/kis_paint_device.cc:1147
#11 0x00007ff54093e0dc in KisLayer::changeRect (this=0x7ff4d8073170, rect=...,
pos=KisNode::N_FILTHY) at /home/wolthera/krita/src/libs/image/kis_layer.cc:756
#12 0x00007ff5409433e4 in KisLayerProjectionPlane::changeRect (this=<optimized
out>, rect=..., pos=<optimized out>) at
/home/wolthera/krita/src/libs/image/kis_layer_projection_plane.cpp:114
#13 0x00007ff540912025 in KisBaseRectsWalker::calculateChecksum
(requestedRect=..., leaf=...) at
/home/wolthera/krita/src/libs/image/kis_base_rects_walker.h:419
#14 KisBaseRectsWalker::collectRects (this=0x289c0bb0, node=...,
requestedRect=...) at
/home/wolthera/krita/src/libs/image/kis_base_rects_walker.h:129
#15 0x00007ff54090f247 in KisSimpleUpdateQueue::addJob (this=0x1dbb5668,
node=..., rc=..., cropRect=..., levelOfDetail=<optimized out>,
type=type@entry=KisBaseRectsWalker::UPDATE) at
/home/wolthera/krita/src/libs/image/kis_simple_update_queue.cpp:191
#16 0x00007ff54090f591 in KisSimpleUpdateQueue::addUpdateJob (this=<optimized
out>, node=..., rc=..., cropRect=..., levelOfDetail=<optimized out>) at
/home/wolthera/krita/src/libs/image/kis_simple_update_queue.cpp:157
#17 0x00007ff5409147b6 in KisUpdateScheduler::updateProjection
(this=0x1ddfafc8, node=..., rc=..., cropRect=...) at
/home/wolthera/krita/src/libs/image/kis_update_scheduler.cpp:133
#18 0x00007ff540927061 in KisImage::requestProjectionUpdateImpl
(this=this@entry=0x1e7eb990, node=node@entry=0x7ff4d8073170, rect=...,
cropRect=...) at /home/wolthera/krita/src/libs/image/kis_image.cc:1522
#19 0x00007ff54092eccc in KisImage::requestProjectionUpdate (this=0x1e7eb990,
node=0x7ff4d8073170, rect=..., resetAnimationCache=<optimized out>) at
/home/wolthera/krita/src/libs/image/kis_image.cc:1551
#20 0x00007ff54096a90a in KisNode::setDirty (this=0x7ff4d8073170) at
/home/wolthera/krita/src/libs/image/kis_node.cpp:578
#21 0x00007ff54087e11b in KisNodePropertyListCommand::doUpdate
(this=0x28a58f70, oldPropertyList=..., newPropertyList=...) at
/home/wolthera/krita/src/libs/image/commands/kis_node_property_list_command.cpp:114
#22 0x00007ff54087d613 in KisNodePropertyListCommand::setNodePropertiesNoUndo
(node=..., image=..., proplist=...) at
/home/wolthera/krita/src/libs/image/commands/kis_node_property_list_command.cpp:148
#23 0x00007ff544d1d075 in KisNodeModel::setData (this=0x1e3ee310, index=...,
value=..., role=<optimized out>) at
/home/wolthera/krita/src/libs/ui/kis_node_model.cpp:561
#24 0x00007ff54336c247 in QSortFilterProxyModel::setData(QModelIndex const&,
QVariant const&, int) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007ff544f11d98 in KisNodeDelegate::Private::toggleProperty
(this=<optimized out>, props=..., clickedProperty=0x26f9cae0,
controlPressed=<optimized out>, index=...) at
/home/wolthera/krita/src/libs/ui/KisNodeDelegate.cpp:633
#26 0x00007ff544f12e48 in KisNodeDelegate::editorEvent (this=0x1e3da650,
event=event@entry=0x7ffdd4e6f1c0, model=<optimized out>, option=..., index=...)
at /home/wolthera/krita/src/libs/ui/KisNodeDelegate.cpp:695
#27 0x00007ff544f17798 in KisNodeView::viewportEvent (this=0x1e3ce8f0,
e=0x7ffdd4e6f1c0) at /home/wolthera/krita/src/libs/ui/KisNodeView.cpp:236
#28 0x00007ff5433a8502 in
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007ff543d103d5 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007ff543d18a2b in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007ff544efb947 in KisApplication::notify (this=<optimized out>,
receiver=0x1e3c6870, event=0x7ffdd4e6f1c0) at
/home/wolthera/krita/src/libs/ui/KisApplication.cpp:556
#32 0x00007ff5433a8798 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007ff543d173cf in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#34 0x00007ff543d6b446 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#35 0x00007ff543d6dea3 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#36 0x00007ff543d103fc in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#37 0x00007ff543d17e07 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#38 0x00007ff544efb947 in KisApplication::notify (this=<optimized out>,
receiver=0x1c4c27e0, event=0x7ffdd4e6f640) at
/home/wolthera/krita/src/libs/ui/KisApplication.cpp:556
#39 0x00007ff5433a8798 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#40 0x00007ff543799940 in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#41 0x00007ff54379b8a5 in
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#42 0x00007ff543775ceb in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#43 0x00007ff532f18e00 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#44 0x00007ff53ba18197 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007ff53ba183f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007ff53ba1849c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007ff5433fd92f in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#48 0x00007ff5433a67ca in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#49 0x00007ff5433af704 in QCoreApplication::exec() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#50 0x00000000004051b4 in main (argc=1, argv=<optimized out>) at
/home/wolthera/krita/src/krita/main.cc:269

Reported using DrKonqi

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

Reply via email to