Bug 343616

Summary: Crash when plaing with g'mic interactive colorize
Product: [Applications] krita Reporter: Halla Rempt <halla>
Component: G'Mic for KritaAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Halla Rempt 2015-01-31 09:16:28 UTC
Application: krita (2.9 Beta 2 (git c2b260d))
KDE Platform Version: 4.14.3
Qt Version: 4.8.6
Operating System: Linux 3.16.7-7-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

-- Information about the crash:
I got the interactive colorize screen open and pressed apply. Before that, I had set preview to 'small'.

-- Backtrace:
Application: Krita (krita), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f0ba7f3e7c0 (LWP 24738))]

Thread 16 (Thread 0x7f0b8668f700 (LWP 24745)):
#0  0x00007f0ba023205f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f0ba04c4c86 in QWaitCondition::wait(QMutex*, unsigned long) (time=18446744073709551615, this=0x3e60300) at thread/qwaitcondition_unix.cpp:86
#2  0x00007f0ba04c4c86 in QWaitCondition::wait(QMutex*, unsigned long) (this=<optimized out>, mutex=mutex@entry=0x3e602b0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f0ba04c0dab in QSemaphore::acquire(int) (this=this@entry=0x3e5ffe0, n=n@entry=1) at thread/qsemaphore.cpp:144
#4  0x00007f0ba6af0e3f in KisTileDataPooler::run() (this=0x3e5ffd0) at /home/boud/kde/src/2.9/krita/image/tiles3/kis_tile_data_pooler.cc:162
#5  0x00007f0ba6af0e3f in KisTileDataPooler::run() (this=0x3e5ffd0) at /home/boud/kde/src/2.9/krita/image/tiles3/kis_tile_data_pooler.cc:184
#6  0x00007f0ba04c479f in QThreadPrivate::start(void*) (arg=0x3e5ffd0) at thread/qthread_unix.cpp:349
#7  0x00007f0ba6537754 in  () at /usr/X11R6/lib64/libGL.so.1
#8  0x00007f0ba022e0a4 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f0b9f26e7fd in clone () at /lib64/libc.so.6

Thread 15 (Thread 0x7f0b7c4eb700 (LWP 24746)):
#0  0x00007f0ba023205f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f0ba04c4c86 in QWaitCondition::wait(QMutex*, unsigned long) (time=18446744073709551615, this=0x3e606b0) at thread/qwaitcondition_unix.cpp:86
#2  0x00007f0ba04c4c86 in QWaitCondition::wait(QMutex*, unsigned long) (this=<optimized out>, mutex=mutex@entry=0x3e60660, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f0ba04c11b3 in QSemaphore::tryAcquire(int, int) (this=0x3e60370, n=n@entry=1, timeout=timeout@entry=-1) at thread/qsemaphore.cpp:221
#4  0x00007f0ba6b19293 in KisTileDataSwapper::waitForWork() (this=this@entry=0x3e60008) at /home/boud/kde/src/2.9/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#5  0x00007f0ba6b194ca in KisTileDataSwapper::run() (this=0x3e60008) at /home/boud/kde/src/2.9/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#6  0x00007f0ba04c479f in QThreadPrivate::start(void*) (arg=0x3e60008) at thread/qthread_unix.cpp:349
#7  0x00007f0ba6537754 in  () at /usr/X11R6/lib64/libGL.so.1
#8  0x00007f0ba022e0a4 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f0b9f26e7fd in clone () at /lib64/libc.so.6

