https://bugs.kde.org/show_bug.cgi?id=383712
Bug ID: 383712
Summary: Crash in master when deleting a frame.
Product: krita
Version: git master
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: Animation
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Difficult to reproduce, but you know you're gonna get this crash because...
1. You make a new frame.
2. It looks like it ended up copying the frame before this one, you didn't want
that, you wanted a new frame.
3. You attempt to delete said falsely copied frame.
4. You get this crash:
(I could only get the crash via gdb, kcrash just says there was a segfault)
Thread 1961 "Thread (pooled)" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff9c9db700 (LWP 4573)]
KisBaseNode::getKeyframeChannel (this=this@entry=0x0, id=...) at
/home/wolthera/krita/src/libs/image/kis_base_node.cpp:350
350 QMap<QString, KisKeyframeChannel*>::const_iterator i =
m_d->keyframeChannels.constFind(id);
(gdb) thread apply all backtrace
Thread 1962 (Thread 0x7fff85cfb700 (LWP 4574)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1 0x00007ffff5b72826 in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2 0x00007ffff5b6de9a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3 0x00007ffff5b71989 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4 0x00007fffef9746ba in start_thread (arg=0x7fff85cfb700) at
pthread_create.c:333
#5 0x00007ffff52683dd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 1961 (Thread 0x7fff9c9db700 (LWP 4573)):
#0 KisBaseNode::getKeyframeChannel (this=this@entry=0x0, id=...) at
/home/wolthera/krita/src/libs/image/kis_base_node.cpp:350
#1 0x00007fffb683022d in KisAnimationUtils::<lambda()>::operator()
(__closure=<optimised out>)
at
/home/wolthera/krita/src/plugins/dockers/animation/kis_animation_utils.cpp:124
#2 std::_Function_handler<KUndo2Command*(),
KisAnimationUtils::removeKeyframes(KisImageSP, const
FrameItemList&)::<lambda()> >::_M_invoke(const std::_Any_data &) (
__functor=...) at /usr/include/c++/5/functional:1857
#3 0x00007ffff1eff5c2 in std::function<KUndo2Command* ()>::operator()() const
(this=0x261527d8) at /usr/include/c++/5/functional:2267
#4 KisCommandUtils::LambdaCommand::populateChildCommands (this=0x26152790) at
/home/wolthera/krita/src/libs/command/kis_command_utils.cpp:85
#5 0x00007ffff1efed97 in KisCommandUtils::AggregateCommand::redo
(this=0x26152790) at
/home/wolthera/krita/src/libs/command/kis_command_utils.cpp:36
#6 0x00007ffff32a309a in KisStrokeStrategyUndoCommandBased::doStrokeCallback
(this=0x26151e40, data=<optimised out>)
at
/home/wolthera/krita/src/libs/image/kis_stroke_strategy_undo_command_based.cpp:118
#7 0x00007ffff33fb201 in KisStrokeJob::run (this=<optimised out>) at
/home/wolthera/krita/build/libs/image/../../../src/libs/image/kis_stroke_job.h:44
#8 KisUpdateJobItem::run (this=0x1bb109e0) at
/home/wolthera/krita/build/libs/image/../../../src/libs/image/kis_update_job_item.h:66
#9 0x00007ffff5b6dc73 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007ffff5b71989 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007fffef9746ba in start_thread (arg=0x7fff9c9db700) at
pthread_create.c:333
#12 0x00007ffff52683dd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 1944 (Thread 0x7fff854fa700 (LWP 4551)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1 0x00007ffff5b72826 in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2 0x00007ffff5b6de9a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3 0x00007ffff5b71989 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4 0x00007fffef9746ba in start_thread (arg=0x7fff854fa700) at
pthread_create.c:333
#5 0x00007ffff52683dd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 10 (Thread 0x7fffaf190700 (LWP 2430)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00007ffff5b728eb in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2 0x00007ffff68ced8a in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#3 0x00007ffff5b71989 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4 0x00007fffef9746ba in start_thread (arg=0x7fffaf190700) at
pthread_create.c:333
---Type <return> to continue, or q <return> to quit---
#5 0x00007ffff52683dd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 9 (Thread 0x7fffae98f700 (LWP 2429)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00007ffff5b728eb in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2 0x00007ffff5b6ba16 in QSemaphore::tryAcquire(int, int) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3 0x00007ffff31e4243 in KisTileDataSwapper::waitForWork (this=<optimised
out>) at
/home/wolthera/krita/src/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#4 0x00007ffff31e443a in KisTileDataSwapper::run (this=0x7ffff36b4b00
<(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder+64>)
at
/home/wolthera/krita/src/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#5 0x00007ffff5b71989 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6 0x00007fffef9746ba in start_thread (arg=0x7fffae98f700) at
pthread_create.c:333
#7 0x00007ffff52683dd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 3 (Thread 0x7fffd7aaf700 (LWP 2420)):
#0 0x00007ffff525c70d in poll () at ../sysdeps/unix/syscall-template.S:84
#1 0x00007fffee37c38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007fffee37c49c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007ffff5d9a92f in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4 0x00007ffff5d437ca in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5 0x00007ffff5b6ccd4 in QThread::exec() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6 0x00007fffefb9fb75 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7 0x00007ffff5b71989 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8 0x00007fffef9746ba in start_thread (arg=0x7fffd7aaf700) at
pthread_create.c:333
#9 0x00007ffff52683dd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 2 (Thread 0x7fffe3228700 (LWP 2419)):
#0 0x00007ffff525c70d in poll () at ../sysdeps/unix/syscall-template.S:84
#1 0x00007ffff3911c62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2 0x00007ffff39138d7 in xcb_wait_for_event () from
/usr/lib/x86_64-linux-gnu/libxcb.so.1
#3 0x00007fffe5570329 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4 0x00007ffff5b71989 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5 0x00007fffef9746ba in start_thread (arg=0x7fffe3228700) at
pthread_create.c:333
#6 0x00007ffff52683dd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Thread 1 (Thread 0x7ffff7e0a8c0 (LWP 2413)):
#0 0x00007ffff525c70d in poll () at ../sysdeps/unix/syscall-template.S:84
#1 0x00007fffee37c38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007fffee37c49c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007ffff5d9a92f in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4 0x00007ffff5d437ca in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5 0x00007ffff5d4c704 in QCoreApplication::exec() () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
---Type <return> to continue, or q <return> to quit---
#6 0x00000000004051b4 in main (argc=1, argv=<optimised out>) at
/home/wolthera/krita/src/krita/main.cc:269
(gdb)
--
You are receiving this mail because:
You are watching all bug changes.