Ticket #2041 - FreeCAD warns when applying thickness "BRepAlgo_Image::Bind" (used to crash but now just warns)

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Ticket #2041 - FreeCAD warns when applying thickness "BRepAlgo_Image::Bind" (used to crash but now just warns)

Post by chrisb »

FreeCAD crashes when applying thickness to the selected surface of a lofted part. Could someone please verify, just to make sure it is not my system.
To reproduce: open the attached file, select part workbench, select the surface and click the thickness icon.
Screenshot.png
Screenshot.png (4.08 KiB) Viewed 3703 times

OS: Ubuntu 14.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.4733 (Git)
Branch: master
Hash: 5b27b3194e7c03b5f58f033e9803dde6452bb044
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
Attachments
errorThickness.FCStd
(5.74 KiB) Downloaded 327 times
Last edited by Kunda1 on Tue Dec 22, 2020 12:34 pm, edited 1 time in total.
Reason: Updated thread title
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Re: please verify: FreeCAD crashes when applying thickness

Post by DeepSOIC »

I get a soft crash on:
OS: Windows 8.1
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4654 +27 (Git)
Branch: testing_touch+unlim+sketchfix
Hash: 9c600991340904aadab91a7a79a735f4091c88b0
Python version: 2.7.8
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.7.1
User avatar
shoogen
Veteran
Posts: 2823
Joined: Thu Dec 01, 2011 5:24 pm

Re: please verify: FreeCAD crashes when applying thickness

Post by shoogen »

I get a BRepAlgo_Image::Bind exception on
OS: Debian GNU/Linux 7.8 (wheezy)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.4739 +354 (Git)
Branch: danfalck/path-module,dev-skiprecompute,dev-fuzzyboolean
Hash: 5fc6e36803a85b9f875cf9092af3c219ad57025a
Python version: 2.7.3
Qt version: 4.8.2
Coin version: 4.0.0a
OCC version: 6.8.1.dev-c1e0171
mario52
Veteran
Posts: 4673
Joined: Wed May 16, 2012 2:13 pm

Re: please verify: FreeCAD crashes when applying thickness

Post by mario52 »

hi
no crash but

ACCESS VIOLATION at adress 0xFEFD0000 during 'READ' operation

OS: Windows Vista
Word size of OS: 32-bit
Word size of FreeCAD: 32-bit
Version: 0.15.4664 (Git)
Branch: master
Hash: 4e41e535ff01d39b650add123f42629e1a8d6b05
Python version: 2.7.8
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.7.1
mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
User avatar
PrzemoF
Veteran
Posts: 3520
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: please verify: FreeCAD crashes when applying thickness

Post by PrzemoF »

Fedora linux, hard crash.
backtrace: http://www.pasteall.org/57628

OS: Linux
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.4740 +6 (Git)
Branch: fem <- not from the main tree
Hash: XXXXXXXXXXXXXXXXXXX <- not from the main tree

Python version: 2.7.8
Qt version: 4.8.6
Coin version: 3.1.3
User avatar
shoogen
Veteran
Posts: 2823
Joined: Thu Dec 01, 2011 5:24 pm

Re: please verify: FreeCAD crashes when applying thickness

Post by shoogen »

color=#BFFFBF is barely distinguishable from the background of the default color scheme.
PrzemoF wrote:Branch: fem <- not from the main tree
Hash: XXXXXXXXXXXXXXXXXXX <- not from the main tree
The question is if the branch is publicly available. A capable developer will use "git diff --stat" to check if relevant files had been changed.
User avatar
PrzemoF
Veteran
Posts: 3520
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: please verify: FreeCAD crashes when applying thickness

Post by PrzemoF »

I wanted to "hide" that info to avoid distraction and that branch is not publicly available. I tested the crash on my private, dirty devel branch.
User avatar
shoogen
Veteran
Posts: 2823
Joined: Thu Dec 01, 2011 5:24 pm

Re: please verify: FreeCAD crashes when applying thickness

Post by shoogen »

OCE 0.9.1 from debian wheezy outputs:

Code: Select all

An exception was caught 0xb5f47ebc : Standard_NullObject: Attempt to access to null object
** Exception ** 0xb5f47ebc : Standard_NullObject: Attempt to access to null object
In comparrsion to

Code: Select all

ERROR. offsetperform operation not done.
in Open CASCADE Technology 6.8.1.dev-2230d1b
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: please verify: FreeCAD crashes when applying thickness

Post by chrisb »

So it actually seems to be an error and I should create a bug report?
Chris
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: please verify: FreeCAD crashes when applying thickness

Post by Kunda1 »

soft bump for ticket issue #2041
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Post Reply