Thread 14 (Thread 0x7f0b7bcea700 (LWP 24748)):
#0  0x00007f0b9f267a63 in select () at /lib64/libc.so.6
#1  0x00007f0ba05f0bf7 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) (nfds=28, fdread=0x7f0b6c000af8, fdwrite=0x7f0b6c000d90, fdexcept=0x7f0b6c001028, orig_timeout=0x0) at kernel/qcore_unix.cpp:79
#2  0x00007f0ba05f6804 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) (this=this@entry=0x7f0b6c000940, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00007f0ba05f6c6a in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f0b6c000920, flags=...) at kernel/qeventdispatcher_unix.cpp:959
#4  0x00007f0ba05c4e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f0b7bce9d20, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f0ba05c5165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f0b7bce9d20, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f0ba04c20bf in QThread::exec() (this=this@entry=0x448b570) at thread/qthread.cpp:538
#7  0x00007f0ba05a6783 in QInotifyFileSystemWatcherEngine::run() (this=0x448b570) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f0ba04c479f in QThreadPrivate::start(void*) (arg=0x448b570) at thread/qthread_unix.cpp:349
#9  0x00007f0ba6537754 in  () at /usr/X11R6/lib64/libGL.so.1
#10 0x00007f0ba022e0a4 in start_thread () at /lib64/libpthread.so.0
#11 0x00007f0b9f26e7fd in clone () at /lib64/libc.so.6

Thread 13 (Thread 0x7f0b7ace8700 (LWP 24750)):
#0  0x00007f0ba023205f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f0ba04c4c86 in QWaitCondition::wait(QMutex*, unsigned long) (time=18446744073709551615, this=0x4538090) at thread/qwaitcondition_unix.cpp:86
#2  0x00007f0ba04c4c86 in QWaitCondition::wait(QMutex*, unsigned long) (this=<optimized out>, mutex=0x4537bf0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f0ba14ac996 in  () at /usr/lib64/libQtGui.so.4
#4  0x00007f0ba04c479f in QThreadPrivate::start(void*) (arg=0x4537be0) at thread/qthread_unix.cpp:349
#5  0x00007f0ba6537754 in  () at /usr/X11R6/lib64/libGL.so.1
#6  0x00007f0ba022e0a4 in start_thread () at /lib64/libpthread.so.0
#7  0x00007f0b9f26e7fd in clone () at /lib64/libc.so.6

Thread 12 (Thread 0x7f0b79831700 (LWP 24751)):
#0  0x00007f0b9f267a63 in select () at /lib64/libc.so.6
#1  0x00007f0ba05f0bf7 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) (nfds=35, fdread=0x7f0b68000af8, fdwrite=0x7f0b68000d90, fdexcept=0x7f0b68001028, orig_timeout=0x0) at kernel/qcore_unix.cpp:79
#2  0x00007f0ba05f6804 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) (this=this@entry=0x7f0b68000940, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00007f0ba05f6c6a in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f0b68000920, flags=...) at kernel/qeventdispatcher_unix.cpp:959
#4  0x00007f0ba05c4e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f0b79830d20, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f0ba05c5165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f0b79830d20, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f0ba04c20bf in QThread::exec() (this=this@entry=0x4538190) at thread/qthread.cpp:538
#7  0x00007f0ba05a6783 in QInotifyFileSystemWatcherEngine::run() (this=0x4538190) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f0ba04c479f in QThreadPrivate::start(void*) (arg=0x4538190) at thread/qthread_unix.cpp:349
#9  0x00007f0ba6537754 in  () at /usr/X11R6/lib64/libGL.so.1
#10 0x00007f0ba022e0a4 in start_thread () at /lib64/libpthread.so.0
#11 0x00007f0b9f26e7fd in clone () at /lib64/libc.so.6

Thread 11 (Thread 0x7f0b79030700 (LWP 24953)):
#0  0x00007f0b9f267a63 in select () at /lib64/libc.so.6
#1  0x00007f0ba05f0bf7 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) (nfds=52, fdread=0x7f0b5c0185b8, fdwrite=0x7f0b5c018850, fdexcept=0x7f0b5c018ae8, orig_timeout=0x0) at kernel/qcore_unix.cpp:79
#2  0x00007f0ba05f6804 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) (this=this@entry=0x7f0b5c018400, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00007f0ba05f6c6a in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f0b5c001c70, flags=...) at kernel/qeventdispatcher_unix.cpp:959
#4  0x00007f0ba05c4e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f0b7902fd20, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f0ba05c5165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f0b7902fd20, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f0ba04c20bf in QThread::exec() (this=this@entry=0x4bd6530) at thread/qthread.cpp:538
#7  0x00007f0ba05a6783 in QInotifyFileSystemWatcherEngine::run() (this=0x4bd6530) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f0ba04c479f in QThreadPrivate::start(void*) (arg=0x4bd6530) at thread/qthread_unix.cpp:349
#9  0x00007f0ba6537754 in  () at /usr/X11R6/lib64/libGL.so.1
#10 0x00007f0ba022e0a4 in start_thread () at /lib64/libpthread.so.0
#11 0x00007f0b9f26e7fd in clone () at /lib64/libc.so.6

