[Digikam-devel] [Bug 131446] New: using inpainting plugin crashes DigiKam

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

[Digikam-devel] [Bug 131446] New: using inpainting plugin crashes DigiKam

Thomas Basset-2
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=131446         
           Summary: using inpainting plugin crashes DigiKam
           Product: digikamimageplugins
           Version: 0.8.0
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel kde org
        ReportedBy: thomasbasset yahoo fr


Version:           0.8.0 (using KDE KDE 3.5.2)
Installed from:    Ubuntu Packages
OS:                Linux

When I try to use the InPainting plugin for DigiKam, the toolbox opens well. But if I select OK, DigiKam crashes without warning.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 131446] using inpainting plugin crashes DigiKam

Gilles Caulier
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=131446         




------- Additional Comments From caulier.gilles free fr  2006-07-27 20:37 -------
Thomas,

Give us a suitable backtrace using gdb. You need to re-compile digiKam and DigikamImagePlugins for that using ".configure --enable-debug=full" option.

Thanks in advance

Gilles Caulier
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 131446] using inpainting plugin crashes DigiKam

Gilles Caulier
In reply to this post by Thomas Basset-2
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=131446         
caulier.gilles free fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |Inpainting
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 131446] using inpainting plugin crashes DigiKam

Thomas Basset-2
In reply to this post by Thomas Basset-2
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=131446         




------- Additional Comments From thomasbasset yahoo fr  2006-07-28 15:33 -------
I won't be able to take a look at this until next week but will definitely work on it.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 131446] using inpainting plugin crashes DigiKam

Thomas Basset-2
In reply to this post by Thomas Basset-2
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=131446         




------- Additional Comments From thomasbasset yahoo fr  2006-08-07 21:16 -------
Created an attachment (id=17274)
 --> (http://bugs.kde.org/attachment.cgi?id=17274&action=view)
backtrace

Here is the required backtrace.

I recompiled digikam and digikamimageplugins using the following commands:
apt-src install X
./configure --enable-debug=full
make
make install

Hope this helps as I can't understand anything about this backtrace ;)
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 131446] using inpainting plugin crashes DigiKam

Marcel Wiesweg
In reply to this post by Thomas Basset-2
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=131446         
marcel.wiesweg gmx de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
      everconfirmed|0                           |1



------- Additional Comments From marcel.wiesweg gmx de  2006-08-07 22:43 -------
Ok, thanks. It seems we need to catch the CImgExceptions which can be thrown from the lib.
Another question is why this exception is thrown here.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] [Bug 131446] using inpainting plugin crashes DigiKam

Thomas Basset-2
In reply to this post by Thomas Basset-2
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=131446         




------- Additional Comments From thomasbasset yahoo fr  2006-08-07 23:22 -------
The version that is packaged in Ubuntu is 0.8.2-rc1, not 0.8.0
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 131446] using inpainting plugin crashes DigiKam

Gilles Caulier-4
In reply to this post by Thomas Basset-2
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=131446         




------- Additional Comments From caulier.gilles gmail com  2007-03-12 16:38 -------
SVN commit 641782 by cgilles:

digikam from trunk : CImg library can generate a C++ exception. Just drive it to prevent digiKam crash.
CCBUGS: 131446

 M  +16 -13    greycstorationiface.cpp  


--- trunk/extragear/graphics/digikamimageplugins/common/greycstoration/greycstorationiface.cpp #641781:641782
 @ -18,18 +18,9  @
  *
  * ============================================================ */
 
- // C Ansi includes
-
-extern "C"
-{
-#include <unistd.h>
-}
-  
 // C++ includes.
 
-#include <cstdio>
-#include <cmath>
-#include <cstring>
+#include <cassert>
 
 // Qt includes.
 
 @ -209,10 +200,22  @
     
     DDebug() << "GreycstorationIface::Process Computation..." << endl;
 
-    //FIXME : add inpainting and resize mode.              
+    try
+    {
+        //FIXME : add inpainting and resize mode.              
+    
+        restoration();
+    }
+    catch(...)         // Everything went wrong.
+    {
+       DDebug() << "GreycstorationIface::Error during Greycstoration filter computation!" << endl;
+      
+       if (m_parent)
+          postProgress( 0, false, false );  
+          
+       return;
+    }
 
-    restoration();
-    
     // Copy CImg onto destination.
     
     DDebug() << "GreycstorationIface::Finalization..." << endl;
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 131446] using inpainting plugin crashes DigiKam

Gilles Caulier-4
In reply to this post by Thomas Basset-2
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=131446         




------- Additional Comments From caulier.gilles gmail com  2007-03-13 13:12 -------
SVN commit 642127 by cgilles:

digiKam from trunk : new version of Photograph Inpainting tool using the new version of CImg library (1.1.9)

CCMAIL: David.Tschumperle greyc ensicaen fr
CCMAIL: mvoorberg yahoo com
CCMAIL: gerhard kulzer net
CCMAIL: digikam-devel kde org

CCBUG: 131446

 M  +2 -4      Makefile.am  
 M  +49 -230   imageeffect_inpainting.cpp  
 M  +19 -43    imageeffect_inpainting.h
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 131446] using inpainting plugin crashes DigiKam

Gilles Caulier-4
In reply to this post by Thomas Basset-2
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=131446         




------- Additional Comments From caulier.gilles gmail com  2007-03-13 17:26 -------
SVN commit 642201 by cgilles:

digiKam from trunk : Improvement of Photograph Inpainting tool : now this plugin give a preview of effect (like new Red Eyes correction tool).

A fresh screenshot can be seen at this url :

http://digikam3rdparty.free.fr/Screenshots/newinpaintingtool.png

CCMAIL: David.Tschumperle greyc ensicaen fr
CCMAIL: mvoorberg yahoo com
CCMAIL: gerhard kulzer net
CCMAIL: digikam-devel kde org

CCBUG: 131446

 M  +129 -151  imageeffect_inpainting.cpp  
 M  +22 -57    imageeffect_inpainting.h  
 M  +2 -2      imageplugin_inpainting.cpp
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 131446] using inpainting plugin crashes DigiKam

Gilles Caulier-4
In reply to this post by Thomas Basset-2
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=131446         
caulier.gilles gmail com changed:

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



------- Additional Comments From caulier.gilles gmail com  2007-03-15 15:13 -------
Thomas,

With digiKam 0.9.2, the Greycstoration interface handle properlly the C++ Exception generated by Cimg library.

I close this file now.

Gilles Caulier
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel