Bug 197434 - crash when trying to access camera card via USB. Menu Import/USB Storage/USB FLash Reader
Summary: crash when trying to access camera card via USB. Menu Import/USB Storage/USB ...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-UMS (show other bugs)
Version: 0.10.0
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-21 23:06 UTC by Richlion
Modified: 2017-08-16 05:30 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richlion 2009-06-21 23:06:13 UTC
Version:           0.10.0 (using KDE 4.2.4)
Compiler:          gcc version 4.3.2 (Gentoo 4.3.2 p1.1) Target: x86_64-pc-linux-gnu
OS:                Linux
Installed from:    Gentoo Packages

Hi, 
I just installed Digikam on my Sabayon KDE4.2 64-bit Linux, as I have problems reading files on my CANON memory card. So I mount my card using a USB card reader. Somehow Digikam cannot mount/connect to my camera Powershot A620 (never had any problems with KDE3.5.1). 
When I use the option Import/USB Storage Devices/USB Disk FLash reader Digikam crashes:

Application: digiKam (digikam), signal SIGSEGV                                                                                                           
   from /lib/libpthread.so.0                                                                                                                             
[Current thread is 0 (LWP 7897)]                                                                                                                         

Thread 10 (Thread 0x410e4950 (LWP 7898)):
#0  0x00007fca1abb0da9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fca1ae1e6e9 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4 
#2  0x00000000005a374d in ?? ()                                                      
#3  0x00007fca1ae1d959 in ?? () from /usr/lib64/qt4/libQtCore.so.4                   
#4  0x00007fca1abad037 in start_thread () from /lib/libpthread.so.0                  
#5  0x00007fca1914003d in clone () from /lib/libc.so.6                               
#6  0x0000000000000000 in ?? ()                                                      

Thread 9 (Thread 0x418e5950 (LWP 7900)):
#0  0x00007fca1abb0da9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fca1ae1e6e9 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4 
#2  0x00007fca1ca78904 in Digikam::LoadSaveThread::run () from /usr/kde/4.2/lib64/libdigikamcore.so.1
#3  0x00007fca1ae1d959 in ?? () from /usr/lib64/qt4/libQtCore.so.4                                   
#4  0x00007fca1abad037 in start_thread () from /lib/libpthread.so.0                                  
#5  0x00007fca1914003d in clone () from /lib/libc.so.6                                               
#6  0x0000000000000000 in ?? ()                                                                      

Thread 8 (Thread 0x4228e950 (LWP 7901)):
#0  0x00007fca1abb0da9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fca1ae1e6e9 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4 
#2  0x00007fca1ca78904 in Digikam::LoadSaveThread::run () from /usr/kde/4.2/lib64/libdigikamcore.so.1
#3  0x00007fca1ae1d959 in ?? () from /usr/lib64/qt4/libQtCore.so.4                                   
#4  0x00007fca1abad037 in start_thread () from /lib/libpthread.so.0                                  
#5  0x00007fca1914003d in clone () from /lib/libc.so.6                                               
#6  0x0000000000000000 in ?? ()                                                                      

Thread 7 (Thread 0x42a8f950 (LWP 7902)):
#0  0x00007fca1abb102d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fca02913edc in ?? () from /usr/lib64/libxine.so.1                              
#2  0x00007fca1abad037 in start_thread () from /lib/libpthread.so.0                       
#3  0x00007fca1914003d in clone () from /lib/libc.so.6                                    
#4  0x0000000000000000 in ?? ()                                                           

Thread 6 (Thread 0x43290950 (LWP 7903)):
#0  0x00007fca191397a2 in select () from /lib/libc.so.6
#1  0x00007fca029325c0 in xine_usec_sleep () from /usr/lib64/libxine.so.1
#2  0x00007fca0291e2fa in ?? () from /usr/lib64/libxine.so.1             
#3  0x00007fca1abad037 in start_thread () from /lib/libpthread.so.0      
#4  0x00007fca1914003d in clone () from /lib/libc.so.6                   
#5  0x0000000000000000 in ?? ()                                          

Thread 5 (Thread 0x43a91950 (LWP 7904)):
#0  0x00007fca19137736 in poll () from /lib/libc.so.6
#1  0x00007fca1684f415 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fca1684f54a in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fca1af17cbe in QEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007fca1aef0f62 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4          
#5  0x00007fca1aef10f5 in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4                   
#6  0x00007fca1ae1adec in QThread::exec () from /usr/lib64/qt4/libQtCore.so.4                      
#7  0x00007fca02b61afb in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so           
#8  0x00007fca1ae1d959 in ?? () from /usr/lib64/qt4/libQtCore.so.4                                 
#9  0x00007fca1abad037 in start_thread () from /lib/libpthread.so.0                                
#10 0x00007fca1914003d in clone () from /lib/libc.so.6                                             
#11 0x0000000000000000 in ?? ()                                                                    

