[Digikam-devel] [Bug 176584] New: Mousewheeling on a slideshow sometimes crash digikam

yann LE HIR yann.lehir at gmail.com
Sun Nov 30 22:07:58 GMT 2008


http://bugs.kde.org/show_bug.cgi?id=176584

           Summary: Mousewheeling on a slideshow sometimes crash digikam
           Product: digikam
           Version: unspecified
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel at kde.org
        ReportedBy: yann.lehir at gmail.com


Version:           0.10.0-SVN-890995 (using KDE 4.1.3)
Compiler:          cmake 2.6, gcc 4.1.2 
OS:                Linux
Installed from:    Gentoo Packages

I was mousewheeling on a slideshow to pass some photos when digikam crashed. 
I managed to reproduce it but it tooks me sometime, the crash is not always on
the same photos or at the same time.

I looked a little in the code but I found nothing.
I think it's related to thread lock.

Here is a backtrace :

Application : digiKam (digikam), signal SIGABRT
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]            
[New Thread 0xb4c75700 (LWP 15584)]                      
[New Thread 0xa78fcb90 (LWP 11747)]                      
[New Thread 0xa80fdb90 (LWP 11746)]                      
[New Thread 0xa9523b90 (LWP 15626)]                      
[New Thread 0xa9d24b90 (LWP 15625)]                      
[New Thread 0xad574b90 (LWP 15604)]                      
[New Thread 0xadd99b90 (LWP 15601)]                      
[New Thread 0xae9a5b90 (LWP 15600)]                      
[New Thread 0xaf1a6b90 (LWP 15599)]                      
[New Thread 0xaf9f8b90 (LWP 15591)]                      
[New Thread 0xb2c88b90 (LWP 15590)]                      
[New Thread 0xb244db90 (LWP 15589)]                      
[New Thread 0xb35f0b90 (LWP 15585)]                      
0xffffe424 in __kernel_vsyscall ()                       
[Current thread is 0 (LWP 15584)]                        

Thread 13 (Thread 0xb35f0b90 (LWP 15585)):
#0  0xffffe424 in __kernel_vsyscall ()    
#1  0xb7d10806 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb7d96b44 in QWaitCondition::wait () from /usr/lib/qt4/libQtCore.so.4   
#3  0x08282ec5 in Digikam::ScanController::run (this=0x842b748)              
    at /home/build/digikam_4.1/graphics/digikam/digikam/scancontroller.cpp:346
#4  0xb7d95b5f in ?? () from /usr/lib/qt4/libQtCore.so.4                      
#5  0xb7d0c45f in start_thread () from /lib/libpthread.so.0                   

Thread 12 (Thread 0xb244db90 (LWP 15589)):
#0  0xffffe424 in __kernel_vsyscall ()    
#1  0xb7d10806 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb7d96b44 in QWaitCondition::wait () from /usr/lib/qt4/libQtCore.so.4   
#3  0xb6b69895 in Digikam::LoadSaveThread::run (this=0x84b47c0)                 
    at
/home/build/digikam_4.1/graphics/digikam/libs/threadimageio/loadsavethread.cpp:129 
#4  0xb7d95b5f in ?? () from /usr/lib/qt4/libQtCore.so.4                        
#5  0xb7d0c45f in start_thread () from /lib/libpthread.so.0                     

Thread 11 (Thread 0xb2c88b90 (LWP 15590)):                                      
#0  0xffffe424 in __kernel_vsyscall ()                                          
#1  0xb7d10806 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0   
#2  0xb7d96b44 in QWaitCondition::wait () from /usr/lib/qt4/libQtCore.so.4      
#3  0xb6b69895 in Digikam::LoadSaveThread::run (this=0x84dd440)                 
    at
/home/build/digikam_4.1/graphics/digikam/libs/threadimageio/loadsavethread.cpp:129 
#4  0xb7d95b5f in ?? () from /usr/lib/qt4/libQtCore.so.4                        
#5  0xb7d0c45f in start_thread () from /lib/libpthread.so.0                     

Thread 10 (Thread 0xaf9f8b90 (LWP 15591)):
#0  0xffffe424 in __kernel_vsyscall ()    
#1  0xb7d10a8c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0                            
#2  0xb04e01b4 in ?? () from /usr/lib/libxine.so.1      
#3  0x085d9818 in ?? ()                                 
#4  0x085d9800 in ?? ()                                 
#5  0xaf9f836c in ?? ()                                 
#6  0xaf9f8374 in ?? ()                                 
#7  0x085d9800 in ?? ()                                 
#8  0x085d9818 in ?? ()                                 
#9  0xaf9f836c in ?? ()                                 
#10 0x49323981 in ?? ()                                 
#11 0x3400f918 in ?? ()                                 
#12 0x4932397c in ?? ()                                 
#13 0x000d501f in ?? ()                                 
#14 0xb7d1bff4 in ?? () from /lib/libpthread.so.0       
#15 0x00000000 in ?? ()                                 

