[Bug 201560] New: Crash at start up when scanning images

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

[Bug 201560] New: Crash at start up when scanning images

Bugzilla from stefan.asserhall@comhem.se
https://bugs.kde.org/show_bug.cgi?id=201560

           Summary: Crash at start up when scanning images
           Product: digikam
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           1.0.0-beta4 (rev.: 1002376M) (using 4.3.61 (KDE 4.3.61 (KDE
4.4 >= 20090717)), compiled sources)
Compiler:          gcc
OS:                Linux (i686) release 2.6.26.8-57.fc8

digiKam crashes at start up when scanning images. The crash occurs in the file
digikam/libs/database/imagescanner.cpp:378, probably because some image has
incorrect metadata. The following patch fixes the crash:

Index: libs/database/imagescanner.cpp
===================================================================
--- libs/database/imagescanner.cpp    (revision 1002376)
+++ libs/database/imagescanner.cpp    (arbetskopia)
@@ -373,13 +373,13 @@
     }

     // Headline
-    if (!metadataInfos[0].isNull())
+    if (!metadataInfos[0].isNull() &&
metadataInfos[0].canConvert(QVariant::String))
     {
         comments.addHeadline(metadataInfos[0].toString());
     }

     // Title
-    if (!metadataInfos[1].isNull())
+    if (!metadataInfos[1].isNull() &&
metadataInfos[1].canConvert(QVariant::String))
     {
         comments.addTitle(metadataInfos[1].toString());
     }

--
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
|

[Bug 201560] Crash at start up when scanning images

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=201560


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
          Component|general                     |Database




--- Comment #1 from Gilles Caulier <caulier gilles gmail com>  2009-07-26 14:46:43 ---
Marcel,

This one is for you (:=)))

Gilles Caulier

--
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
|

[Bug 201560] Crash at start up when scanning images

Gilles Caulier-4
In reply to this post by Bugzilla from stefan.asserhall@comhem.se
https://bugs.kde.org/show_bug.cgi?id=201560


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unspecified                 |1.0.0-beta4




--
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
|

[Bug 201560] Crash at start up when scanning images

Marcel Wiesweg
In reply to this post by Bugzilla from stefan.asserhall@comhem.se
https://bugs.kde.org/show_bug.cgi?id=201560





--- Comment #2 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-07-26 17:40:04 ---
Can you send me (private email address) the picture causing the crash? The
filename is probably the last one printed on the console (from dimg loading or
whatever). Thanks!

--
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
|

[Bug 201560] Crash at start up when scanning images

Marcel Wiesweg
In reply to this post by Bugzilla from stefan.asserhall@comhem.se
https://bugs.kde.org/show_bug.cgi?id=201560


Marcel Wiesweg <[hidden email]> changed:

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




--- Comment #3 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-07-27 16:46:59 ---
Stefan reported this as fixed by private mail

--
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
|

[Bug 201560] Crash at start up when scanning images

Gilles Caulier-4
In reply to this post by Bugzilla from stefan.asserhall@comhem.se
https://bugs.kde.org/show_bug.cgi?id=201560


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|1.0.0-beta4                 |1.0.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
|

[Bug 201560] Crash at start up when scanning images

Gilles Caulier-4
In reply to this post by Bugzilla from stefan.asserhall@comhem.se
https://bugs.kde.org/show_bug.cgi?id=201560

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |1.0.0

--
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 201560] Crash at start up when scanning images

bugzilla_noreply
In reply to this post by Bugzilla from stefan.asserhall@comhem.se
https://bugs.kde.org/show_bug.cgi?id=201560

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Database                    |Database-Scan

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