[Fixed] Ticket #4230 - FC 0.19.18946 crashes on second edit of Chamfer @ Part-WB

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!
lutz_dd
Posts: 69
Joined: Thu Jul 31, 2014 5:10 am

[Fixed] Ticket #4230 - FC 0.19.18946 crashes on second edit of Chamfer @ Part-WB

Post by lutz_dd » Sat Dec 21, 2019 11:49 am

I'm getting pretty reliable a crash if a chamfer is edited a 2nd time in the current session while ignoring "... restart the application" in the ReportView. My setup is clean after fresh installation with the old directory App/Roaming/Freecad renamed.

My previous version FC 0.19.18760 from Nov/18th/2019 does not express this behavior.
Latest version FC 0.19.18990 from Dec/18th/2019 is still having this issue.

How can I get rid of "Illegal storage access!" ?

Procedure
Start FreeCad ...
Edit/Preferences
. . . change Language to "English"
. . . The ReportView returns . . . "Failed to load UI file from ':/ui/preferences-dxf.ui'"
File/New
Change WB-Start -> WB-Part
Part/Primitives/Cube
Part/Chamfer...
. . . Select Edge1
. . . Press OK
Select the "Chamfer" in ComboView/Model-Tab
RMB (RightMouseButton) over the "Chamfer" ... choose "Edit chamfer edges"
. . . Press OK
. . . The ReportView returns . . . Illegal storage access / <Exception> Illegal storage access! Please save your work under a new file name and restart the application!
RMB (RightMouseButton) over the "Chamfer" ... choose "Edit chamfer edges"
. . . Press OK
. . . Crash

---
OS: Windows 7 SP 1 (6.1)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18946 (Git)
Build type: Release
Branch: master
Hash: 0175008ceba01666449657086ca036fc59e0e6c7
Python version: 3.7.3
Qt version: 5.12.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)
Last edited by Kunda1 on Sat Dec 28, 2019 1:11 pm, edited 1 time in total.

Roy_043
Posts: 893
Joined: Thu Dec 27, 2018 12:28 pm

Re: My FC 0.19.18946 crashes on second edit of Chamfer @ Part-WB

Post by Roy_043 » Sat Dec 21, 2019 2:01 pm

Confirmed:

Code: Select all

OS: Windows 8.1 (6.3)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18946 (Git)
Build type: Release
Branch: master
Hash: 0175008ceba01666449657086ca036fc59e0e6c7
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Dutch/Netherlands (nl_NL)

ulrich1a
Posts: 1920
Joined: Sun Jul 07, 2013 12:08 pm

Re: My FC 0.19.18946 crashes on second edit of Chamfer @ Part-WB

Post by ulrich1a » Sat Dec 21, 2019 3:45 pm

Confirmed on Linux.

Code: Select all

OS: Debian GNU/Linux 10 (buster) (XFCE/lightdm-xsession)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18989 (Git)
Build type: Unknown
Branch: Rueck6
Hash: c05ad5c875dfb70a62ecd0916e83a3f5de816c5a
Python version: 3.7.3
Qt version: 5.11.3
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)
I got the following in the command line:

Code: Select all

