MVC branch initial impressions and list of bugs.

Wolthera griffinvalley at gmail.com
Mon Oct 27 12:15:04 UTC 2014


Crash upon closing all active canvases:

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 0x7f4c5e9e87c0 (LWP 8753))]

Thread 7 (Thread 0x7f4c2e5c5700 (LWP 8792)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f4c5bdf3406 in QWaitCondition::wait(QMutex*, unsigned long) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f4c5bdef5eb in QSemaphore::acquire(int) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007f4c5aca6c3e in KisTileDataPooler::waitForWork
(this=this at entry=0x1d68da0)
at
/home/wolthera/kde4/src/calligra/krita/image/tiles3/kis_tile_data_pooler.cc:162
#4  0x00007f4c5aca700d in KisTileDataPooler::run (this=0x1d68da0) at
/home/wolthera/kde4/src/calligra/krita/image/tiles3/kis_tile_data_pooler.cc:184
#5  0x00007f4c5bdf2f2f in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f4c569e8f6e in start_thread (arg=0x7f4c2e5c5700) at
pthread_create.c:311
#7  0x00007f4c5e0de9cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 6 (Thread 0x7f4c2fdc8700 (LWP 8793)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f4c5bdf3406 in QWaitCondition::wait(QMutex*, unsigned long) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f4c5bdef9f3 in QSemaphore::tryAcquire(int, int) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007f4c5acc2d53 in KisTileDataSwapper::waitForWork (this=<optimized
out>) at
/home/wolthera/kde4/src/calligra/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#4  0x00007f4c5acc2fea in KisTileDataSwapper::run (this=0x1d68dd8) at
/home/wolthera/kde4/src/calligra/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#5  0x00007f4c5bdf2f2f in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f4c569e8f6e in start_thread (arg=0x7f4c2fdc8700) at
pthread_create.c:311
#7  0x00007f4c5e0de9cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7f4c3a9b5700 (LWP 8798)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f4c5bdf3406 in QWaitCondition::wait(QMutex*, unsigned long) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f4c5cdc0086 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#3  0x00007f4c5bdf2f2f in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f4c569e8f6e in start_thread (arg=0x7f4c3a9b5700) at
pthread_create.c:311
#5  0x00007f4c5e0de9cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f4c2f5c7700 (LWP 8799)):
#0  0x00007f4c565500ed in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f4c56550399 in g_mutex_lock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4c56510659 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4c565107ac in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4c5bf1fa76 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f4c5bef15ef in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f4c5bef18e5 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f4c5bdf088f in QThread::exec() () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f4c5bed2d13 in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f4c5bdf2f2f in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007f4c569e8f6e in start_thread (arg=0x7f4c2f5c7700) at
pthread_create.c:311
#11 0x00007f4c5e0de9cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f4be3b1e700 (LWP 16447)):
#0  0x00007f4c5e0d1f7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f4c565106a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4c56510b0a in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4c4ca30b66 in ?? () from
/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f4c565350f5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f4c569e8f6e in start_thread (arg=0x7f4be3b1e700) at
pthread_create.c:311
#6  0x00007f4c5e0de9cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f4be1daa700 (LWP 16448)):
#0  0x00007f4c569eaf84 in __GI___pthread_mutex_lock (mutex=0x60e0b90) at
pthread_mutex_lock.c:54
#1  0x00007f4c565503a1 in g_mutex_lock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4c5650fd59 in g_main_context_prepare () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4c565105c3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4c565107ac in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f4c565107f9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f4c565350f5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f4c569e8f6e in start_thread (arg=0x7f4be1daa700) at
pthread_create.c:311
#8  0x00007f4c5e0de9cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f4c5e9e87c0 (LWP 8753)):
[KCrash Handler]
#5  0x00007f4c5c934ac0 in QWidget::setParent(QWidget*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#6  0x00007f4c5d470749 in KoToolDocker::Private::recreateLayout
(this=0x1998e80, optionWidgetList=...) at
/home/wolthera/kde4/src/calligra/krita/komvc/KoToolDocker_p.cpp:81
#7  0x00007f4c5d41b7da in KoDockerManager::newOptionWidgets
(this=<optimized out>, optionWidgetList=...) at
/home/wolthera/kde4/src/calligra/krita/komvc/KoDockerManager.cpp:76
#8  0x00007f4c5bf06a58 in QMetaObject::activate(QObject*, QMetaObject
const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f4c58f0cf82 in
KoCanvasControllerWidget::toolOptionWidgetsChanged (this=<optimized out>,
_t1=...) at
/home/wolthera/kde4/build/libs/flake/KoCanvasControllerWidget.moc:111
#10 0x00007f4c58f0cf95 in KoCanvasControllerWidget::setToolOptionWidgets
(this=<optimized out>, widgetMap=...) at
/home/wolthera/kde4/src/calligra/libs/flake/KoCanvasControllerWidget.cpp:480
#11 0x00007f4c58f1df63 in KoToolManager::Private::detachCanvas
(this=0x1c01cc0, controller=controller at entry=0xed681d8) at
/home/wolthera/kde4/src/calligra/libs/flake/KoToolManager.cpp:451
#12 0x00007f4c58f1e042 in KoToolManager::removeCanvasController
(this=<optimized out>, controller=controller at entry=0xed681d8) at
/home/wolthera/kde4/src/calligra/libs/flake/KoToolManager.cpp:794
#13 0x00007f4c5db70cb9 in ~Private (this=0xf0f5070, __in_chrg=<optimized
out>) at /home/wolthera/kde4/src/calligra/krita/ui/kis_image_view.cpp:76
#14 KisImageView::~KisImageView (this=0xf267730, __in_chrg=<optimized out>)
at /home/wolthera/kde4/src/calligra/krita/ui/kis_image_view.cpp:157
#15 0x00007f4c5db70de9 in KisImageView::~KisImageView (this=0xf267730,
__in_chrg=<optimized out>) at
/home/wolthera/kde4/src/calligra/krita/ui/kis_image_view.cpp:158
#16 0x00007f4c5bf09308 in QObjectPrivate::deleteChildren() () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#17 0x00007f4c5c92fb37 in QWidget::~QWidget() () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#18 0x00007f4c5cd08989 in QMdiSubWindow::~QMdiSubWindow() () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#19 0x00007f4c5bf0ae08 in QObject::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#20 0x00007f4c5c93336b in QWidget::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#21 0x00007f4c5cd0928b in QMdiSubWindow::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#22 0x00007f4c5c8e3dfc in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#23 0x00007f4c5c8ea470 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#24 0x00007f4c5d416ed7 in KoApplication::notify (this=<optimized out>,
receiver=0xc5fc5e0, event=0x2c8d4b0) at
/home/wolthera/kde4/src/calligra/krita/komvc/KoApplication.cpp:497
#25 0x00007f4c5bef28bd in QCoreApplication::notifyInternal(QObject*,
QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#26 0x00007f4c5bef5e1f in
QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#27 0x00007f4c5bf20073 in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#28 0x00007f4c565103b6 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f4c56510708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f4c565107ac in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f4c5bf1fa55 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#32 0x00007f4c5c9859d6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#33 0x00007f4c5bef15ef in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#34 0x00007f4c5bef18e5 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#35 0x00007f4c5bef6e5b in QCoreApplication::exec() () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#36 0x00007f4c5e4bc774 in kdemain (argc=<optimized out>, argv=<optimized
out>) at /home/wolthera/kde4/src/calligra/krita/main.cc:104
#37 0x00007f4c5e005de5 in __libc_start_main (main=0x4006b0 <main(int,
char**)>, argc=1, ubp_av=0x7fff2c03b248, init=<optimized out>,
fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff2c03b238)
at libc-start.c:260
#38 0x00000000004006de in _start ()

On Mon, Oct 27, 2014 at 1:00 PM, Wolthera <griffinvalley at gmail.com> wrote:

> Current state of affairs:
>
> * settings became confused in this build.
> ** confirm(by pressing enter), in transform and crop doesn't work
> ** 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.
> ** Nor does the pop-up palette, rotate mode, or zoom.(briefly fixed after
> building on the 20th, but then randomly dissapeared upon deleting the
> kritarc file...)
> * many actions are missing from the view-menu(expected?)(grid-actions are
> missing)
> * 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.
> * Color is randomly not remembered between switching focus-canvas or
> tools.(returns to black... mayb have to do with color history being broken.)
> * 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)(20th of october didn't fix this)
> * 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)
> * undoing a selection caused a crash...(not reproducable)
> * crash on attempting to show grid!(reproducable, probly missing action)
> * 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
> * When clicking the new layer button, first we get LAG, then when lag
> ends, Krita has added 43 layers.(6 after slangkamp's layer fix)
> * Color History is broken (After some debugging, this is because
> kis_tool_paint.cc needs to connect a signal to the resource server, but it
> can't access the resource server on startup because it accesses it via the
> view, and there's no view on startup...)
> * Brush-engines are missing from preset-editor.
> * Trying to use the quick-selection-mask leads to: ASSERT (krita):
> "m_selectionDecoration" in file
> /home/wolthera/kde4/src/calligra/krita/ui/kis_selection_manager.cc, line 576
> * terminal: kbuildsycoca4(23108)
> KBuildServiceFactory::populateServiceTypes:
> "/usr/share/applications/shotwell-viewer.desktop" specifies undefined
> mimetype/servicetype "image/x-rwl"
> * when confirming edits on the toolbar after deleting krita.rc and
> kritarc, I end up with a toolbar called 'main toolbar<Krita>', which is
> filled with 'copy, cut and paste'.(this may be due to krita.rc not being
> renewed after delete...)
> * Brushes only seem to paint on only one activated layer. Any layers
> selected after are being ignored. The selected layer is only used for
> drawing if I switch tools.
> * The current color widget is missing.(called 'dual' in krita.rc)
> * The tools topmenu is sometimes called 'no-text'.
> * Krita.rc doesn't get installed in .kde/share/apps anymore, while not
> really a problem, if there IS a krita.rc in .kde/share/apps, it gets
> preference over the newer krita.rc, which is kinda useless.(may be in
> master as well)
>
> ---new---
> * though ctrl+z is fixed, the canvas-input settings don't always work.
> (infact, it breaks upon having multiple canvases)
> * When a layer was hidden, but then made visible again, the 'move to
> group/move from group' buttons are greyed out until another layer is
> selected, and then this layer is selected.
> * crash when importing .kpp via resource manager
> * crash when importing image as layer.
> * Occasionally there's a rogue unconnected zoom-widget in the status bar,
> next to the documents own zoom-widget.(not fixed, shows up when you close
> an image, and then open a new one.)
> * the peuso-infinite canvas doesn't work anymore. (just as I was getting
> used to it :( )
> * resize the canvas(not the image) to about 200x the width of the
> original. Zoom in, notice how you can't get to the edges.
> * crash when closing all images in subwindow mode, with all subwindows
> maximised.
> * Krita becomes really really confused when you delete a load of layer
> groups, and then undo them with cumulative undo. (order is confused)
> * crash when making flipbook.
> **In docker
> **In creation menu, multiple files.
> **In creation menu, 1 file.
> * crash when having an animation with frames opened, making a new generic
> document, finding there's still frames of the previous animation in the
> animation docker, and then pressing 'play'.
> * crash upon making a new regular file. (animation refactor related)
> **crash upon opening a regular file.
> **Somehow, creating an animation file first will prevent this from
> happening on regular files. I suspect something's wrong with the way
> animation checks for configuration setting.
>
> ---fixed & non-bugs---
> * had to empty build for this.
> * had to empty trash afterwards.
> * Wrap-around mode works well!
> * New view works great!
> ** Undo is shared between views wel!
> * crash when using the right-mouseclick(for me assigned to color-picker)
> while in a terminal that hovers above a Krita window.(fixed by sven)
> * Perspective grid tool works... but it's sublines are not drawn.(fixed by
> sven)
> * Actions misordered in File as well... (fixed by adding <Merge/> before
> seperator in the krita.rc)
> * 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?).(randomly fixed in 20th of october build...)
> * 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.(randomly fixed in 20th of october build, may have to do with reset
> kritarc/krita.rc)
> * crash after deleting kritarc in share/config and trying to configure the
> toolbars. (this only happened when there was no active canvas...)(fixed :) )
> * * So is the slider-pop-up.(fixed somehow)
> * ctrl+z doesn't work. (works after deleting krita.rc in the
> share/apps/krita folder, breaks next restart later again, then works after
> adding krita.rc to .kde/share/apps/krita again???) (okay, ctrl+z breaking
> happens whenever there's two canvases. If one canvas is removed, and on the
> singular canvas you doodle, the ctrl+z works again, and then on next
> restart is also works with multiple views and... I think I need to do a
> careful empirical test of this one)(it seems none of the calligra-shortcuts
> are working at all, ctrl+s for example, doesn't work either) (fixed by
> boudewijn)
>
> I will post the crash reports in a bit in seperate e-mails!
>
> --
> Wolthera
>



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


More information about the kimageshop mailing list