Thread 4 (Thread 0x44292950 (LWP 7907)):
#0  0x00007fca1abb386b in read () from /lib/libpthread.so.0
#1  0x00007fca02f2ef01 in ?? () from /usr/lib/libasound.so.2
#2  0x00007fca02f2afa6 in snd_hctl_handle_events () from /usr/lib/libasound.so.2
#3  0x00007fca02f323e1 in snd_mixer_handle_events () from /usr/lib/libasound.so.2
#4  0x00007fc9fc711742 in ?? () from /usr/lib64/xine/plugins/1.26/xineplug_ao_out_alsa.so
#5  0x00007fca1abad037 in start_thread () from /lib/libpthread.so.0                      
#6  0x00007fca1914003d in clone () from /lib/libc.so.6                                   
#7  0x0000000000000000 in ?? ()                                                          

Thread 3 (Thread 0x44a93950 (LWP 7908)):
#0  0x00007fca1abb0da9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fca0291f34c in ?? () from /usr/lib64/libxine.so.1                         
#2  0x00007fca029208fa in ?? () from /usr/lib64/libxine.so.1                         
#3  0x00007fca1abad037 in start_thread () from /lib/libpthread.so.0                  
#4  0x00007fca1914003d in clone () from /lib/libc.so.6                               
#5  0x0000000000000000 in ?? ()                                                      

Thread 2 (Thread 0x46296950 (LWP 7921)):
[KCrash Handler]                        
#5  0x00007fca1ae99b93 in QIODevice::read () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007fca1ae88e8d in QDataStream::operator>> () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007fca1b5706f2 in KSycocaDict::Private::offsetForKey () from /usr/kde/4.2/lib64/libkdecore.so.5
#8  0x00007fca1b5710bc in KSycocaDict::findMultiString () from /usr/kde/4.2/lib64/libkdecore.so.5      
#9  0x00007fca1b50c5ab in KMimeTypeFactory::findFromFastPatternDict () from /usr/kde/4.2/lib64/libkdecore.so.5
#10 0x00007fca1b50c813 in KMimeTypeFactory::findFromFileNameHelper () from /usr/kde/4.2/lib64/libkdecore.so.5 
#11 0x00007fca1b50c8d1 in KMimeTypeFactory::findFromFileName () from /usr/kde/4.2/lib64/libkdecore.so.5       
#12 0x00007fca1b510767 in KMimeType::findByUrlHelper () from /usr/kde/4.2/lib64/libkdecore.so.5               
#13 0x00007fca1b510e31 in KMimeType::findByUrl () from /usr/kde/4.2/lib64/libkdecore.so.5                     
#14 0x00000000004a5866 in ?? ()                                                                               
#15 0x00000000004a68e0 in ?? ()                                                                               
#16 0x00000000004c22ac in ?? ()                                                                               
#17 0x00000000004c41c7 in ?? ()                                                                               
#18 0x00007fca1ae1d959 in ?? () from /usr/lib64/qt4/libQtCore.so.4                                            
#19 0x00007fca1abad037 in start_thread () from /lib/libpthread.so.0
#20 0x00007fca1914003d in clone () from /lib/libc.so.6
#21 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fca1f495760 (LWP 7897)):
#0  0x00007fca1abb102d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fca1ae1d235 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fca1ae1d38e in QThread::msleep () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007fca02b73e07 in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#4  0x00007fca1ee7f6ae in ?? () from /usr/lib/libphonon.so.4
#5  0x00007fca190a4dcd in exit () from /lib/libc.so.6
#6  0x00007fca19d5f088 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#7  0x00007fca1bc18888 in KApplication::xioErrhandler () from /usr/kde/4.2/lib64/libkdeui.so.5
#8  0x00007fca17f10d33 in _XIOError () from /usr/lib/libX11.so.6
#9  0x00007fca17f1600b in _XGetXCBBuffer () from /usr/lib/libX11.so.6
#10 0x00007fca17f16c1e in _XReply () from /usr/lib/libX11.so.6
#11 0x00007fca17efb224 in XGetImage () from /usr/lib/libX11.so.6
#12 0x00007fca19dc6c6d in QX11PixmapData::toImage () from /usr/lib64/qt4/libQtGui.so.4
#13 0x00007fca19db759d in QPixmap::toImage () from /usr/lib64/qt4/libQtGui.so.4
#14 0x00000000004b8b3f in ?? ()
#15 0x00000000004c8fab in ?? ()
#16 0x00000000004d030e in ?? ()
#17 0x00007fca1af014a1 in QObject::event () from /usr/lib64/qt4/libQtCore.so.4
#18 0x00007fca19d56d1c in QWidget::event () from /usr/lib64/qt4/libQtGui.so.4
#19 0x00007fca1a0b796b in QMainWindow::event () from /usr/lib64/qt4/libQtGui.so.4
#20 0x00007fca1bccc9c3 in KXmlGuiWindow::event () from /usr/kde/4.2/lib64/libkdeui.so.5
#21 0x00007fca19d09a1d in QApplicationPrivate::notify_helper () from /usr/lib64/qt4/libQtGui.so.4
#22 0x00007fca19d1244a in QApplication::notify () from /usr/lib64/qt4/libQtGui.so.4
#23 0x00007fca1bc19ada in KApplication::notify () from /usr/kde/4.2/lib64/libkdeui.so.5
#24 0x00007fca1aef25bc in QCoreApplication::notifyInternal () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007fca1aef2f17 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib64/qt4/libQtCore.so.4
#26 0x00007fca1af18003 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#27 0x00007fca1684d6c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0x00007fca1684f46a in ?? () from /usr/lib/libglib-2.0.so.0
#29 0x00007fca1684f54a in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#30 0x00007fca1af17c9f in QEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#31 0x00007fca19d903bf in ?? () from /usr/lib64/qt4/libQtGui.so.4
#32 0x00007fca1aef0f62 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#33 0x00007fca1aef10f5 in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#34 0x00007fca1aef31bc in QCoreApplication::exec () from /usr/lib64/qt4/libQtCore.so.4
#35 0x00000000005bafe0 in ?? ()
#36 0x00007fca1908e486 in __libc_start_main () from /lib/libc.so.6
#37 0x0000000000457589 in _start ()


