[krita] [Bug 366607] Several crashes with manipulating animation frames.

2016-09-19 Thread Boudewijn Rempt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=366607

--- Comment #10 from Boudewijn Rempt  ---
*** Bug 368664 has been marked as a duplicate of this bug. ***

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


[krita] [Bug 366607] Several crashes with manipulating animation frames.

2016-09-19 Thread Boudewijn Rempt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=366607

--- Comment #9 from Boudewijn Rempt  ---
*** Bug 368992 has been marked as a duplicate of this bug. ***

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


[krita] [Bug 366607] Several crashes with manipulating animation frames.

2016-08-12 Thread wolthera via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=366607

--- Comment #8 from wolthera  ---
More crashes:

Thread 1 "krita" received signal SIGSEGV, Segmentation fault.
KUndo2Command::timedMergeWith (this=0xdade2d0, other=0x19d)
at /home/krita/kde/src/krita/libs/kundo2/kundo2stack.cpp:349
349if(other->timedId() == this->timedId() && other->timedId()!=-1 )

thread one:

Thread 1 (Thread 0x77f0e8c0 (LWP 32684)):
#0  KUndo2Command::timedMergeWith (this=0xdade2d0, other=0x19d)
at /home/krita/kde/src/krita/libs/kundo2/kundo2stack.cpp:349
#1  0x71802662 in KUndo2QStack::push (this=0x140e0370, cmd=0x11aca1c0)
at /home/krita/kde/src/krita/libs/kundo2/kundo2stack.cpp:760
#2  0x73224c53 in KisPostExecutionUndoAdapter::addCommand (
this=0x1190d5e0, command=...)
at
/home/krita/kde/src/krita/libs/image/kis_post_execution_undo_adapter.cpp:38
#3  0x7318c9b1 in KisImageAnimationInterface::requestTimeSwitchWithUndo
(this=this@entry=0xe189a00, time=26)
at
/home/krita/kde/src/krita/libs/image/kis_image_animation_interface.cpp:145
#4  0x7fffaff9e360 in AnimationDocker::slotPreviousFrame (
this=)
at
/home/krita/kde/src/krita/plugins/dockers/animation/animation_docker.cpp:339
#5  0x75748cef in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5
#6  0x76509952 in QAction::triggered(bool) ()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5
#7  0x7650c4ad in QAction::activate(QAction::ActionEvent) ()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5
#8  0x77874c0b in QAction::trigger (this=0xd63ea50)
at /home/krita/Qt/5.6/gcc_64/include/QtWidgets/qaction.h:177
#9  KisChangeFrameAction::begin (this=this@entry=0xc914a10, 
shortcut=, event=event@entry=0x0)
---Type  to continue, or q  to quit---
at /home/krita/kde/src/krita/libs/ui/input/kis_change_frame_action.cpp:73
#10 0x77879b27 in
KisShortcutMatcher::tryRunSingleActionShortcutImpl
(this=this@entry=0x10f42e0, param=, 
event=event@entry=0x0, keysState=...)
at /home/krita/kde/src/krita/libs/ui/input/kis_shortcut_matcher.cpp:385
#11 0x77878f99 in KisShortcutMatcher::keyPressed (this=0x10f42e0, 
key=Qt::Key_Left)
at /home/krita/kde/src/krita/libs/ui/input/kis_shortcut_matcher.cpp:134
#12 0x77866a32 in KisInputManager::eventFilterImpl (this=0xc9e58a0, 
event=0x7fffcf40)
at /home/krita/kde/src/krita/libs/ui/input/kis_input_manager.cpp:303
#13 0x7571fbf3 in
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5
#14 0x76513025 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5
#15 0x765172a9 in QApplication::notify(QObject*, QEvent*) ()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5
#16 0x778cc837 in KisApplication::notify (this=, 
receiver=0x146983b0, event=0x7fffcf40)
at /home/krita/kde/src/krita/libs/ui/KisApplication.cpp:510
#17 0x7571fe80 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5
#18 0x765726f3 in ?? ()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5
#19 0x7651304c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5
#20 0x76517488 in QApplication::notify(QObject*, QEvent*) ()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5
#21 0x778cc837 in KisApplication::notify (this=, 
receiver=0xd80fa60, event=0x7fffcf40)
at /home/krita/kde/src/krita/libs/ui/KisApplication.cpp:510
---Type  to continue, or q  to quit---
#22 0x7571fe80 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5
#23 0x75cbc738 in
QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*)
()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5Gui.so.5
#24 0x75cc1465 in
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5Gui.so.5
#25 0x75ca37fd in
QWindowSystemInterfacePrivate::handleWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5Gui.so.5
#26 0x75ca7b81 in QWindowSystemInterface::handleShortcutEvent(QWindow*,
unsigned long, int, QFlags, unsigned int, unsigned int,
unsigned int, QString const&, bool, unsigned short) ()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5Gui.so.5
#27 0x75cbc774 in
QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*)
()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5Gui.so.5
#28 0x75cc1465 in

