Version: 1.8.0 (using KDE 4.6.0) OS: Linux Hi, kipi crash when i save a scanned lineart image to a PNG file Reproducible: Always Steps to Reproduce: 1) Open GwenView 2) Click on Plugins->Import->Import from scanner 3) Wait till it identify the scanner, then a scan setting page will appear 4) Select "Lineart" in "Scanmode" and "300 DPI" in "Scan resolution" 5) Click the scan button 6) After the scan finish, it will ask you where to save the image. Choose a location and press the "save" button.leave PNG as the file format! 7) The application crash Actual Results: Segmentation fault Here are the backtrace: (gdb) backtrace #0 0x0332fa05 in KIPIPlugins::KPWriteImage::write2PNG(QString const&) () from /usr/lib/libkipiplugins.so.1 #1 0x03fc3035 in ?? () from /usr/lib/kde4/kipiplugin_acquireimages.so #2 0x00580df9 in QThreadPrivate::start (arg=0x872cee8) at thread/qthread_unix.cpp:266 #3 0x0239dcc9 in start_thread (arg=0xb4b31b70) at pthread_create.c:304 #4 0x01bad69e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 How do not know why that ?? in the #1 line. I have all debug symbols installed.
Here are some more results: - Using "Halftone" as Scan mode will make the application crash as well - Using "Gray" the application do not crash, but the resulting file contain nothing, only a fully trasparent white image - Using "Color" seems to work correctly. The application do not crash and the final image looks correct. It seems to be the only mode which works correct. I have a HP SCX-4300
Do you use libpng 1.5.0 ? If yes, this problem is already fixed in current implementation from svn trunk (next 1.9.0) Gilles Caulier
hi, thanks for your response. Seeing KPackageKit, my libpng12-0 package version is 1.2.44-1. This bugs also happen with JPEG and TIFF, the application crash also when saving to these file formats. JPEG-2000 give "The target image file format JP2 is unsupported" RGB does not work either (cannot save image file message) MNG animation does not work either (cannot save image message) All others file formats work as expected. The application do not crash and the image looks correct.
kipi-plugins 2.2.0 is out since few weeks. Crash still valid with this version ? Gilles Caulier
Raffamaiden, This file still valid using kipi-plugins 2.4 ? Gilles Caulier
Official Kipi-plugins 2.6.0 release is out since few days now : http://www.digikam.org/drupal/node/656 Please, check if this entry still valid, or update report accordingly. Thanks in advance. Gilles Caulier
I do not use KDE anymore
New Kipiplugins 4.11.0 is available : https://www.digikam.org/node/740 Can you reproduce the problem with this release ? Gilles Caulier
digiKam 4.12.0 is out : https://www.digikam.org/node/741 We need a fresh feedback using this release please... Thanks in advance.