I hope this helps?
Regards, 
Richard
Comment 1 caulier.gilles 2009-06-21 23:19:08 UTC
Do you have non image file on your media, as video or sound ?

If yes, try with 1.0.0-beta1. i have fixed a crash relevant.

Gilles Caulier
Comment 2 Andi Clemens 2009-10-08 11:30:26 UTC
Any news here?
Comment 3 Richlion 2009-10-08 23:34:49 UTC
Hi,

well, I just upgraded my system to Gentoo/ Sabayon version 5 with KDE 4.3.1.
Kernel = 2.6.31

I still cannot read the pictures via the USB hub, no crashes, but 
mounting the card
is problematic. Flashes, switches on and off in Dolphin.

I managed to have a workaround - I installed Digikam, I connect my Canon 
camera
directly via USB and I can download my pictures without any problem.

I do not have any crashes, but maybe there is a problem with the card 
reader?
I can use any USB device except the SD card reader.

I don't know, what I can do to debug this. Have you any suggestions?

Thanks,
Richard.

Andi Clemens wrote:
> https://bugs.kde.org/show_bug.cgi?id=197434
>
>
>
>
>
> --- Comment #2 from Andi Clemens <andi clemens gmx net>  2009-10-08 11:30:26 ---
> Any news here?
>
>
Comment 4 caulier.gilles 2009-12-25 20:07:11 UTC
digiKam 1.0.0 is out since few days...

http://www.digikam.org/drupal/node/491

Please try with this version coming with more than 400 bug-fixes.

Thanks in advance

Gilles Caulier
Comment 5 Richlion 2009-12-26 23:39:00 UTC
Hi,

thanks, I am already using DigiKam with success in KDE4.2, no problem at 
all any more.

Happy Season's Greatings,
Richard



Gilles Caulier wrote:
> https://bugs.kde.org/show_bug.cgi?id=197434
>
>
>
>
>
> --- Comment #4 from Gilles Caulier <caulier gilles gmail com>  2009-12-25 20:07:11 ---
> digiKam 1.0.0 is out since few days...
>
> http://www.digikam.org/drupal/node/491
>
> Please try with this version coming with more than 400 bug-fixes.
>
> Thanks in advance
>
> Gilles Caulier
>
>
Comment 6 Nicolas L. 2009-12-27 00:23:25 UTC
tks for the feedback 
=> closing