Bug 187203

Summary: batch raw converter crash digikam
Product: [Applications] digikam Reporter: itilo <itilo>
Component: BatchQueueManager-RAWProcessingAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: crash    
Priority: NOR    
Version: 0.10.0   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In: 0.2.0
Sentry Crash Report:

Description itilo 2009-03-15 10:21:30 UTC
Version:           0.10.0-rc2 (using KDE 4.1.3)
Compiler:          g++ (GCC) 4.3.2 
OS:                Linux
Installed from:    Mandriva RPMs

Digikam IMMEDIATLY crash when I run ( select in the menu) the batch raw converter to convert nef files

Included you will find the "output from a terminal" and a kcrash report

Output from a terminal
[michel@sequoia ~]$ digikam                                                                                                                                                                                                                  
digikam(31263) main: Root Album Path:  "/PHOTOS/Digikam"                                                                                                                                                                                     
digikam(31263) main: Database Path:  "/PHOTOS/Digikam"                                                                                                                                                                                       
digikam(31263) Digikam::SchemaUpdater::update: SchemaUpdater update                                                                                                                                                                          
digikam(31263) Digikam::SchemaUpdater::startUpdates: Have a database structure version  "5"                                                                                                                                                  
digikam(31263) Digikam::SchemaUpdater::makeUpdates: makeUpdates  5  to  5                                                                                                                                                                    
digikam(31263) Digikam::CollectionManagerPrivate::actuallyListVolumes: listFromType                                                                                                                                                          
digikam(31263) Digikam::CollectionManagerPrivate::actuallyListVolumes: got listFromType                                                                                                                                                      
digikam(31263) Digikam::AlbumRootLocation::AlbumRootLocation: Creating new Location  "/Digikam"  uuid  "volumeid:?uuid=e26638a7-ce85-4c91-81d6-e291c07178bb"                                                                                 
digikam(31263) Digikam::CollectionManager::updateLocations: location for  "/PHOTOS/Digikam"  is available  true                                                                                                                              
ALSA lib pulse.c:272:(pulse_connect) PulseAudio: Unable to connect: Connection refused                                                                                                                                                       

ALSA lib pulse.c:272:(pulse_connect) PulseAudio: Unable to connect: Connection refused

digikam(31263) Digikam::AlbumManager::startScan: KDirWatch method =  "FAM"
digikam(31263) Plugin_viewer::Plugin_viewer: OpenGL viewer plugin loaded  
digikam(31263) Digikam::DigikamApp::slotKipiPluginPlug: Plugin ' "raw_converter_single" ' disabled.
digikam(31263) KIPIGalleryExportPlugin::Gallery::load: Reading data from kipirc file..             

