Bug 175626

Summary: digikam crashes while startup
Product: [Applications] digikam Reporter: Michael <m.mickey>
Component: Preview-ImageAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, kretz, marcel.wiesweg
Priority: LO    
Version: 0.10.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 5.4.0
Sentry Crash Report:

Description Michael 2008-11-19 23:35:42 UTC
Version:           0.10 current svn  (using KDE 4.1.2)
OS:                Linux
Installed from:    Ubuntu Packages

like title says, when starting digikam I just get a crash... here is the output...

greets, mike

digikam(21678) main: Root Album Path:  "/media/E/DCIM"
digikam(21678) main: Database Path:  "/media/E/DCIM"  
digikam(21678) Digikam::SchemaUpdater::update: SchemaUpdater update
digikam(21678) Digikam::SchemaUpdater::startUpdates: Have a database structure version  "5"
digikam(21678) Digikam::SchemaUpdater::makeUpdates: makeUpdates  5  to  5                  
digikam(21678) Digikam::CollectionManagerPrivate::actuallyListVolumes: listFromType        
digikam(21678) Digikam::CollectionManagerPrivate::actuallyListVolumes: got listFromType    
digikam(21678) Digikam::AlbumRootLocation::AlbumRootLocation: Creating new Location  "/DCIM"  uuid  "volumeid:?uuid=4848FA7148FA5D5E"                                                                 
digikam(21678) Digikam::CollectionManager::updateLocations: location for  "/media/E/DCIM"  is available  true                                                                                         
digikam(21678) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " are initially" QRect(0,0 100x30) QRect(0,0 100x91)                                                               
digikam(21678) Phonon::KdePlatformPlugin::createBackend: using backend:  "GStreamer"               
digikam(21678) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " after inserting widgets" QRect(0,0 100x30) QRect(0,0 100x91)                                                     
digikam(21678) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " are in setPreviewMode" QRect(0,0 100x30) QRect(0,0 100x91)                                                       
digikam(21678) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " in setPreviewItem" QRect(0,0 100x30) QRect(0,0 100x91)                                                           
digikam(21678) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " after setPreviewMode" QRect(0,0 100x30) QRect(0,0 100x91)                                                        
digikam(21678) Digikam::AlbumWidgetStack::readSettings: Saved sizes were (844, 0)                  
digikam(21678) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " after readSettings" QRect(0,0 100x27) QRect(-101,-1 100x91)                                                      
Starting to load Plugins.                                                                          
Files:  "CompassFloatItem.so"                                                                      
Files:  "MapScaleFloatItem.so"                                                                     
Files:  "MarbleOverviewMap.so"                                                                     
Files:  "MarbleStarsPlugin.so"                                                                     
=== MarbleDirs: ===                                                                                
Local Path: "/home/m/.marble/data"                                                                 
Plugin Local Path: "/home/m/.marble/plugins"                                                       
                                                                                                   
Marble Data Path (Run Time) : ""                                                                   
Marble Data Path (Compile Time): "/usr/share/kde4/apps/marble/data"                                
                                                                                                   
Marble Plugin Path (Run Time) : ""                                                                 
Marble Plugin Path (Compile Time): "/usr/lib/kde4/plugins/marble"                                  
                                                                                                   
System Path: "/usr/share/kde4/apps/marble/data"                                                    
Plugin System Path: "/usr/lib/kde4/plugins/marble"                                                 
===================                                                                                
"CompassFloatItem.so"  -  "/usr/lib/kde4/plugins/marble/CompassFloatItem.so"                       
"MapScaleFloatItem.so"  -  "/usr/lib/kde4/plugins/marble/MapScaleFloatItem.so"                     
"MarbleOverviewMap.so"  -  "/usr/lib/kde4/plugins/marble/MarbleOverviewMap.so"                     
"MarbleStarsPlugin.so"  -  "/usr/lib/kde4/plugins/marble/MarbleStarsPlugin.so"                     
Use workaround:  0                                                                                 
"Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/cityplacemarks.cache"                                                                                               
Style reset requested.                                                                             
"Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/baseplacemarks.cache"                                                                                               
Style reset requested.                                                                             
"Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/elevplacemarks.cache"                                                                                               
Style reset requested.                                                                             
"Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/otherplacemarks.cache"                                                                                              
Style reset requested.                                                                             
"Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/boundaryplacemarks.cache"                                                                                           
Style reset requested.                                                                             
loadMapTheme "earth/citylights/citylights.dgml"                                                    

