[Bug 210206] New: digikam segfaults when importing from compactflash

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

[Bug 210206] New: digikam segfaults when importing from compactflash

Salvatore Brigaglia
https://bugs.kde.org/show_bug.cgi?id=210206

           Summary: digikam segfaults when importing from compactflash
           Product: digikam
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: Camera GUI
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           1.0.0 svn r1033894 (using Devel)
OS:                Linux
Installed from:    Compiled sources

I am experiencig a reproducible segmentation fault when trying to import
pictures directly from the compact flash of my camera. Importing them directly
from the camera works as usual but digiKam crashes if i try to import the very
same pictures using the CF trough a Trust USB2 card reader.

--
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 210206] digikam segfaults when importing from compactflash

Salvatore Brigaglia
https://bugs.kde.org/show_bug.cgi?id=210206





--- Comment #1 from Salvatore Brigaglia <opensourcecat gmail com>  2009-10-11 17:02:10 ---
Created an attachment (id=37513)
 --> (http://bugs.kde.org/attachment.cgi?id=37513)
the backtrace from kcrash

--
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 210206] digikam segfaults when importing from compactflash

Gilles Caulier-4
In reply to this post by Salvatore Brigaglia
https://bugs.kde.org/show_bug.cgi?id=210206


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
            Version|unspecified                 |1.0.0-beta5




--
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 210206] digikam segfaults when importing from compactflash

Gilles Caulier-4
In reply to this post by Salvatore Brigaglia
https://bugs.kde.org/show_bug.cgi?id=210206


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Camera GUI                  |Metadata




--- Comment #2 from Gilles Caulier <caulier gilles gmail com>  2009-10-11 18:03:25 ---
Crash appears in Exiv2 library when metadata are read.

Which version of Exiv2 you use ? Go to Help/components Info for details.

Can you identify which file is relevant ?

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 210206] digikam segfaults when importing from compactflash

Salvatore Brigaglia
In reply to this post by Salvatore Brigaglia
https://bugs.kde.org/show_bug.cgi?id=210206





--- Comment #3 from Salvatore Brigaglia <opensourcecat gmail com>  2009-10-11 18:37:23 ---
(In reply to comment #2)
> Crash appears in Exiv2 library when metadata are read.
>
> Which version of Exiv2 you use ? Go to Help/components Info for details.
>
> Can you identify which file is relevant ?
>
> Gilles Caulier

Libexiv2 is 0.18.2
The CF contains a lot of images, crash appears when no thumbnails are created
yet. I'll start digikam from gdb and have a look if i can fint wich image is
giving us trouble.

--
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 210206] digikam segfaults when importing from compactflash

Salvatore Brigaglia
In reply to this post by Salvatore Brigaglia
https://bugs.kde.org/show_bug.cgi?id=210206





--- Comment #4 from Salvatore Brigaglia <opensourcecat gmail com>  2009-10-11 20:06:37 ---
(In reply to comment #3)

> The CF contains a lot of images, crash appears when no thumbnails are created
> yet. I'll start digikam from gdb and have a look if i can fint wich image is
> giving us trouble.

I'm testing exiv2 directly on images. No problems here. I'm doing
#exiv2 *
in the images folder, after that i do

#exiv2 -e t *

But exiv2 does not crashes. Can i try something else?

--
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 210206] digikam segfaults when importing from compactflash

Salvatore Brigaglia
In reply to this post by Salvatore Brigaglia
https://bugs.kde.org/show_bug.cgi?id=210206





--- Comment #5 from Salvatore Brigaglia <opensourcecat gmail com>  2009-10-11 21:09:50 ---
Gilles,

I tried to copy all images from the CF into a local folder and used the "import
images" from import menu. All thumbnails are generated correcty and no crash.
Tried again to import from the CF and the segfault happened again so it is not
a problem on one of the image but is a matter of from where the image in
downloaded.

I'm really disappointed...

--
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 210206] digikam segfaults when importing from compactflash

Marcel Wiesweg
In reply to this post by Salvatore Brigaglia
https://bugs.kde.org/show_bug.cgi?id=210206





--- Comment #6 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-10-12 15:53:01 ---
SVN commit 1034346 by mwiesweg:

Do not access citem after it has been removed.
Additionally, I dont see the indication for dynamic_cast here. Use static_cast.

CCBUG: 210206
CCBUG: 204967

 M  +6 -5      cameraui.cpp  


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

--
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 210206] digikam segfaults when importing from compactflash

Marcel Wiesweg
In reply to this post by Salvatore Brigaglia
https://bugs.kde.org/show_bug.cgi?id=210206


Marcel Wiesweg <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #7 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-10-12 15:54:21 ---
Salvtore, can you test the fix in SVN?

--
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 210206] digikam segfaults when importing from compactflash

Salvatore Brigaglia
In reply to this post by Salvatore Brigaglia
https://bugs.kde.org/show_bug.cgi?id=210206


Salvatore Brigaglia <[hidden email]> changed:

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




--- Comment #8 from Salvatore Brigaglia <opensourcecat gmail com>  2009-10-12 17:18:12 ---
(In reply to comment #7)
> Salvtore, can you test the fix in SVN?

Fixed!

But now it is creating thumbnails without showing it at the same time. Not one
by one. This causes the effect that digiKam seems frozen. After a while (not so
much) all thumbnails are shown at the same time, but this is another bug...

--
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 210206] digikam segfaults when importing from compactflash

Salvatore Brigaglia
In reply to this post by Salvatore Brigaglia
https://bugs.kde.org/show_bug.cgi?id=210206





--- Comment #9 from Salvatore Brigaglia <opensourcecat gmail com>  2009-10-12 17:21:02 ---
(In reply to comment #8)

> But now it is creating thumbnails without showing it at the same time.

I meant without showing them one by one, but showing them at the same time once
loaded...

--
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 210206] digikam segfaults when importing from compactflash

Gilles Caulier-4
In reply to this post by Salvatore Brigaglia
https://bugs.kde.org/show_bug.cgi?id=210206


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|1.0.0-beta5                 |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