MVC branch initial impressions and list of bugs.

Wolthera griffinvalley at gmail.com
Mon Oct 27 12:14:23 UTC 2014


Weird crash with animation files, where having an animation in one file,
create a new regular file, and you see the frames from the animation file
in the docker, while the regular file is in focus. Then, pressing play on
the docker causes this crash:

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 0x7fdf44c387c0 (LWP 9564))]

Thread 7 (Thread 0x7fdf0ffff700 (LWP 9604)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fdf42045406 in QWaitCondition::wait(QMutex*, unsigned long) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007fdf420415eb in QSemaphore::acquire(int) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007fdf40ef8c3e in KisTileDataPooler::waitForWork
(this=this at entry=0x2594490)
at
/home/wolthera/kde4/src/calligra/krita/image/tiles3/kis_tile_data_pooler.cc:162
#4  0x00007fdf40ef900d in KisTileDataPooler::run (this=0x2594490) at
/home/wolthera/kde4/src/calligra/krita/image/tiles3/kis_tile_data_pooler.cc:184
#5  0x00007fdf42044f2f in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007fdf3cc3df6e in start_thread (arg=0x7fdf0ffff700) at
pthread_create.c:311
#7  0x00007fdf4432e9cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 6 (Thread 0x7fdf15cb2700 (LWP 9605)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fdf42045406 in QWaitCondition::wait(QMutex*, unsigned long) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007fdf420419f3 in QSemaphore::tryAcquire(int, int) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007fdf40f14d53 in KisTileDataSwapper::waitForWork (this=<optimized
out>) at
/home/wolthera/kde4/src/calligra/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#4  0x00007fdf40f14fea in KisTileDataSwapper::run (this=0x25944c8) at
/home/wolthera/kde4/src/calligra/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#5  0x00007fdf42044f2f in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007fdf3cc3df6e in start_thread (arg=0x7fdf15cb2700) at
pthread_create.c:311
#7  0x00007fdf4432e9cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7fdf20d1a700 (LWP 9610)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fdf42045406 in QWaitCondition::wait(QMutex*, unsigned long) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007fdf43012086 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#3  0x00007fdf42044f2f in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007fdf3cc3df6e in start_thread (arg=0x7fdf20d1a700) at
pthread_create.c:311
#5  0x00007fdf4432e9cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7fdf154b1700 (LWP 9611)):
#0  0x00007fdf44321f7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fdf3c7656a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fdf3c7657ac in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fdf42171a76 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007fdf421435ef in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007fdf421438e5 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007fdf4204288f in QThread::exec() () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007fdf42124d13 in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007fdf42044f2f in ?? () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007fdf3cc3df6e in start_thread (arg=0x7fdf154b1700) at
pthread_create.c:311
#10 0x00007fdf4432e9cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7fdee1fdf700 (LWP 13751)):
#0  0x00007fdf44321f7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fdf3c7656a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fdf3c765b0a in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fdf32c85b66 in ?? () from
/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fdf3c78a0f5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fdf3cc3df6e in start_thread (arg=0x7fdee1fdf700) at
pthread_create.c:311
#6  0x00007fdf4432e9cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fdf03fff700 (LWP 13752)):
#0  0x00007fdf44321f7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fdf3c7656a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fdf3c7657ac in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fdf3c7657f9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fdf3c78a0f5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fdf3cc3df6e in start_thread (arg=0x7fdf03fff700) at
pthread_create.c:311
#6  0x00007fdf4432e9cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7fdf44c387c0 (LWP 9564)):
[KCrash Handler]
#5  KisAnimationDoc::play (this=0x0) at
/home/wolthera/kde4/src/calligra/krita/ui/kis_animation_doc.cpp:955
#6  0x00007fdf18bfbec5 in KisTimeline::qt_static_metacall (_o=0x32466f0,
_c=1139711294, _id=6, _a=0x37) at
/home/wolthera/kde4/build/krita/plugins/extensions/dockers/animator/moc_kis_timeline.cpp:94
#7  0x00007fdf42158a58 in QMetaObject::activate(QObject*, QMetaObject
const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007fdf42b2fa32 in QAction::triggered(bool) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#9  0x00007fdf42b31403 in QAction::activate(QAction::ActionEvent) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#10 0x00007fdf42ee80a2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#11 0x00007fdf42ee81cc in QAbstractButton::mouseReleaseEvent(QMouseEvent*)
() from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#12 0x00007fdf42f9ed9a in QToolButton::mouseReleaseEvent(QMouseEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#13 0x00007fdf42b8531e in QWidget::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#14 0x00007fdf42b35dfc in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#15 0x00007fdf42b3c5ad in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#16 0x00007fdf43668e07 in KoApplication::notify (this=<optimized out>,
receiver=0x7498540, event=0x7fffc72c5190) at
/home/wolthera/kde4/src/calligra/krita/komvc/KoApplication.cpp:497
#17 0x00007fdf421448bd in QCoreApplication::notifyInternal(QObject*,
QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#18 0x00007fdf42b3bd63 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#19 0x00007fdf42bb07db in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#20 0x00007fdf42bb0079 in QApplication::x11ProcessEvent(_XEvent*) () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
#21 0x00007fdf42bd7922 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#22 0x00007fdf3c7653b6 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007fdf3c765708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007fdf3c7657ac in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007fdf42171a55 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#26 0x00007fdf42bd79d6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#27 0x00007fdf421435ef in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#28 0x00007fdf421438e5 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#29 0x00007fdf42148e5b in QCoreApplication::exec() () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#30 0x00007fdf4470c774 in kdemain (argc=<optimized out>, argv=<optimized
out>) at /home/wolthera/kde4/src/calligra/krita/main.cc:104
#31 0x00007fdf44255de5 in __libc_start_main (main=0x4006b0 <main(int,
char**)>, argc=1, ubp_av=0x7fffc72c5b58, init=<optimized out>,
fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffc72c5b48)
at libc-start.c:260
#32 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/23ae762e/attachment-0001.html>


More information about the kimageshop mailing list