Succesfully parsed file! 
loadMapTheme "earth/bluemarble/bluemarble.dgml" 

Succesfully parsed file! 
MapThemeId "earth/srtm/srtm.dgml" 
loadMapTheme "earth/srtm/srtm.dgml" 

Succesfully parsed file! 
DGML2 Name       :  "Atlas" 
Style reset requested.      
THEME CHANGED: *** "earth/srtm/srtm.dgml" 
Starting to load Plugins.                 
Files:  "CompassFloatItem.so"             
Files:  "MapScaleFloatItem.so"            
Files:  "MarbleOverviewMap.so"            
Files:  "MarbleStarsPlugin.so"            
=== MarbleDirs: ===                       
Local Path: "/home/m/.marble/data"        
Plugin Local Path: "/home/m/.marble/plugins" 
                                             
Marble Data Path (Run Time) : ""             
Marble Data Path (Compile Time): "/usr/share/kde4/apps/marble/data" 
                                                                    
Marble Plugin Path (Run Time) : ""                                  
Marble Plugin Path (Compile Time): "/usr/lib/kde4/plugins/marble"   
                                                                    
System Path: "/usr/share/kde4/apps/marble/data"                     
Plugin System Path: "/usr/lib/kde4/plugins/marble"                  
===================                                                 
"CompassFloatItem.so"  -  "/usr/lib/kde4/plugins/marble/CompassFloatItem.so" 
"MapScaleFloatItem.so"  -  "/usr/lib/kde4/plugins/marble/MapScaleFloatItem.so" 
"MarbleOverviewMap.so"  -  "/usr/lib/kde4/plugins/marble/MarbleOverviewMap.so" 
"MarbleStarsPlugin.so"  -  "/usr/lib/kde4/plugins/marble/MarbleStarsPlugin.so" 
Use workaround:  0                                                             
"Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/cityplacemarks.cache"                                                                                               
Style reset requested.                                                                             
"Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/baseplacemarks.cache"                                                                                               
Style reset requested.                                                                             
"Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/elevplacemarks.cache"                                                                                               
Style reset requested.                                                                             
"Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/otherplacemarks.cache"                                                                                              
Style reset requested.                                                                             
"Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/boundaryplacemarks.cache"                                                                                           
Style reset requested.                                                                             
loadMapTheme "earth/citylights/citylights.dgml"                                                    

Succesfully parsed file! 
loadMapTheme "earth/bluemarble/bluemarble.dgml" 

Succesfully parsed file! 
MapThemeId "earth/srtm/srtm.dgml" 
loadMapTheme "earth/srtm/srtm.dgml" 

Succesfully parsed file! 
DGML2 Name       :  "Atlas" 
Style reset requested.      
THEME CHANGED: *** "earth/srtm/srtm.dgml" 
Object::connect: No such signal Digikam::GPSSearchWidget::regionSelected(QList<double>)
digikam(21678) Digikam::SetupICC::iccRepositoryIsValid: ICC profiles repository is:  "icc-profile"
digikam(21678) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " in setPreviewItem" QRect(0,0 100x27) QRect(-101,-1 100x91)                                                       
Style reset requested.                                                                             
digikam(21678) Digikam::AlbumManager::startScan: KDirWatch method =  "INotify"                     
Style reset requested.                                                                             
digikam(21678) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " are in setPreviewMode" QRect(0,0 100x27) QRect(-101,-1 100x91)                                                   
digikam(21678) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " in setPreviewItem" QRect(0,0 100x27) QRect(-101,-1 100x91)                                                       
Style reset requested.                                                                             
digikam(21678) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " are in setPreviewMode" QRect(0,0 100x27) QRect(-101,-1 100x91)                                                   
digikam(21678) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " in setPreviewItem" QRect(0,0 100x27) QRect(-101,-1 100x91)                                                       
Style reset requested.                                                                             
digikam(21678) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " are in setPreviewMode" QRect(0,0 100x27) QRect(-101,-1 100x91)                                                   
digikam(21678) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " in setPreviewItem" QRect(0,0 100x27) QRect(-101,-1 100x91)                                                       
KCrash: Application 'digikam' crashing...                                                          
sock_file=/home/m/.kde/socket-ubuntu/kdeinit4__0                                                   
digikam: Fatal IO error: client killed                                                             

