View Issue Details

IDProjectCategoryView StatusLast Update
0001388FreeCADBugpublic2014-02-17 15:30
ReportershoogenAssigned Towmayer 
PrioritylowSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product Versiontrunk 
Target Version0.14Fixed in Version0.14 
Summary0001388: SIGSEGV in Part::GeometryCurvePy::toBSpline
DescriptionPart::GeometryCurvePy::toBSpline does not check if the operation was successful before using the handle. In case of an invalid curve Parameter supllied this leads to a SIGSEGV
Steps To Reproduceimport Part
Part.BSplineCurve().toBSpline(4)
Additional Information#0 0x00007fff88f26cc5 in Part::GeomBSplineCurve::GeomBSplineCurve (this=0x4cc8ba0, b=...) at free-cad/src/Mod/Part/App/Geometry.cpp:388
#1 0x00007fff88e685d6 in Part::GeometryCurvePy::toBSpline (this=0x4cf86a0, args=0x4128fd0) at free-cad/src/Mod/Part/App/GeometryCurvePyImp.cpp:359
0000002 0x00007fff88e651e8 in Part::GeometryCurvePy::staticCallback_toBSpline (self=0x4cf86a8, args=0x4128fd0) at fc-build/src/Mod/Part/App/GeometryCurvePy.cpp:774
TagsNo tags attached.

Activities

shoogen

2014-02-17 15:20

developer   ~0004232

git show d3760deeeb

Related Changesets

FreeCAD: master d3760dee

2014-02-17 11:40:09

wmayer

Details Diff
+ fixes 0001388: SIGSEGV in Part::GeometryCurvePy::toBSpline Affected Issues
0001388
mod - src/Mod/Part/App/GeometryCurvePyImp.cpp Diff File

Issue History

Date Modified Username Field Change
2014-02-06 14:35 shoogen New Issue
2014-02-17 15:20 shoogen Note Added: 0004232
2014-02-17 15:20 shoogen Status new => closed
2014-02-17 15:20 shoogen Assigned To => wmayer
2014-02-17 15:20 shoogen Resolution open => fixed
2014-02-17 15:20 shoogen Fixed in Version => 0.14
2014-02-17 15:30 wmayer Changeset attached => FreeCAD Master master d3760dee