[krita] [Bug 366607] Several crashes with manipulating animation frames.

2016-08-12 Thread wolthera via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=366607

--- Comment #7 from wolthera  ---
Crash when switching frames in wraparound mode:

Thread 1 "krita" received signal SIGSEGV, Segmentation fault.
KisPaintDevice::Private::currentStrategy (this=0x30)
at /home/krita/kde/src/krita/libs/image/kis_paint_device.cc:533
533if (!defaultBounds->wrapAroundMode()) {
(gdb) thread apply all backtrace

Thread 1667 (Thread 0x7fff927fd700 (LWP 32414)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 ()
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x7555e738 in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5
#2  0x7555a467 in ?? ()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5
#3  0x7555dc89 in ?? ()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5
#4  0x7fffeef376fa in start_thread (arg=0x7fff927fd700)
at pthread_create.c:333
#5  0x74c59b5d in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 11 (Thread 0x7fffa3f64700 (LWP 30667)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x7555e7eb in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5
#2  0x76734aa2 in ?? ()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5
#3  0x7555dc89 in ?? ()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5
#4  0x7fffeef376fa in start_thread (arg=0x7fffa3f64700)
at pthread_create.c:333
#5  0x74c59b5d in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 10 (Thread 0x7fffa888f700 (LWP 30666)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
---Type  to continue, or q  to quit---
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x7555e7eb in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5
#2  0x75558116 in QSemaphore::tryAcquire(int, int) ()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5
#3  0x730dd383 in KisTileDataSwapper::waitForWork (
this=)
at
/home/krita/kde/src/krita/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#4  0x730dd57a in KisTileDataSwapper::run (
this=0x73563460 <(anonymous
namespace)::Q_QGS_s_instance::innerFunction()::holder+64>)
at
/home/krita/kde/src/krita/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#5  0x7555dc89 in ?? ()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5
#6  0x7fffeef376fa in start_thread (arg=0x7fffa888f700)
at pthread_create.c:333
#7  0x74c59b5d in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7fffc0ed5700 (LWP 30665)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x7555e7eb in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5
#2  0x75557e8b in QSemaphore::acquire(int) ()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5
#3  0x730c373e in KisTileDataPooler::waitForWork (
this=0x73563420 <(anonymous
namespace)::Q_QGS_s_instance::innerFunction()::holder>)
---Type  to continue, or q  to quit---
at /home/krita/kde/src/krita/libs/image/tiles3/kis_tile_data_pooler.cc:165
#4  0x730c3efa in KisTileDataPooler::run (
this=0x73563420 <(anonymous
namespace)::Q_QGS_s_instance::innerFunction()::holder>)
at /home/krita/kde/src/krita/libs/image/tiles3/kis_tile_data_pooler.cc:187
#5  0x7555dc89 in ?? ()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5
#6  0x7fffeef376fa in start_thread (arg=0x7fffc0ed5700)
at pthread_create.c:333
#7  0x74c59b5d in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7fffd882a700 (LWP 30660)):
#0  0x74c4de8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x7fffee60c39c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x7fffee60c4ac in g_main_context_iteration ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x7576f4fc in
QEventDispatcherGlib::processEvents(QFlags) ()
from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5
#4  0x7571defa in
QEventLoop::exec(QFlags) () from
/home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5
#5  0x7555938c in QThread::exec() ()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5
#6  0x7fffef162cd5 in ?? ()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5DBus.so.5
#7  0x7555dc89 in ?? ()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5
#8  0x7fffeef376fa in start_thread (arg=0x7fffd882a700)
at pthread_create.c:333
#9  0x74c59b5d in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
---Type  to continue, or q  to quit---