** (<unknown>:21678): WARNING **: Serious fd usage error 31

** (<unknown>:21678): WARNING **: Serious fd usage error 29

GThread-ERROR **: file /build/buildd/glib2.0-2.18.2/gthread/gthread-posix.c: line 385 (g_thread_join_posix_impl): error 'Resource deadlock avoided' during 'pthread_join (*(pthread_t*)thread, &ignore)'                                                                                                 
aborting...                                                                                        
Unable to start Dr. Konqi                                                                          
m@ubuntu:/opt/digikam/bin$ clear
m@ubuntu:/opt/digikam/bin$ ./digikam
digikam(21700) main: Root Album Path:  "/media/E/DCIM"
digikam(21700) main: Database Path:  "/media/E/DCIM"  
digikam(21700) Digikam::SchemaUpdater::update: SchemaUpdater update
digikam(21700) Digikam::SchemaUpdater::startUpdates: Have a database structure version  "5"
digikam(21700) Digikam::SchemaUpdater::makeUpdates: makeUpdates  5  to  5                  
digikam(21700) Digikam::CollectionManagerPrivate::actuallyListVolumes: listFromType        
digikam(21700) Digikam::CollectionManagerPrivate::actuallyListVolumes: got listFromType    
digikam(21700) Digikam::AlbumRootLocation::AlbumRootLocation: Creating new Location  "/DCIM"  uuid  "volumeid:?uuid=4848FA7148FA5D5E"                                                                 
digikam(21700) Digikam::CollectionManager::updateLocations: location for  "/media/E/DCIM"  is available  true                                                                                         
digikam(21700) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " are initially" QRect(0,0 100x30) QRect(0,0 100x91)                                                               
digikam(21700) Phonon::KdePlatformPlugin::createBackend: using backend:  "GStreamer"               
digikam(21700) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " after inserting widgets" QRect(0,0 100x30) QRect(0,0 100x91)                                                     
digikam(21700) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " are in setPreviewMode" QRect(0,0 100x30) QRect(0,0 100x91)                                                       
digikam(21700) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " in setPreviewItem" QRect(0,0 100x30) QRect(0,0 100x91)                                                           
digikam(21700) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " after setPreviewMode" QRect(0,0 100x30) QRect(0,0 100x91)                                                        
digikam(21700) Digikam::AlbumWidgetStack::readSettings: Saved sizes were (844, 0)                  
digikam(21700) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " after readSettings" QRect(0,0 100x27) QRect(-101,-1 100x91)                                                      
Starting to load Plugins.                                                                          
Files:  "CompassFloatItem.so"                                                                      
Files:  "MapScaleFloatItem.so"                                                                     
Files:  "MarbleOverviewMap.so"                                                                     
Files:  "MarbleStarsPlugin.so"                                                                     
=== MarbleDirs: ===                                                                                
Local Path: "/home/m/.marble/data"                                                                 
Plugin Local Path: "/home/m/.marble/plugins"                                                       
                                                                                                   
Marble Data Path (Run Time) : ""                                                                   
Marble Data Path (Compile Time): "/usr/share/kde4/apps/marble/data"                                
                                                                                                   
Marble Plugin Path (Run Time) : ""                                                                 
Marble Plugin Path (Compile Time): "/usr/lib/kde4/plugins/marble"                                  
                                                                                                   
