[krita] [Bug 413444] Opening Photoshop file causes crash

2019-11-07 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=413444

Boudewijn Rempt  changed:

   What|Removed |Added

 CC||m...@ben-xo.com

--- Comment #35 from Boudewijn Rempt  ---
*** Bug 413906 has been marked as a duplicate of this bug. ***

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

[krita] [Bug 413444] Opening Photoshop file causes crash

2019-11-05 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=413444

--- Comment #34 from Boudewijn Rempt  ---
Thanks for testing!

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

[krita] [Bug 413444] Opening Photoshop file causes crash

2019-11-05 Thread Stephen Bennington
https://bugs.kde.org/show_bug.cgi?id=413444

--- Comment #33 from Stephen Bennington  ---
Hi,
I just downloaded your build #194 and it works Ok for opening PSD files.
Well done you guys - you are very clever.

Stephen

> On 4 Nov 2019, at 11:49, Boudewijn Rempt  wrote:
> 
> https://bugs.kde.org/show_bug.cgi?id=413444
> 
> Boudewijn Rempt  changed:
> 
>   What|Removed |Added
> 
>  Latest Commit|https://invent.kde.org/kde/ |https://invent.kde.org/kde/
>   |krita/commit/959e4e355f685b |krita/commit/331426cd3b7b26
>   |3e68266d1263a7f8bd24c7f800  |ab6474a4ac60d5bff88e55ac5d
> 
> --- Comment #32 from Boudewijn Rempt  ---
> Git commit 331426cd3b7b26ab6474a4ac60d5bff88e55ac5d by Boudewijn Rempt.
> Committed on 04/11/2019 at 11:49.
> Pushed by rempt into branch 'krita/4.2'.
> 
> Work around a bug in clang
> 
> Under some circumstances, the take() method of QScopedPointer
> seems to cause a crash on macOS, probably because of an issue
> in the compiler? It's the only place where we use clang.
> (cherry picked from commit 959e4e355f685b3e68266d1263a7f8bd24c7f800)
> 
> M  +3-2plugins/impex/psd/psd_resource_section.cpp
> 
> https://invent.kde.org/kde/krita/commit/331426cd3b7b26ab6474a4ac60d5bff88e55ac5d
> 
> -- 
> You are receiving this mail because:
> You reported the bug.

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

[krita] [Bug 413444] Opening Photoshop file causes crash

2019-11-04 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=413444

Boudewijn Rempt  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/kde/ |https://invent.kde.org/kde/
   |krita/commit/959e4e355f685b |krita/commit/331426cd3b7b26
   |3e68266d1263a7f8bd24c7f800  |ab6474a4ac60d5bff88e55ac5d

--- Comment #32 from Boudewijn Rempt  ---
Git commit 331426cd3b7b26ab6474a4ac60d5bff88e55ac5d by Boudewijn Rempt.
Committed on 04/11/2019 at 11:49.
Pushed by rempt into branch 'krita/4.2'.

Work around a bug in clang

Under some circumstances, the take() method of QScopedPointer
seems to cause a crash on macOS, probably because of an issue
in the compiler? It's the only place where we use clang.
(cherry picked from commit 959e4e355f685b3e68266d1263a7f8bd24c7f800)

M  +3-2plugins/impex/psd/psd_resource_section.cpp

https://invent.kde.org/kde/krita/commit/331426cd3b7b26ab6474a4ac60d5bff88e55ac5d

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

[krita] [Bug 413444] Opening Photoshop file causes crash

2019-11-04 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=413444

Boudewijn Rempt  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/kde/
   ||krita/commit/959e4e355f685b
   ||3e68266d1263a7f8bd24c7f800
 Status|REPORTED|RESOLVED
 Resolution|--- |FIXED

--- Comment #31 from Boudewijn Rempt  ---
Git commit 959e4e355f685b3e68266d1263a7f8bd24c7f800 by Boudewijn Rempt.
Committed on 04/11/2019 at 11:48.
Pushed by rempt into branch 'master'.

Work around a bug in clang

