Bug 169641 - digikam crashed while downloading AVI-files from Canon S5 IS
Summary: digikam crashed while downloading AVI-files from Canon S5 IS
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-Gphoto2 (show other bugs)
Version: 0.10.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-23 07:11 UTC by Pavel Zheltobryukhov
Modified: 2017-08-16 05:50 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In: 0.10.0
Sentry Crash Report:


Attachments
KCrash output (5.08 KB, application/octet-stream)
2008-10-19 13:20 UTC, Pavel Zheltobryukhov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Zheltobryukhov 2008-08-23 07:11:00 UTC
Version:            (using KDE 4.1.0)
OS:                Linux
Installed from:    SuSE RPMs

If SD-card contain only .avi file(s), digiKam crash immediately after connecting Camera (Import-Camera's Added Manually-Canon S5 IS (PTP mode) ). If SD card contain and .jpg files too, digikam download them, but crash on .avi file again.

Last messages in terminal

File 'MVI_0300.AVI' is not readable.
KCrash: Application 'digikam' crashing... 

But the same .avi downloaded well on MS Windows XP via Canon ZoomBrowserEx and Digital Camera Wizard.
Comment 1 Andi Clemens 2008-08-23 15:02:35 UTC
Which digiKam version are you running?
Comment 2 Pavel Zheltobryukhov 2008-08-23 18:11:51 UTC
Version 0.10.0-beta2
Use KDE 4.1.1 (KDE 4.1.0 (4.1 >= 20080722)) "release 40.1"
Comment 3 Pavel Zheltobryukhov 2008-08-24 09:14:49 UTC
I removed all images from card and make a short (approx 3sec) video record with my Canon S5. Trying to import this file via digikam I got a crash again. 
I upload this file to http://stream.ifolder.ru/7831220 due 1MB limitation on bugs.kde.org

Comment 4 Pavel Zheltobryukhov 2008-08-24 09:21:19 UTC
Sorry, I forgot that ifolder.ru is my native language resource. Re-upload this file to http://rapidshare.com/files/139679674/mvi_0408.avi.html
Comment 5 Andi Clemens 2008-08-24 09:48:06 UTC
I can confirm it now...

#0  0xb80ad424 in __kernel_vsyscall ()
#1  0xb581e740 in raise () from /lib/libc.so.6
#2  0xb5820078 in abort () from /lib/libc.so.6
#3  0xb6792c8e in qt_message_output () from /usr/lib/libQtCore.so.4
#4  0xb6792d2e in qFatal () from /usr/lib/libQtCore.so.4
#5  0xb6792db9 in qt_assert () from /usr/lib/libQtCore.so.4
#6  0x080cea45 in KSharedPtr<KMimeType>::operator-> (this=0xbffc7140) at /usr/include/ksharedptr.h:116
#7  0x080c3e38 in Digikam::CameraItemPropertiesTab::setCurrentItem (this=0x9ecb298, itemInfo=0xa04cfd0, newFileName=@0xbffc71ec, exifData=@0xbffc71e8,
    currentURL=@0x9ecb26c) at /home/andi/Programmieren/workspace/digikam_KDE4/digikam/libs/imageproperties/cameraitempropertiestab.cpp:409
#8  0x080b87dc in Digikam::ImagePropertiesSideBarCamGui::slotChangedTab (this=0x9ec2f18, tab=0x9ecb298)
    at /home/andi/Programmieren/workspace/digikam_KDE4/digikam/libs/imageproperties/imagepropertiessidebarcamgui.cpp:170
#9  0x080b8cf1 in Digikam::ImagePropertiesSideBarCamGui::itemChanged (this=0x9ec2f18, itemInfo=0xa04cfd0, url=@0xbffc7284, exifData=@0xbffc729c, view=0x9ef3e88,
    item=0xa047748) at /home/andi/Programmieren/workspace/digikam_KDE4/digikam/libs/imageproperties/imagepropertiessidebarcamgui.cpp:141
#10 0x0816215a in Digikam::CameraUI::slotItemsSelected (this=0x9d535a8, item=0xa047748, selected=true)
    at /home/andi/Programmieren/workspace/digikam_KDE4/digikam/utilities/cameragui/cameraui.cpp:1697
#11 0x08172547 in Digikam::CameraUI::qt_metacall (this=0x9d535a8, _c=QMetaObject::InvokeMetaMethod, _id=40, _a=0xbffc738c)
    at /home/andi/Programmieren/workspace/digikam_KDE4/digikam/digikam/cameraui.moc:206
#12 0xb68788d7 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#13 0xb6878ded in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#14 0x0815421b in Digikam::CameraIconView::signalSelected (this=0x9ef3e88, _t1=0xa047748, _t2=true)
    at /home/andi/Programmieren/workspace/digikam_KDE4/digikam/digikam/cameraiconview.moc:130
#15 0x0815429b in Digikam::CameraIconView::slotSelectionChanged (this=0x9ef3e88)
    at /home/andi/Programmieren/workspace/digikam_KDE4/digikam/utilities/cameragui/cameraiconview.cpp:425
#16 0x08154411 in Digikam::CameraIconView::qt_metacall (this=0x9ef3e88, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0xbffc7458)
    at /home/andi/Programmieren/workspace/digikam_KDE4/digikam/digikam/cameraiconview.moc:110
#17 0xb68788d7 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#18 0xb6878ded in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#19 0x082b0c27 in Digikam::IconView::signalSelectionChanged (this=0x9ef3e88) at /home/andi/Programmieren/workspace/digikam_KDE4/digikam/digikam/iconview.moc:100
#20 0x082b1958 in Digikam::IconView::selectItem (this=0x9ef3e88, item=0xa047748, select=true)
    at /home/andi/Programmieren/workspace/digikam_KDE4/digikam/digikam/iconview.cpp:412