System Path: "/usr/share/kde4/apps/marble/data"                                                    
Plugin System Path: "/usr/lib/kde4/plugins/marble"                                                 
===================                                                                                
"CompassFloatItem.so"  -  "/usr/lib/kde4/plugins/marble/CompassFloatItem.so"                       
"MapScaleFloatItem.so"  -  "/usr/lib/kde4/plugins/marble/MapScaleFloatItem.so"                     
"MarbleOverviewMap.so"  -  "/usr/lib/kde4/plugins/marble/MarbleOverviewMap.so"                     
"MarbleStarsPlugin.so"  -  "/usr/lib/kde4/plugins/marble/MarbleStarsPlugin.so"                     
Use workaround:  0                                                                                 
"Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/cityplacemarks.cache"                                                                                               
Style reset requested.                                                                             
"Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/baseplacemarks.cache"                                                                                               
Style reset requested.                                                                             
"Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/elevplacemarks.cache"                                                                                               
Style reset requested.                                                                             
"Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/otherplacemarks.cache"                                                                                              
Style reset requested.                                                                             
"Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/boundaryplacemarks.cache"                                                                                           
Style reset requested.                                                                             
loadMapTheme "earth/citylights/citylights.dgml"                                                    

Succesfully parsed file! 
loadMapTheme "earth/bluemarble/bluemarble.dgml" 

Succesfully parsed file! 
MapThemeId "earth/srtm/srtm.dgml" 
loadMapTheme "earth/srtm/srtm.dgml" 

Succesfully parsed file! 
DGML2 Name       :  "Atlas" 
Style reset requested.      
THEME CHANGED: *** "earth/srtm/srtm.dgml" 
Starting to load Plugins.                 
Files:  "CompassFloatItem.so"             
Files:  "MapScaleFloatItem.so"            
Files:  "MarbleOverviewMap.so"            
Files:  "MarbleStarsPlugin.so"            
=== MarbleDirs: ===                       
Local Path: "/home/m/.marble/data"        
Plugin Local Path: "/home/m/.marble/plugins" 
                                             
Marble Data Path (Run Time) : ""             
Marble Data Path (Compile Time): "/usr/share/kde4/apps/marble/data" 
                                                                    
Marble Plugin Path (Run Time) : ""                                  
Marble Plugin Path (Compile Time): "/usr/lib/kde4/plugins/marble"   
                                                                    
System Path: "/usr/share/kde4/apps/marble/data"                     
Plugin System Path: "/usr/lib/kde4/plugins/marble"                  
===================                                                 
"CompassFloatItem.so"  -  "/usr/lib/kde4/plugins/marble/CompassFloatItem.so" 
"MapScaleFloatItem.so"  -  "/usr/lib/kde4/plugins/marble/MapScaleFloatItem.so" 
"MarbleOverviewMap.so"  -  "/usr/lib/kde4/plugins/marble/MarbleOverviewMap.so" 
"MarbleStarsPlugin.so"  -  "/usr/lib/kde4/plugins/marble/MarbleStarsPlugin.so" 
Use workaround:  0                                                             
"Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/cityplacemarks.cache"                                                                                               
Style reset requested.                                                                             
"Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/baseplacemarks.cache"                                                                                               
Style reset requested.                                                                             
"Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/elevplacemarks.cache"                                                                                               
Style reset requested.                                                                             
"Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/otherplacemarks.cache"                                                                                              
Style reset requested.                                                                             
"Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/boundaryplacemarks.cache"                                                                                           
Style reset requested.                                                                             
loadMapTheme "earth/citylights/citylights.dgml"                                                    

Succesfully parsed file!
loadMapTheme "earth/bluemarble/bluemarble.dgml"

Succesfully parsed file!
MapThemeId "earth/srtm/srtm.dgml"
loadMapTheme "earth/srtm/srtm.dgml"

Succesfully parsed file!
DGML2 Name       :  "Atlas"
Style reset requested.
THEME CHANGED: *** "earth/srtm/srtm.dgml"
Object::connect: No such signal Digikam::GPSSearchWidget::regionSelected(QList<double>)
digikam(21700) Digikam::SetupICC::iccRepositoryIsValid: ICC profiles repository is:  "icc-profile"
digikam(21700) Digikam::AlbumManager::startScan: KDirWatch method =  "INotify"
Style reset requested.
digikam(21700) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " are in setPreviewMode" QRect(0,0 100x27) QRect(-101,-1 100x91)
digikam(21700) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " in setPreviewItem" QRect(0,0 100x27) QRect(-101,-1 100x91)
Style reset requested.
digikam(21700) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " are in setPreviewMode" QRect(0,0 100x27) QRect(-101,-1 100x91)
digikam(21700) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " in setPreviewItem" QRect(0,0 100x27) QRect(-101,-1 100x91)
Style reset requested.
digikam(21700) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " are in setPreviewMode" QRect(0,0 100x27) QRect(-101,-1 100x91)
digikam(21700) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " in setPreviewItem" QRect(0,0 100x27) QRect(-101,-1 100x91)
digikam(21700) Digikam::AlbumWidgetStackPriv::dumpSplitter: Splitter widgets sizes " in setPreviewItem" QRect(0,0 100x27) QRect(-101,-1 100x91)
Style reset requested.
KCrash: Application 'digikam' crashing...
sock_file=/home/m/.kde/socket-ubuntu/kdeinit4__0
digikam: Fatal IO error: client killed

