MVC branch initial impressions and list of bugs.

Wolthera griffinvalley at gmail.com
Thu Oct 16 17:08:51 UTC 2014


Crash upon hitting the assistant-tool in the tools docker.

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 0x7ffe8f9c87c0 (LWP 18233))]

Thread 12 (Thread 0x7ffe5bfff700 (LWP 18300)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffe8cddf406 in QWaitCondition::wait(QMutex*, unsigned long) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007ffe8cddb5eb in QSemaphore::acquire(int) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007ffe8ba1ed0e in KisTileDataPooler::waitForWork
(this=this at entry=0x2f30a10)
at
/home/wolthera/kde4/src/calligra/krita/image/tiles3/kis_tile_data_pooler.cc:162
#4  0x00007ffe8ba1f0dd in KisTileDataPooler::run (this=0x2f30a10) at
/home/wolthera/kde4/src/calligra/krita/image/tiles3/kis_tile_data_pooler.cc:184
#5  0x00007ffe8cddef2f in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007ffe879fff6e in start_thread (arg=0x7ffe5bfff700) at
pthread_create.c:311
#7  0x00007ffe8f0be9cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 11 (Thread 0x7ffe612db700 (LWP 18301)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffe8cddf406 in QWaitCondition::wait(QMutex*, unsigned long) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007ffe8cddb9f3 in QSemaphore::tryAcquire(int, int) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007ffe8ba3ae23 in KisTileDataSwapper::waitForWork (this=<optimized
out>) at
/home/wolthera/kde4/src/calligra/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#4  0x00007ffe8ba3b0ba in KisTileDataSwapper::run (this=0x2f30a48) at
/home/wolthera/kde4/src/calligra/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#5  0x00007ffe8cddef2f in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007ffe879fff6e in start_thread (arg=0x7ffe612db700) at
pthread_create.c:311
#7  0x00007ffe8f0be9cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 10 (Thread 0x7ffe6be5f700 (LWP 18305)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffe8cddf406 in QWaitCondition::wait(QMutex*, unsigned long) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007ffe8ddac086 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#3  0x00007ffe8cddef2f in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007ffe879fff6e in start_thread (arg=0x7ffe6be5f700) at
pthread_create.c:311
#5  0x00007ffe8f0be9cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 9 (Thread 0x7ffe60ada700 (LWP 18306)):
#0  0x00007ffe875670ea in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007ffe87567399 in g_mutex_lock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffe87526d59 in g_main_context_prepare () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffe875275c3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffe875277ac in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffe8cf0ba76 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007ffe8cedd5ef in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007ffe8cedd8e5 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007ffe8cddc88f in QThread::exec() () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007ffe8cebed13 in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007ffe8cddef2f in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x00007ffe879fff6e in start_thread (arg=0x7ffe60ada700) at
pthread_create.c:311
#12 0x00007ffe8f0be9cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 8 (Thread 0x7ffe37fff700 (LWP 18369)):
#0  0x00007ffe8f0b1f7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ffe875276a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffe87527b0a in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffe7da47b66 in ?? () from
/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007ffe8754c0f5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffe879fff6e in start_thread (arg=0x7ffe37fff700) at
pthread_create.c:311
#6  0x00007ffe8f0be9cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 7 (Thread 0x7ffe4cffa700 (LWP 18370)):
#0  0x00007ffe8f0b1f7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ffe875276a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffe875277ac in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffe875277f9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffe8754c0f5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffe879fff6e in start_thread (arg=0x7ffe4cffa700) at
pthread_create.c:311
#6  0x00007ffe8f0be9cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 6 (Thread 0x7ffe03fff700 (LWP 29950)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007ffe8cddf3e4 in QWaitCondition::wait(QMutex*, unsigned long) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007ffe8cdd28a5 in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007ffe8cddef2f in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007ffe879fff6e in start_thread (arg=0x7ffe03fff700) at
pthread_create.c:311
#5  0x00007ffe8f0be9cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7ffe037fe700 (LWP 30138)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007ffe8cddf3e4 in QWaitCondition::wait(QMutex*, unsigned long) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007ffe8cdd28a5 in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007ffe8cddef2f in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007ffe879fff6e in start_thread (arg=0x7ffe037fe700) at
pthread_create.c:311
#5  0x00007ffe8f0be9cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7ffdf7f1f700 (LWP 30139)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007ffe8cddf3e4 in QWaitCondition::wait(QMutex*, unsigned long) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007ffe8cdd28a5 in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007ffe8cddef2f in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007ffe879fff6e in start_thread (arg=0x7ffdf7f1f700) at
pthread_create.c:311
#5  0x00007ffe8f0be9cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7ffe1b9e8700 (LWP 30140)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007ffe8cddf3e4 in QWaitCondition::wait(QMutex*, unsigned long) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007ffe8cdd28a5 in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007ffe8cddef2f in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007ffe879fff6e in start_thread (arg=0x7ffe1b9e8700) at
pthread_create.c:311
#5  0x00007ffe8f0be9cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7ffe18c33700 (LWP 30141)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007ffe8cddf3e4 in QWaitCondition::wait(QMutex*, unsigned long) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007ffe8cdd28a5 in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007ffe8cddef2f in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007ffe879fff6e in start_thread (arg=0x7ffe18c33700) at
pthread_create.c:311
#5  0x00007ffe8f0be9cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7ffe8f9c87c0 (LWP 18233)):
[KCrash Handler]
#5  QList (l=<error reading variable: Cannot access memory at address
0x18>, this=0x7fffc1e7ac70) at /usr/include/qt4/QtCore/qlist.h:122
#6  QForeachContainer (t=<error reading variable: Cannot access memory at
address 0x18>, this=0x7fffc1e7ac70) at
/usr/include/qt4/QtCore/qglobal.h:2367
#7  KisPaintingAssistantsDecoration::handles (this=0x0) at
/home/wolthera/kde4/src/calligra/krita/ui/kis_painting_assistants_decoration.cpp:120
#8  0x00007ffe6908be37 in KisRulerAssistantTool::activate (this=0x9978170,
toolActivation=<optimized out>, shapes=...) at
/home/wolthera/kde4/src/calligra/krita/plugins/assistants/RulerAssistant/kis_ruler_assistant_tool.cc:67
#9  0x00007ffe89f2bf16 in KoToolManager::Private::postSwitchTool
(this=this at entry=0x2dd72f0, temporary=temporary at entry=false) at
/home/wolthera/kde4/src/calligra/libs/flake/KoToolManager.cpp:329
#10 0x00007ffe89f2c876 in KoToolManager::Private::switchTool
(this=0x2dd72f0, tool=0x9978170, temporary=<optimized out>) at
/home/wolthera/kde4/src/calligra/libs/flake/KoToolManager.cpp:260
#11 0x00007ffe89f2d63f in KoToolManager::Private::toolActivated
(this=0x2dd72f0, tool=0x2cc5f70) at
/home/wolthera/kde4/src/calligra/libs/flake/KoToolManager.cpp:429
#12 0x00007ffe89f307d0 in KoToolManager::qt_static_metacall (_o=0x2de42c0,
_id=0, _a=0xa1e0c01, _c=<optimized out>) at
/home/wolthera/kde4/build/libs/flake/KoToolManager.moc:98
#13 0x00007ffe8cef2a58 in QMetaObject::activate(QObject*, QMetaObject
const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#14 0x00007ffe89f28d7f in toolActivated (_t1=0x2cc5f70, this=<optimized
out>) at /home/wolthera/kde4/build/libs/flake/KoToolManager_p.moc:103
#15 ToolHelper::buttonPressed (this=<optimized out>) at
/home/wolthera/kde4/src/calligra/libs/flake/KoToolManager_p.cpp:49
#16 0x00007ffe89f28da6 in ToolHelper::qt_static_metacall (_o=<optimized
out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
/home/wolthera/kde4/build/libs/flake/KoToolManager_p.moc:54
#17 0x00007ffe8cef2a58 in QMetaObject::activate(QObject*, QMetaObject
const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#18 0x00007ffe8df1d732 in QAbstractButton::clicked(bool) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#19 0x00007ffe8dc80f73 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#20 0x00007ffe8dc820e3 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#21 0x00007ffe8dc821cc in QAbstractButton::mouseReleaseEvent(QMouseEvent*)
() from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#22 0x00007ffe8dd38d9a in QToolButton::mouseReleaseEvent(QMouseEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#23 0x00007ffe8d91f31e in QWidget::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#24 0x00007ffe8d8cfdfc in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#25 0x00007ffe8d8d65ad in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#26 0x00007ffe8e402ed7 in KoApplication::notify (this=<optimized out>,
receiver=0x33a7760, event=0x7fffc1e7b660) at
/home/wolthera/kde4/src/calligra/krita/komvc/KoApplication.cpp:497
#27 0x00007ffe8cede8bd in QCoreApplication::notifyInternal(QObject*,
QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#28 0x00007ffe8d8d5d63 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#29 0x00007ffe8d94a7db in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#30 0x00007ffe8d94a079 in QApplication::x11ProcessEvent(_XEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#31 0x00007ffe8d971922 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#32 0x00007ffe875273b6 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007ffe87527708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007ffe875277ac in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007ffe8cf0ba55 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#36 0x00007ffe8d9719d6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#37 0x00007ffe8cedd5ef in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#38 0x00007ffe8cedd8e5 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#39 0x00007ffe8cee2e5b in QCoreApplication::exec() () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#40 0x00007ffe8f49c774 in kdemain (argc=<optimized out>, argv=<optimized
out>) at /home/wolthera/kde4/src/calligra/krita/main.cc:104
#41 0x00007ffe8efe5de5 in __libc_start_main (main=0x4006b0 <main(int,
char**)>, argc=1, ubp_av=0x7fffc1e7c028, init=<optimized out>,
fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffc1e7c018)
at libc-start.c:260
#42 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/ca458fff/attachment-0001.html>


More information about the kimageshop mailing list