Program received signal SIGSEGV, Segmentation fault.
#0  /lib/x86_64-linux-gnu/libc.so.6(+0x37840) [0x7f1b47be3840]
#1  /lib/x86_64-linux-gnu/libc.so.6(+0xa19bd) [0x7f1b47c4d9bd]
#2  0x7f1b4cd171a2 in Gui::Document::slotChangedObject(App::DocumentObject const&, App::Property const&) from /home/ulrich/Sourcen/FreeCAD/build/lib/libFreeCADGui.so+0x118
#3  0x7f1b4cd61e2e in boost::_mfi::mf2<void, Gui::Document, App::DocumentObject const&, App::Property const&>::operator()(Gui::Document*, App::DocumentObject const&, App::Property const&) const from /home/ulrich/Sourcen/FreeCAD/build/lib/libFreeCADGui.so+0x76
#4  0x7f1b4cd5b841 in void boost::_bi::list3<boost::_bi::value<Gui::Document*>, boost::arg<1>, boost::arg<2> >::operator()<boost::_mfi::mf2<void, Gui::Document, App::DocumentObject const&, App::Property const&>, boost::_bi::rrlist2<App::DocumentObject const&, App::Property const&> >(boost::_bi::type<void>, boost::_mfi::mf2<void, Gui::Document, App::DocumentObject const&, App::Property const&>&, boost::_bi::rrlist2<App::DocumentObject const&, App::Property const&>&, int) from /home/ulrich/Sourcen/FreeCAD/build/lib/libFreeCADGui.so+0x89
#5  0x7f1b4cd52e3a in void boost::_bi::bind_t<void, boost::_mfi::mf2<void, Gui::Document, App::DocumentObject const&, App::Property const&>, boost::_bi::list3<boost::_bi::value<Gui::Document*>, boost::arg<1>, boost::arg<2> > >::operator()<App::DocumentObject const&, App::Property const&>(App::DocumentObject const&, App::Property const&) from /home/ulrich/Sourcen/FreeCAD/build/lib/libFreeCADGui.so+0x48
#6  0x7f1b4cd4ae96 in boost::detail::function::void_function_obj_invoker2<boost::_bi::bind_t<void, boost::_mfi::mf2<void, Gui::Document, App::DocumentObject const&, App::Property const&>, boost::_bi::list3<boost::_bi::value<Gui::Document*>, boost::arg<1>, boost::arg<2> > >, void, App::DocumentObject const&, App::Property const&>::invoke(boost::detail::function::function_buffer&, App::DocumentObject const&, App::Property const&) from /home/ulrich/Sourcen/FreeCAD/build/lib/libFreeCADGui.so+0x43
#7  0x7f1b4b934512 in boost::function2<void, App::DocumentObject const&, App::Property const&>::operator()(App::DocumentObject const&, App::Property const&) const from /home/ulrich/Sourcen/FreeCAD/build/lib/libFreeCADApp.so+0x72
#8  0x7f1b4b92dcc0 in boost::signals2::detail::void_type boost::signals2::detail::call_with_tuple_args<boost::signals2::detail::void_type>::m_invoke<boost::function<void (App::DocumentObject const&, App::Property const&)>, 0u, 1u, App::DocumentObject const&, App::Property const&>(boost::function<void (App::DocumentObject const&, App::Property const&)>&, boost::signals2::detail::unsigned_meta_array<0u, 1u>, std::tuple<App::DocumentObject const&, App::Property const&> const&, boost::enable_if<boost::is_void<boost::function<void (App::DocumentObject const&, App::Property const&)>::result_type>, void>::type*) const from /home/ulrich/Sourcen/FreeCAD/build/lib/libFreeCADApp.so+0x4a
#9  0x7f1b4b924aa0 in boost::signals2::detail::void_type boost::signals2::detail::call_with_tuple_args<boost::signals2::detail::void_type>::operator()<boost::function<void (App::DocumentObject const&, App::Property const&)>, App::DocumentObject const&, App::Property const&, 2ul>(boost::function<void (App::DocumentObject const&, App::Property const&)>&, std::tuple<App::DocumentObject const&, App::Property const&> const&, mpl_::size_t<2ul>) const from /home/ulrich/Sourcen/FreeCAD/build/lib/libFreeCADApp.so+0x2e
#10  0x7f1b4b9172d4 in boost::signals2::detail::void_type boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, App::DocumentObject const&, App::Property const&>::operator()<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (App::DocumentObject const&, App::Property const&), boost::function<void (App::DocumentObject const&, App::Property const&)> >, boost::signals2::mutex> > >(boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (App::DocumentObject const&, App::Property const&), boost::function<void (App::DocumentObject const&, App::Property const&)> >, boost::signals2::mutex> > const&) const from /home/ulrich/Sourcen/FreeCAD/build/lib/libFreeCADApp.so+0x48
#11  0x7f1b4b908556 in boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, App::DocumentObject const&, App::Property const&>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (App::DocumentObject const&, App::Property const&), boost::function<void (App::DocumentObject const&, App::Property const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (App::DocumentObject const&, App::Property const&), boost::function<void (App::DocumentObject const&, App::Property const&)> >, boost::signals2::mutex> >::dereference() const from /home/ulrich/Sourcen/FreeCAD/build/lib/libFreeCADApp.so+0x54
#12  0x7f1b4b8f84d0 in boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, App::DocumentObject const&, App::Property const&>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (App::DocumentObject const&, App::Property const&), boost::function<void (App::DocumentObject const&, App::Property const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (App::DocumentObject const&, App::Property const&), boost::function<void (App::DocumentObject const&, App::Property const&)> >, boost::signals2::mutex> >::reference boost::iterators::iterator_core_access::dereference<boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, App::DocumentObject const&, App::Property const&>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (App::DocumentObject const&, App::Property const&), boost::function<void (App::DocumentObject const&, App::Property const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (App::DocumentObject const&, App::Property const&), boost::function<void (App::DocumentObject const&, App::Property const&)> >, boost::signals2::mutex> > >(boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, App::DocumentObject const&, App::Property const&>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (App::DocumentObject const&, App::Property const&), boost::function<void (App::DocumentObject const&, App::Property const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (App::DocumentObject const&, App::Property const&), boost::function<void (App::DocumentObject const&, App::Property const&)> >, boost::signals2::mutex> > const&) from /home/ulrich/Sourcen/FreeCAD/build/lib/libFreeCADApp.so+0x18
#13  0x7f1b4b8e3b18 in boost::iterators::detail::iterator_facade_base<boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, App::DocumentObject const&, App::Property const&>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (App::DocumentObject const&, App::Property const&), boost::function<void (App::DocumentObject const&, App::Property const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (App::DocumentObject const&, App::Property const&), boost::function<void (App::DocumentObject const&, App::Property const&)> >, boost::signals2::mutex> >, boost::signals2::detail::void_type, boost::iterators::single_pass_traversal_tag, boost::signals2::detail::void_type const&, long, false, false>::operator*() const from /home/ulrich/Sourcen/FreeCAD/build/lib/libFreeCADApp.so+0x20
#14  0x7f1b4b8c9501 in void boost::signals2::optional_last_value<void>::operator()<boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, App::DocumentObject const&, App::Property const&>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (App::DocumentObject const&, App::Property const&), boost::function<void (App::DocumentObject const&, App::Property const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (App::DocumentObject const&, App::Property const&), boost::function<void (App::DocumentObject const&, App::Property const&)> >, boost::signals2::mutex> > >(boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, App::DocumentObject const&, App::Property const&>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (App::DocumentObject const&, App::Property const&), boost::function<void (App::DocumentObject const&, App::Property const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (App::DocumentObject const&, App::Property const&), boost::function<void (App::DocumentObject const&, App::Property const&)> >, boost::signals2::mutex> >, boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, App::DocumentObject const&, App::Property const&>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (App::DocumentObject const&, App::Property const&), boost::function<void (App::DocumentObject const&, App::Property const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (App::DocumentObject const&, App::Property const&), boost::function<void (App::DocumentObject const&, App::Property const&)> >, boost::signals2::mutex> >) const from /home/ulrich/Sourcen/FreeCAD/build/lib/libFreeCADApp.so+0x29
#15  0x7f1b4b8ae1c0 in void boost::signals2::detail::combiner_invoker<void>::operator()<boost::signals2::optional_last_value<void>, boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, App::DocumentObject const&, App::Property const&>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (App::DocumentObject const&, App::Property const&), boost::function<void (App::DocumentObject const&, App::Property const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (App::DocumentObject const&, App::Property const&), boost::function<void (App::DocumentObject const&, App::Property const&)> >, boost::signals2::mutex> > >(boost::signals2::optional_last_value<void>&, boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, App::DocumentObject const&, App::Property const&>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (App::DocumentObject const&, App::Property const&), boost::function<void (App::DocumentObject const&, App::Property const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (App::DocumentObject const&, App::Property const&), boost::function<void (App::DocumentObject const&, App::Property const&)> >, boost::signals2::mutex> >, boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, App::DocumentObject const&, App::Property const&>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (App::DocumentObject const&, App::Property const&), boost::function<void (App::DocumentObject const&, App::Property const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot<void (App::DocumentObject const&, App::Property const&), boost::function<void (App::DocumentObject const&, App::Property const&)> >, boost::signals2::mutex> >) const from /home/ulrich/Sourcen/FreeCAD/build/lib/libFreeCADApp.so+0x34
#16  0x7f1b4b897bd6 in boost::signals2::detail::signal_impl<void (App::DocumentObject const&, App::Property const&), boost::signals2::optional_last_value<void>, int, std::less<int>, boost::function<void (App::DocumentObject const&, App::Property const&)>, boost::function<void (boost::signals2::connection const&, App::DocumentObject const&, App::Property const&)>, boost::signals2::mutex>::operator()(App::DocumentObject const&, App::Property const&) from /home/ulrich/Sourcen/FreeCAD/build/lib/libFreeCADApp.so+0x216
#17  0x7f1b4b8898da in boost::signals2::signal<void (App::DocumentObject const&, App::Property const&), boost::signals2::optional_last_value<void>, int, std::less<int>, boost::function<void (App::DocumentObject const&, App::Property const&)>, boost::function<void (boost::signals2::connection const&, App::DocumentObject const&, App::Property const&)>, boost::signals2::mutex>::operator()(App::DocumentObject const&, App::Property const&) from /home/ulrich/Sourcen/FreeCAD/build/lib/libFreeCADApp.so+0x3a
#18  0x7f1b4b869244 in App::Document::onChangedProperty(App::DocumentObject const*, App::Property const*) from /home/ulrich/Sourcen/FreeCAD/build/lib/libFreeCADApp.so+0x32
#19  0x7f1b4b95389e in App::DocumentObject::onChanged(App::Property const*) from /home/ulrich/Sourcen/FreeCAD/build/lib/libFreeCADApp.so+0x5a6
#20  0x7f1b1b3d8bc1 in Part::Feature::onChanged(App::Property const*) from /home/ulrich/Sourcen/FreeCAD/build/Mod/Part/Part.so+0x257
#21  0x7f1b4ba7a26b in App::Property::touch() from /home/ulrich/Sourcen/FreeCAD/build/lib/libFreeCADApp.so+0x41
#22  0x7f1b1b3bc50e in Part::Chamfer::execute() from /home/ulrich/Sourcen/FreeCAD/build/Mod/Part/Part.so+0x330
#23  0x7f1b4b95165c in App::DocumentObject::recompute() from /home/ulrich/Sourcen/FreeCAD/build/lib/libFreeCADApp.so+0xc2
#24  0x7f1b1b3d6883 in Part::Feature::recompute() from /home/ulrich/Sourcen/FreeCAD/build/Mod/Part/Part.so+0x1b
#25  0x7f1b4b8781d8 in App::Document::_recomputeFeature(App::DocumentObject*) from /home/ulrich/Sourcen/FreeCAD/build/lib/libFreeCADApp.so+0x1c8
#26  0x7f1b4b8760cd in App::Document::recompute(std::vector<App::DocumentObject*, std::allocator<App::DocumentObject*> > const&, bool, bool*, int) from /home/ulrich/Sourcen/FreeCAD/build/lib/libFreeCADApp.so+0x905
#27  0x7f1aae02f021 in PartGui::DlgFilletEdges::accept() from /home/ulrich/Sourcen/FreeCAD/build/Mod/Part/PartGui.so+0xd1d
#28  0x7f1aae02fec0 in PartGui::TaskChamferEdges::accept() from /home/ulrich/Sourcen/FreeCAD/build/Mod/Part/PartGui.so+0x1c
#29  0x7f1b4d1039fc in Gui::TaskView::TaskView::accept() from /home/ulrich/Sourcen/FreeCAD/build/lib/libFreeCADGui.so+0x6e
#30  /home/ulrich/Sourcen/FreeCAD/build/lib/libFreeCADGui.so(+0x12c71b7) [0x7f1b4d1041b7]
#31  0x7f1b4858c866 in QMetaObject::activate(QObject*, int, int, void**) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x766
#32  /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x2e5270) [0x7f1b49066270]
#33  0x7f1b4858c866 in QMetaObject::activate(QObject*, int, int, void**) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x766
#34  0x7f1b48fc6592 in QAbstractButton::clicked(bool) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x42
#35  /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x2457aa) [0x7f1b48fc67aa]
#36  /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x246b6f) [0x7f1b48fc7b6f]
#37  0x7f1b48fc7d45 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0xe5
#38  0x7f1b48f1e4d8 in QWidget::event(QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x1d8
#39  0x7f1b48ee04c1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x81
#40  0x7f1b48ee7bb8 in QApplication::notify(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x458
#41  0x7f1b4cda6ef1 in Gui::GUIApplication::notify(QObject*, QEvent*) from /home/ulrich/Sourcen/FreeCAD/build/lib/libFreeCADGui.so+0xff
#42  0x7f1b485634f9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x179
#43  0x7f1b48ee6ee9 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x1a9
#44  /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x1b7fd4) [0x7f1b48f38fd4]
#45  /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x1bab5e) [0x7f1b48f3bb5e]
#46  0x7f1b48ee04c1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x81
#47  0x7f1b48ee7970 in QApplication::notify(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x210
#48  0x7f1b4cda6ef1 in Gui::GUIApplication::notify(QObject*, QEvent*) from /home/ulrich/Sourcen/FreeCAD/build/lib/libFreeCADGui.so+0xff
#49  0x7f1b485634f9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x179
#50  0x7f1b4890eff3 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5+0x6e3
#51  0x7f1b48910e75 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5+0x135
#52  0x7f1b488eb06b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5+0xab
#53  /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5(+0xdd40b) [0x7f1b42a6c40b]
#54  0x7f1b485621cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x13b
#55  0x7f1b4856a1a2 in QCoreApplication::exec() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x92
#56  0x7f1b4cc951f9 in Gui::Application::runApplication() from /home/ulrich/Sourcen/FreeCAD/build/lib/libFreeCADGui.so+0x2493
#57  ./FreeCAD(main+0xb1e) [0x55e3af82e158]
#58  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb) [0x7f1b47bd009b]
#59  ./FreeCAD(_start+0x2a) [0x55e3af82d4ca]
Ulrich