Under some circumstances, the take() method of QScopedPointer
seems to cause a crash on macOS, probably because of an issue
in the compiler? It's the only place where we use clang.

M  +3-2plugins/impex/psd/psd_resource_section.cpp

https://invent.kde.org/kde/krita/commit/959e4e355f685b3e68266d1263a7f8bd24c7f800

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

[krita] [Bug 413444] Opening Photoshop file causes crash

2019-11-04 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=413444

--- Comment #30 from Boudewijn Rempt  ---
Okay, I found the line Krita crashes on, and I'll make a workaround... If that
line doesn't exist, Krita cannot crash :-)

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

[krita] [Bug 413444] Opening Photoshop file causes crash

2019-11-04 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=413444

--- Comment #29 from Boudewijn Rempt  ---
This is so weird... I still cannot reproduce this on my mac, but if it happens
on a completely separate mac with a different version of macos and only one
copy of Krita installed, I must be wrong and it cannot be something specific to
your system.

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

[krita] [Bug 413444] Opening Photoshop file causes crash

2019-11-03 Thread Stephen Bennington
https://bugs.kde.org/show_bug.cgi?id=413444

--- Comment #21 from Stephen Bennington  ---
Created attachment 123682
  --> https://bugs.kde.org/attachment.cgi?id=123682=edit
attachment-9554-1.html

--- Comment #22 from Stephen Bennington  ---
Created attachment 123683
  --> https://bugs.kde.org/attachment.cgi?id=123683=edit
attachment-9554-2.html

--- Comment #23 from Stephen Bennington  ---
Created attachment 123684
  --> https://bugs.kde.org/attachment.cgi?id=123684=edit
attachment-9554-3.html

--- Comment #24 from Stephen Bennington  ---
Created attachment 123685
  --> https://bugs.kde.org/attachment.cgi?id=123685=edit
attachment-9554-4.html

--- Comment #25 from Stephen Bennington  ---
Created attachment 123686
  --> https://bugs.kde.org/attachment.cgi?id=123686=edit
Screenshot 2019-11-02 at 16.26.51.png

--- Comment #26 from Stephen Bennington  ---
Created attachment 123687
  --> https://bugs.kde.org/attachment.cgi?id=123687=edit
psd import find.txt

--- Comment #27 from Stephen Bennington  ---
Created attachment 123688
  --> https://bugs.kde.org/attachment.cgi?id=123688=edit
krita.log

--- Comment #28 from Stephen Bennington  ---
Created attachment 123689
  --> https://bugs.kde.org/attachment.cgi?id=123689=edit
Crash report-2 Nov.rtf

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

[krita] [Bug 413444] Opening Photoshop file causes crash

2019-11-03 Thread Stephen Bennington
https://bugs.kde.org/show_bug.cgi?id=413444

--- Comment #20 from Stephen Bennington  ---
I am replying to the email because I am not sure if attachemnets went with KDE
page.

Hi, Thank you for your interest in my issue.
This is what I have tried:

I found the ‘kritapsdimport.so’ files on my machine which were for other
earlier versions had had installed and deleted all those versions.

I also deleted  ‘Library/Application support/krita folder’
—still same crash problem on opening PSD file in 4.2.7

I logged in as a guest user and installed a new copy of  4.2.7
—still same crash problem.

I installed 4.2.7 on another Mac (running Sierra 10.12.6) that has never had
Krita installed and saved a new file as a .PSD.
—still same crash problem on opening that file.
I was wondering if the issue was an upgrade of Mojave which I installed 2-3
weeks ago but it is apparently nothing to do with Mojave.

I have attached the krita.log and recent crash report.








