[Bug 177009] New: digikam eats all CPU when Restore plugin is selected

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 177009] New: digikam eats all CPU when Restore plugin is selected

Bugzilla from plores@telefonica.net
http://bugs.kde.org/show_bug.cgi?id=177009

           Summary: digikam eats all CPU when Restore plugin is selected
           Product: digikam
           Version: 0.10.0-beta6
          Platform: SuSE RPMs
        OS/Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           0.10.0-beta6 (using KDE 4.1.3)
Compiler:          gcc-4.3-39.1
Installed from:    SuSE RPMs

A Canon RAW (.CR2) image is imported OK. Then the Restore plugin is invoked.
Immediately both CPUs (AMD Athlon 64 X2 4200+) are eaten up at 96-99% each,
even after cancelling the plugin dialog. Of course the user interface becomes
terribly slow thereafter. Sometimes (quite difficult to reproduce) digikam even
hangs.

The distro is openSuSE 11.0, kernel 2.6.25.18-0.2-pae. digikam has been
installed from repositories, automatically resolving package dependencies
(libkdcraw, libkipi, and kipi-plugins). No crashes nor tracebacks :-( but, just
in case, the debug packages are installed. I have only the standard output
available (not really very helpful):

Starting to load Plugins.                                                      
Files:  "CompassFloatItem.so"                                                  
Files:  "MapScaleFloatItem.so"                                                  
Files:  "MarbleOverviewMap.so"                                                  
Files:  "MarbleStarsPlugin.so"                                                  
=== MarbleDirs: ===                                                            
Local Path: "/home/fsl/.marble/data"                                            
Plugin Local Path: "/home/fsl/.marble/plugins"                                  

Marble Data Path (Run Time) : ""                                                
Marble Data Path (Compile Time): "/usr/share/kde4/apps/marble/data"            

Marble Plugin Path (Run Time) : ""                                              
Marble Plugin Path (Compile Time): "/usr/lib/kde4/plugins/marble"              

System Path: "/usr/share/kde4/apps/marble/data"                                
Plugin System Path: "/usr/lib/kde4/plugins/marble"                              
===================                                                            
"CompassFloatItem.so"  -  "/usr/lib/kde4/plugins/marble/CompassFloatItem.so"    
"MapScaleFloatItem.so"  -  "/usr/lib/kde4/plugins/marble/MapScaleFloatItem.so"  
"MarbleOverviewMap.so"  -  "/usr/lib/kde4/plugins/marble/MarbleOverviewMap.so"  
"MarbleStarsPlugin.so"  -  "/usr/lib/kde4/plugins/marble/MarbleStarsPlugin.so"  
Use workaround:  0                                                              
"Loading Default Placemark Cache
File:/usr/share/kde4/apps/marble/data/placemarks/cityplacemarks.cache"          
Style reset requested.                                                          
"Loading Default Placemark Cache
File:/usr/share/kde4/apps/marble/data/placemarks/baseplacemarks.cache"          
Style reset requested.                                                          
"Loading Default Placemark Cache
File:/usr/share/kde4/apps/marble/data/placemarks/elevplacemarks.cache"          
Style reset requested.                                                          
"Loading Default Placemark Cache
File:/usr/share/kde4/apps/marble/data/placemarks/otherplacemarks.cache"        
Style reset requested.                                                          
"Loading Default Placemark Cache
File:/usr/share/kde4/apps/marble/data/placemarks/boundaryplacemarks.cache"      
Style reset requested.                                                          
loadMapTheme "earth/citylights/citylights.dgml"                                

Succesfully parsed file!
loadMapTheme "earth/bluemarble/bluemarble.dgml"

Succesfully parsed file!
MapThemeId "earth/srtm/srtm.dgml"
loadMapTheme "earth/srtm/srtm.dgml"

Succesfully parsed file!
DGML2 Name       :  "Atlas"
Style reset requested.      
THEME CHANGED: *** "earth/srtm/srtm.dgml"
Starting to load Plugins.                
Files:  "CompassFloatItem.so"            
Files:  "MapScaleFloatItem.so"            
Files:  "MarbleOverviewMap.so"            
Files:  "MarbleStarsPlugin.so"            
=== MarbleDirs: ===                      
Local Path: "/home/fsl/.marble/data"      
Plugin Local Path: "/home/fsl/.marble/plugins"

Marble Data Path (Run Time) : ""              
Marble Data Path (Compile Time): "/usr/share/kde4/apps/marble/data"

Marble Plugin Path (Run Time) : ""                                  
Marble Plugin Path (Compile Time): "/usr/lib/kde4/plugins/marble"  

System Path: "/usr/share/kde4/apps/marble/data"                    
Plugin System Path: "/usr/lib/kde4/plugins/marble"                  
===================                                                
"CompassFloatItem.so"  -  "/usr/lib/kde4/plugins/marble/CompassFloatItem.so"
"MapScaleFloatItem.so"  -  "/usr/lib/kde4/plugins/marble/MapScaleFloatItem.so"
"MarbleOverviewMap.so"  -  "/usr/lib/kde4/plugins/marble/MarbleOverviewMap.so"
"MarbleStarsPlugin.so"  -  "/usr/lib/kde4/plugins/marble/MarbleStarsPlugin.so"
Use workaround:  0                                                            
"Loading Default Placemark Cache
File:/usr/share/kde4/apps/marble/data/placemarks/cityplacemarks.cache"
Style reset requested.                                                          
"Loading Default Placemark Cache
File:/usr/share/kde4/apps/marble/data/placemarks/baseplacemarks.cache"
Style reset requested.                                                          
"Loading Default Placemark Cache
File:/usr/share/kde4/apps/marble/data/placemarks/elevplacemarks.cache"
Style reset requested.                                                          
"Loading Default Placemark Cache
File:/usr/share/kde4/apps/marble/data/placemarks/otherplacemarks.cache"
Style reset requested.                                                          
"Loading Default Placemark Cache
File:/usr/share/kde4/apps/marble/data/placemarks/boundaryplacemarks.cache"
Style reset requested.                                                          
loadMapTheme "earth/citylights/citylights.dgml"                                

Succesfully parsed file!
loadMapTheme "earth/bluemarble/bluemarble.dgml"

Succesfully parsed file!
MapThemeId "earth/srtm/srtm.dgml"
loadMapTheme "earth/srtm/srtm.dgml"

Succesfully parsed file!
DGML2 Name       :  "Atlas"
Style reset requested.      
THEME CHANGED: *** "earth/srtm/srtm.dgml"
Object::connect: No such signal
Digikam::GPSSearchWidget::regionSelected(QList<double>)
Style reset requested.                                                          
Style reset requested.                                                          
Style reset requested.                                                          
Style reset requested.                                                          
Style reset requested.                                                          
digikam(6314)/KIPI (general) KIPIGalleryExportPlugin::Gallery::load: Reading
data from galleryrc file..

Style reset requested.
Warning: Size 12108 of Exif.Canon.0x4002 exceeds 4096 bytes limit. Not decoded.
Warning: Size 15988 of Exif.Canon.0x4005 exceeds 4096 bytes limit. Not decoded.
Style reset requested.                                                        
Warning: Size 12108 of Exif.Canon.0x4002 exceeds 4096 bytes limit. Not decoded.
Warning: Size 15988 of Exif.Canon.0x4005 exceeds 4096 bytes limit. Not decoded.
Starting to load Plugins.                                                      
Files:  "CompassFloatItem.so"                                                  
Files:  "MapScaleFloatItem.so"                                                
Files:  "MarbleOverviewMap.so"                                                
Files:  "MarbleStarsPlugin.so"                                                
=== MarbleDirs: ===                                                            
Local Path: "/home/fsl/.marble/data"                                          
Plugin Local Path: "/home/fsl/.marble/plugins"                                

Marble Data Path (Run Time) : ""                                              
Marble Data Path (Compile Time): "/usr/share/kde4/apps/marble/data"            

Marble Plugin Path (Run Time) : ""                                            
Marble Plugin Path (Compile Time): "/usr/lib/kde4/plugins/marble"              

System Path: "/usr/share/kde4/apps/marble/data"                                
Plugin System Path: "/usr/lib/kde4/plugins/marble"                            
===================                                                            
"CompassFloatItem.so"  -  "/usr/lib/kde4/plugins/marble/CompassFloatItem.so"  
"MapScaleFloatItem.so"  -  "/usr/lib/kde4/plugins/marble/MapScaleFloatItem.so"
"MarbleOverviewMap.so"  -  "/usr/lib/kde4/plugins/marble/MarbleOverviewMap.so"
"MarbleStarsPlugin.so"  -  "/usr/lib/kde4/plugins/marble/MarbleStarsPlugin.so"
Use workaround:  0                                                            
"Loading Default Placemark Cache
File:/usr/share/kde4/apps/marble/data/placemarks/cityplacemarks.cache"
Style reset requested.                                                          
"Loading Default Placemark Cache
File:/usr/share/kde4/apps/marble/data/placemarks/baseplacemarks.cache"
Style reset requested.                                                          
"Loading Default Placemark Cache
File:/usr/share/kde4/apps/marble/data/placemarks/elevplacemarks.cache"
Style reset requested.                                                          
"Loading Default Placemark Cache
File:/usr/share/kde4/apps/marble/data/placemarks/otherplacemarks.cache"
Style reset requested.                                                          
"Loading Default Placemark Cache
File:/usr/share/kde4/apps/marble/data/placemarks/boundaryplacemarks.cache"
Style reset requested.                                                          
loadMapTheme "earth/citylights/citylights.dgml"                                

Succesfully parsed file!
loadMapTheme "earth/bluemarble/bluemarble.dgml"

Succesfully parsed file!
MapThemeId "earth/srtm/srtm.dgml"
loadMapTheme "earth/srtm/srtm.dgml"

Succesfully parsed file!
DGML2 Name       :  "Atlas"
Style reset requested.
THEME CHANGED: *** "earth/srtm/srtm.dgml"
digikam(6314) Digikam::DImgInterface::getImg: d->image is NULL

QPainter::begin: Cannot paint on a null pixmap
QPainter::end: Painter not active, aborted
Warning: Size 12108 of Exif.Canon.0x4002 exceeds 4096 bytes limit. Not decoded.
Warning: Size 15988 of Exif.Canon.0x4005 exceeds 4096 bytes limit. Not decoded.
Style reset requested.
digikam(6314) Digikam::DImgInterface::getImg: d->image is NULL

QPainter::begin: Cannot paint on a null pixmap
QPainter::end: Painter not active, aborted
Warning: Size 12108 of Exif.Canon.0x4002 exceeds 4096 bytes limit. Not decoded.
Warning: Size 15988 of Exif.Canon.0x4005 exceeds 4096 bytes limit. Not decoded.
Style reset requested.
digikam(6314) Digikam::DImgInterface::getImg: d->image is NULL

QPainter::begin: Cannot paint on a null pixmap
QPainter::end: Painter not active, aborted
Warning: Size 12108 of Exif.Canon.0x4002 exceeds 4096 bytes limit. Not decoded.
Warning: Size 15988 of Exif.Canon.0x4005 exceeds 4096 bytes limit. Not decoded.
Style reset requested.
Warning: Size 12108 of Exif.Canon.0x4002 exceeds 4096 bytes limit. Not decoded.
Warning: Size 15988 of Exif.Canon.0x4005 exceeds 4096 bytes limit. Not decoded.
Warning: Size 12108 of Exif.Canon.0x4002 exceeds 4096 bytes limit. Not decoded.
Warning: Size 15988 of Exif.Canon.0x4005 exceeds 4096 bytes limit. Not decoded.
Warning: Size 12108 of Exif.Canon.0x4002 exceeds 4096 bytes limit. Not decoded.
Warning: Size 15988 of Exif.Canon.0x4005 exceeds 4096 bytes limit. Not decoded.
Wavelet denoising...
Wavelet denoising...
Scaling with darkness 1025, saturation 14605, and
multipliers 1,000000 0,465878 0,752502 0,465878
Scaling with darkness 1025, saturation 14605, and
multipliers 1,000000 0,465878 0,752502 0,465878
Rebuilding highlights...
AHD interpolation...
Applying color profile...
Building histograms...
LibRaw: data info: width 2145 height 1428 rgbmax 65535
Rebuilding highlights...
Applying color profile...
Building histograms...
LibRaw: data info: width 4290 height 2856 rgbmax 65535
digikam(6314) KConfigGroup::convertToQVariant: unhandled type  float
digikam(6314) KConfigGroup::convertToQVariant: unhandled type  float
digikam(6314) KConfigGroup::convertToQVariant: unhandled type  float
digikam(6314) KConfigGroup::convertToQVariant: unhandled type  float
digikam(6314) KConfigGroup::convertToQVariant: unhandled type  float
digikam(6314) KConfigGroup::convertToQVariant: unhandled type  float
digikam(6314) KConfigGroup::convertToQVariant: unhandled type  float

Suggestions welcome :-)


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 177009] digikam eats all CPU when Restore plugin is selected

