MVC branch initial impressions and list of bugs.

Wolthera griffinvalley at gmail.com
Thu Oct 16 17:09:46 UTC 2014


second crash:
Crash when attempting to show the grid by hitting return, as the grid-tool
is active:

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 0x7f011f1e87c0 (LWP 447))]

Thread 7 (Thread 0x7f00eaffd700 (LWP 497)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f011c5ff406 in QWaitCondition::wait(QMutex*, unsigned long) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f011c5fb5eb in QSemaphore::acquire(int) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007f011b23ed0e in KisTileDataPooler::waitForWork
(this=this at entry=0x19bf7a0)
at
/home/wolthera/kde4/src/calligra/krita/image/tiles3/kis_tile_data_pooler.cc:162
#4  0x00007f011b23f0dd in KisTileDataPooler::run (this=0x19bf7a0) at
/home/wolthera/kde4/src/calligra/krita/image/tiles3/kis_tile_data_pooler.cc:184
#5  0x00007f011c5fef2f in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f011721ff6e in start_thread (arg=0x7f00eaffd700) at
pthread_create.c:311
#7  0x00007f011e8de9cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 6 (Thread 0x7f00f0c30700 (LWP 498)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f011c5ff406 in QWaitCondition::wait(QMutex*, unsigned long) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f011c5fb9f3 in QSemaphore::tryAcquire(int, int) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007f011b25ae23 in KisTileDataSwapper::waitForWork (this=<optimized
out>) at
/home/wolthera/kde4/src/calligra/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#4  0x00007f011b25b0ba in KisTileDataSwapper::run (this=0x19bf7d8) at
/home/wolthera/kde4/src/calligra/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#5  0x00007f011c5fef2f in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f011721ff6e in start_thread (arg=0x7f00f0c30700) at
pthread_create.c:311
#7  0x00007f011e8de9cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7f00fb67f700 (LWP 502)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f011c5ff406 in QWaitCondition::wait(QMutex*, unsigned long) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f011d5cc086 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#3  0x00007f011c5fef2f in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f011721ff6e in start_thread (arg=0x7f00fb67f700) at
pthread_create.c:311
#5  0x00007f011e8de9cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f00ea7fc700 (LWP 503)):
#0  0x00007f0117222055 in __GI___pthread_mutex_lock (mutex=0x7f00d40119c0)
at pthread_mutex_lock.c:95
#1  0x00007f0116d873a1 in g_mutex_lock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0116d4712c in g_main_context_check () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0116d4763b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f0116d477ac in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f011c72ba76 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f011c6fd5ef in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f011c6fd8e5 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f011c5fc88f in QThread::exec() () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f011c6ded13 in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007f011c5fef2f in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x00007f011721ff6e in start_thread (arg=0x7f00ea7fc700) at
pthread_create.c:311
#12 0x00007f011e8de9cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f00cb5f4700 (LWP 555)):
#0  __pthread_mutex_unlock_usercnt (mutex=0x20bb010, decr=1) at
pthread_mutex_unlock.c:58
#1  0x00007f0116d873d1 in g_mutex_unlock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0116d46830 in g_main_context_acquire () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0116d47565 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f0116d47b0a in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f010d267b66 in ?? () from
/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x00007f0116d6c0f5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f011721ff6e in start_thread (arg=0x7f00cb5f4700) at
pthread_create.c:311
#8  0x00007f011e8de9cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f00c9917700 (LWP 557)):
#0  0x00007f011e8d1f7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f0116d476a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0116d477ac in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0116d477f9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f0116d6c0f5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f011721ff6e in start_thread (arg=0x7f00c9917700) at
pthread_create.c:311
#6  0x00007f011e8de9cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f011f1e87c0 (LWP 447)):
[KCrash Handler]
#5  0x00007f011d0eb2ed in QAction::setChecked(bool) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#6  0x00007f011e141bcd in KisGridManager::checkVisibilityAction
(this=<optimized out>, check=<optimized out>) at
/home/wolthera/kde4/src/calligra/krita/ui/canvas/kis_grid_manager.cpp:136
#7  0x00007f00f8f966ed in KisToolGrid::keyPressEvent (this=0x8192bc0,
event=0x7fff2f925b70) at
/home/wolthera/kde4/src/calligra/krita/plugins/tools/tool_grid/kis_tool_grid.cc:168
#8  0x00007f011e34c2e1 in KisToolInvocationAction::begin
(this=this at entry=0x1ee6c50,
shortcut=<optimized out>, event=event at entry=0x0) at
/home/wolthera/kde4/src/calligra/krita/ui/input/kis_tool_invocation_action.cpp:108
#9  0x00007f011e356901 in
KisShortcutMatcher::tryRunSingleActionShortcutImpl<Qt::Key, QKeyEvent>
(this=this at entry=0x655f340, param=Qt::Key_Return, event=event at entry=0x0,
keysState=...) at
/home/wolthera/kde4/src/calligra/krita/ui/input/kis_shortcut_matcher.cpp:355
#10 0x00007f011e354e7e in KisShortcutMatcher::tryRunKeyShortcut
(this=this at entry=0x655f340, key=Qt::Key_Return, event=event at entry=0x0) at
/home/wolthera/kde4/src/calligra/krita/ui/input/kis_shortcut_matcher.cpp:336
#11 0x00007f011e355354 in KisShortcutMatcher::keyPressed (this=0x655f340,
key=Qt::Key_Return) at
/home/wolthera/kde4/src/calligra/krita/ui/input/kis_shortcut_matcher.cpp:116
#12 0x00007f011e348b3b in KisInputManager::eventFilter (this=0x6940640,
object=<optimized out>, event=0x7fff2f926350) at
/home/wolthera/kde4/src/calligra/krita/ui/input/kis_input_manager.cpp:524
#13 0x00007f011c6fea26 in
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#14 0x00007f011d0efddc in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#15 0x00007f011d0f76c1 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#16 0x00007f011dc22ed7 in KoApplication::notify (this=<optimized out>,
receiver=0x6917a80, event=0x7fff2f926350) at
/home/wolthera/kde4/src/calligra/krita/komvc/KoApplication.cpp:497
#17 0x00007f011c6fe8bd in QCoreApplication::notifyInternal(QObject*,
QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#18 0x00007f011d12126c in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#19 0x00007f011d0f7743 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#20 0x00007f011dc22ed7 in KoApplication::notify (this=<optimized out>,
receiver=0x6917a80, event=0x7fff2f926350) at
/home/wolthera/kde4/src/calligra/krita/komvc/KoApplication.cpp:497
#21 0x00007f011c6fe8bd in QCoreApplication::notifyInternal(QObject*,
QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#22 0x00007f011d18ee19 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#23 0x00007f011d18f1b9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#24 0x00007f011d169207 in QApplication::x11ProcessEvent(_XEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#25 0x00007f011d191922 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#26 0x00007f0116d473b6 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f0116d47708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f0116d477ac in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f011c72ba55 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#30 0x00007f011d1919d6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#31 0x00007f011c6fd5ef in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#32 0x00007f011c6fd8e5 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#33 0x00007f011c702e5b in QCoreApplication::exec() () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#34 0x00007f011ecbc774 in kdemain (argc=<optimized out>, argv=<optimized
out>) at /home/wolthera/kde4/src/calligra/krita/main.cc:104
#35 0x00007f011e805de5 in __libc_start_main (main=0x4006b0 <main(int,
char**)>, argc=1, ubp_av=0x7fff2f926f28, init=<optimized out>,
fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff2f926f18)
at libc-start.c:260
#36 0x00000000004006de in _start ()