** (<unknown>:21700): WARNING **: Serious fd usage error 31

** (<unknown>:21700): WARNING **: Serious fd usage error 29

GThread-ERROR **: file /build/buildd/glib2.0-2.18.2/gthread/gthread-posix.c: line 385 (g_thread_join_posix_impl): error 'Resource deadlock avoided' during 'pthread_join (*(pthread_t*)thread, &ignore)'
aborting...
Unable to start Dr. Konqi
Comment 1 caulier.gilles 2008-11-20 06:14:08 UTC
Please give us a GDB output. Look here for details:

http://www.digikam.org/drupal/contrib

Gilles  Caulier
Comment 2 Michael 2008-11-20 11:44:29 UTC
I hope that helps:

sock_file=/home/m/.kde/socket-ubuntu/kdeinit4__0
digikam: Fatal IO error: client killed
[Thread 0x434e5950 (LWP 7059) exited]
[Thread 0x444e7950 (LWP 7060) exited]

** (<unknown>:7041): WARNING **: Serious fd usage error 33

** (<unknown>:7041): WARNING **: Serious fd usage error 31

GThread-ERROR **: file /build/buildd/glib2.0-2.18.2/gthread/gthread-posix.c: line 385 (g_thread_join_posix_impl): error 'Resource deadlock avoided' during 'pthread_join (*(pthread_t*)thread, &ignore)'
aborting...

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x43ce6950 (LWP 7058)]
0x00007f0b05d70fd5 in raise () from /lib/libc.so.6
(gdb) bt
#0  0x00007f0b05d70fd5 in raise () from /lib/libc.so.6
#1  0x00007f0b05d72b43 in abort () from /lib/libc.so.6
#2  0x00007f0b056aed9e in g_logv () from /usr/lib/libglib-2.0.so.0
#3  0x00007f0b056aee33 in g_log () from /usr/lib/libglib-2.0.so.0
#4  0x00007f0b05b3b0f3 in ?? () from /usr/lib/libgthread-2.0.so.0
#5  0x00007f0b056cd69b in g_thread_join () from /usr/lib/libglib-2.0.so.0
#6  0x00007f0aee887dc9 in ?? () from /usr/lib/gstreamer-0.10/libgstximagesink.so
#7  0x00007f0aee888ac4 in ?? () from /usr/lib/gstreamer-0.10/libgstximagesink.so
#8  0x00007f0af1910248 in g_object_unref () from /usr/lib/libgobject-2.0.so.0
#9  0x00007f0af2b8d23e in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_gstreamer.so
#10 0x00007f0af2b8d765 in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_gstreamer.so
#11 0x00007f0af2b8b433 in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_gstreamer.so
#12 0x00007f0b0f87376b in Phonon::MediaNodePrivate::deleteBackendObject ()
   from /usr/lib/libphonon.so.4
