View Issue Details

IDProjectCategoryView StatusLast Update
0002218DrawingBugpublic2015-11-30 14:33
Reporternickthetait Assigned Toyorik  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionno change required 
PlatformLinuxOSDebianOS Version3.16.7-ckt7-1
Product Version0.14 
Fixed in Version0.16 
Summary0002218: Segmentation violation when generating orthographic projection for specific file
DescriptionSame behavior (as described below) on FreeCAD 0.16

User in my organization reported this issue to me. I'm a software engineer and can get more detailed information if needed.
Steps To ReproduceOpen attached file
Swap to "Drawing" mode
Create a new page (A4)
Click "Insert an orthographic projection of the part in the active drawing"

Expected:
A projection is generated

Actual:
FreeCAD crashes without any error message.
Additional InformationStarting FreeCAD from the terminal and reproducing the above steps I am able to get this error message:
*** Abort *** an exception was raised, but no catch was found.
    ... The exception is:SIGSEGV 'segmentation violation' detected. Address 0
TagsNo tags attached.

Activities

nickthetait

2015-08-17 17:40

reporter  

Chassis_sheet_metal.fcstd (1,164,920 bytes)

yorik

2015-08-18 00:47

administrator   ~0006295

No crash for me... Can you please post the info obtained from switching to the Part workbench, then menu Help -> About FreeCAD -> Copy info to clipboard?

nickthetait

2015-08-18 20:54

reporter   ~0006297

For me:
OS: Debian GNU/Linux 8.0 (jessie)
Word size: 64-bit
Version: 0.14.3702 (Git)
Branch: releases/FreeCAD-0-14
Hash: b3368125c63289ec8ce9faec2b2ae4c78d436406
Python version: 2.7.8
Qt version: 4.8.6
Coin version: 4.0.0a
SoQt version: 1.6.0a


For user that reported the issue:
OS: Debian GNU/Linux 8.1 (jessie)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.5073 (Git)
Build type: None
Branch: master
Hash: beedcc06fe873fce323ed1a17f249daa5f4151bc
Python version: 2.7.9
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.7.0

nickthetait

2015-09-01 21:45

reporter   ~0006318

Ah, I neglected to mention an important step.
Need to select the "Fillet002" layer (is the name for it?) in that Chassis_sheet_metal file before doing the orthographic projection.

Also have discovered a second example that gives the same crash.
Select "connect" layer in this new y_connect file.

nickthetait

2015-09-01 21:46

reporter  

y_corner.fcstd (1,140,292 bytes)

yorik

2015-09-12 19:31

administrator   ~0006404

None of these examples causes a crash for me here...

I suspect the problem is in your opencascade version (6.7). IIRC quite a lot of bugs related to projections were fixed in 6.8 (We're at 6.9 now).

Unfortunately oce (the community edition, which is the one in debian repo) is slow in adopting the newest opencascade version, and debian is slow in adopting the newest oce...

I would suggest you to get the oce 0.17 source package from ubuntu (we have a copy on our PPA at https://launchpad.net/~freecad-maintainers/+archive/ubuntu/freecad-daily/+packages ) and recompile them as a debian package (I wrote instructions there some time ago: http://yorik.uncreated.net/guestblog.php?2013=225 ). This is what I did on my own machine.

Unfotunately I don't think there is much more we can do on our part, but this should solve the problem.

nickthetait

2015-09-15 16:00

reporter   ~0006426

Thanks for the detailed instructions, I'll give that a try.

yorik

2015-11-30 14:33

administrator   ~0006567

I'm closing this issue since it doesn't seem to require any action from our part, but don't hesitate to reopen if needed.

Issue History

Date Modified Username Field Change
2015-08-17 17:40 nickthetait New Issue
2015-08-17 17:40 nickthetait File Added: Chassis_sheet_metal.fcstd
2015-08-18 00:47 yorik Note Added: 0006295
2015-08-18 20:54 nickthetait Note Added: 0006297
2015-09-01 21:45 nickthetait Note Added: 0006318
2015-09-01 21:46 nickthetait File Added: y_corner.fcstd
2015-09-12 19:31 yorik Note Added: 0006404
2015-09-12 19:31 yorik Assigned To => yorik
2015-09-12 19:31 yorik Status new => assigned
2015-09-12 19:32 yorik Status assigned => feedback
2015-09-15 16:00 nickthetait Note Added: 0006426
2015-09-15 16:00 nickthetait Status feedback => assigned
2015-11-30 14:33 yorik Note Added: 0006567
2015-11-30 14:33 yorik Status assigned => closed
2015-11-30 14:33 yorik Resolution open => no change required
2015-11-30 14:33 yorik Fixed in Version => 0.16