Thread 9 (Thread 0xaf1a6b90 (LWP 15599)):
#0  0xffffe424 in __kernel_vsyscall ()   
#1  0xb7d10806 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb04ee8aa in ?? () from /usr/lib/libxine.so.1                           
#3  0x08624680 in ?? ()                                                      
#4  0x08624668 in ?? ()                                                      
#5  0xaf1a62c8 in ?? ()                                                      
#6  0x00000000 in ?? ()                                                      

Thread 8 (Thread 0xae9a5b90 (LWP 15600)):
#0  0xffffe424 in __kernel_vsyscall ()   
#1  0xb52e3211 in select () from /lib/libc.so.6
#2  0xb050759a in xine_usec_sleep () from /usr/lib/libxine.so.1

Thread 7 (Thread 0xadd99b90 (LWP 15601)):
#0  0xffffe424 in __kernel_vsyscall ()   
#1  0xb52e3211 in select () from /lib/libc.so.6
#2  0xb7eb7014 in QEventDispatcherUNIX::select ()
   from /usr/lib/qt4/libQtCore.so.4              
#3  0xb7eb808e in QEventDispatcherUNIXPrivate::doSelect ()
   from /usr/lib/qt4/libQtCore.so.4                       
#4  0xb7eb853a in QEventDispatcherUNIX::processEvents ()  
   from /usr/lib/qt4/libQtCore.so.4                       
#5  0xb7e89721 in QEventLoop::processEvents ()            
   from /usr/lib/qt4/libQtCore.so.4                       
#6  0xb7e898ad in QEventLoop::exec () from /usr/lib/qt4/libQtCore.so.4
#7  0xb7d929ab in QThread::exec () from /usr/lib/qt4/libQtCore.so.4   
#8  0xb0528548 in KConfigGroup::readCheck<int> ()                     
   from /usr/kde/4.1/lib/kde4/phonon_xine.so                          

Thread 6 (Thread 0xad574b90 (LWP 15604)):
#0  0xffffe424 in __kernel_vsyscall ()   
#1  0xb7d10806 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb7d96b44 in QWaitCondition::wait () from /usr/lib/qt4/libQtCore.so.4   
#3  0xb6b69895 in Digikam::LoadSaveThread::run (this=0xa55e1e8)              
    at
/home/build/digikam_4.1/graphics/digikam/libs/threadimageio/loadsavethread.cpp:129
#4  0xb7d95b5f in ?? () from /usr/lib/qt4/libQtCore.so.4                        
#5  0xb7d0c45f in start_thread () from /lib/libpthread.so.0                     

Thread 5 (Thread 0xa9d24b90 (LWP 15625)):
#0  0xffffe424 in __kernel_vsyscall ()   
#1  0xb7d10806 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb7d96b44 in QWaitCondition::wait () from /usr/lib/qt4/libQtCore.so.4   
#3  0xb6b69895 in Digikam::LoadSaveThread::run (this=0xa1b8db8)              
    at
/home/build/digikam_4.1/graphics/digikam/libs/threadimageio/loadsavethread.cpp:129
#4  0xb7d95b5f in ?? () from /usr/lib/qt4/libQtCore.so.4                        
#5  0xb7d0c45f in start_thread () from /lib/libpthread.so.0                     

Thread 4 (Thread 0xa9523b90 (LWP 15626)):
#0  0xffffe424 in __kernel_vsyscall ()   
#1  0xb7d10806 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb7d96b44 in QWaitCondition::wait () from /usr/lib/qt4/libQtCore.so.4   
#3  0xb6b69895 in Digikam::LoadSaveThread::run (this=0xa209c88)              
    at
/home/build/digikam_4.1/graphics/digikam/libs/threadimageio/loadsavethread.cpp:129
#4  0xb7d95b5f in ?? () from /usr/lib/qt4/libQtCore.so.4                        
#5  0xb7d0c45f in start_thread () from /lib/libpthread.so.0                     

Thread 3 (Thread 0xa80fdb90 (LWP 11746)):
#0  0xffffe424 in __kernel_vsyscall ()   
#1  0xb52a8556 in nanosleep () from /lib/libc.so.6
#2  0xb52a8380 in sleep () from /lib/libc.so.6    
#3  0xb7a06301 in ?? () from /usr/kde/4.1/lib/libkdeui.so.5
#4  0x00000001 in ?? ()                                    
#5  0x00000002 in ?? ()                                    
#6  0x616d6f74 in ?? ()                                    
#7  0x6d736974 in ?? ()                                    
#8  0x61637365 in ?? ()                                    
#9  0xa80fa94e in ?? ()                                    
#10 0xa80fa94e in ?? ()                                    
#11 0x00000003 in ?? ()                                    
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 2 (Thread 0xa78fcb90 (LWP 11747)):
#0  0xffffe424 in __kernel_vsyscall ()   
#1  0xb7d10806 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb7d96b44 in QWaitCondition::wait () from /usr/lib/qt4/libQtCore.so.4   
#3  0xb6b69895 in Digikam::LoadSaveThread::run (this=0x98c6d810)             
    at
