Bug 173853

Summary: seg fault digikam with marble widget (at startup)
Product: [Applications] digikam Reporter: Artur Souza (MoRpHeUz) <asouza>
Component: Geolocation-MarbleAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: crash CC: rdieter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 0.10.0
Sentry Crash Report:

Description Artur Souza (MoRpHeUz) 2008-10-29 19:19:31 UTC
Version:           trunk (using Devel)
Compiler:          gcc gcc (GCC) 4.2.4
OS:                Linux
Installed from:    Compiled sources

I'm compiling digikam from source (svn trunk) and I'm using the whole kde from source.

When starting digikam, after selecting the folder to look for pictures and store digikam's database I receive the following message (also put gdb's bt):

"Loading Default Placemark Cache File:/work/playground/kde4/share/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>)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb46b56d0 (LWP 13604)]        
0xb5f801dc in QStyleSheetStyle::pixelMetric (this=0xa754e48, m=QStyle::PM_DefaultFrameWidth, opt=0x0, w=0xc2097b8)
    at styles/qstylesheetstyle.cpp:4338                                                                           
4338    int QStyleSheetStyle::pixelMetric(PixelMetric m, const QStyleOption *opt, const QWidget *w) const         
(gdb) bt                                                                                                          
#0  0xb5f801dc in QStyleSheetStyle::pixelMetric (this=0xa754e48, m=QStyle::PM_DefaultFrameWidth, opt=0x0, w=0xc2097b8)
    at styles/qstylesheetstyle.cpp:4338                                                                               
#1  0xb7a4c6de in KdeUiProxyStyle::pixelMetric (this=0xc207a40, metric=QStyle::PM_DefaultFrameWidth, option=0x0, widget=0xc2097b8)
    at /home/morphbr/work/playground/kde4/src/KDE/kdelibs/kdeui/widgets/kdeuiwidgetsproxystyle.cpp:103                            
#2  0xb5f6b93a in QStyleSheetStyle::nativeFrameWidth (this=0xc202290, w=0xc2097b8) at styles/qstylesheetstyle.cpp:1750            
#3  0xb5f742b7 in QRenderRule (this=0xbf424704, declarations=@0xbf424780, widget=0xc2097b8) at styles/qstylesheetstyle.cpp:969    
#4  0xb5f79185 in QStyleSheetStyle::renderRule (this=0xa754e48, w=0xc2097b8, element=0, state=2199023257602)                      
    at styles/qstylesheetstyle.cpp:1831                                                                                           
#5  0xb5f7b396 in QStyleSheetStyle::renderRule (this=0xa754e48, w=0xc2097b8, opt=0x0, pseudoElement=0) at styles/qstylesheetstyle.cpp:2106
#6  0xb5f80208 in QStyleSheetStyle::pixelMetric (this=0xa754e48, m=QStyle::PM_DefaultFrameWidth, opt=0x0, w=0xc2097b8)                    
    at styles/qstylesheetstyle.cpp:4340                                                                                                   
#7  0xb7a4c6de in KdeUiProxyStyle::pixelMetric (this=0xc207a40, metric=QStyle::PM_DefaultFrameWidth, option=0x0, widget=0xc2097b8)        
    at /home/morphbr/work/playground/kde4/src/KDE/kdelibs/kdeui/widgets/kdeuiwidgetsproxystyle.cpp:103                                    
#8  0xb5f6b93a in QStyleSheetStyle::nativeFrameWidth (this=0xc202290, w=0xc2097b8) at styles/qstylesheetstyle.cpp:1750                    
#9  0xb5f742b7 in QRenderRule (this=0xbf425284, declarations=@0xbf425300, widget=0xc2097b8) at styles/qstylesheetstyle.cpp:969            
#10 0xb5f79185 in QStyleSheetStyle::renderRule (this=0xa754e48, w=0xc2097b8, element=0, state=2199023257602)                              
    at styles/qstylesheetstyle.cpp:1831                                                                                                   
#11 0xb5f7b396 in QStyleSheetStyle::renderRule (this=0xa754e48, w=0xc2097b8, opt=0x0, pseudoElement=0) at styles/qstylesheetstyle.cpp:2106
#12 0xb5f80208 in QStyleSheetStyle::pixelMetric (this=0xa754e48, m=QStyle::PM_DefaultFrameWidth, opt=0x0, w=0xc2097b8)                    
    at styles/qstylesheetstyle.cpp:4340                                                                                                   
#13 0xb7a4c6de in KdeUiProxyStyle::pixelMetric (this=0xc207a40, metric=QStyle::PM_DefaultFrameWidth, option=0x0, widget=0xc2097b8)        
    at /home/morphbr/work/playground/kde4/src/KDE/kdelibs/kdeui/widgets/kdeuiwidgetsproxystyle.cpp:103                                    
#14 0xb5f6b93a in QStyleSheetStyle::nativeFrameWidth (this=0xc202290, w=0xc2097b8) at styles/qstylesheetstyle.cpp:1750                    
#15 0xb5f742b7 in QRenderRule (this=0xbf425e04, declarations=@0xbf425e80, widget=0xc2097b8) at styles/qstylesheetstyle.cpp:969            
#16 0xb5f79185 in QStyleSheetStyle::renderRule (this=0xa754e48, w=0xc2097b8, element=0, state=2199023257602)                              
    at styles/qstylesheetstyle.cpp:1831                                                                                                   
#17 0xb5f7b396 in QStyleSheetStyle::renderRule (this=0xa754e48, w=0xc2097b8, opt=0x0, pseudoElement=0) at styles/qstylesheetstyle.cpp:2106
#18 0xb5f80208 in QStyleSheetStyle::pixelMetric (this=0xa754e48, m=QStyle::PM_DefaultFrameWidth, opt=0x0, w=0xc2097b8)                    
    at styles/qstylesheetstyle.cpp:4340                                                                                                   
#19 0xb7a4c6de in KdeUiProxyStyle::pixelMetric (this=0xc207a40, metric=QStyle::PM_DefaultFrameWidth, option=0x0, widget=0xc2097b8)        
    at /home/morphbr/work/playground/kde4/src/KDE/kdelibs/kdeui/widgets/kdeuiwidgetsproxystyle.cpp:103                                    
#20 0xb5f6b93a in QStyleSheetStyle::nativeFrameWidth (this=0xc202290, w=0xc2097b8) at styles/qstylesheetstyle.cpp:1750                    
#21 0xb5f742b7 in QRenderRule (this=0xbf426984, declarations=@0xbf426a00, widget=0xc2097b8) at styles/qstylesheetstyle.cpp:969            
---Type <return> to continue, or q <return> to quit---q
Comment 1 Artur Souza (MoRpHeUz) 2008-10-31 00:43:36 UTC
Hi,

  I was using Qt 4.4.1. Today I upgraded to Qt 4.4.3 and then it worked perfectly.

Thanks for the attention!