FC017 Sketcher Bug deleting constrains

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!
Post Reply
User avatar
easyw-fc
Veteran
Posts: 3633
Joined: Thu Jul 09, 2015 9:34 am

FC017 Sketcher Bug deleting constrains

Post by easyw-fc »

Hi,
in FreeCAD_0.17.12090_x64_dev_win if I try to delete a simple constrain in Sketcher I get an error and FC become unusable
Unknow C++ exception
In previous releases this was fine (0.17.12018).
FC017-sketcher-bug.gif
FC017-sketcher-bug.gif (1013.32 KiB) Viewed 1264 times
Last edited by easyw-fc on Tue Sep 12, 2017 9:40 am, edited 1 time in total.
User avatar
hammax
Veteran
Posts: 1994
Joined: Thu Jan 19, 2017 5:03 pm
Location: Ammersee DE

Re: FC017 Sketcher Bug deleting constrains

Post by hammax »

...thanks for the warning - waiting for next FC.17.12xxx.
Only a delayed download saved my day.
Also look at:
https://forum.freecadweb.org/viewtopic.php?f=3&t=24351
User avatar
babaroga
Posts: 180
Joined: Sun Aug 14, 2016 6:52 pm
Location: Banja Luka, Republic of Srpska, Bosnia and Herzegovina

Re: FC017 Sketcher Bug deleting constrains

Post by babaroga »

Hello,

I have same problem on Linux with FreeCad compiled from Git , on two different computers.

OS: Ubuntu 17.04
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.12087 (Git)
Build type: Unknown
Branch: master
Hash: e70a1678f8f19c3725d3b3e4f0b165f2c6edfc84
Python version: 2.7.13
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: English/UnitedStates (en_US)

In my case, if I delete any constrain from sketch, Freecad just crash. It also happens if I draw some sketch, add any constrain and press Undo (or Ctrl -Z). It happens every time.

If started from command line, it crash with:

FreeCAD: /usr/include/boost/smart_ptr/shared_ptr.hpp:710: typename boost::detail::sp_member_access<T>::type boost::shared_ptr<T>::operator->() const [with T = App::Expression; typename boost::detail::sp_member_access<T>::type = App::Expression*]: Assertion `px != 0' failed.
Aborted (core dumped)

In Freecad daily 0.17.12018 it works, but in Version: 0.17.12078 it is also crashing.

Backtrace is in attachment.
Attachments
sketch crash bt.txt
(18.22 KiB) Downloaded 46 times
freecad-heini-1
Veteran
Posts: 7791
Joined: Tue Jan 07, 2014 11:10 am
Contact:

Re: FC017 Sketcher Bug deleting constrains

Post by freecad-heini-1 »

I can confirm the same error. Freecad crashes after deleting constraint 6.

Code: Select all

OS: Ubuntu 16.04.3 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.12090 (Git)
Build type: None
Branch: master
Hash: da6976c2f4b2a1e7ce727af08c27de412e614a6a
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: German/Germany (de_DE)
wmayer
Founder
Posts: 20319
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: FC017 Sketcher Bug deleting constrains

Post by wmayer »

Should be fixed now
User avatar
easyw-fc
Veteran
Posts: 3633
Joined: Thu Jul 09, 2015 9:34 am

Re: FC017 Sketcher Bug deleting constrains

Post by easyw-fc »

wmayer wrote: Tue Sep 12, 2017 1:27 pm Should be fixed now
Thx! waiting for the win build to come... :D
User avatar
babaroga
Posts: 180
Joined: Sun Aug 14, 2016 6:52 pm
Location: Banja Luka, Republic of Srpska, Bosnia and Herzegovina

Re: FC017 Sketcher Bug deleting constrains

Post by babaroga »

It is working now!

THX
otoien
Posts: 87
Joined: Sun Aug 13, 2017 2:38 am

Re: FC017 Sketcher Bug deleting constrains

Post by otoien »

I just updated on Windows. No sign of the bug in 0.17.12098
Thanks for the good work.

OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.12098 (Git)
Build type: Release
Branch: master
Hash: dc13d85d37b18c41aad26eff5366485e494bbc7f
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: English/UnitedStates (en_US)
Post Reply