Summary: | digikam hangs at 0% in editor when calling "Save as" | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | eva |
Component: | Database-Scan | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | caulier.gilles |
Priority: | NOR | ||
Version: | 1.3.0 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 5.8.0 | |
Sentry Crash Report: | |||
Attachments: | backtrace |
Description
eva
2010-06-12 22:38:09 UTC
Here is debug output before it hangs. I added some more debug output below, which comes every few seconds when nothing happens: digikam(20266)/digikam (core) Digikam::EditorToolThreaded::slotOk: Final "Sharpen" started... digikam(20266)/digikam (core) Digikam::BlurFilter::gaussianBlurImage: BlurFilter::Process Computation... digikam(20266)/digikam (core) Digikam::BlurFilter::gaussianBlurImage: BlurFilter::Finalization... digikam(20266)/digikam (core) Digikam::EditorToolThreaded::slotFilterFinished: Final "Sharpen" completed... digikam(20266)/digikam (core) Digikam::DMetadata::setImageComments: "" ==> Comment: QMap() digikam(20266)/digikam (core) Digikam::DMetadata::setImageRating: Rating value to write is out of range! digikam(20266)/KEXIV2 KExiv2Iface::KExiv2::setIptcKeywords: ==> Iptc Keywords: Paris digikam(20266)/digikam (core) Digikam::EditorWindow::startingSaveAs: startSavingAs called digikam(20266)/kio (KDirListerCache) KDirListerCache::listDir: Entry already in use: KUrl("trash:/") digikam(20266)/kio (KDirListerCache) KDirListerCache::listDir: Entry already in use: KUrl("trash:/") digikam(20266)/kio (KDirListerCache) KDirListerCache::listDir: Entry already in use: KUrl("file:///home/Media/Fotos/1005_4_Paris/100515_Paris") digikam(20266)/kio (KIOJob) KIO::SlaveInterface::dispatch: error 111 "P1150565.JPG" digikam(20266) KFileItemPrivate::init: "P1150565.JPG" does not exist anymore digikam(20266)/digikam (core) Digikam::FileSaveOptionsBox::setDialog: set dialog to KFileDialog(0x9efeb968) digikam(20266)/kio (KDirListerCache) KDirListerCache::listDir: Entry already in use: KUrl("file:///home/Media/Fotos/1005_4_Paris/100515_Paris") digikam(20266)/kio (KDirListerCache) KDirListerCache::listDir: Entry already in use: KUrl("file:///home/Media/Fotos/1005_4_Paris/100515_Paris") digikam(20266)/digikam (core) Digikam::EditorWindow::getWritingFilters: KImageIO offered pattern: ("*.xpm *.pgm *.pbm *.rgb *.icb *.tga *.vst *.vda *.tpic *.ppm *.bmp *.epsf *.epsi *.eps *.j2k *.jp2 *.jpc *.jpf *.jpx *.mng *.tiff *.tif *.png *.jpeg *.jpe *.jpg *.pcx *.xbm|All Pictures", "*.bmp|Windows-BMP-Bild", "*.epsf *.epsi *.eps|EPS-Bild", "*.icb *.tga *.vst *.vda *.tpic|TGA-Bild", "*.j2k *.jp2 *.jpc *.jpf *.jpx|JPEG-2000-Bild", "*.jpeg *.jpe *.jpg|JPEG-Bild", "*.mng|MNG-Animation", "*.pbm|PBM-Bild", "*.pcx|PCX-Bild", "*.pgm|PGM-Bild", "*.png|PNG-Bild", "*.ppm|PPM-Bild", "*.rgb|RGB-Bild", "*.tiff *.tif|TIFF-Bild", "*.xbm|XBM-Bild", "*.xpm|XPM-Bild") digikam(20266)/kio (KDirModel) KDirModelPrivate::_k_slotDeleteItems: No node found for item that was just removed: KUrl("file:///home/Media/Fotos/1005_4_Paris/100515_Paris/P1150592.RW2") digikam(20266)/KEXIV2 KExiv2Iface::KExiv2::getImageDateTime: DateTime => Exif.Photo.DateTimeOriginal => QDateTime("Sa. Mai 15 13:30:08 2010") digikam(20266)/KEXIV2 KExiv2Iface::KExiv2Priv::printExiv2ExceptionError: Cannot find Exif key 'Exif.Sony2.LensID' into image using Exiv2 (Error # 6 : Invalid key `Exif.Sony2.LensID' digikam(20266)/KEXIV2 KExiv2Iface::KExiv2::getImageDateTime: DateTime => Exif.Photo.DateTimeOriginal => QDateTime("Sa. Mai 15 13:30:08 2010") digikam(20266)/KEXIV2 KExiv2Iface::KExiv2Priv::printExiv2ExceptionError: Cannot find Exif key 'Exif.Sony2.LensID' into image using Exiv2 (Error # 6 : Invalid key `Exif.Sony2.LensID' digikam(20266)/kio (Slave) KIO::Slave::createSlave: createSlave "" for KUrl("P1150565.xpm") digikam(20266)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on "local:/tmp/ksocket-eva/digikamf20266.slave-socket" digikam(20266): couldn't create slave: "Unable to create io-slave: klauncher said: Unbekanntes Protokoll „“. " digikam(20266)/digikam (core) Digikam::FileSaveOptionsBox::slotFilterChanged: filter changed to ' "*.xpm *.pgm *.pbm *.rgb *.icb *.tga *.vst *.vda *.tpic *.ppm *.bmp *.epsf *.epsi *.eps *.j2k *.jp2 *.jpc *.jpf *.jpx *.mng *.tiff *.tif *.png *.jpeg *.jpe *.jpg *.pcx *.xbm" ' digikam(20266)/digikam (core) Digikam::FileSaveOptionsBox::slotFilterChanged: use manual extension detection digikam(20266)/digikam (core) Digikam::FileSaveOptionsBox::slotImageFileFormatChanged: Format selected: "*.xpm *.pgm *.pbm *.rgb *.icb *.tga *.vst *.vda *.tpic *.ppm *.bmp *.epsf *.epsi *.eps *.j2k *.jp2 *.jpc *.jpf *.jpx *.mng *.tiff *.tif *.png *.jpeg *.jpe *.jpg *.pcx *.xbm" digikam(20266)/digikam (core) Digikam::FileSaveOptionsBox::discoverFormat: Trying to discover format based on filename ' "*.xpm *.pgm *.pbm *.rgb *.icb *.tga *.vst *.vda *.tpic *.ppm *.bmp *.epsf *.epsi *.eps *.j2k *.jp2 *.jpc *.jpf *.jpx *.mng *.tiff *.tif *.png *.jpeg *.jpe *.jpg *.pcx *.xbm" ', fallback = 0 digikam(20266)/digikam (core) Digikam::FileSaveOptionsBox::discoverFormat: Using fallback format 0 digikam(20266)/digikam (core) Digikam::FileSaveOptionsBox::discoverFormat: Discovered format: 0 digikam(20266)/digikam (core) Digikam::FileSaveOptionsBox::setAutoFilter: new auto filter is ' "*.xpm *.pgm *.pbm *.rgb *.icb *.tga *.vst *.vda *.tpic *.ppm *.bmp *.epsf *.epsi *.eps *.j2k *.jp2 *.jpc *.jpf *.jpx *.mng *.tiff *.tif *.png *.jpeg *.jpe *.jpg *.pcx *.xbm" ' digikam(20266)/digikam (core) Digikam::FileSaveOptionsBox::slotFilterChanged: filter changed to ' "*.xpm *.pgm *.pbm *.rgb *.icb *.tga *.vst *.vda *.tpic *.ppm *.bmp *.epsf *.epsi *.eps *.j2k *.jp2 *.jpc *.jpf *.jpx *.mng *.tiff *.tif *.png *.jpeg *.jpe *.jpg *.pcx *.xbm" ' digikam(20266)/digikam (core) Digikam::FileSaveOptionsBox::slotFilterChanged: use automatic extension detection digikam(20266)/digikam (core) Digikam::FileSaveOptionsBox::slotImageFileFormatChanged: Format selected: "P1150565.xpm" digikam(20266)/digikam (core) Digikam::FileSaveOptionsBox::discoverFormat: Trying to discover format based on filename ' "P1150565.xpm" ', fallback = 0 digikam(20266)/digikam (core) Digikam::FileSaveOptionsBox::discoverFormat: Using fallback format 0 digikam(20266)/digikam (core) Digikam::FileSaveOptionsBox::discoverFormat: Discovered format: 0 digikam(20266)/kio (KIOJob) KIO::SlaveInterface::dispatch: error 111 "P1150565.JPG" digikam(20266) KFileItemPrivate::init: "P1150565.JPG" does not exist anymore digikam(20266)/digikam (core) Digikam::FileSaveOptionsBox::slotImageFileFormatChanged: Format selected: "P1150565.JPG" digikam(20266)/digikam (core) Digikam::FileSaveOptionsBox::discoverFormat: Trying to discover format based on filename ' "P1150565.JPG" ', fallback = 0 digikam(20266)/digikam (core) Digikam::FileSaveOptionsBox::discoverFormat: Discovered format: 1 digikam(20266)/KEXIV2 KExiv2Iface::KExiv2::getImageDateTime: DateTime => Exif.Photo.DateTimeOriginal => QDateTime("Sa. Mai 15 13:30:08 2010") digikam(20266)/KEXIV2 KExiv2Iface::KExiv2Priv::printExiv2ExceptionError: Cannot find Exif key 'Exif.Sony2.LensID' into image using Exiv2 (Error # 6 : Invalid key `Exif.Sony2.LensID' digikam(20266)/digikam (core) Digikam::FileSaveOptionsBox::slotImageFileFormatChanged: Format selected: "P1150565p.JPG" digikam(20266)/digikam (core) Digikam::FileSaveOptionsBox::discoverFormat: Trying to discover format based on filename ' "P1150565p.JPG" ', fallback = 0 digikam(20266)/digikam (core) Digikam::FileSaveOptionsBox::discoverFormat: Discovered format: 1 digikam(20266)/digikam (core) Digikam::FileSaveOptionsBox::slotImageFileFormatChanged: Format selected: "P1150565pp.JPG" digikam(20266)/digikam (core) Digikam::FileSaveOptionsBox::discoverFormat: Trying to discover format based on filename ' "P1150565pp.JPG" ', fallback = 0 digikam(20266)/digikam (core) Digikam::FileSaveOptionsBox::discoverFormat: Discovered format: 1 digikam(20266)/kio (KIOJob) KIO::SlaveInterface::dispatch: error 111 "/home/Media/Fotos/1005_4_Paris/100515_Paris/P1150565pp.JPG" digikam(20266)/digikam (core) Digikam::FileSaveOptionsBox::slotImageFileFormatChanged: Format selected: "" digikam(20266)/digikam (core) Digikam::FileSaveOptionsBox::discoverFormat: Trying to discover format based on filename ' "" ', fallback = 0 digikam(20266)/digikam (core) Digikam::FileSaveOptionsBox::discoverFormat: filename ' "" ' does not contain an extension separated by a point. digikam(20266)/digikam (core) Digikam::FileSaveOptionsBox::discoverFormat: Using fallback format 0 digikam(20266)/digikam (core) Digikam::FileSaveOptionsBox::discoverFormat: Discovered format: 0 digikam(20266)/digikam (core) Digikam::FileSaveOptionsBox::slotImageFileFormatChanged: Format selected: "/home/Media/Fotos/1004_2_garten/P1140075pp.jpg" digikam(20266)/digikam (core) Digikam::FileSaveOptionsBox::discoverFormat: Trying to discover format based on filename ' "/home/Media/Fotos/1004_2_garten/P1140075pp.jpg" ', fallback = 0 digikam(20266)/digikam (core) Digikam::FileSaveOptionsBox::discoverFormat: Discovered format: 1 digikam(20266)/digikam (core) Digikam::FileSaveOptionsBox::slotImageFileFormatChanged: Format selected: "" digikam(20266)/digikam (core) Digikam::FileSaveOptionsBox::discoverFormat: Trying to discover format based on filename ' "" ', fallback = 0 digikam(20266)/digikam (core) Digikam::FileSaveOptionsBox::discoverFormat: filename ' "" ' does not contain an extension separated by a point. digikam(20266)/digikam (core) Digikam::FileSaveOptionsBox::discoverFormat: Using fallback format 0 digikam(20266)/digikam (core) Digikam::FileSaveOptionsBox::discoverFormat: Discovered format: 0 digikam(20266)/digikam (core) Digikam::FileSaveOptionsBox::slotImageFileSelected: called for filename "file:///home/Media/Fotos/1005_4_Paris/100515_Paris/P1150565pp.JPG" digikam(20266)/digikam (core) Digikam::EditorWindow::startingSaveAs: Writing file to KUrl("file:///home/Media/Fotos/1005_4_Paris/100515_Paris/P1150565pp.JPG") digikam(20266)/digikam (core) Digikam::EditorWindow::selectValidSavingFormat: Trying to find a saving format with filter = "*.xpm *.pgm *.pbm *.rgb *.icb *.tga *.vst *.vda *.tpic *.ppm *.bmp *.epsf *.epsi *.eps *.j2k *.jp2 *.jpc *.jpf *.jpx *.mng *.tiff *.tif *.png *.jpeg *.jpe *.jpg *.pcx *.xbm" , targetUrl = KUrl("file:///home/Media/Fotos/1005_4_Paris/100515_Paris/P1150565pp.JPG") digikam(20266)/digikam (core) Digikam::EditorWindow::selectValidSavingFormat: KDE Offered types: ("xpm", "pgm", "pbm", " rgb", "RGB", "rgba", "RGBA", "bw", "BW", "sgi", "SGI", "tga", "TGA", "xv", "ppm", "bmp", "eps", "EPS", "EPSI", "epsf", "EPSF", "jp2", "mng", "tiff", "tif", "png", "jpeg", "jpg", "pcx", "PCX", "xbm") digikam(20266)/digikam (core) Digikam::EditorWindow::selectValidSavingFormat: Writable formats: ("xpm", "pgm", "pbm", " rgb", "RGB", "rgba", "RGBA", "bw", "BW", "sgi", "SGI", "tga", "TGA", "xv", "ppm", "bmp", "eps", "EPS", "EPSI", "epsf", "EPSF", "jp2", "mng", "tiff", "tif", "png", "jpeg", "jpg", "pcx", "PCX", "xbm", "TIF", "TIFF", "JPG", "JPEG", "JPE", "J2K", "JP2", "PGF") digikam(20266)/digikam (core) Digikam::EditorWindow::selectValidSavingFormat: Possible format from local file: "JPG" digikam(20266)/digikam (core) Digikam::EditorWindow::selectValidSavingFormat: Using format from target url "JPG" digikam(20266)/digikam (core) Digikam::DImgInterface::saveAs: Saving to : /home/Media/Fotos/1005_4_Paris/100515_Paris/r20266.digikamtempfile.tmp ( "jpg" ) digikam(20266)/KEXIV2 KExiv2Iface::KExiv2Priv::printExiv2ExceptionError: Cannot set TIFF Thumbnail using Exiv2 (Error # 1 : Exif.Image.NewSubfileType missing or not set as main image digikam(20266)/digikam (core) Digikam::AlbumManager::slotDirWatchDirty: KDirWatch detected change at "/home/Media/Fotos/1005_4_Paris/100515_Paris" digikam(20266)/kio (KDirListerCache) KDirListerCache::slotFileDirty: "/home/Media/Fotos/1005_4_Paris/100515_Paris" digikam(20266)/kio (KDirListerCache) KDirListerCache::updateDirectory: KUrl("file:///home/Media/Fotos/1005_4_Paris/100515_Paris") digikam(20266)/kio (KDirListerCache) KDirListerCache::updateDirectory: update started in KUrl("file:///home/Media/Fotos/1005_4_Paris/100515_Paris") digikam(20266)/kio (KDirListerCache) KDirListerCache::slotUpdateResult: finished update KUrl("file:///home/Media/Fotos/1005_4_Paris/100515_Paris") This is what comes every few seconds: digikam(20266)/khtml (caret) DOM::Selection::moveTo: Selection[ Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) 1 ] Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) digikam(20266)/khtml (caret) DOM::Selection::validate: Selection[ Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) 1 ] 0 digikam(20266)/khtml (caret) DOM::Selection::validate: [character:baseIsStart] true Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) digikam(20266)/khtml (caret) DOM::Selection::moveTo: Selection[ Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) 1 ] Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) Is it a freeze ( = UI unresponsive) or a hang (progress remains at 0% though UI is responsive, even if not functional)? Can you attach gdb and give a backtrace when a hang occurs? It hangs. With save I can select "file close" (it gives a dialog saying, that I can't close because an image is being saved...). As it doesn't crash a backtrace is not easy, that's why I attached the debug output. Is there a way to get a backtrace without crash? With tools I can press Esc. After that none of the tools works properly. Sometimes I still manage to save and I need to restart digikam. Somehow it seems to be in a strange stage. > As it doesn't crash a
> backtrace is not easy, that's why I attached the debug output. Is there a way
> to get a backtrace without crash?
Yes there is. Produce the hang. Then find out the process id of digikam, e.g. with ps -ax. Then in the console, type "gdb att <processid>", let gdb attach itself, then type "bt" and you have the backtrace. Press q to exit gdb.
Created attachment 48015 [details]
backtrace
backtrace of all running threads while hanging
Thanks. Is the file properly written? At least the dir watch indicates a change in the directory. So after you restart digikam, is the file there? yes, it's there. indeed. I am not sure this is always the case. I think I had to reedit it sometimes. Eva, Can you try digiKam 1.4.0 ? Gilles Caulier I upgraded to current trunk yesterday. It took a lot longer lately, but just now it happened again :-( digiKam 1.6.0 is out: http://www.digikam.org/drupal/node/550 Please update and check if this entry still valid. Thanks in advance Gilles Caulier The issue happens much less often. But it just happened again. I am using trunk. Maybe I can give you some hints: What I did differently in this moment was the following: - edit the image, using a number of tools (contrast, saturation, noice reduction) - then I changed the rating - I used "save as..." usually I change the rating afterwards. Also noice reduction is a tool I rarely use. Best, Eva Still dont know what's happening here. In any case, large parts have been changed in that area for 2.0, so chances are the bug is gone. We need feedback using a recent version. 2.0.0 RC is out, please test... Thanks in advance Gilles Caulier Please reopen if still applicable with a recent 2.x version This crash is not reproducible use current 5.8.0 pre-release bundle available here : https://files.kde.org/digikam/ I close this file now. Re-open it if necessary. Gilles Caulier |