#13 0x00007f0b0f881e45 in ?? () from /usr/lib/libphonon.so.4
#14 0x00007f0b05d7466d in exit () from /lib/libc.so.6
#15 0x00007f0b0b1f0ae8 in ?? () from /usr/lib/libQtGui.so.4
#16 0x00007f0b103c89e8 in KApplication::xioErrhandler () from /usr/lib/libkdeui.so.5
#17 0x00007f0b0e3fc8b4 in _XIOError () from /usr/lib/libX11.so.6
#18 0x00007f0b0e404358 in ?? () from /usr/lib/libX11.so.6
#19 0x00007f0b0e404ad6 in _XEventsQueued () from /usr/lib/libX11.so.6
#20 0x00007f0b0e3d60fa in XCheckWindowEvent () from /usr/lib/libX11.so.6
#21 0x00007f0aee88aa6b in ?? () from /usr/lib/gstreamer-0.10/libgstximagesink.so
#22 0x00007f0b056ce264 in ?? () from /usr/lib/libglib-2.0.so.0
#23 0x00007f0b07b8b3ea in start_thread () from /lib/libpthread.so.0
#24 0x00007f0b05e24c6d in clone () from /lib/libc.so.6
#25 0x0000000000000000 in ?? ()
Comment 3 Andi Clemens 2008-11-20 11:50:18 UTC
Well looks like a Phonon / GStreamer error, so it shouldn't be digiKam related.

Andi
Comment 4 Michael 2008-11-20 11:57:04 UTC
I get a dialog, that phonen stops working since weeks while startup, also with the versions that work, and also here digikam keeps on starting... the crash appears a few moments later... 

when running with gdb I had to continue after the phonon crash with digikam still running, could it be that there are two problems?
ok, again, with two backtraces...

greets, mike


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fb542a446f0 (LWP 7095)]     
0x0000000000000000 in ?? ()                         
(gdb) bt                                            
#0  0x0000000000000000 in ?? ()                     
#1  0x00007fb53ea370e1 in KIPI::Interface::hasFeature (this=0x663ff10, 
    feature=KIPI::ImagesHasTime) at /src/digikam/kdegraphics/libs/libkipi/libkipi/interface.cpp:73
#2  0x00007fb53ea37588 in KIPI::Interface::hasFeature (this=0x663ff10, feature=@0x41cb6d8)        
    at /src/digikam/kdegraphics/libs/libkipi/libkipi/interface.cpp:87                             
#3  0x00007fb53ea34042 in PluginLoader (this=0x40a2780, ignores=@0x7fff4aa8e440,                  
    interface=0x663ff10) at /src/digikam/kdegraphics/libs/libkipi/libkipi/pluginloader.cpp:233    
#4  0x0000000000634ada in Digikam::DigikamApp::loadPlugins (this=0x165b400)                       
    at /src/digikam/graphics/digikam/digikam/digikamapp.cpp:2047                                  
#5  0x000000000064ecca in DigikamApp (this=0x165b400)                                             
    at /src/digikam/graphics/digikam/digikam/digikamapp.cpp:220                                   
#6  0x000000000068c398 in main (argc=1, argv=0x7fff4aa8eea8)                                      
    at /src/digikam/graphics/digikam/digikam/main.cpp:162                                         
(gdb) continue                                                                                    
Continuing.                                                                                       
KCrash: Application 'digikam' crashing...                                                         
sock_file=/home/m/.kde/socket-ubuntu/kdeinit4__0                                                  
digikam: Fatal IO error: client killed                                                            
[Thread 0x43a51950 (LWP 7111) exited]                                                             

** (<unknown>:7095): WARNING **: Serious fd usage error 33

** (<unknown>:7095): WARNING **: Serious fd usage error 31

GThread-ERROR **: file /build/buildd/glib2.0-2.18.2/gthread/gthread-posix.c: line 385 (g_thread_join_posix_impl): error 'Resource deadlock avoided' during 'pthread_join (*(pthread_t*)thread, &ignore)'
aborting...
[Thread 0x44a53950 (LWP 7112) exited]

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x44252950 (LWP 7110)]
0x00007fb5375acfd5 in raise () from /lib/libc.so.6
(gdb) bt
#0  0x00007fb5375acfd5 in raise () from /lib/libc.so.6
#1  0x00007fb5375aeb43 in abort () from /lib/libc.so.6
#2  0x00007fb536eead9e in g_logv () from /usr/lib/libglib-2.0.so.0
#3  0x00007fb536eeae33 in g_log () from /usr/lib/libglib-2.0.so.0
#4  0x00007fb5373770f3 in ?? () from /usr/lib/libgthread-2.0.so.0
#5  0x00007fb536f0969b in g_thread_join () from /usr/lib/libglib-2.0.so.0
#6  0x00007fb5241aedc9 in ?? () from /usr/lib/gstreamer-0.10/libgstximagesink.so
#7  0x00007fb5241afac4 in ?? () from /usr/lib/gstreamer-0.10/libgstximagesink.so
#8  0x00007fb527237248 in g_object_unref () from /usr/lib/libgobject-2.0.so.0
#9  0x00007fb52c4d123e in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_gstreamer.so
#10 0x00007fb52c4d1765 in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_gstreamer.so
#11 0x00007fb52c4cf433 in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_gstreamer.so
#12 0x00007fb5410af76b in Phonon::MediaNodePrivate::deleteBackendObject ()
   from /usr/lib/libphonon.so.4
