Open mpictor opened 1 year ago
Can you please try to reproduce on development branch? (https://github.com/FreeCAD/FreeCAD-Bundle/releases/tag/weekly-builds)
In the process of putting it in an archive so github would allow the upload, I seem to have drug a copy of the file into itself. this should be a valid file: solderironholder.FCStd.gz
FreeCAD_weekly-builds-32785-2023-04-12-conda-Linux-x86_64-py310.AppImage
crashes, though I have to take the draft up to 45 degrees for that to happen.
Around 30 degrees, I sometimes get failed to create compose table
. I repeated several times, trying to get a screenshot, and discovered that this message doesn't always show up. (maybe once per run?)
Output of the new version:
/home/runner/work/FreeCAD-Bundle/FreeCAD-Bundle/conda/linux/AppDir/usr/share/libdrm/amdgpu.ids: No such file or directory
failed to create compose table
Program received signal SIGSEGV, Segmentation fault.
#0 /lib64/libc.so.6(+0x37c30) [0x7fd459760c30]
#1 0x7fd3d2c9f26c in BRepTools::EvalAndUpdateTol(TopoDS_Edge const&, opencascade::handle<Geom_Curve> const&, opencascade::handle<Geom2d_Curve>, opencascade::handle<Geom_Surface> const&, double, double) from /tmp/.mount_FreeCANevyt7/usr/lib/./libTKBRep.so.7+0xac
#2 0x7fd3e1280995 in Draft_Modification::NewCurve2d(TopoDS_Edge const&, TopoDS_Face const&, TopoDS_Edge const&, TopoDS_Face const&, opencascade::handle<Geom2d_Curve>&, double&) from /tmp/.mount_FreeCANevyt7/usr/lib/./libTKOffset.so.7+0x525
#3 0x7fd3d2cac3c6 in BRepTools_Modifier::Rebuild(TopoDS_Shape const&, opencascade::handle<BRepTools_Modification> const&, bool&, Message_ProgressRange const&) from /tmp/.mount_FreeCANevyt7/usr/lib/./libTKBRep.so.7+0x1c56
#4 0x7fd3d2caabe9 in BRepTools_Modifier::Rebuild(TopoDS_Shape const&, opencascade::handle<BRepTools_Modification> const&, bool&, Message_ProgressRange const&) from /tmp/.mount_FreeCANevyt7/usr/lib/./libTKBRep.so.7+0x479
#5 0x7fd3d2caabe9 in BRepTools_Modifier::Rebuild(TopoDS_Shape const&, opencascade::handle<BRepTools_Modification> const&, bool&, Message_ProgressRange const&) from /tmp/.mount_FreeCANevyt7/usr/lib/./libTKBRep.so.7+0x479
#6 0x7fd3d2cad97c in BRepTools_Modifier::Perform(opencascade::handle<BRepTools_Modification> const&, Message_ProgressRange const&) from /tmp/.mount_FreeCANevyt7/usr/lib/./libTKBRep.so.7+0x3bc
#7 0x7fd3d356f0c9 in BRepBuilderAPI_ModifyShape::DoModif() from /tmp/.mount_FreeCANevyt7/usr/lib/./libTKTopAlgo.so.7+0x69
#8 0x7fd3e12510f0 in BRepOffsetAPI_DraftAngle::Build(Message_ProgressRange const&) from /tmp/.mount_FreeCANevyt7/usr/lib/./libTKOffset.so.7+0x100
#9 0x7fd2c6e0e67c in PartDesign::Draft::execute() from /tmp/.mount_FreeCANevyt7/usr/lib/_PartDesign.so+0xb9c
#10 0x7fd45ad69862 in App::DocumentObject::recompute() from /tmp/.mount_FreeCANevyt7/usr/bin/../lib/libFreeCADApp.so+0xc2
#11 0x7fd3e1afebaa in Part::Feature::recompute() from /tmp/.mount_FreeCANevyt7/usr/lib/Part.so+0xa
#12 0x7fd45acfd2cd in App::Document::_recomputeFeature(App::DocumentObject*) from /tmp/.mount_FreeCANevyt7/usr/bin/../lib/libFreeCADApp.so+0x41d
#13 0x7fd45ad4be8f in App::Document::recomputeFeature(App::DocumentObject*, bool) from /tmp/.mount_FreeCANevyt7/usr/bin/../lib/libFreeCADApp.so+0xef
#14 0x7fd2c6835a48 in PartDesignGui::TaskDraftParameters::onAngleChanged(double) from /tmp/.mount_FreeCANevyt7/usr/lib/PartDesignGui.so+0xb8
#15 /tmp/.mount_FreeCANevyt7/usr/bin/../lib/libQt5Core.so.5(+0x1dff9b) [0x7fd459cc6f9b]
#16 0x7fd45be12c34 in Gui::QuantitySpinBox::valueChanged(double) from /tmp/.mount_FreeCANevyt7/usr/bin/../lib/libFreeCADGui.so+0x44
#17 0x7fd45be13d98 in Gui::QuantitySpinBox::updateFromCache(bool, bool) from /tmp/.mount_FreeCANevyt7/usr/bin/../lib/libFreeCADGui.so+0xe8
#18 0x7fd45be13efe in Gui::QuantitySpinBox::updateText(Base::Quantity const&) from /tmp/.mount_FreeCANevyt7/usr/bin/../lib/libFreeCADGui.so+0x6e
#19 0x7fd45be14a0c in Gui::QuantitySpinBox::stepBy(int) from /tmp/.mount_FreeCANevyt7/usr/bin/../lib/libFreeCADGui.so+0x7c
#20 0x7fd45a601559 in QAbstractSpinBox::wheelEvent(QWheelEvent*) from /tmp/.mount_FreeCANevyt7/usr/bin/../lib/libQt5Widgets.so.5+0x79
#21 0x7fd45a52522a in QWidget::event(QEvent*) from /tmp/.mount_FreeCANevyt7/usr/bin/../lib/libQt5Widgets.so.5+0x15c
#22 0x7fd45a4fb087 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /tmp/.mount_FreeCANevyt7/usr/bin/../lib/libQt5Widgets.so.5+0xd9
#23 0x7fd45a4ff8fe in QApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCANevyt7/usr/bin/../lib/libQt5Widgets.so.5+0xbf4
#24 0x7fd45b971bd9 in Gui::GUIApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCANevyt7/usr/bin/../lib/libFreeCADGui.so+0x99
#25 0x7fd459ca9a18 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /tmp/.mount_FreeCANevyt7/usr/bin/../lib/libQt5Core.so.5+0x8e
#26 /tmp/.mount_FreeCANevyt7/usr/bin/../lib/libQt5Widgets.so.5(+0x1a38a6) [0x7fd45a5348a6]
#27 /tmp/.mount_FreeCANevyt7/usr/bin/../lib/libQt5Widgets.so.5(+0x1a4555) [0x7fd45a535555]
#28 0x7fd45a4fb087 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /tmp/.mount_FreeCANevyt7/usr/bin/../lib/libQt5Widgets.so.5+0xd9
#29 0x7fd45b971bd9 in Gui::GUIApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCANevyt7/usr/bin/../lib/libFreeCADGui.so+0x99
#30 0x7fd459ca9a18 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /tmp/.mount_FreeCANevyt7/usr/bin/../lib/libQt5Core.so.5+0x8e
#31 0x7fd45a0732fe in QGuiApplicationPrivate::processWheelEvent(QWindowSystemInterfacePrivate::WheelEvent*) from /tmp/.mount_FreeCANevyt7/usr/bin/../lib/libQt5Gui.so.5+0x166
#32 0x7fd45a062091 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_FreeCANevyt7/usr/bin/../lib/libQt5Gui.so.5+0x57
#33 /tmp/.mount_FreeCANevyt7/usr/plugins/platforms/../../lib/libQt5XcbQpa.so.5(+0x5672c) [0x7fd45461472c]
#34 /tmp/.mount_FreeCANevyt7/usr/bin/../lib/./libglib-2.0.so.0(g_main_context_dispatch+0x25c) [0x7fd4560d91bc]
#35 /tmp/.mount_FreeCANevyt7/usr/bin/../lib/./libglib-2.0.so.0(+0x58489) [0x7fd4560d9489]
#36 /tmp/.mount_FreeCANevyt7/usr/bin/../lib/./libglib-2.0.so.0(g_main_context_iteration+0x31) [0x7fd4560d9551]
#37 0x7fd459cdad50 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_FreeCANevyt7/usr/bin/../lib/libQt5Core.so.5+0x5c
#38 0x7fd459ca75d8 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_FreeCANevyt7/usr/bin/../lib/libQt5Core.so.5+0x180
#39 0x7fd459cab7af in QCoreApplication::exec() from /tmp/.mount_FreeCANevyt7/usr/bin/../lib/libQt5Core.so.5+0x107
#40 0x7fd45b8e5006 in Gui::Application::runApplication() from /tmp/.mount_FreeCANevyt7/usr/bin/../lib/libFreeCADGui.so+0x22c6
#41 /tmp/.mount_FreeCANevyt7/usr/bin/freecad(+0x8a92) [0x564feab2ca92]
#42 /lib64/libc.so.6(+0x2334a) [0x7fd45974c34a]
#43 /lib64/libc.so.6(__libc_start_main+0x7c) [0x7fd45974c3fc]
#44 /tmp/.mount_FreeCANevyt7/usr/bin/freecad(+0x8de1) [0x564feab2cde1]
bumping for visibility
@mpictor can you still reproduce on latest dev ? (please paste the full About info)
@mpictor is this still an issue in the latest dev version / RC? If there is no feedback I'd propose to close this issue.
Sorry, had not seen the notifications. I'll try to find time to check in the next couple days.
Unfortunately this is still an issue in 1.0.0RC2
I updated the file as prompted when opening, but ignored a number of warnings and errors, mostly regarding constraints. I'm assuming those can't (or shouldn't) lead to a crash.
The rendering starts to look weird over 30 degrees, and it crashes at 44.
The Sketch has partially redundant constraints!
<Sketch> SketchObject.cpp(345): Edge too small: Edge10
Sketcher constraint number 7 is malformed!
Sketcher constraint number 7 is malformed!
The Sketch has malformed constraints!
Sketch011: Sketch with redundant constraints
Please remove the following redundant constraint:
11
Sketch015: Sketch with redundant constraints
Please remove the following redundant constraint:
22
Sketch040: Over-constrained sketch
Please remove at least one of the following conflicting constraints:
1
, 2, 5, 6
Sketch049: Sketch with redundant constraints
Please remove the following redundant constraints:12
, 15, 21, 24
Sketch034: Sketch with malformed constraints
Please remove the following malformed constraint:
7
Sketch054: AttachEngine3D: subshape not found Pad029.Face13
Sketcher constraint number 7 is malformed!
Sketcher constraint number 7 is malformed!
The Sketch has malformed constraints!
Sketch011: Sketch with redundant constraints
Please remove the following redundant constraint:
11
Sketch015: Sketch with redundant constraints
Please remove the following redundant constraint:
22
Sketch040: Over-constrained sketch
Please remove at least one of the following conflicting constraints:
1
, 2, 5, 6
Sketch049: Sketch with redundant constraints
Please remove the following redundant constraints:12
, 15, 21, 24
Sketch034: Sketch with malformed constraints
Please remove the following malformed constraint:
7
Sketch054: AttachEngine3D: subshape not found Pad029.Face13
...and the actual crash
Program received signal SIGSEGV, Segmentation fault.
#0 /usr/lib64/libc.so.6(+0x3c480) [0x7fd0f210b480]
#1 0x7fd0638cecfa in BRepTools::EvalAndUpdateTol(TopoDS_Edge const&, opencascade::handle<Geom_Curve> const&, opencascade::handle<Geom2d_Curve> const&, opencascade::handle<Geom_Surface> const&, double, double) from /tmp/.mount_FreeCA14sYDv/usr/lib/./libTKBRep.so.7.7+0xaa
#2 0x7fd060fd8935 in Draft_Modification::NewCurve2d(TopoDS_Edge const&, TopoDS_Face const&, TopoDS_Edge const&, TopoDS_Face const&, opencascade::handle<Geom2d_Curve>&, double&) from /tmp/.mount_FreeCA14sYDv/usr/lib/././libTKOffset.so.7.7+0x645
#3 0x7fd0638dcba7 in BRepTools_Modifier::Rebuild(TopoDS_Shape const&, opencascade::handle<BRepTools_Modification> const&, bool&, Message_ProgressRange const&) from /tmp/.mount_FreeCA14sYDv/usr/lib/./libTKBRep.so.7.7+0x1c27
#4 0x7fd0638db68d in BRepTools_Modifier::Rebuild(TopoDS_Shape const&, opencascade::handle<BRepTools_Modification> const&, bool&, Message_ProgressRange const&) from /tmp/.mount_FreeCA14sYDv/usr/lib/./libTKBRep.so.7.7+0x70d
#5 0x7fd0638db68d in BRepTools_Modifier::Rebuild(TopoDS_Shape const&, opencascade::handle<BRepTools_Modification> const&, bool&, Message_ProgressRange const&) from /tmp/.mount_FreeCA14sYDv/usr/lib/./libTKBRep.so.7.7+0x70d
#6 0x7fd0638de018 in BRepTools_Modifier::Perform(opencascade::handle<BRepTools_Modification> const&, Message_ProgressRange const&) from /tmp/.mount_FreeCA14sYDv/usr/lib/./libTKBRep.so.7.7+0x368
#7 0x7fd061e84409 in BRepBuilderAPI_ModifyShape::DoModif() from /tmp/.mount_FreeCA14sYDv/usr/lib/./libTKTopAlgo.so.7.7+0x69
#8 0x7fd060fa8ea7 in BRepOffsetAPI_DraftAngle::Build(Message_ProgressRange const&) from /tmp/.mount_FreeCA14sYDv/usr/lib/././libTKOffset.so.7.7+0x147
#9 0x7fd056c1a6a4 in PartDesign::Draft::execute() from /tmp/.mount_FreeCA14sYDv/usr/lib/_PartDesign.so+0x8b4
#10 0x7fd0f3ccedf2 in App::DocumentObject::recompute() from /tmp/.mount_FreeCA14sYDv/usr/bin/../lib/libFreeCADApp.so+0xc2
#11 0x7fd06223bacc in Part::Feature::recompute() from /tmp/.mount_FreeCA14sYDv/usr/lib/./Part.so+0xc
#12 0x7fd0f3ca3d4c in App::Document::_recomputeFeature(App::DocumentObject*) from /tmp/.mount_FreeCA14sYDv/usr/bin/../lib/libFreeCADApp.so+0x32c
#13 0x7fd0f3cb433c in App::Document::recomputeFeature(App::DocumentObject*, bool) from /tmp/.mount_FreeCA14sYDv/usr/bin/../lib/libFreeCADApp.so+0xfc
#14 0x7fcfd5c80f07 in PartDesignGui::TaskDraftParameters::onAngleChanged(double) from /tmp/.mount_FreeCA14sYDv/usr/lib/PartDesignGui.so+0xd7
#15 /tmp/.mount_FreeCA14sYDv/usr/bin/../lib/libQt5Core.so.5(+0x2eb6f2) [0x7fd0f27af6f2]
#16 0x7fd0f50efaf4 in Gui::QuantitySpinBox::valueChanged(double) from /tmp/.mount_FreeCA14sYDv/usr/bin/../lib/libFreeCADGui.so+0x44
#17 0x7fd0f50f0a4a in Gui::QuantitySpinBox::updateFromCache(bool, bool) from /tmp/.mount_FreeCA14sYDv/usr/bin/../lib/libFreeCADGui.so+0xda
#18 0x7fd0f50f0baf in Gui::QuantitySpinBox::updateText(Base::Quantity const&) from /tmp/.mount_FreeCA14sYDv/usr/bin/../lib/libFreeCADGui.so+0x6f
#19 0x7fd0f50f167c in Gui::QuantitySpinBox::stepBy(int) from /tmp/.mount_FreeCA14sYDv/usr/bin/../lib/libFreeCADGui.so+0x7c
#20 0x7fd0f3438181 in QAbstractSpinBox::wheelEvent(QWheelEvent*) from /tmp/.mount_FreeCA14sYDv/usr/bin/../lib/libQt5Widgets.so.5+0x81
#21 0x7fd0f32e3c08 in QWidget::event(QEvent*) from /tmp/.mount_FreeCA14sYDv/usr/bin/../lib/libQt5Widgets.so.5+0x178
#22 0x7fd0f32a53ae in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /tmp/.mount_FreeCA14sYDv/usr/bin/../lib/libQt5Widgets.so.5+0x7e
#23 0x7fd0f32adb16 in QApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCA14sYDv/usr/bin/../lib/libQt5Widgets.so.5+0x1c56
#24 0x7fd0f4be0079 in Gui::GUIApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCA14sYDv/usr/bin/../lib/libFreeCADGui.so+0x99
#25 0x7fd0f277ab28 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /tmp/.mount_FreeCA14sYDv/usr/bin/../lib/libQt5Core.so.5+0x108
#26 /tmp/.mount_FreeCA14sYDv/usr/bin/../lib/libQt5Widgets.so.5(+0x1c8ad5) [0x7fd0f32fdad5]
#27 /tmp/.mount_FreeCA14sYDv/usr/bin/../lib/libQt5Widgets.so.5(+0x1ca1f8) [0x7fd0f32ff1f8]
#28 0x7fd0f32a53ae in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /tmp/.mount_FreeCA14sYDv/usr/bin/../lib/libQt5Widgets.so.5+0x7e
#29 0x7fd0f4be0079 in Gui::GUIApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCA14sYDv/usr/bin/../lib/libFreeCADGui.so+0x99
#30 0x7fd0f277ab28 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /tmp/.mount_FreeCA14sYDv/usr/bin/../lib/libQt5Core.so.5+0x108
#31 0x7fd0f2c03031 in QGuiApplicationPrivate::processWheelEvent(QWindowSystemInterfacePrivate::WheelEvent*) from /tmp/.mount_FreeCA14sYDv/usr/bin/../lib/libQt5Gui.so.5+0xd1
#32 0x7fd0f2bdd0bc in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_FreeCA14sYDv/usr/bin/../lib/libQt5Gui.so.5+0xac
#33 /tmp/.mount_FreeCA14sYDv/usr/plugins/platforms/../../lib/libQt5XcbQpa.so.5(+0x64bea) [0x7fd0ec98dbea]
#34 /tmp/.mount_FreeCA14sYDv/usr/bin/../lib/./libglib-2.0.so.0(+0x5bad7) [0x7fd0ee7b8ad7]
#35 /tmp/.mount_FreeCA14sYDv/usr/bin/../lib/./libglib-2.0.so.0(+0x5eac7) [0x7fd0ee7bbac7]
#36 /tmp/.mount_FreeCA14sYDv/usr/bin/../lib/./libglib-2.0.so.0(g_main_context_iteration+0x2e) [0x7fd0ee7bc0ce]
#37 0x7fd0f27cea36 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_FreeCA14sYDv/usr/bin/../lib/libQt5Core.so.5+0x66
#38 0x7fd0f277970b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_FreeCA14sYDv/usr/bin/../lib/libQt5Core.so.5+0x11b
#39 0x7fd0f2781212 in QCoreApplication::exec() from /tmp/.mount_FreeCA14sYDv/usr/bin/../lib/libQt5Core.so.5+0x82
#40 0x7fd0f4b3f4e1 in Gui::Application::runApplication() from /tmp/.mount_FreeCA14sYDv/usr/bin/../lib/libFreeCADGui.so+0xa41
#41 /tmp/.mount_FreeCA14sYDv/usr/bin/freecad(+0x789f) [0x5567d47e589f]
#42 /usr/lib64/libc.so.6(+0x26320) [0x7fd0f20f5320]
#43 /usr/lib64/libc.so.6(__libc_start_main+0x89) [0x7fd0f20f53d9]
#44 /tmp/.mount_FreeCA14sYDv/usr/bin/freecad(+0x7c12) [0x5567d47e5c12]
Is there an existing issue for this?
Forums discussion
No response
Version
0.20 (Release)
Full version info
Subproject(s) affected?
PartDesign
Issue description
I'm trying to use
draft
to create a transition between one piece and another. In the screenshot, I want to angle the green face like the yellow one (~30 degrees)the cad file:
solderironholder.FCStd.gzEDIT: bad file - see comment below When you open this file, the face should be in view.Anything else?
The freecad I'm running is
FreeCAD_weekly-builds-27319-Linux-Conda_glibc2.12-x86_64.AppImage
backtrace
Code of Conduct