chrisb
Posts: 22516
Joined: Tue Mar 17, 2015 9:14 am

Re: My FC 0.19.18946 crashes on second edit of Chamfer @ Part-WB

Post by chrisb » Sat Dec 21, 2019 4:07 pm

Sort of confirmed here on MacOS too: It crashes already on first edit. This worked with 0.19.18846.

OS: macOS High Sierra (10.13)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18947 (Git)
Build type: Release
Branch: master
Hash: 91f6a5e5ee1b48063d5d4b59cc6250fc2a1021b1
Python version: 3.7.3
Qt version: 5.12.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/Germany (en_DE)

lutz_dd
Posts: 69
Joined: Thu Jul 31, 2014 5:10 am

Re: My FC 0.19.18946 crashes on second edit of Chamfer @ Part-WB

Post by lutz_dd » Sat Dec 21, 2019 5:28 pm

Once "Illegal storage access!" occurs in the ReportView
  • Save file, close all TAB and re-open the File ... crash.
  • Save file, close FC and start FC again, edit once more chamfer edge, save, close FC ... no crash, can be repeated many times
It seems the issue is not going into the file.

Will file a bug.


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

Re: My FC 0.19.18946 crashes on second edit of Chamfer @ Part-WB

Post by otoien » Wed Dec 25, 2019 9:41 pm