#21 0x082b5cec in Digikam::IconItem::setSelected (this=0xa047748, val=true, cb=true)
    at /home/andi/Programmieren/workspace/digikam_KDE4/digikam/digikam/iconitem.cpp:120
#22 0x082b1863 in Digikam::IconView::slotRearrange (this=0x9ef3e88) at /home/andi/Programmieren/workspace/digikam_KDE4/digikam/digikam/iconview.cpp:649
#23 0x082b3eff in Digikam::IconView::qt_metacall (this=0x9ef3e88, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbffc75f8)
    at /home/andi/Programmieren/workspace/digikam_KDE4/digikam/digikam/iconview.moc:89
#24 0x081542d6 in Digikam::CameraIconView::qt_metacall (this=0x9ef3e88, _c=QMetaObject::InvokeMetaMethod, _id=57, _a=0xbffc75f8)
    at /home/andi/Programmieren/workspace/digikam_KDE4/digikam/digikam/cameraiconview.moc:95
#25 0xb68788d7 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#26 0xb6878ded in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#27 0xb68ac270 in QTimer::timeout () from /usr/lib/libQtCore.so.4
#28 0xb687fadf in QTimer::timerEvent () from /usr/lib/libQtCore.so.4
#29 0xb6875712 in QObject::event () from /usr/lib/libQtCore.so.4
#30 0xb5e3df13 in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#31 0xb5e44a1c in QApplication::notify () from /usr/lib/libQtGui.so.4
#32 0xb6ed8f7c in KApplication::notify () from /usr/lib/libkdeui.so.5
#33 0xb686830c in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#34 0xb688f8ce in ?? () from /usr/lib/libQtCore.so.4
#35 0xbffc7e00 in ?? ()
#36 0x09ec0c68 in ?? ()
#37 0xbffc7a9c in ?? ()
#38 0xb6868a9d in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#39 0xb688c75d in ?? () from /usr/lib/libQtCore.so.4
#40 0x092d9f54 in ?? ()
#41 0xb5724240 in ?? () from /usr/lib/libglib-2.0.so.0
#42 0xbffc7b38 in ?? ()
#43 0xb56aa171 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
Backtrace stopped: frame did not save the PC


Andi
Comment 6 Andi Clemens 2008-09-02 18:23:04 UTC
Pavel,

with KDE4.1.1 it is working again (or maybe another change in some libs did it, I don't know just tested it today again).
Can you please check if the problem is still present with the current SVN checkout?

Andi
Comment 7 Pavel Zheltobryukhov 2008-09-03 20:00:03 UTC
Unfortunately, HDD on my laptop failed totally. I shall make a rollup to latest SUSE RPMs (sorry, I have no ability to use SVN builds) in one-two days after HDD replacement.
Comment 8 Pavel Zheltobryukhov 2008-09-10 17:43:16 UTC
I made upgrade to 0.10.0-beta3 today
(use KDE 4.1.2 (KDE 4.1.1 (KDE 4.1 >= 20080828)) "release 32.3")
The bug still exist :(
Comment 9 Pavel Zheltobryukhov 2008-09-21 21:06:25 UTC
I checked this issue against digikam 0.9.3 . There is NO problem with downloading  .avi-file(s) from Canon S5 IS camera. 
Comment 10 Pavel Zheltobryukhov 2008-10-19 13:20:11 UTC
Created attachment 28018 [details]
KCrash output

Confirm crash on 0.10.0-beta4
Use KDE 4.1.2 (KDE 4.1.2) "release 45.1" 
OpenSUSE 11.0 KDE Factory RPM Build
Comment 11 Marcel Wiesweg 2008-10-19 22:25:51 UTC
Author: mwiesweg <mwiesweg@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>
Date:   Sun Oct 19 20:24:46 2008 +0000

    Check that returned KMimeType is not null.
    Please test if this fixes bug 169641.
Comment 12 Marcel Wiesweg 2008-10-21 20:32:12 UTC
*** Bug 173215 has been marked as a duplicate of this bug. ***
Comment 13 Andi Clemens 2008-10-21 23:20:14 UTC
Hi,

as I said before, seems to work here again... but playing the movie will crash digiKam... but this is another problem.

Pavel, 
do you still have the problem?

Andi
Comment 14 Pavel Zheltobryukhov 2008-10-22 12:11:59 UTC
Andy,

I couldn't build digikam from svn by myself, so I use KDE Factory builds for OpenSUSE 11.0. Probably, I can test your fixes with beta 5 when it appear in repository.

Comment 15 Andi Clemens 2008-10-22 12:17:33 UTC
Alright... :-)
Comment 16 caulier.gilles 2008-10-22 12:26:45 UTC
Andi, Marcel,

Since digiKam compile under Win32 now, i propose to release 0.10.0-Beta5 in a near future (as this week end for ex). This will let one week to read feedback before coding sprint at Genoa.

Fine for you ?

Gilles Caulier
Comment 17 Andi Clemens 2008-10-22 12:33:39 UTC
Yes, fine for me...
Comment 18 Pavel Zheltobryukhov 2008-11-06 20:05:55 UTC
confirm: fixed in beta5
Comment 19 Marcel Wiesweg 2008-12-02 17:11:55 UTC
*** Bug 172164 has been marked as a duplicate of this bug. ***
Comment 20 Marcel Wiesweg 2008-12-02 17:17:16 UTC
*** Bug 174642 has been marked as a duplicate of this bug. ***