View Issue Details

IDProjectCategoryView StatusLast Update
0002549PathBugpublic2017-01-12 22:06
Reportersliptonic Assigned Tosliptonic  
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionfixed 
PlatformPCOSDebianOS VersionTesting 64bit
Product Version0.16 
Summary0002549: Segfault after import
DescriptionIssue imported from https://github.com/yorikvanhavre/FreeCAD/issues/30

Start FC clean so you're at the 'start' page.
Immediately open an .ngc file either by clicking it in the recent files list or by using the open file dialog.
Select pre processor and wait for the path to load.
Switch to Path WB. At this point, I get a segfault every time.
If I switch to path before importing, it works fine.

An Interesting side note:, if I open a file with the open dialog and select the preprocessor, it imports and zooms to show the full path.

If I import the same file using the same post processor but initiate the import by clicking on it in the recent files list, it imports but doesn't zoom.
TagsNo tags attached.
FreeCAD Information

Activities

yorik

2016-05-13 21:51

administrator   ~0007092

Problem 1) doesn't crash for me

Problem 2) also doesn't happen for me... Can you check that a " Gui.SendMsgToActiveView("ViewFit") " correctly appears in the python console after import? If not, it might be because the pre-processor failed

yorik

2016-05-13 21:52

administrator   ~0007093

sliptonic commented on 24 Jan 2015

Problem 1) does seem to be resolved. I'm no longer crashing at that point.

problem 2) remains. The viewfit message does not happen if I click from the 'recent files' list but does if I open it through the menu. I'm using the example_pre script and in both cases it executes the 'done pre-processing' line.

yorik

2016-05-13 21:53

administrator   ~0007094

Does problem 2) still happen to you? For me the opened file gets correctly zoomed, no matter if I open it from File->Open or from File->Recent

sliptonic

2016-05-31 18:33

manager   ~0007134

Opening from either of the ways you mention causes normal zoom. However, opening by clicking on the link in the start page 'recent files' list loads without zoom.

sliptonic

2017-01-12 22:06

manager   ~0007686

Crashes are entirely resolved. The zooming is odd but not really a bug or a problem. Closing.

Issue History

Date Modified Username Field Change
2016-05-13 21:50 yorik New Issue
2016-05-13 21:51 yorik Note Added: 0007092
2016-05-13 21:52 yorik Reporter yorik => sliptonic
2016-05-13 21:52 yorik Description Updated
2016-05-13 21:52 yorik Note Added: 0007093
2016-05-13 21:53 yorik Note Added: 0007094
2016-05-31 18:33 sliptonic Note Added: 0007134
2017-01-12 22:06 sliptonic Note Added: 0007686
2017-01-12 22:06 sliptonic Status new => closed
2017-01-12 22:06 sliptonic Assigned To => sliptonic
2017-01-12 22:06 sliptonic Resolution open => fixed