> On 2 Nov 2019, at 09:37, Boudewijn Rempt  wrote:
> 
> https://bugs.kde.org/show_bug.cgi?id=413444
> 
> --- Comment #18 from Boudewijn Rempt  ---
> Well, I am certain it is not a bug in Krita or a problem with the builds I
> make, but a problem on your system. A newer version of Krita, or an older
> version, won't solve the issue.
> 
> I think that krita might be loading the wrong plugin library from another
> version of Krita, maybe because something has messed up the DYLD paths on your
> mac. That's why I wanted to know in which places there's a kritapsdimport.so 
> on
> your system.
> 
> You've attached the actual kritapsdimport.so file, but that's not what I 
> needed
> to know; ideally, you'd open the terminal and execute the following command:
> 
> 
> find / -name kritapsdimport.so 1>log 2>/dev/null
> 
> The output should be the full list of all instances of that file. Please
> attatch the log file to the bug report.
> 
> Then it would be a good thing to look at all environment variables:
> 
> set > env.log
> 
> And then attach that file as well. Then we might begin to figure out what's 
> up.
> 
> It would also be useful to login on your mac as a guest or separate user and
> try to run krita and import a psd file.
> 
> -- 
> You are receiving this mail because:
> You reported the bug.

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

[krita] [Bug 413444] Opening Photoshop file causes crash

2019-11-03 Thread Stephen Bennington
https://bugs.kde.org/show_bug.cgi?id=413444

--- Comment #19 from Stephen Bennington  ---
Created attachment 123680
  --> https://bugs.kde.org/attachment.cgi?id=123680=edit
file search

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

[krita] [Bug 413444] Opening Photoshop file causes crash

2019-11-02 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=413444

--- Comment #18 from Boudewijn Rempt  ---
Well, I am certain it is not a bug in Krita or a problem with the builds I
make, but a problem on your system. A newer version of Krita, or an older
version, won't solve the issue.

I think that krita might be loading the wrong plugin library from another
version of Krita, maybe because something has messed up the DYLD paths on your
mac. That's why I wanted to know in which places there's a kritapsdimport.so on
your system.

You've attached the actual kritapsdimport.so file, but that's not what I needed
to know; ideally, you'd open the terminal and execute the following command:


find / -name kritapsdimport.so 1>log 2>/dev/null

The output should be the full list of all instances of that file. Please
attatch the log file to the bug report.

Then it would be a good thing to look at all environment variables:

set > env.log

And then attach that file as well. Then we might begin to figure out what's up.

It would also be useful to login on your mac as a guest or separate user and
try to run krita and import a psd file.

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

[krita] [Bug 413444] Opening Photoshop file causes crash

2019-11-01 Thread Stephen Bennington
https://bugs.kde.org/show_bug.cgi?id=413444

--- Comment #17 from Stephen Bennington  ---
Hi, Have you had any success in locating what the PSD file problem in 4.2.7 is
being caused by?
Thanks

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

[krita] [Bug 413444] Opening Photoshop file causes crash

2019-10-27 Thread Stephen Bennington
https://bugs.kde.org/show_bug.cgi?id=413444

--- Comment #16 from Stephen Bennington  ---
Created attachment 123520
  --> https://bugs.kde.org/attachment.cgi?id=123520=edit
kritapsdimport.so

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

[krita] [Bug 413444] Opening Photoshop file causes crash

2019-10-27 Thread Stephen Bennington
https://bugs.kde.org/show_bug.cgi?id=413444

--- Comment #15 from Stephen Bennington  ---
I had trouble finding it but I guess this is the one from the 4.2.7 plugins
folder.

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

[krita] [Bug 413444] Opening Photoshop file causes crash

2019-10-27 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=413444

--- Comment #14 from Boudewijn Rempt  ---
or rather, kritapsdimport.so, of course.

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

[krita] [Bug 413444] Opening Photoshop file causes crash

2019-10-27 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=413444

--- Comment #13 from Boudewijn Rempt  ---
Hm, so that isn't the list of files called psdimport.so, which is what I
actually was interested in.

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

[krita] [Bug 413444] Opening Photoshop file causes crash

2019-10-27 Thread Stephen Bennington
https://bugs.kde.org/show_bug.cgi?id=413444

--- Comment #11 from Stephen Bennington  ---
Created attachment 123515
  --> https://bugs.kde.org/attachment.cgi?id=123515=edit
crash report krita 4.2.7.rtf