The same bug is present if the Fillet tool is used instead, both with version 0.19.18990 and 0.19.19060, but not in 0.19.18842.
I added a note and fillet tag to the bug tracker report.

OS: Windows 7 SP 1 (6.1)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19060 (Git)
Build type: Release
Branch: master
Hash: 72065b0d3960ec9b4aa90cce1a6e810e8bab68c4
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)


OS: Windows 7 SP 1 (6.1)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18842 (Git)
Build type: Release
Branch: master
Hash: 2fa9369d4203f33c62afddfbe190bb4e089d1840
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)

plgarcia
Posts: 305
Joined: Wed Jun 17, 2015 9:47 pm
Location: Near Paris (France)

Re: My FC 0.19.18946 crashes on second edit of Chamfer @ Part-WB

Post by plgarcia » Thu Dec 26, 2019 11:11 am

Same problem with me. The problem also concerns filet.
See discussion for more details if needed https://forum.freecadweb.org/viewtopic. ... 14#p356114

Procedure to reproduce and logs available there.
Regards

User avatar
Kunda1
Posts: 7083
Joined: Thu Jan 05, 2017 9:03 pm

Re: My FC 0.19.18946 crashes on second edit of Chamfer @ Part-WB

Post by Kunda1 » Sat Dec 28, 2019 1:11 pm

PR has been submitted by a dev in https://github.com/FreeCAD/FreeCAD/pull/2835
issue #4230 has been updated
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features

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

Re: Ticket #4230 - FC 0.19.18946 crashes on second edit of Chamfer @ Part-WB

Post by otoien » Wed Jan 01, 2020 3:15 am

Thanks so much, I can confirm that the fix works in version 0.19.19125 (Conda build).

Code: Select all

OS: Windows 7 SP 1 (6.1)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19125 (Git)
Build type: Release
Branch: master
Hash: 40ed5df69f356857b9816621b8283391a5f958b6
Python version: 3.7.3
Qt version: 5.12.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)

Post Reply