KDAB / GammaRay

GammaRay is a tool to poke around in a Qt-application and also to manipulate the application to some extent.
https://www.kdab.com/gammaray
Other
1.63k stars 283 forks source link

Avoid crash when m_costs is empty #967

Closed dfaure-kdab closed 8 months ago

dfaure-kdab commented 8 months ago
#0  0x00007f763131a048 in GammaRay::PaintBufferModel::setCosts(QList<double> const&) (this=this@entry=0x27a499f0, costs=QList<double> (size = 0)) 
    at /d/kdab/src/Legrand/gammaray/core/paintbuffermodel.cpp:139                                                                                 
#1  0x00007f76313164d3 in GammaRay::PaintAnalyzer::endAnalyzePainting() (this=<optimized out>) at /d/kdab/src/Legrand/gammaray/core/paintanalyzer.cpp:173
#2  0x00007f7630042e73 in GammaRay::PaintAnalyzerExtension::analyzePainting(QGraphicsItem*) (this=0x27ab1a70, item=0x286b9e60)                    
    at /d/kdab/src/Legrand/gammaray/plugins/sceneinspector/paintanalyzerextension.cpp:108                                                         
#3  0x00007f7631335791 in GammaRay::PropertyController::setObject(QObject*) (this=0x2729b3c0, object=0x286b9e50)                                  
    at /d/kdab/src/Legrand/gammaray/core/propertycontroller.cpp:81
#4  0x00007f7630047a8b in GammaRay::SceneInspector::sceneItemSelectionChanged(QItemSelection const&) (this=0x27a94520, selection=<optimized out>)
    at /d/kdab/src/Legrand/gammaray/plugins/sceneinspector/sceneinspector.cpp:197
CLAassistant commented 8 months ago

CLA assistant check
All committers have signed the CLA.

winterz commented 8 months ago

+2 the failure against kdstatemachineeditor is not the fault of this PR.