Thread 10 (Thread 0x7f0b7b4e9700 (LWP 24957)):
#0  0x00007f0b9f267a63 in select () at /lib64/libc.so.6
#1  0x00007f0ba05a30df in QProcessManager::run() (this=0x7f0ba092d520 <processManager()::processManager>) at io/qprocess_unix.cpp:270
#2  0x00007f0ba04c479f in QThreadPrivate::start(void*) (arg=0x7f0ba092d520 <processManager()::processManager>) at thread/qthread_unix.cpp:349
#3  0x00007f0ba6537754 in  () at /usr/X11R6/lib64/libGL.so.1
#4  0x00007f0ba022e0a4 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f0b9f26e7fd in clone () at /lib64/libc.so.6

Thread 9 (Thread 0x7f0b58396700 (LWP 25183)):
#0  0x00007f0ba0232408 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f0ba04c4c64 in QWaitCondition::wait(QMutex*, unsigned long) (time=30000, this=0xeecf070) at thread/qwaitcondition_unix.cpp:84
#2  0x00007f0ba04c4c64 in QWaitCondition::wait(QMutex*, unsigned long) (this=this@entry=0xb976270, mutex=mutex@entry=0x8f461d8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f0ba04b87ba in QThreadPoolThread::run() (this=0xb976260) at concurrent/qthreadpool.cpp:142
#4  0x00007f0ba04c479f in QThreadPrivate::start(void*) (arg=0xb976260) at thread/qthread_unix.cpp:349
#5  0x00007f0ba6537754 in  () at /usr/X11R6/lib64/libGL.so.1
#6  0x00007f0ba022e0a4 in start_thread () at /lib64/libpthread.so.0
#7  0x00007f0b9f26e7fd in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7f0b4dfff700 (LWP 25184)):
#0  0x00007f0ba0232408 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f0ba04c4c64 in QWaitCondition::wait(QMutex*, unsigned long) (time=30000, this=0xcc318a0) at thread/qwaitcondition_unix.cpp:84
#2  0x00007f0ba04c4c64 in QWaitCondition::wait(QMutex*, unsigned long) (this=this@entry=0xcc53910, mutex=mutex@entry=0x8f461d8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f0ba04b87ba in QThreadPoolThread::run() (this=0xcc53900) at concurrent/qthreadpool.cpp:142
#4  0x00007f0ba04c479f in QThreadPrivate::start(void*) (arg=0xcc53900) at thread/qthread_unix.cpp:349
#5  0x00007f0ba6537754 in  () at /usr/X11R6/lib64/libGL.so.1
#6  0x00007f0ba022e0a4 in start_thread () at /lib64/libpthread.so.0
#7  0x00007f0b9f26e7fd in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7f0b59798700 (LWP 25185)):
#0  0x00007f0ba02347bc in __lll_lock_wait () at /lib64/libpthread.so.0
#1  0x00007f0ba0232870 in pthread_cond_broadcast@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#2  0x00007f0b62d89488 in cimg_library::CImgDisplay::assign() (this=0x7f0b30088980) at /home/boud/kde/src/2.9/krita/plugins/extensions/gmic/src/./CImg.h:7216
#3  0x00007f0b62d89488 in cimg_library::CImgDisplay::assign() (this=0x7f0b30088980) at /home/boud/kde/src/2.9/krita/plugins/extensions/gmic/src/./CImg.h:7290
#4  0x00007f0b62d89488 in cimg_library::CImgDisplay::assign() (this=0x7f0b30088980) at /home/boud/kde/src/2.9/krita/plugins/extensions/gmic/src/./CImg.h:8005
#5  0x00007f0b62ebcf9a in gmic::gmic() (this=0x7f0b30088980) at /home/boud/kde/src/2.9/krita/plugins/extensions/gmic/src/./CImg.h:6127
#6  0x00007f0b62ebcf9a in gmic::gmic() (this=0x7f0b30088980) at /home/boud/kde/src/2.9/krita/plugins/extensions/gmic/src/gmic.cpp:2215
#7  0x00007f0b6326885f in cimg_library::CImg<st_gmic_parallel<float> >::CImg(unsigned int, unsigned int, unsigned int, unsigned int) (this=0x7f0b30088500) at /home/boud/kde/src/2.9/krita/plugins/extensions/gmic/src/gmic.cpp:2121
#8  0x00007f0b6326885f in cimg_library::CImg<st_gmic_parallel<float> >::CImg(unsigned int, unsigned int, unsigned int, unsigned int) (this=0x7f0b597600a0, size_x=1, size_y=2, size_z=1, size_c=1) at /home/boud/kde/src/2.9/krita/plugins/extensions/gmic/src/./CImg.h:9535
#9  0x00007f0b6326677e in gmic::_run<float>(cimg_library::CImgList<char> const&, unsigned int&, cimg_library::CImgList<float>&, cimg_library::CImgList<char>&, cimg_library::CImgList<float>&, cimg_library::CImgList<char>&, unsigned int*, bool*) (this=this@entry=0x7f0b59794940, commands_line=..., position=@0x7f0b5977b840: 72, images=..., images_names=..., parent_images=..., parent_images_names=..., variables_sizes=variables_sizes@entry=0x7f0b5977b920, is_noarg=is_noarg@entry=0x0) at /home/boud/kde/src/2.9/krita/plugins/extensions/gmic/src/gmic.cpp:8947
#10 0x00007f0b6321e041 in gmic::_run<float>(cimg_library::CImgList<char> const&, unsigned int&, cimg_library::CImgList<float>&, cimg_library::CImgList<char>&, cimg_library::CImgList<float>&, cimg_library::CImgList<char>&, unsigned int*, bool*) (this=this@entry=0x7f0b59794940, commands_line=..., position=@0x7f0b5977b840: 72, images=..., images_names=..., parent_images=..., parent_images_names=..., variables_sizes=variables_sizes@entry=0x7f0b5977b920, is_noarg=is_noarg@entry=0x7f0b5977b7e0) at /home/boud/kde/src/2.9/krita/plugins/extensions/gmic/src/gmic.cpp:7462
#11 0x00007f0b6325831f in gmic::_run<float>(cimg_library::CImgList<char> const&, unsigned int&, cimg_library::CImgList<float>&, cimg_library::CImgList<char>&, cimg_library::CImgList<float>&, cimg_library::CImgList<char>&, unsigned int*, bool*) (this=this@entry=0x7f0b59794940, commands_line=..., position=@0x7f0b5977c900: 1, images=..., images_names=..., parent_images=..., parent_images_names=..., variables_sizes=variables_sizes@entry=0x7f0b5977cb20, is_noarg=is_noarg@entry=0x0) at /home/boud/kde/src/2.9/krita/plugins/extensions/gmic/src/gmic.cpp:12356
#12 0x00007f0b6326c6ec in gmic::substitute_item<float>(char const*, cimg_library::CImgList<float>&, cimg_library::CImgList<char>&, cimg_library::CImgList<float>&, cimg_library::CImgList<char>&, unsigned int*) (this=this@entry=0x7f0b59794940, source=source@entry=0x7f0b302b2e60 "status=@{-x_colorize[$>] 0,$resolution,0}", images=..., images_names=..., parent_images=..., parent_images_names=..., variables_sizes=variables_sizes@entry=0x7f0b597939e0) at /home/boud/kde/src/2.9/krita/plugins/extensions/gmic/src/gmic.cpp:4034
#13 0x00007f0b631df2c4 in gmic::_run<float>(cimg_library::CImgList<char> const&, unsigned int&, cimg_library::CImgList<float>&, cimg_library::CImgList<char>&, cimg_library::CImgList<float>&, cimg_library::CImgList<char>&, unsigned int*, bool*) (this=this@entry=0x7f0b59794940, commands_line=..., position=@0x7f0b59793900: 55, images=..., images_names=..., parent_images=..., parent_images_names=..., variables_sizes=variables_sizes@entry=0x7f0b597939e0, is_noarg=is_noarg@entry=0x7f0b597938a0) at /home/boud/kde/src/2.9/krita/plugins/extensions/gmic/src/gmic.cpp:4183
#14 0x00007f0b6325831f in gmic::_run<float>(cimg_library::CImgList<char> const&, unsigned int&, cimg_library::CImgList<float>&, cimg_library::CImgList<char>&, cimg_library::CImgList<float>&, cimg_library::CImgList<char>&, unsigned int*, bool*) (this=this@entry=0x7f0b59794940, commands_line=..., position=@0x7f0b597942dc: 5, images=..., images_names=..., parent_images=..., parent_images_names=..., variables_sizes=variables_sizes@entry=0x7f0b597942e0, is_noarg=is_noarg@entry=0x0) at /home/boud/kde/src/2.9/krita/plugins/extensions/gmic/src/gmic.cpp:12356
#15 0x00007f0b6326798f in gmic::_run<float>(cimg_library::CImgList<char> const&, cimg_library::CImgList<float>&, cimg_library::CImgList<char>&, float*, bool*) (this=this@entry=0x7f0b59794940, commands_line=..., images=..., images_names=..., p_progress=p_progress@entry=0x6d24250, p_is_cancel=p_is_cancel@entry=0xb87a240) at /home/boud/kde/src/2.9/krita/plugins/extensions/gmic/src/gmic.cpp:4083
#16 0x00007f0b632681b5 in gmic::_gmic<float>(char const*, cimg_library::CImgList<float>&, cimg_library::CImgList<char>&, char const*, bool, float*, bool*) (this=0x7f0b59794940, commands_line=0x7f0b3000e928 "-v - -* 255 -gimp_colorize_interactive 0,0,1,/home/boud,/home/boud,1,0,0,-1", images=..., images_names=..., custom_commands=0x1114b578 "\n\n\n\nh :\n  -help $*\n\nhelp : -skip ${1=\"\"},${2=1}\n  -if {!@#} -return -endif\n  -y -a y\n  --_help $1,$2 -k[0]\n  -if {narg(@{})} -_help[0] @{},0 -endif # In case of shortcut, display also help for shortcu"..., include_default_commands=<optimized out>, p_progress=0x6d24250, p_is_cancel=0xb87a240) at /home/boud/kde/src/2.9/krita/plugins/extensions/gmic/src/gmic.cpp:3022
#17 0x00007f0b63268616 in gmic::gmic<float>(char const*, cimg_library::CImgList<float>&, cimg_library::CImgList<char>&, char const*, bool, float*, bool*) (this=0x7f0b59794940, commands_line=0x7f0b3000e928 "-v - -* 255 -gimp_colorize_interactive 0,0,1,/home/boud,/home/boud,1,0,0,-1", images=..., images_names=..., custom_commands=0x1114b578 "\n\n\n\nh :\n  -help $*\n\nhelp : -skip ${1=\"\"},${2=1}\n  -if {!@#} -return -endif\n  -y -a y\n  --_help $1,$2 -k[0]\n  -if {narg(@{})} -_help[0] @{},0 -endif # In case of shortcut, display also help for shortcu"..., include_default_commands=<optimized out>, p_progress=0x6d24250, p_is_cancel=0xb87a240) at /home/boud/kde/src/2.9/krita/plugins/extensions/gmic/src/gmic.cpp:2966
#18 0x00007f0b62dba917 in KisGmicCommand::redo() (this=0x9eb9910) at /home/boud/kde/src/2.9/krita/plugins/extensions/gmic/kis_gmic_command.cpp:73
#19 0x00007f0ba6c3616e in KisStrokeStrategyUndoCommandBased::doStrokeCallback(KisStrokeJobData*) (this=0xa0c7130, data=<optimized out>) at /home/boud/kde/src/2.9/krita/image/kis_stroke_strategy_undo_command_based.cpp:96
#20 0x00007f0ba6ae929c in KisUpdateJobItem::run() (this=0x8f02fe0) at /home/boud/kde/build/2.9/krita/image/../../../../src/2.9/krita/image/kis_update_job_item.h:61
#21 0x00007f0ba04b86ae in QThreadPoolThread::run() (this=0x4b21c10) at concurrent/qthreadpool.cpp:108
#22 0x00007f0ba04c479f in QThreadPrivate::start(void*) (arg=0x4b21c10) at thread/qthread_unix.cpp:349
#23 0x00007f0ba6537754 in  () at /usr/X11R6/lib64/libGL.so.1
#24 0x00007f0ba022e0a4 in start_thread () at /lib64/libpthread.so.0
#25 0x00007f0b9f26e7fd in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f0affff5700 (LWP 25186)):
#0  0x00007f0ba0232408 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f0ba04c4c64 in QWaitCondition::wait(QMutex*, unsigned long) (time=30000, this=0xa2b9df0) at thread/qwaitcondition_unix.cpp:84
#2  0x00007f0ba04c4c64 in QWaitCondition::wait(QMutex*, unsigned long) (this=this@entry=0xbcc13b0, mutex=mutex@entry=0x8f461d8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f0ba04b87ba in QThreadPoolThread::run() (this=0xbcc13a0) at concurrent/qthreadpool.cpp:142
#4  0x00007f0ba04c479f in QThreadPrivate::start(void*) (arg=0xbcc13a0) at thread/qthread_unix.cpp:349
#5  0x00007f0ba6537754 in  () at /usr/X11R6/lib64/libGL.so.1
#6  0x00007f0ba022e0a4 in start_thread () at /lib64/libpthread.so.0
#7  0x00007f0b9f26e7fd in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f0b58b97700 (LWP 25187)):
#0  0x00007f0ba0232408 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f0ba04c4c64 in QWaitCondition::wait(QMutex*, unsigned long) (time=30000, this=0xcc34df0) at thread/qwaitcondition_unix.cpp:84
#2  0x00007f0ba04c4c64 in QWaitCondition::wait(QMutex*, unsigned long) (this=this@entry=0xebf2c60, mutex=mutex@entry=0x8f461d8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f0ba04b87ba in QThreadPoolThread::run() (this=0xebf2c50) at concurrent/qthreadpool.cpp:142
#4  0x00007f0ba04c479f in QThreadPrivate::start(void*) (arg=0xebf2c50) at thread/qthread_unix.cpp:349
#5  0x00007f0ba6537754 in  () at /usr/X11R6/lib64/libGL.so.1
#6  0x00007f0ba022e0a4 in start_thread () at /lib64/libpthread.so.0
#7  0x00007f0b9f26e7fd in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f0b5692e700 (LWP 25188)):
#0  0x00007f0ba0232408 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f0ba04c4c64 in QWaitCondition::wait(QMutex*, unsigned long) (time=30000, this=0x9093490) at thread/qwaitcondition_unix.cpp:84
#2  0x00007f0ba04c4c64 in QWaitCondition::wait(QMutex*, unsigned long) (this=this@entry=0xa2b9e70, mutex=mutex@entry=0x8f461d8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f0ba04b87ba in QThreadPoolThread::run() (this=0xa2b9e60) at concurrent/qthreadpool.cpp:142
#4  0x00007f0ba04c479f in QThreadPrivate::start(void*) (arg=0xa2b9e60) at thread/qthread_unix.cpp:349
#5  0x00007f0ba6537754 in  () at /usr/X11R6/lib64/libGL.so.1
#6  0x00007f0ba022e0a4 in start_thread () at /lib64/libpthread.so.0
#7  0x00007f0b9f26e7fd in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f0b4d7fe700 (LWP 25189)):
#0  0x00007f0ba0232408 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f0ba04c4c64 in QWaitCondition::wait(QMutex*, unsigned long) (time=30000, this=0xbb52ad0) at thread/qwaitcondition_unix.cpp:84
#2  0x00007f0ba04c4c64 in QWaitCondition::wait(QMutex*, unsigned long) (this=this@entry=0xeecf0f0, mutex=mutex@entry=0x8f461d8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f0ba04b87ba in QThreadPoolThread::run() (this=0xeecf0e0) at concurrent/qthreadpool.cpp:142
#4  0x00007f0ba04c479f in QThreadPrivate::start(void*) (arg=0xeecf0e0) at thread/qthread_unix.cpp:349
#5  0x00007f0ba6537754 in  () at /usr/X11R6/lib64/libGL.so.1
#6  0x00007f0ba022e0a4 in start_thread () at /lib64/libpthread.so.0
#7  0x00007f0b9f26e7fd in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f0b4cffd700 (LWP 25191)):
#0  0x00007f0ba0232408 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f0ba04c4c64 in QWaitCondition::wait(QMutex*, unsigned long) (time=30000, this=0xbb7ad80) at thread/qwaitcondition_unix.cpp:84
#2  0x00007f0ba04c4c64 in QWaitCondition::wait(QMutex*, unsigned long) (this=this@entry=0x107fed20, mutex=mutex@entry=0x8f461d8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f0ba04b87ba in QThreadPoolThread::run() (this=0x107fed10) at concurrent/qthreadpool.cpp:142
#4  0x00007f0ba04c479f in QThreadPrivate::start(void*) (arg=0x107fed10) at thread/qthread_unix.cpp:349
#5  0x00007f0ba6537754 in  () at /usr/X11R6/lib64/libGL.so.1
#6  0x00007f0ba022e0a4 in start_thread () at /lib64/libpthread.so.0
#7  0x00007f0b9f26e7fd in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f0ba7f3e7c0 (LWP 24738)):
[KCrash Handler]
#5  0x00007f0b62dc2ee9 in KisGmicSmallApplicator::preview() (o=..., this=0x7fff0d79b620, this@entry=0x7fff0d79b600) at /home/boud/kde/src/2.9/krita/image/kis_shared_ptr.h:102
#6  0x00007f0b62dc2ee9 in KisGmicSmallApplicator::preview() (this=0x0) at /home/boud/kde/src/2.9/krita/plugins/extensions/gmic/kis_gmic_small_applicator.cpp:125
#7  0x00007f0b62dccb2f in KisGmicPlugin::slotPreviewReady() (this=this@entry=0x487b060) at /home/boud/kde/src/2.9/krita/plugins/extensions/gmic/kis_gmic_plugin.cpp:491
#8  0x00007f0b62dcf0d8 in KisGmicPlugin::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x487b060, _c=<optimized out>, _id=14, _a=0x7f0ae400d670) at /home/boud/kde/build/2.9/krita/plugins/extensions/gmic/kis_gmic_plugin.moc:102
#9  0x00007f0ba05de59e in QObject::event(QEvent*) (this=0x487b060, e=<optimized out>) at kernel/qobject.cpp:1231
#10 0x00007f0ba0fd476c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#11 0x00007f0ba0fdacad in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#12 0x00007f0ba786eba7 in KisApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x487b060, event=0x7f0ae43eaa90) at /home/boud/kde/src/2.9/krita/ui/KisApplication.cpp:488
#13 0x00007f0ba05c62ad in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7fff0d79cb80, receiver=receiver@entry=0x487b060, event=event@entry=0x7f0ae43eaa90) at kernel/qcoreapplication.cpp:953
#14 0x00007f0ba05c957d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x7f0ae43eaa90, receiver=0x487b060) at kernel/qcoreapplication.h:231
#15 0x00007f0ba05c957d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x2044920) at kernel/qcoreapplication.cpp:1577
#16 0x00007f0ba1071dec in  () at /usr/lib64/libQtGui.so.4
#17 0x00007f0ba05c9a5f in QCoreApplication::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=...) at kernel/qcoreapplication.cpp:1140
#18 0x00007f0ba2e1add3 in KoProgressUpdater::update() (this=<optimized out>) at /home/boud/kde/src/2.9/libs/widgetutils/KoProgressUpdater.cpp:166
#19 0x00007f0ba05da1fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=0x9ca78b0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3576
#20 0x00007f0ba05da1fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=0xd9c1cb0, m=m@entry=0x7f0ba3023820 <KoUpdater::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff0d79bf90) at kernel/qobject.cpp:3576
#21 0x00007f0ba2e1c6e1 in KoUpdater::sigProgress(int) (this=<optimized out>, _t1=_t1@entry=100) at /home/boud/kde/build/2.9/libs/widgetutils/KoUpdater.moc:115
#22 0x00007f0ba2e1c733 in KoUpdater::setProgress(int) (this=<optimized out>, percent=percent@entry=100) at /home/boud/kde/src/2.9/libs/widgetutils/KoUpdater.cpp:57
#23 0x00007f0b62dc2af1 in KisGmicProgressManager::finishProgress() (this=<optimized out>) at /home/boud/kde/src/2.9/krita/plugins/extensions/gmic/kis_gmic_progress_manager.cpp:80
#24 0x00007f0b62dc7dd3 in KisGmicPlugin::slotGmicFinished(bool, int, QString const&) (this=this@entry=0x487b060, successfully=<optimized out>, miliseconds=73, msg=...) at /home/boud/kde/src/2.9/krita/plugins/extensions/gmic/kis_gmic_plugin.cpp:433
#25 0x00007f0b62dcf24c in KisGmicPlugin::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x487b060, _c=<optimized out>, _id=<optimized out>, _a=0x7fff0d79c1f0) at /home/boud/kde/build/2.9/krita/plugins/extensions/gmic/kis_gmic_plugin.moc:98
#26 0x00007f0ba05da1fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=0xcc605e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff0d79c1f0) at kernel/qobject.cpp:3576
#27 0x00007f0b62d3b862 in KisGmicSmallApplicator::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_t3=..., _t2=73, _t1=true, this=<optimized out>) at /home/boud/kde/build/2.9/krita/plugins/extensions/gmic/moc_kis_gmic_small_applicator.cpp:108
#28 0x00007f0b62d3b862 in KisGmicSmallApplicator::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0xcc605e0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7f0aec189220) at /home/boud/kde/build/2.9/krita/plugins/extensions/gmic/moc_kis_gmic_small_applicator.cpp:56
#29 0x00007f0ba05de59e in QObject::event(QEvent*) (this=0xcc605e0, e=<optimized out>) at kernel/qobject.cpp:1231
#30 0x00007f0ba0fd476c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#31 0x00007f0ba0fdacad in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#32 0x00007f0ba786eba7 in KisApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0xcc605e0, event=0x7f0aec00dc80) at /home/boud/kde/src/2.9/krita/ui/KisApplication.cpp:488
#33 0x00007f0ba05c62ad in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7fff0d79cb80, receiver=receiver@entry=0xcc605e0, event=event@entry=0x7f0aec00dc80) at kernel/qcoreapplication.cpp:953
#34 0x00007f0ba05c957d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x7f0aec00dc80, receiver=0xcc605e0) at kernel/qcoreapplication.h:231
#35 0x00007f0ba05c957d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x2044920) at kernel/qcoreapplication.cpp:1577
#36 0x00007f0ba05f6bae in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x2049e20, flags=...) at kernel/qeventdispatcher_unix.cpp:931
#37 0x00007f0ba1071f96 in  () at /usr/lib64/libQtGui.so.4
#38 0x00007f0ba05c4e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fff0d79c930, flags=...) at kernel/qeventloop.cpp:149
#39 0x00007f0ba05c5165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fff0d79c930, flags=...) at kernel/qeventloop.cpp:204
#40 0x00007f0ba05ca5b9 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1225
#41 0x0000000000402a71 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /home/boud/kde/src/2.9/krita/main.cc:170

Report to https://bugs.kde.org/
Comment 1 Halla Rempt 2015-01-31 09:24:23 UTC
Git commit f78e6dd9f5408eb1ff09a8e2c4748a82d946a7e9 by Boudewijn Rempt.
Committed on 31/01/2015 at 09:23.
Pushed by rempt into branch 'calligra/2.9'.

M  +1    -2    krita/plugins/extensions/gmic/kis_gmic_plugin.cpp

http://commits.kde.org/calligra/f78e6dd9f5408eb1ff09a8e2c4748a82d946a7e9