[Digikam-devel] [Bug 229340] Digikam Crashes When Saving PNG Files, now 1.2.0 also

Scott sajmmiller at yahoo.com
Sat Apr 3 22:24:39 BST 2010


https://bugs.kde.org/show_bug.cgi?id=229340





--- Comment #23 from Scott <sajmmiller yahoo com>  2010-04-03 23:24:34 ---
(In reply to comment #20)
> Ok, this is the problem. I cannot test this case because I cannot easily
> upgrade libpng.

I'm also wondering why -DCMAKE_BUILD_TYPE=debugfull eliminates the bug. Does it
cause the problematic section of code to be skipped somehow?

> One thing to try is replacing PNG_ITXT_COMPRESSION_zTXt with
> PNG_ITXT_COMPRESSION_NONE
> If this doesn't help I will comment out this section until someone finds the
> problem.

I searched for the code string you referenced and found it in pngloader.cpp. I
guess I should have been able to figure that out from the trace...this is
learning experience for me. Anyway, I replaced PNG_ITXT_COMPRESSION_zTXt with
PNG_ITXT_COMPRESSION_NONE, recompiled, and the bug remains.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list