digikam(31263) ImagePlugin_Core::ImagePlugin_Core: ImagePlugin_Core plugin loaded
digikam(31263) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin  "ImagePlugin_Core"
digikam(31263) ImagePlugin_AdjustCurves::ImagePlugin_AdjustCurves: ImagePlugin_AdjustCurves plugin loaded           
digikam(31263) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin  "ImagePlugin_AdjustCurves"
digikam(31263) ImagePlugin_AdjustLevels::ImagePlugin_AdjustLevels: ImagePlugin_AdjustLevels plugin loaded                   
digikam(31263) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin  "ImagePlugin_AdjustLevels"
digikam(31263) ImagePlugin_BlurFX::ImagePlugin_BlurFX: ImagePlugin_BlurFX plugin loaded                                     
digikam(31263) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin  "ImagePlugin_BlurFX"      
digikam(31263) ImagePlugin_Border::ImagePlugin_Border: ImagePlugin_Border plugin loaded                                     
digikam(31263) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin  "ImagePlugin_Border"      
digikam(31263) ImagePlugin_ChannelMixer::ImagePlugin_ChannelMixer: ImagePlugin_ChannelMixer plugin loaded                   
digikam(31263) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin  "ImagePlugin_ChannelMixer"
digikam(31263) ImagePlugin_Charcoal::ImagePlugin_Charcoal: ImagePlugin_Charcoal plugin loaded                               
digikam(31263) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin  "ImagePlugin_Charcoal"
digikam(31263) ImagePlugin_ColorFX::ImagePlugin_ColorFX: ImagePlugin_ColorFX plugin loaded
digikam(31263) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin  "ImagePlugin_ColorFx"
digikam(31263) ImagePlugin_DistortionFX::ImagePlugin_DistortionFX: ImagePlugin_DistortionFX plugin loaded
digikam(31263) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin  "ImagePlugin_DistortionFX"
digikam(31263) ImagePlugin_Emboss::ImagePlugin_Emboss: ImagePlugin_Emboss plugin loaded
digikam(31263) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin  "ImagePlugin_Emboss"
digikam(31263) ImagePlugin_FilmGrain::ImagePlugin_FilmGrain: ImagePlugin_FilmGrain plugin loaded
digikam(31263) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin  "ImagePlugin_FilmGrain"
digikam(31263) ImagePlugin_FreeRotation::ImagePlugin_FreeRotation: ImagePlugin_FreeRotation plugin loaded
digikam(31263) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin  "ImagePlugin_FreeRotation"
digikam(31263) ImagePlugin_HotPixels::ImagePlugin_HotPixels: ImagePlugin_HotPixels plugin loaded
digikam(31263) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin  "ImagePlugin_HotPixels"
digikam(31263) ImagePlugin_InPainting::ImagePlugin_InPainting: ImagePlugin_InPainting plugin loaded
digikam(31263) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin  "ImagePlugin_InPainting"
digikam(31263) ImagePlugin_Infrared::ImagePlugin_Infrared: ImagePlugin_Infrared plugin loaded
digikam(31263) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin  "ImagePlugin_Infrared"
digikam(31263) ImagePlugin_InsertText::ImagePlugin_InsertText: ImagePlugin_InsertText plugin loaded
digikam(31263) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin  "ImagePlugin_InsertText"
digikam(31263) ImagePlugin_LensCorrection::ImagePlugin_LensCorrection: ImagePlugin_LensCorrection plugin loaded
digikam(31263) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin  "ImagePlugin_LensCorrection"
digikam(31263) ImagePlugin_NoiseReduction::ImagePlugin_NoiseReduction: ImagePlugin_NoiseReduction plugin loaded
digikam(31263) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin  "ImagePlugin_NoiseReduction"
digikam(31263) ImagePlugin_OilPaint::ImagePlugin_OilPaint: ImagePlugin_OilPaint plugin loaded
digikam(31263) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin  "ImagePlugin_OilPaint"
digikam(31263) ImagePlugin_Perspective::ImagePlugin_Perspective: ImagePlugin_Perspective plugin loaded
digikam(31263) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin  "ImagePlugin_Perspective"
digikam(31263) ImagePlugin_RainDrop::ImagePlugin_RainDrop: ImagePlugin_RainDrop plugin loaded
digikam(31263) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin  "ImagePlugin_RainDrop"
digikam(31263) ImagePlugin_Restoration::ImagePlugin_Restoration: ImagePlugin_Restoration plugin loaded
digikam(31263) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin  "ImagePlugin_Restoration"
digikam(31263) ImagePlugin_ShearTool::ImagePlugin_ShearTool: ImagePlugin_ShearTool plugin loaded
digikam(31263) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin  "ImagePlugin_ShearTool"
digikam(31263) ImagePlugin_SuperImpose::ImagePlugin_SuperImpose: ImagePlugin_SuperImpose plugin loaded
digikam(31263) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin  "ImagePlugin_SuperImpose"
digikam(31263) ImagePlugin_Texture::ImagePlugin_Texture: ImagePlugin_Texture plugin loaded
digikam(31263) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin  "ImagePlugin_Texture"
digikam(31263) ImagePlugin_WhiteBalance::ImagePlugin_WhiteBalance: ImagePlugin_WhiteBalance plugin loaded
digikam(31263) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin  "ImagePlugin_WhiteBalance"
digikam(31263) Digikam::ThemeEngine::loadTheme: Theme file loaded:  "/usr/share/apps/digikam/themes/Blue"
Found dcraw version: 8.87
libpng error: Read Error
KCrash: Application 'digikam' crashing...
sock_file=/home/michel/.kde4/socket-sequoia/kdeinit4__0
digikam(31263) KDcrawIface::KDcraw::loadEmbeddedPreview: Preview data size: 917152
digikam(31263) KDcrawIface::KDcraw::loadEmbeddedPreview: Using embedded RAW preview extraction
digikam(31263) KExiv2Iface::KExiv2::getImageOrientation: Orientation => Exif.Image.Orientation =>  8
digikam: Fatal IO error: client killed
Unable to start Dr. Konqi


