My 16bit texture templates seem to crash Krit
Dmitry Kazakov
dimula73 at gmail.com
Tue Mar 12 06:58:20 UTC 2013
I can reproduce this crash also, but after the first brush stroke. It looks
like the assert happens because some loading code opens a transaction on
the paint device and doesn't close it. So opening one more transaction
causes an assert.
The crash happens with templates:
1) 16-bit float
2) 16-bit integer.
The crash doesn't happen with:
1) 8-bit integer
2) 32-bit float
On Mon, Mar 11, 2013 at 10:13 PM, Boudewijn Rempt <boud at valdyas.org> wrote:
> On Monday 11 March 2013 Mar, Simon Legrand wrote:
> > Hey. I didn't get a chance to even load a texture. For me just opening a
> > template from the preset screen cause a crash a few seconds after opening
> > the template. Try launching it and just selecting >texture
> > templates>1024x1024 16 bit,start painting and if you're like me you'll
> get
> > a crash. Otherwise... It's just a me thing... :)
> >
> > For some reason gdb does nothing here. It may be the install at work, not
> > sure. But I'm not able to launch krita through it for some reason. I'll
> try
> > from home when I have more time.
>
> Well, zut... I _can_ reproduce that here. What the deuce is going on here.
> Dmitry, do you have an idea?
>
> Thread 4 (Thread 0x7f9ba95d6700 (LWP 31871)):
> [KCrash Handler]
> #5 0x00007f9bc583bd25 in raise () from /lib64/libc.so.6
> #6 0x00007f9bc583d1a8 in abort () from /lib64/libc.so.6
> #7 0x00007f9bce3bcc14 in qt_message_output (msgType=msgType at entry=QtFatalMsg,
> buf=<optimized out>) at global/qglobal.cpp:2323
> #8 0x00007f9bce3bcdc8 in qt_message(QtMsgType, const char *, typedef
> __va_list_tag __va_list_tag *) (msgType=msgType at entry=QtFatalMsg,
> msg=msg at entry=0x7f9bce525ac8 "ASSERT: \"%s\" in file %s, line %d",
> ap=ap at entry=0x7f9ba95d5328) at global/qglobal.cpp:2369
> #9 0x00007f9bce3bcf54 in qFatal (msg=msg at entry=0x7f9bce525ac8 "ASSERT:
> \"%s\" in file %s, line %d") at global/qglobal.cpp:2552
> #10 0x00007f9bce3bcf9a in qt_assert (assertion=<optimized out>,
> file=<optimized out>, line=<optimized out>) at global/qglobal.cpp:2018
> #11 0x00007f9bcd4d44e6 in KisMementoManager::getMemento (this=0x310a990)
> at /home/boud/kde/src/calligra/krita/image/tiles3/kis_memento_manager.cc:238
> #12 0x00007f9bcd69b573 in getMemento (this=0x310a7e0) at
> /home/boud/kde/src/calligra/krita/image/tiles3/kis_tiled_data_manager.h:176
> #13 getMemento (this=0x310a7e0) at
> /home/boud/kde/src/calligra/krita/image/kis_datamanager.h:89
> #14 KisTransactionData::KisTransactionData (this=0x7f9ba36c4080, name=...,
> device=..., parent=<optimized out>) at
> /home/boud/kde/src/calligra/krita/image/kis_transaction_data.cpp:54
> #15 0x00007f9bcd504758 in KisTransaction::KisTransaction
> (this=0x7f9ba366e960, name=..., device=..., parent=0x0) at
> /home/boud/kde/src/calligra/krita/image/kis_transaction.h:39
> #16 0x00007f9bcd4f52f3 in KisPainter::beginTransaction
> (this=0x7f9ba95d5a10, transactionName=...) at
> /home/boud/kde/src/calligra/krita/image/kis_painter.cc:204
> #17 0x00007f9bcd620563 in
> KisIndirectPaintingSupport::mergeToLayerImpl<KisPostExecutionUndoAdapter>
> (this=this at entry=0x310a188, layer=..., undoAdapter=undoAdapter at entry=0x30e3590,
> transactionText=...) at
> /home/boud/kde/src/calligra/krita/image/kis_indirect_painting_support.cpp:144
> #18 0x00007f9bcd61f1fc in KisIndirectPaintingSupport::mergeToLayer
> (this=0x310a188, layer=..., undoAdapter=0x30e3590, transactionText=...) at
> /home/boud/kde/src/calligra/krita/image/kis_indirect_painting_support.cpp:121
> #19 0x00007f9bcdda47bb in
> KisPainterBasedStrokeStrategy::finishStrokeCallback (this=0x2e6a5e0) at
> /home/boud/kde/src/calligra/krita/ui/tool/strokes/kis_painter_based_stroke_strategy.cpp:154
> #20 0x00007f9bcd4bbe6f in run (this=<optimized out>) at
> /home/boud/kde/build/calligra/krita/image/../../../../src/calligra/krita/image/kis_stroke_job.h:39
> #21 KisUpdateJobItem::run (this=0x30eaa30) at
> /home/boud/kde/build/calligra/krita/image/../../../../src/calligra/krita/image/kis_update_job_item.h:59
> #22 0x00007f9bce3bac5d in QThreadPoolThread::run (this=0x7f9b9006ffa0) at
> concurrent/qthreadpool.cpp:107
> #23 0x00007f9bce3c708c in QThreadPrivate::start (arg=0x7f9b9006ffa0) at
> thread/qthread_unix.cpp:338
> #24 0x00007f9bce130e0e in start_thread () from /lib64/libpthread.so.0
> #25 0x00007f9bc58eb2cd in clone () from /lib64/libc.so.6
>
>
> --
> Boudewijn Rempt
> http://www.valdyas.org, http://www.krita.org, http://www.boudewijnrempt.nl
> _______________________________________________
> kimageshop mailing list
> kimageshop at kde.org
> https://mail.kde.org/mailman/listinfo/kimageshop
>
--
Dmitry Kazakov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kimageshop/attachments/20130312/7307a0ad/attachment.html>
More information about the kimageshop
mailing list