View Issue Details

IDProjectCategoryView StatusLast Update
0002311DraftBugpublic2016-01-31 19:01
Reporterrusconi Assigned Toyorik  
PriorityhighSeveritycrashReproducibilityalways
Status closedResolutionno change required 
PlatformDebian GNU/LinuxOS Versionstretch 
Product Version0.15 
Summary0002311: crash upon trying union of two simple cubes
DescriptionWhenever I try to UNION two cubes, the program crashes with a segfault.
Steps To ReproducePython 2.7.10+ (default, Oct 10 2015, 09:11:24)
[GCC 5.2.1 20151003] on linux2
Type 'help', 'copyright', 'credits' or 'license' for more information.
>>> import WebGui
>>> from StartPage import StartPage
>>> WebGui.openBrowserHTML(StartPage.handle(),'file://' + App.getResourceDir() + 'Mod/Start/StartPage/','Start page')
>>> Gui.activateWorkbench("PartWorkbench")
>>> App.newDocument("Unnamed")
>>> App.setActiveDocument("Unnamed")
>>> App.ActiveDocument=App.getDocument("Unnamed")
>>> Gui.ActiveDocument=Gui.getDocument("Unnamed")
>>> App.ActiveDocument.addObject("Part::Box","Box")
>>> App.ActiveDocument.ActiveObject.Label = "Cube"
>>> App.ActiveDocument.recompute()
>>> Gui.SendMsgToActiveView("ViewFit")
>>> App.ActiveDocument.addObject("Part::Box","Box")
>>> App.ActiveDocument.ActiveObject.Label = "Cube"
>>> App.ActiveDocument.recompute()
>>> Gui.SendMsgToActiveView("ViewFit")
>>> FreeCAD.getDocument("Unnamed").getObject("Box001").Placement = App.Placement(App.Vector(1,0,0),App.Rotation(App.Vector(0,0,1),0))
>>> FreeCAD.getDocument("Unnamed").getObject("Box001").Placement = App.Placement(App.Vector(10,0,0),App.Rotation(App.Vector(0,0,1),0))
>>>

Click on the Union icon and:

FreeCAD 0.15, Libs: 0.15R4671 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
  ##### #### ### ####
  # # # # # #
  # ## #### #### # # # # #
  #### # # # # # # # ##### # #
  # # #### #### # # # # #
  # # # # # # # # # ## ## ##
  # # #### #### ### # # #### ## ## ##

*** Abort *** an exception was raised, but no catch was found.
        ... The exception is:SIGSEGV 'segmentation violation' detected. Address 0
TagsNo tags attached.
FreeCAD Information

Activities

yorik

2016-01-31 19:01

administrator   ~0006786

This is because of libOCE 0.15 which is buggy. FreeCAD needs to be recompiled with 0.16 or 0.17, which you can either do yourself, or wait for a new debian version (this bug has already been notified to debian, it shouldn't take long).

I'm closing this issue because there is no change required on our part...

Issue History

Date Modified Username Field Change
2015-10-27 19:56 rusconi New Issue
2016-01-31 19:01 yorik Note Added: 0006786
2016-01-31 19:01 yorik Status new => closed
2016-01-31 19:01 yorik Assigned To => yorik
2016-01-31 19:01 yorik Resolution open => no change required