On Thu, Oct 16, 2014 at 7:06 PM, Wolthera <griffinvalley at gmail.com> wrote:

> Okay, so the Multi view control branch for Krita has finally entered
> testing stage, so I build it and started poking at it:
>
> Some notes for those who want to try it out themselves:
>
> * had to empty build for this.
> * had to empty trash afterwards.
>
> otherwise it just creates build errors.
>
> Now for the notes:
>
> * settings became confused in this build.
> ** ctrl+z doesn't work.
> ** confirm(by pressing enter), in transform and crop doesn't work
> ** Nor does the pop-up palette, rotate mode, or zoom.
> ** Top-bar misses actions.
> *** Undo freehand brush-stroke is only availeble in file<calligra>, not in
> brushes and stuff<krita>
> *** The same for zooming, and brush smoothening(!)
> ** Activate linetool is greyed out in preferences.
> * many actions are missing from the view-menu(expected?)(grid-actions are
> missing)
> * Actions misordered in File as well...
> * Slowdowns on focussing windows/canvases.(gnome thinks it froze and is
> asking me whether I would like to kill Krita)
> ** closing preferences and going to canvas will cause slowdown.
> ** going between multiple documents will cause slowdown.
> ** Going to an outside program and coming back in will also cause slowdown.
> * Assistants are broken and cause crash.
> * General slowdown on selection and geometric tools. (It tags notably
> between confirm and actual drawing, feels similar to the
> layer-gui-update-lag that slangkamp had to fix kisview for, maybe it's
> trying too hard to figure out on which canvas it's trying to paint?)(only
> happens in tabbed mode).
> * New view works great!
> ** Undo is shared between views wel!
> ** Color is randomly not remembered between switching
> focus-canvas.(returns to black...)
> * Tiled view works okay.
> ** However, it gets a little strange when trying to resize the canvas
> windows. (asif it's trying to snap constantly)
> ** Painting between canvases works great, adjusting the navigation between
> canvases doesn't(lag)
> ** Overview docker works great between canvasses, (but again, super-lag on
> switching focus canvas)
> * Closing a view is super-slow.
> * When using subwindows, when Krita is closed down, and then restarted,
> and multiple documents are opened, Krita does not recognise that they
> should be subwindowed. Nor does it draw tabs. If you select Tiled-view in
> the windows submenu, it subwindows them correctly.
> * Odd bug: Select a tool(example circle) in one view, paint with it on
> another. Then go to the other view, paint again, undo. Go back to first
> view, paint, notice that it only uses the freehand brush. No switching of
> tools will actually happen in the first view, only in the second.
> (sometimes it works the other way around, it seems, the common thread is
> that if a tool has been changed in one cnavas, the other canvas doesn't
> understand this, and it results in the other canvas not being able to
> change tools anymore)
> ** As well, the tool options with this bug will be garbled, as if the
> tool-options where not switched out, but just painted on top of each other.
> * Wrap-around mode works well!
> * Perspective grid tool works... but it's sublines are not drawn.
> * undoing a selection caused a crash...(not reproducable)
> * crash on attempting to show grid!(reproducable, probly missing action)
> * crash when using the right-mouseclick(for me assigned to color-picker)
> while in a terminal that hovers above a Krita window.
> * Terminal complains about color slider docker being assigned a new layout
> constantly(proly my fault)
> * Terminal complains about this: krita(2941)
> KWidgetItemDelegateEventListener::eventFilter: User of KWidgetItemDelegate
> should not delete widgets created by createItemWidgets! (repeated like, 20
> times each time you start up Krita)
> * Terminal complains about paintop presets: krita(3626)
> KisPaintopBox::setCurrentPaintop: current paintop  "Basic_tip_default"  was
> not set, not supported by colorspace
>
> tl;dr: The problems can be subdivided into several catagories:
> 1) Hotkeys, settings and missing actions.
> 2) Confusion between canvasses.
> 3) Slowdown.
> 4) Miscelaneous.
>
> I will sent the crash-reports in seperate mails after.
>
> --
> Wolthera
>



-- 
Wolthera
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kimageshop/attachments/20141016/7dc7ab24/attachment-0001.html>


More information about the kimageshop mailing list