/home/build/digikam_4.1/graphics/digikam/libs/threadimageio/loadsavethread.cpp:129
#4  0xb7d95b5f in ?? () from /usr/lib/qt4/libQtCore.so.4                        
#5  0xb7d0c45f in start_thread () from /lib/libpthread.so.0                     

Thread 1 (Thread 0xb4c75700 (LWP 15584)):
#0  0xffffe424 in __kernel_vsyscall ()   
#1  0xb7d10806 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb7d95353 in ?? () from /usr/lib/qt4/libQtCore.so.4
#3  0xb7d90905 in QMutex::lock () from /usr/lib/qt4/libQtCore.so.4
#4  0xb6b6ff71 in CacheLock (this=0xbf890708, cache=0x84b13c0)
    at
/home/build/digikam_4.1/graphics/digikam/libs/threadimageio/loadingcache.cpp:290
#5  0xb6b75ec5 in Digikam::SharedLoadingTask::setStatus (this=0xa1f385c0,
    status=Digikam::LoadingTask::LoadingTaskStatusStopping)
    at
/home/build/digikam_4.1/graphics/digikam/libs/threadimageio/loadsavetask.cpp:254
#6  0xb6b6c73e in Digikam::ManagedLoadSaveThread::loadPreview (
    this=0x98c71c58, description=@0xbf890864)
    at
/home/build/digikam_4.1/graphics/digikam/libs/threadimageio/managedloadsavethread.cpp:236
#7  0xb6b77ad3 in Digikam::PreviewLoadThread::load (this=0x98c71c58,
    description=@0xbf89094c)
    at
/home/build/digikam_4.1/graphics/digikam/libs/threadimageio/previewloadthread.cpp:43
#8  0xb6c224d2 in Digikam::SlideShow::loadNextImage (this=0x98c6d8b0)
    at
/home/build/digikam_4.1/graphics/digikam/utilities/slideshow/slideshow.cpp:270
#9  0xb6c22631 in Digikam::SlideShow::slotNext (this=0x98c6d8b0)
    at
/home/build/digikam_4.1/graphics/digikam/utilities/slideshow/slideshow.cpp:642
#10 0xb6c2278f in Digikam::SlideShow::wheelEvent (this=0x98c6d8b0,
    e=0xbf890e9c)
    at
/home/build/digikam_4.1/graphics/digikam/utilities/slideshow/slideshow.cpp:657
#11 0xb5ff1b48 in QWidget::event () from /usr/lib/qt4/libQtGui.so.4
#12 0xb5f970b0 in QApplicationPrivate::notify_helper ()
   from /usr/lib/qt4/libQtGui.so.4
#13 0xb5f9cb57 in QApplication::notify () from /usr/lib/qt4/libQtGui.so.4
#14 0xb799c845 in KApplication::notify () from /usr/kde/4.1/lib/libkdeui.so.5
#15 0xbf8916bc in ?? ()
#16 0x98c6d8b0 in ?? ()
#17 0xbf890e9c in ?? ()
#18 0xb7d8d28f in QInternal::activateCallbacks ()
   from /usr/lib/qt4/libQtCore.so.4
#19 0xb7e8a524 in QCoreApplication::notifyInternal ()
   from /usr/lib/qt4/libQtCore.so.4
#20 0xb5ff70dd in ?? () from /usr/lib/qt4/libQtGui.so.4
#21 0xb600540b in ?? () from /usr/lib/qt4/libQtGui.so.4
#22 0xb6003959 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt4/libQtGui.so.4
#23 0xb602afdb in ?? () from /usr/lib/qt4/libQtGui.so.4
#24 0xb7e89721 in QEventLoop::processEvents ()
   from /usr/lib/qt4/libQtCore.so.4
#25 0xb7e898ad in QEventLoop::exec () from /usr/lib/qt4/libQtCore.so.4
#26 0xb7e8ba82 in QCoreApplication::exec () from /usr/lib/qt4/libQtCore.so.4
#27 0xb5f968c4 in QApplication::exec () from /usr/lib/qt4/libQtGui.so.4
#28 0x082740a6 in main (argc=5, argv=0xbf8918d4)
    at /home/build/digikam_4.1/graphics/digikam/digikam/main.cpp:180
#0  0xffffe424 in __kernel_vsyscall ()


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list