Gilles Caulier-4
http://bugs.kde.org/show_bug.cgi?id=177009


Gilles Caulier caulier gilles gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |Restoration
            Product|digikam                     |digikamimageplugins




--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 177009] digikam eats all CPU when Restore plugin is selected

Gilles Caulier-4
In reply to this post by Bugzilla from plores@telefonica.net
http://bugs.kde.org/show_bug.cgi?id=177009





--- Comment #1 from Gilles Caulier <caulier gilles gmail com>  2009-01-16 15:44:47 ---
digikam(6314) KConfigGroup::convertToQVariant: unhandled type float
digikam(6314) KConfigGroup::convertToQVariant: unhandled type float
digikam(6314) KConfigGroup::convertToQVariant: unhandled type float
digikam(6314) KConfigGroup::convertToQVariant: unhandled type float
digikam(6314) KConfigGroup::convertToQVariant: unhandled type float
digikam(6314) KConfigGroup::convertToQVariant: unhandled type float
digikam(6314) KConfigGroup::convertToQVariant: unhandled type float

This is the problem. Something have been broken in code during EditorTool
porting. I will fix it.

Gilles Caulier


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 177009] digikam eats all CPU when Restore plugin is selected

Gilles Caulier-4
In reply to this post by Bugzilla from plores@telefonica.net
http://bugs.kde.org/show_bug.cgi?id=177009