Thread 5 (Thread 0x7fffd9245700 (LWP 30659)):
#0  0x74c4de8d in 

[krita] [Bug 366607] Several crashes with manipulating animation frames.

2016-08-12 Thread wolthera via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=366607

--- Comment #6 from wolthera  ---
Aaaand, another one:

Undo frame change, then try changing frames:

Thread 1 (Thread 0x77f0e8c0 (LWP 11290)):
#0  0x in ?? ()
#1  0x7180190a in KUndo2Command::timedMergeWith (this=0x18444570, 
other=0x7fff74001500)
at /home/krita/kde/src/krita/libs/kundo2/kundo2stack.cpp:349
#2  0x71802662 in KUndo2QStack::push (this=0xdafedc0, cmd=0x191ddd30)
at /home/krita/kde/src/krita/libs/kundo2/kundo2stack.cpp:760
#3  0x73224c53 in KisPostExecutionUndoAdapter::addCommand (
this=0x1274a070, command=...)
at
/home/krita/kde/src/krita/libs/image/kis_post_execution_undo_adapter.cpp:38
#4  0x7318c9b1 in KisImageAnimationInterface::requestTimeSwitchWithUndo
(this=this@entry=0xdaf1130, time=29)
at
/home/krita/kde/src/krita/libs/image/kis_image_animation_interface.cpp:145
#5  0x7fffabe16360 in AnimationDocker::slotPreviousFrame (
this=)
at
/home/krita/kde/src/krita/plugins/dockers/animation/animation_docker.cpp:339
#6  0x75748cef in QMetaObject::activate(QObject*, int, int, void**) ()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5
#7  0x76509952 in QAction::triggered(bool) ()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5
#8  0x7650c4ad in QAction::activate(QAction::ActionEvent) ()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5
#9  0x77874c0b in QAction::trigger (this=0xd544a70)
at /home/krita/Qt/5.6/gcc_64/include/QtWidgets/qaction.h:177
---Type  to continue, or q  to quit---
#10 KisChangeFrameAction::begin (this=this@entry=0xca86f00, 
shortcut=, event=event@entry=0x0)
at /home/krita/kde/src/krita/libs/ui/input/kis_change_frame_action.cpp:73
#11 0x77879b27 in
KisShortcutMatcher::tryRunSingleActionShortcutImpl
(this=this@entry=0x4b1c600, param=, 
event=event@entry=0x0, keysState=...)
at /home/krita/kde/src/krita/libs/ui/input/kis_shortcut_matcher.cpp:385
#12 0x77878f99 in KisShortcutMatcher::keyPressed (this=0x4b1c600, 
key=Qt::Key_Left)
at /home/krita/kde/src/krita/libs/ui/input/kis_shortcut_matcher.cpp:134
#13 0x77866a32 in KisInputManager::eventFilterImpl (this=0xc9ac170, 
event=0x7fffcf40)
at /home/krita/kde/src/krita/libs/ui/input/kis_input_manager.cpp:303
#14 0x7571fbf3 in
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5
#15 0x76513025 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5
#16 0x765172a9 in QApplication::notify(QObject*, QEvent*) ()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5
#17 0x778cc837 in KisApplication::notify (this=, 
receiver=0xe367180, event=0x7fffcf40)
at /home/krita/kde/src/krita/libs/ui/KisApplication.cpp:510
#18 0x7571fe80 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5
#19 0x765726f3 in ?? ()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5
#20 0x7651304c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5
#21 0x76517488 in QApplication::notify(QObject*, QEvent*) ()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5Widgets.so.5
#22 0x778cc837 in KisApplication::notify (this=, 
---Type  to continue, or q  to quit---
receiver=0xd805a90, event=0x7fffcf40)
at /home/krita/kde/src/krita/libs/ui/KisApplication.cpp:510
#23 0x7571fe80 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /home/krita/Qt/5.6/gcc_64/lib/libQt5Core.so.5
#24 0x75cbc738 in
QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*)
()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5Gui.so.5
#25 0x75cc1465 in
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5Gui.so.5
#26 0x75ca37fd in
QWindowSystemInterfacePrivate::handleWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5Gui.so.5
#27 0x75ca7b81 in QWindowSystemInterface::handleShortcutEvent(QWindow*,
unsigned long, int, QFlags, unsigned int, unsigned int,
unsigned int, QString const&, bool, unsigned short) ()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5Gui.so.5
#28 0x75cbc774 in
QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*)
()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5Gui.so.5
#29 0x75cc1465 in
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
()
   from /home/krita/Qt/5.6/gcc_64/lib/libQt5Gui.so.5
