[krita] [Bug 357987] Krita closes itself immediately after trying to load the specified file

2016-01-20 Thread Boudewijn Rempt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=357987

Boudewijn Rempt  changed:

   What|Removed |Added

  Latest Commit|http://commits.kde.org/call |http://commits.kde.org/krit
   |igra/d664bb98d7882e5f63616b |a/8f7603ccd2a013695e5737c5a
   |a08c8876ab5eacc886  |8b9058885c2f041

--- Comment #9 from Boudewijn Rempt  ---
Git commit 8f7603ccd2a013695e5737c5a8b9058885c2f041 by Boudewijn Rempt.
Committed on 20/01/2016 at 11:10.
Pushed by rempt into branch 'master'.

If the clone layers clone a layer above the clones in the stack,
the original isn't available during loading. Krita shouldn't recalculate
the project at this point, but merging already starts before the
original is available, so add a temporary dummy fallback paint
device that can be used until the original becomes available.

M  +4-2krita/image/kis_clone_layer.cpp

http://commits.kde.org/krita/8f7603ccd2a013695e5737c5a8b9058885c2f041

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 357987] Krita closes itself immediately after trying to load the specified file

2016-01-20 Thread Boudewijn Rempt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=357987

Boudewijn Rempt  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|CONFIRMED   |RESOLVED
  Latest Commit||http://commits.kde.org/call
   ||igra/d664bb98d7882e5f63616b
   ||a08c8876ab5eacc886

--- Comment #8 from Boudewijn Rempt  ---
Git commit d664bb98d7882e5f63616ba08c8876ab5eacc886 by Boudewijn Rempt.
Committed on 20/01/2016 at 11:03.
Pushed by rempt into branch 'calligra/2.9'.

If the clone layers clone a layer above the clones in the stack,
the original isn't available during loading. Krita shouldn't recalculate
the project at this point, but merging already starts before the
original is available, so add a temporary dummy fallback paint
device that can be used until the original becomes available.

M  +4-2krita/image/kis_clone_layer.cpp

http://commits.kde.org/calligra/d664bb98d7882e5f63616ba08c8876ab5eacc886

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 357987] Krita closes itself immediately after trying to load the specified file

2016-01-20 Thread Boudewijn Rempt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=357987

--- Comment #7 from Boudewijn Rempt  ---
Hm, it actually hasn't got anything to do with fill layers at all -- the clones
don't seem to be from the fill, but a single paint layer.

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 357987] Krita closes itself immediately after trying to load the specified file

2016-01-20 Thread Boudewijn Rempt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=357987

--- Comment #6 from Boudewijn Rempt  ---
Looks we also should consider saving the pattern in the generator layer,
because just having the filename there is going to cause big trouble.

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 357987] Krita closes itself immediately after trying to load the specified file

2016-01-20 Thread Boudewijn Rempt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=357987

--- Comment #5 from Boudewijn Rempt  ---
It's not simply that fill layers or clone layers with fill layers are broken,
there's something more going on.

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 357987] Krita closes itself immediately after trying to load the specified file

2016-01-20 Thread Boudewijn Rempt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=357987

Boudewijn Rempt  changed:

   What|Removed |Added

 CC||b...@valdyas.org
 Status|UNCONFIRMED |CONFIRMED
 Ever confirmed|0   |1

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 357987] Krita closes itself immediately after trying to load the specified file

2016-01-20 Thread Boudewijn Rempt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=357987

--- Comment #4 from Boudewijn Rempt  ---
Crash with the original file:

#0  0x76ce071e in KisCloneLayer::original() const (this=) at /home/boud/kde/src/calligra/krita/image/kis_clone_layer.cpp:116
#1  0x76d4d65f in KisLayer::projection() const (this=0x37a0730) at
/home/boud/kde/src/calligra/krita/image/kis_layer.cc:717
#2  0x76d5527c in KisLayerProjectionPlane::apply(KisPainter*, QRect
const&) (this=0x31956b0, painter=0x7fffc77fdd20, rect=...)
at
/home/boud/kde/src/calligra/krita/image/kis_layer_projection_plane.cpp:52
#3  0x76d19873 in KisAsyncMerger::startMerge(KisBaseRectsWalker&, bool)
(rect=..., leaf=..., this=0x36c35b0) at
/home/boud/kde/src/calligra/krita/image/kis_async_merger.cpp:344
#4  0x76d19873 in KisAsyncMerger::startMerge(KisBaseRectsWalker&, bool)
(this=this@entry=0x36c35b0, walker=..., notifyClones=notifyClones@entry=true)
at /home/boud/kde/src/calligra/krita/image/kis_async_merger.cpp:272
#5  0x76c69413 in KisUpdateJobItem::run() (this=0x36c3570) at
/home/boud/kde/build/calligra/krita/image/../../../../src/calligra/krita/image/kis_update_job_item.h:77
#6  0x76c69413 in KisUpdateJobItem::run() (this=0x36c3570) at
/home/boud/kde/build/calligra/krita/image/../../../../src/calligra/krita/image/kis_update_job_item.h:58
#7  0x71637ace in QThreadPoolThread::run() (this=0x36e9990) at
concurrent/qthreadpool.cpp:108
#8  0x71643bbf in QThreadPrivate::start(void*) (arg=0x36e9990) at
thread/qthread_unix.cpp:349
#9  0x713ad0a4 in start_thread () at /lib64/libpthread.so.0
#10 0x7037404d in clone () at /lib64/libc.so.6

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 357987] Krita closes itself immediately after trying to load the specified file