--- Comment #12 from Stephen Bennington  ---
Created attachment 123516
  --> https://bugs.kde.org/attachment.cgi?id=123516=edit
krita.log

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

[krita] [Bug 413444] Opening Photoshop file causes crash

2019-10-27 Thread Stephen Bennington
https://bugs.kde.org/show_bug.cgi?id=413444

--- Comment #10 from Stephen Bennington  ---
When I search for the kind of file you request (kritapsdimport.so) I get
referred to my crash report which does list them.
Please find attached.
Also the ’krita log’ from the Library/application support

Stephen

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

[krita] [Bug 413444] Opening Photoshop file causes crash

2019-10-27 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=413444

--- Comment #9 from Boudewijn Rempt  ---
Hm, this could be likely. The difference between 3 and 4 is the way plugins are
loaded: 3 used desktop files, 4 uses information embedded in the plugin.

Could you check how many kritapsdimport.so files there are on your system?

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

[krita] [Bug 413444] Opening Photoshop file causes crash

2019-10-27 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=413444

--- Comment #8 from Boudewijn Rempt  ---
This is pretty strange... I'm beginning to wonder whether krita is trying to
load a psd plugin that doesn't belong itself.

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

[krita] [Bug 413444] Opening Photoshop file causes crash

2019-10-27 Thread Stephen Bennington
https://bugs.kde.org/show_bug.cgi?id=413444

--- Comment #7 from Stephen Bennington  ---
Hi,
Thanks for your messages.
The reduced PSD still crashes  Krita 4.2.7 and also 4.2.6 as do all other PSDs
I have, yet all will open successfully in Krita 3.3.3.
Curiously if I save a Krita file as PSD then re-open it it also crashes.

I guess if you have no problem then it must be something on my machine. I did a
Mojave update last week so maybe it is that.
I'll just have to use version 3 an hope it resolves in the future but any ideas
you have would be welcome.

Stephen

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

[krita] [Bug 413444] Opening Photoshop file causes crash

2019-10-27 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=413444

Boudewijn Rempt  changed:

   What|Removed |Added

 CC||b...@valdyas.org

--- Comment #6 from Boudewijn Rempt  ---
Weird, it also opens fine on the project's one and only Macbook Pro. (Still
running Mojave).

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

[krita] [Bug 413444] Opening Photoshop file causes crash

2019-10-27 Thread wolthera
https://bugs.kde.org/show_bug.cgi?id=413444

--- Comment #5 from wolthera  ---
I can open it here on 4.2.7, 4.2.6, the nightly... Does the file you attached
crash for you? Or do you think it's the file reduction that may have vanished
the crash?

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

[krita] [Bug 413444] Opening Photoshop file causes crash

2019-10-26 Thread Stephen Bennington
https://bugs.kde.org/show_bug.cgi?id=413444

--- Comment #4 from Stephen Bennington  ---
Created attachment 123498
  --> https://bugs.kde.org/attachment.cgi?id=123498=edit
Photoshop image file

Not sure if you received .PSD image so sending it again here. Had to reduce
size as it was over 4000Kb.

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

[krita] [Bug 413444] Opening Photoshop file causes crash

2019-10-25 Thread wolthera
https://bugs.kde.org/show_bug.cgi?id=413444

--- Comment #3 from wolthera  ---
I am sorry, a mistake must have happened? I cannot see the psd?

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

[krita] [Bug 413444] Opening Photoshop file causes crash

2019-10-25 Thread Stephen Bennington
https://bugs.kde.org/show_bug.cgi?id=413444

--- Comment #2 from Stephen Bennington  ---
Hi,
Here is a simple one.

Thanks, Stephen

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

[krita] [Bug 413444] Opening Photoshop file causes crash

2019-10-25 Thread wolthera
https://bugs.kde.org/show_bug.cgi?id=413444

wolthera  changed:

   What|Removed |Added

 CC||griffinval...@gmail.com

--- Comment #1 from wolthera  ---
Hey, thanks for adding the crashlog. Could you share the PSD file that causes
the crash? That would really speed up resolving the bug.

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