#30 0x75ca26a3 in

[krita] [Bug 366607] Several crashes with manipulating animation frames.

2016-08-10 Thread wolthera via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=366607

wolthera  changed:

   What|Removed |Added

 Attachment #100530|0   |1
is obsolete||

--- Comment #5 from wolthera  ---
Created attachment 100532
  --> https://bugs.kde.org/attachment.cgi?id=100532=edit
Backtrace 3: assert reuploaded

Whoops, wrong backtrace, this is the right one.

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


[krita] [Bug 366607] Several crashes with manipulating animation frames.

2016-08-10 Thread wolthera via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=366607

--- Comment #4 from wolthera  ---
Created attachment 100531
  --> https://bugs.kde.org/attachment.cgi?id=100531=edit
Backtrace # 4

I think this was while saving the file, but I don't know what happened exactly.
I do know I lost work, but I managed to use an autosave of the same file.

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


[krita] [Bug 366607] Several crashes with manipulating animation frames.

2016-08-10 Thread wolthera via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=366607

wolthera  changed:

   What|Removed |Added

   Severity|normal  |crash
   Platform|Other   |Ubuntu Packages

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


[krita] [Bug 366607] Several crashes with manipulating animation frames.

2016-08-10 Thread wolthera via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=366607

--- Comment #3 from wolthera  ---
Created attachment 100530
  --> https://bugs.kde.org/attachment.cgi?id=100530=edit
Backtrace #3: An Assert

This one is an assert. But also don't remember what caused it... probably
should've written it down.

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


[krita] [Bug 366607] Several crashes with manipulating animation frames.

2016-08-10 Thread wolthera via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=366607

--- Comment #2 from wolthera  ---
Created attachment 100529
  --> https://bugs.kde.org/attachment.cgi?id=100529=edit
Backtrace #2

Don't remember what caused this one.

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


[krita] [Bug 366607] Several crashes with manipulating animation frames.

2016-08-10 Thread wolthera via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=366607

--- Comment #1 from wolthera  ---
Created attachment 100528
  --> https://bugs.kde.org/attachment.cgi?id=100528=edit
crash with duplicating animation layer.

Backtrace 1:

Trying to move a stack of frames with alt or shift, fully reproducible.

Basically, I wanted to offset a walkcycle:

1. first duplicate the walkcycle layer.
2. then move the first few frames of the walkcycle to the back
3. then use the alt key on the first actual frame of the walkcycle to move the
full stack of frames to the first frame.
4. this will cause the crash. on restart, assuming you have saved after
dplicating, before offsetting, offsetting will work normally

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