2016-01-15 Thread Igor S . via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=357987

--- Comment #3 from Igor S.  ---
Thank you, glad to know, that the file can be just unzipped :-)

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 357987] Krita closes itself immediately after trying to load the specified file

2016-01-15 Thread wolthera via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=357987

wolthera  changed:

   What|Removed |Added

 CC||griffinval...@gmail.com

--- Comment #2 from wolthera  ---
Created attachment 96656
  --> https://bugs.kde.org/attachment.cgi?id=96656&action=edit
crashing file with generator layer removed.

Yeah, crashes for me as well:
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from
kdeinit
sock_file=/run/user/1000/kdeinit5__0
QFile::at: Cannot set file position 165222
QFile::at: Cannot set file position 199641
QFile::at: Cannot set file position 174439
QFile::at: Cannot set file position 199641
QFile::at: Cannot set file position 174498
QFile::at: Cannot set file position 199641
QFile::at: Cannot set file position 149526
QFile::at: Cannot set file position 199641
QFile::at: Cannot set file position 156404
QFile::at: Cannot set file position 199641
QFile::at: Cannot set file position 156463
QFile::at: Cannot set file position 199641
Lcms2 error:  11 not an ICC profile, invalid signature
Lcms2 error:  11 not an ICC profile, invalid signature
QFile::at: Cannot set file position 138379
QFile::at: Cannot set file position 199641
QFile::at: Cannot set file position 140708
QFile::at: Cannot set file position 199641
QFile::at: Cannot set file position 140767
QFile::at: Cannot set file position 199641
Lcms2 error:  11 not an ICC profile, invalid signature
Lcms2 error:  11 not an ICC profile, invalid signature
QFile::at: Cannot set file position 119347
QFile::at: Cannot set file position 199641
QFile::at: Cannot set file position 129561
QFile::at: Cannot set file position 199641
QFile::at: Cannot set file position 129620
QFile::at: Cannot set file position 199641
Lcms2 error:  11 not an ICC profile, invalid signature
Lcms2 error:  11 not an ICC profile, invalid signature
QFile::at: Cannot set file position 104384
QFile::at: Cannot set file position 199641
QFile::at: Cannot set file position 110529
QFile::at: Cannot set file position 199641
QFile::at: Cannot set file position 110588
QFile::at: Cannot set file position 199641
Lcms2 error:  11 not an ICC profile, invalid signature
Lcms2 error:  11 not an ICC profile, invalid signature
QFile::at: Cannot set file position 81037
QFile::at: Cannot set file position 199641
QFile::at: Cannot set file position 95567
QFile::at: Cannot set file position 199641
QFile::at: Cannot set file position 95625
QFile::at: Cannot set file position 199641
Lcms2 error:  11 not an ICC profile, invalid signature
Lcms2 error:  11 not an ICC profile, invalid signature
QFile::at: Cannot set file position 64646
QFile::at: Cannot set file position 199641
QFile::at: Cannot set file position 72221
QFile::at: Cannot set file position 199641
QFile::at: Cannot set file position 72279
QFile::at: Cannot set file position 199641
Lcms2 error:  11 not an ICC profile, invalid signature
Lcms2 error:  11 not an ICC profile, invalid signature
QFile::at: Cannot set file position 45472
QFile::at: Cannot set file position 199641
QFile::at: Cannot set file position 55830
QFile::at: Cannot set file position 199641
QFile::at: Cannot set file position 55888
QFile::at: Cannot set file position 199641
Lcms2 error:  11 not an ICC profile, invalid signature
Lcms2 error:  11 not an ICC profile, invalid signature
QFile::at: Cannot set file position 28663
QFile::at: Cannot set file position 199641
QFile::at: Cannot set file position 36656
QFile::at: Cannot set file position 199641
QFile::at: Cannot set file position 36714
QFile::at: Cannot set file position 199641
Lcms2 error:  11 not an ICC profile, invalid signature
Lcms2 error:  11 not an ICC profile, invalid signature
The X11 connection broke: I/O error (code 1)
XIO:  fatal IO error 9 (Bad file descriptor) on X server ":0"
  after 2297 requests (2297 known processed) with 0 events remaining.
QFile::at: Cannot set file position 0
Unable to start Dr. Konqi

You can open Krita files with an unzipper, which I did, and I removed the
generator layer(fill layer) from maindoc.xml, which did make it open in Krita.
I am not sure if it is a corrupted file or that generator layer loading is
broken, but you can work further with the fixed file.

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 357987] Krita closes itself immediately after trying to load the specified file

2016-01-14 Thread Igor S . via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=357987

--- Comment #1 from Igor S.  ---
Created attachment 96636
  --> https://bugs.kde.org/attachment.cgi?id=96636&action=edit
This is the file that forces Krita to quit

-- 
You are receiving this mail because:
You are watching all bug changes.