Digikam.Kcrash
Application : digiKam (digikam), signal SIGSEGV                                                       
[Thread debugging using libthread_db enabled]                                                         
[New Thread 0x7ff588e5c700 (LWP 31263)]                                                               
[New Thread 0x45abb950 (LWP 32699)]                                                                   
[New Thread 0x452ba950 (LWP 32697)]                                                                   
[New Thread 0x44ab9950 (LWP 31772)]                                                                   
[New Thread 0x442b8950 (LWP 31771)]                                                                   
[New Thread 0x43ab7950 (LWP 31770)]                                                                   
[New Thread 0x432b6950 (LWP 31769)]                                                                   
[New Thread 0x42ab5950 (LWP 31768)]                                                                   
[New Thread 0x419ad950 (LWP 31765)]                                                                   
[New Thread 0x422b4950 (LWP 31762)]                                                                   
[New Thread 0x411ac950 (LWP 31760)]                                                                   
[New Thread 0x409ab950 (LWP 31759)]                                                                   
[KCrash handler]                                                                                      
#5  0x00007ff583caff04 in QDateTime::detach () from /usr/lib64/libQtCore.so.4                         
#6  0x00007ff583cb006c in QDateTime::setTime_t ()                                                     
   from /usr/lib64/libQtCore.so.4                                                                     
#7  0x00007ff57ff89a4f in KDcrawIface::KDcrawPriv::fillIndentifyInfo (                                
    raw=0x45aa60f0, identify=@0x45abac60)                                                             
    at /usr/local/kdegraphics/libs/libkdcraw/libkdcraw/kdcrawprivate.cpp:97                           
#8  0x00007ff57ff82dd0 in KDcrawIface::KDcraw::rawFileIdentify (                                      
    identify=@0x45abac60, path=@0x45abb010)                                                           
    at /usr/local/kdegraphics/libs/libkdcraw/libkdcraw/kdcraw.cpp:241                                 
#9  0x00007ff56b5073f0 in ?? ()
   from /usr/lib64/kde4/kipiplugin_rawconverter.so
#10 0x00007ff583ca4c62 in ?? () from /usr/lib64/libQtCore.so.4
#11 0x00007ff582d0f2a3 in start_thread () from /lib64/libpthread.so.0
#12 0x00007ff57d7c5f0d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ff588e5c700 (LWP 31263)):
#0  0x00007ff57d7be762 in select () from /lib64/libc.so.6
#1  0x00007ff57af6ca36 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007ff57af6d0e9 in ?? () from /usr/lib64/libxcb.so.1
#3  0x00007ff57af6d67c in xcb_send_request () from /usr/lib64/libxcb.so.1
#4  0x00007ff5823e7a4b in ?? () from /usr/lib64/libX11.so.6
#5  0x00007ff5823e766f in _XPutXCBBuffer () from /usr/lib64/libX11.so.6
#6  0x00007ff5823e87cc in _XSend () from /usr/lib64/libX11.so.6
#7  0x00007ff5823cbf33 in ?? () from /usr/lib64/libX11.so.6
#8  0x00007ff5823cc358 in ?? () from /usr/lib64/libX11.so.6
#9  0x00007ff5823cc4cf in ?? () from /usr/lib64/libX11.so.6
#10 0x00007ff5823ccbf3 in XPutImage () from /usr/lib64/libX11.so.6
#11 0x00007ff5808d184a in ?? () from /usr/lib64/libQtGui.so.4
#12 0x00007ff5808c45bb in QPixmap::fromImage () from /usr/lib64/libQtGui.so.4
#13 0x00007ff58832df78 in Digikam::ThumbnailLoadThread::slotThumbnailLoaded (
    this=0x2157fb0, description=@0x2f63690, thumb=@0x2f63778)
    at /usr/local/digikam-0.10.0-rc2/libs/threadimageio/thumbnailloadthread.cpp:354
#14 0x00007ff58832e333 in Digikam::ThumbnailLoadThread::slotThumbnailsAvailable (this=0x2157fb0)
    at /usr/local/digikam-0.10.0-rc2/libs/threadimageio/thumbnailloadthread.cpp:346
#15 0x00007ff58832e6ed in Digikam::ThumbnailLoadThread::qt_metacall (
    this=0x2157fb0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x2f316d0)
    at /usr/local/digikam-0.10.0-rc2/digikam/thumbnailloadthread.moc:83
#16 0x00007ff583d9c8a5 in QObject::event () from /usr/lib64/libQtCore.so.4
#17 0x00007ff580809a2d in QApplicationPrivate::notify_helper ()
   from /usr/lib64/libQtGui.so.4
#18 0x00007ff5808117ba in QApplication::notify ()
   from /usr/lib64/libQtGui.so.4
#19 0x00007ff5859c251b in KApplication::notify ()
   from /usr/lib64/libkdeui.so.5
#20 0x00007ff583d8d85f in QCoreApplication::notifyInternal ()
   from /usr/lib64/libQtCore.so.4
#21 0x00007ff583d8e4fa in QCoreApplicationPrivate::sendPostedEvents ()
   from /usr/lib64/libQtCore.so.4
#22 0x00007ff583db5f73 in ?? () from /usr/lib64/libQtCore.so.4
#23 0x00007ff57c3538d2 in g_main_context_dispatch ()
   from /usr/lib64/libglib-2.0.so.0
#24 0x00007ff57c35705d in ?? () from /usr/lib64/libglib-2.0.so.0
#25 0x00007ff57c35721b in g_main_context_iteration ()
   from /usr/lib64/libglib-2.0.so.0
#26 0x00007ff583db5bff in QEventDispatcherGlib::processEvents ()
   from /usr/lib64/libQtCore.so.4
#27 0x00007ff58089a72f in ?? () from /usr/lib64/libQtGui.so.4
#28 0x00007ff583d8c182 in QEventLoop::processEvents ()
   from /usr/lib64/libQtCore.so.4
#29 0x00007ff583d8c30d in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#30 0x00007ff583d8e7bd in QCoreApplication::exec ()
   from /usr/lib64/libQtCore.so.4
#31 0x00000000006e0d0c in main (argc=1, argv=0x7fff90eaac38)
    at /usr/local/digikam-0.10.0-rc2/digikam/main.cpp:190
Comment 1 itilo 2009-03-15 18:27:57 UTC
I think i had problems with /usr/lib and /usr/lib64 and opencv. 
The previous message was about a build on tarball 0.10.0-rc2. 
Today I try to compile from the svn version. I got lot of problems with opencv which install 64bits libraries in /urs/lib. I have to change the 64bits library (libcv..) from /usr/lib to /usr/lib64 and to copy /usr/lib/pkgconfig/opencv.pc to /usr/lib64/pkgconfig/opencv.pc, to edit opencv.pc and change "libdir" from/usr/lib to /usr/lib64 ...
And I always got problem with the svn version:

...
CMake Warning at /usr/share/apps/cmake/modules/KDE4Macros.cmake:560 (add_library):
  Cannot generate a safe runtime search path for target                           
  kipiplugin_removeredeyes because files in some directories may conflict         
  with libraries in implicit directories:                                         

    runtime library [libpng12.so.0] in /usr/lib64 may be hidden by files in:
      /usr/lib                                                              
    runtime library [libz.so.1] in /usr/lib64 may be hidden by files in:    
      /usr/lib                                                              
    runtime library [libX11.so.6] in /usr/lib64 may be hidden by files in:  
      /usr/lib                                                              
    runtime library [libXft. ...
...

Cmake is not my friend!

Finally i remove (very important!)  digikam-0.10.0-rc2, untar again the tarball, make again "cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=/usr"  ... and all was OK. Was even better because I got lot of possibilities (10) in the batch menu (previously, only one the batch raw converter)

Saddened for the disturbance!