Gilles Caulier caulier gilles gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--- Comment #2 from Gilles Caulier <caulier gilles gmail com>  2009-01-16 15:48:11 ---
SVN commit 912023 by cgilles:

digiKAm from trunk : Restoration tool :
- do not mix settings : Nb iteration = da ==> Greystoration algorithm make an
infinite loop with default settings.
- use double cast for each Greystoration parameters relevant.
BUG: 177009


 M  +1 -2      imageplugin_restoration.cpp  
 M  +1 -1      imageplugin_restoration.h  
 M  +27 -27    restorationtool.cpp  
 M  +1 -1      restorationtool.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=912023


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 177009] digikam eats all CPU when Restore plugin is selected

Gilles Caulier-4
In reply to this post by Bugzilla from plores@telefonica.net
https://bugs.kde.org/show_bug.cgi?id=177009


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|0.10.0-beta6                |0.10.0




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 177009] digikam eats all CPU when Restore plugin is selected

bugzilla_noreply
In reply to this post by Bugzilla from plores@telefonica.net
https://bugs.kde.org/show_bug.cgi?id=177009

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Product|digikamimageplugins         |digikam
          Component|Restoration                 |Tool-Restoration

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 177009] digikam eats all CPU when Restore tool is selected

bugzilla_noreply
In reply to this post by Bugzilla from plores@telefonica.net
https://bugs.kde.org/show_bug.cgi?id=177009

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
            Summary|digikam eats all CPU when   |digikam eats all CPU when
                   |Restore plugin is selected  |Restore tool is selected

--
You are receiving this mail because:
You are the assignee for the bug.