Bug 370496 - crash while using the clone tool
Summary: crash while using the clone tool
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 3.0.1
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-10-11 19:34 UTC by Francesco Riosa
Modified: 2016-10-13 09:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francesco Riosa 2016-10-11 19:34:39 UTC
Application: krita (3.0.1)
 (Compiled from sources)
Qt Version: 5.6.1
Frameworks Version: 5.26.0
Operating System: Linux 4.4.23 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
I think krita crashed while using the clone tool on a big image, maybe right clicking on the image to activate the menu

-- Backtrace:
Application: Krita (krita), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
84	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f17a08857c0 (LWP 26793))]

Thread 6 (Thread 0x7f179ddfe700 (LWP 26794)):
#0  0x00007f17ad08492d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f17ab9218f2 in _xcb_conn_wait () from /usr/lib64/libxcb.so.1
#2  0x00007f17ab9236f7 in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f17a0555ce9 in QXcbEventReader::run() () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f17ad9f9f1c in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f17a7d8a434 in start_thread (arg=0x7f179ddfe700) at pthread_create.c:334
#6  0x00007f17ad08d29d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f1794cdb700 (LWP 26795)):
#0  0x00007f17ad08090d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f17a67751d0 in read (__nbytes=16, __buf=0x7f1794cdabc0, __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#2  g_wakeup_acknowledge (wakeup=0x7f17980015c0) at /usr/src/debug/dev-libs/glib-2.48.2/glib-2.48.2/glib/gwakeup.c:210
#3  0x00007f17a6731a94 in g_main_context_check (context=context@entry=0x7f1790000990, max_priority=2147483647, fds=fds@entry=0x7f1790003020, n_fds=n_fds@entry=1) at /usr/src/debug/dev-libs/glib-2.48.2/glib-2.48.2/glib/gmain.c:3632
#4  0x00007f17a6731f50 in g_main_context_iterate (context=context@entry=0x7f1790000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /usr/src/debug/dev-libs/glib-2.48.2/glib-2.48.2/glib/gmain.c:3837
#5  0x00007f17a67320bc in g_main_context_iteration (context=0x7f1790000990, may_block=1) at /usr/src/debug/dev-libs/glib-2.48.2/glib-2.48.2/glib/gmain.c:3901
#6  0x00007f17adbe3a5b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#7  0x00007f17adb9425a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#8  0x00007f17ad9f5b04 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#9  0x00007f17afb2f5c5 in QDBusConnectionManager::run() () from /usr/lib64/libQt5DBus.so.5
#10 0x00007f17ad9f9f1c in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#11 0x00007f17a7d8a434 in start_thread (arg=0x7f1794cdb700) at pthread_create.c:334
#12 0x00007f17ad08d29d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f178128a700 (LWP 26796)):
#0  pthread_cond_wait () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f17ad9fa56a in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#2  0x00007f17ad9f481b in QSemaphore::acquire(int) () from /usr/lib64/libQt5Core.so.5
#3  0x00007f17ab45a40e in KisTileDataPooler::waitForWork() () from /usr/lib64/libkritaimage.so.15
#4  0x00007f17ab45abca in KisTileDataPooler::run() () from /usr/lib64/libkritaimage.so.15
#5  0x00007f17ad9f9f1c in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#6  0x00007f17a7d8a434 in start_thread (arg=0x7f178128a700) at pthread_create.c:334
#7  0x00007f17ad08d29d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f1780a89700 (LWP 26797)):
#0  pthread_cond_wait () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f17ad9fa56a in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#2  0x00007f17ad9f4ac3 in QSemaphore::tryAcquire(int, int) () from /usr/lib64/libQt5Core.so.5
#3  0x00007f17ab4741ba in KisTileDataSwapper::run() () from /usr/lib64/libkritaimage.so.15
#4  0x00007f17ad9f9f1c in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f17a7d8a434 in start_thread (arg=0x7f1780a89700) at pthread_create.c:334
#6  0x00007f17ad08d29d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f17577fe700 (LWP 26806)):
#0  pthread_cond_wait () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f17ad9fa56a in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#2  0x00007f17ae63b5f2 in QFileInfoGatherer::run() () from /usr/lib64/libQt5Widgets.so.5
#3  0x00007f17ad9f9f1c in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f17a7d8a434 in start_thread (arg=0x7f17577fe700) at pthread_create.c:334
#5  0x00007f17ad08d29d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f17a08857c0 (LWP 26793)):
[KCrash Handler]
#6  0x00007f17af40769d in KisPopupPalette::showPopupPalette(bool) () from /usr/lib64/libkritaui.so.15
#7  0x00007f17af407701 in KisPopupPalette::showPopupPalette(QPoint const&) () from /usr/lib64/libkritaui.so.15
#8  0x00007f17af54e4cb in KisShowPaletteAction::begin(int, QEvent*) () from /usr/lib64/libkritaui.so.15
#9  0x00007f17af54fe44 in KisShortcutMatcher::tryRunReadyShortcut(Qt::MouseButton, QEvent*) () from /usr/lib64/libkritaui.so.15
#10 0x00007f17af5510ff in KisShortcutMatcher::buttonPressed(Qt::MouseButton, QEvent*) () from /usr/lib64/libkritaui.so.15
#11 0x00007f17af53e94c in KisInputManager::eventFilterImpl(QEvent*) () from /usr/lib64/libkritaui.so.15
#12 0x00007f17adb951ad in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#13 0x00007f17ae41ef95 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#14 0x00007f17ae425c71 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#15 0x00007f17af5a4347 in KisApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkritaui.so.15
#16 0x00007f17adb953ea in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#17 0x00007f17af657b1e in processTabletEvent(QWindowSystemInterfacePrivate::TabletEvent*) () from /usr/lib64/libkritaui.so.15
#18 0x00007f17af652021 in QXcbConnection::xi2ReportTabletEvent(QXcbConnection::TabletData&, void*) () from /usr/lib64/libkritaui.so.15
#19 0x00007f17af6523a9 in QXcbConnection::xi2HandleTabletEvent(void*, QXcbConnection::TabletData*, QWindow*) () from /usr/lib64/libkritaui.so.15
#20 0x00007f17af65593e in QXcbConnection::xi2HandleEvent(xcb_ge_event_t*) () from /usr/lib64/libkritaui.so.15
#21 0x00007f17af659106 in KisXi2EventFilter::nativeEventFilter(QByteArray const&, void*, long*) () from /usr/lib64/libkritaui.so.15
#22 0x00007f17adb9334c in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () from /usr/lib64/libQt5Core.so.5
#23 0x00007f17a0559c65 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () from /usr/lib64/libQt5XcbQpa.so.5
#24 0x00007f17a055abc6 in QXcbConnection::processXcbEvents() () from /usr/lib64/libQt5XcbQpa.so.5
#25 0x00007f17adbbd7e1 in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#26 0x00007f17ae41efbc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#27 0x00007f17ae4244f6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#28 0x00007f17af5a4347 in KisApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkritaui.so.15
#29 0x00007f17adb953ea in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#30 0x00007f17adb9740a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#31 0x00007f17adbe39c3 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/libQt5Core.so.5
#32 0x00007f17a6731db7 in g_main_dispatch (context=0x7f17980016f0) at /usr/src/debug/dev-libs/glib-2.48.2/glib-2.48.2/glib/gmain.c:3154
#33 g_main_context_dispatch (context=context@entry=0x7f17980016f0) at /usr/src/debug/dev-libs/glib-2.48.2/glib-2.48.2/glib/gmain.c:3769
#34 0x00007f17a6732010 in g_main_context_iterate (context=context@entry=0x7f17980016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /usr/src/debug/dev-libs/glib-2.48.2/glib-2.48.2/glib/gmain.c:3840
#35 0x00007f17a67320bc in g_main_context_iteration (context=0x7f17980016f0, may_block=1) at /usr/src/debug/dev-libs/glib-2.48.2/glib-2.48.2/glib/gmain.c:3901
#36 0x00007f17adbe3a3f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#37 0x00007f17adb9425a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#38 0x00007f17adb9bbdc in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#39 0x0000000000404fe1 in main ()

Reported using DrKonqi
Comment 1 Halla Rempt 2016-10-13 09:53:15 UTC
Hi Francesco,

This issue should have been fixed in 3.0.1.1 and git master. We only saw it happen on OSX and Windows, but apparently Gentoo can trigger it too... Can you check whether there's a way for you to update?