#13 0x00007fb5410bde45 in ?? () from /usr/lib/libphonon.so.4
#14 0x00007fb5375b066d in exit () from /lib/libc.so.6
#15 0x00007fb53ca2cae8 in ?? () from /usr/lib/libQtGui.so.4
#16 0x00007fb541c049e8 in KApplication::xioErrhandler () from /usr/lib/libkdeui.so.5
#17 0x00007fb53fc388b4 in _XIOError () from /usr/lib/libX11.so.6
#18 0x00007fb53fc40358 in ?? () from /usr/lib/libX11.so.6
#19 0x00007fb53fc40ad6 in _XEventsQueued () from /usr/lib/libX11.so.6
#20 0x00007fb53fc120fa in XCheckWindowEvent () from /usr/lib/libX11.so.6
#21 0x00007fb5241b1a6b in ?? () from /usr/lib/gstreamer-0.10/libgstximagesink.so
#22 0x00007fb536f0a264 in ?? () from /usr/lib/libglib-2.0.so.0
#23 0x00007fb5393c73ea in start_thread () from /lib/libpthread.so.0
#24 0x00007fb537660c6d in clone () from /lib/libc.so.6
#25 0x0000000000000000 in ?? ()
(gdb) continue
Continuing.
Unable to start Dr. Konqi

Program exited with code 0377.
(gdb) quit
Comment 5 caulier.gilles 2008-11-20 12:02:24 UTC
yes, crash appears in Phonon initialization. It's not digiKam.

Gilles
Comment 6 Matthias Kretz 2008-11-25 15:11:05 UTC
both backtraces show that you have an XIO Error. That means the code shown to crash is not necessarily (or rather: most likely not) guilty. You need to track down why the XIO error happens. It might be because of some abort() somewhere earlier, probably in a different thread.
Comment 7 Matthias Kretz 2008-12-30 10:50:51 UTC
Phonon-GStreamer is not guilty here. Aborting on accessing IO stuff after an XIOError is normal.

I recommend to close the report unless the error can still be reproduced and a better report be produced.
Comment 8 Marcel Wiesweg 2008-12-30 13:59:47 UTC
Matthias is right, see my comment #4 of bug 172680.

Michael, can you still reproduce the crash with beta7? A large number of bugs has been fixed.
Comment 9 Michael 2008-12-31 00:34:25 UTC
I switched back to gstreamer, digikam (svn from today) starts now, but I still get a popup, thet phonon has stopped working... 

greets, mike
Comment 10 Marcel Wiesweg 2008-12-31 13:14:17 UTC
If the crash, which may have been at any different place inside digikam, is gone I can close this bug for digikam - if phonon does not work it's a different problem outside our influence, perhaps Xine works better.
Comment 11 caulier.gilles 2016-12-24 09:56:13 UTC
digiKam 5.4.0 bundles will use QtAV framework instead Qt5Multimedia to thumb
and play video/audio. The Slideshow tool will also support video as well.

QtAV use ffmpeg codecs. It's multi-platform and will always available in
OSX, Windows and Linux bundles that digiKam team provide.

For Linux packagers, you will need to turn on video support at compilation time
and solve QtAV dependencies...

See screenshots here :

https://www.flickr.com/photos/digikam/30886133553
https://www.flickr.com/photos/digikam/31679362466
https://www.flickr.com/photos/digikam/31572654722
https://www.flickr.com/photos/digikam/31726086736

Bundles have been recompiled are posted to GDrive for testing :

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM