Bug 1709521
Summary: | FreeCAD crashes during startup | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Vaclav "sHINOBI" Misek <misek> |
Component: | freecad | Assignee: | Richard Shaw <hobbes1069> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 30 | CC: | alain.vigne.14, cz172638, hobbes1069, john |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | freecad-0.18.2-3.fc29 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-05-29 02:59:20 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Vaclav "sHINOBI" Misek
2019-05-13 18:15:59 UTC
I confirm the same problem. $ FreeCAD Program received signal SIGSEGV, Segmentation fault. It looks like Python 2 is still sneaking into the build somehow... Ok, so the python2 package of shiboken was being pulled in. I think I have it fixed and new builds going. freecad-0.18.2-3.fc29 python-pivy-0.6.5-0.1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-d8deac72f7 freecad-0.18.2-3.fc29 python-pivy-0.6.5-0.1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-d8deac72f7 Ok, please try the new builds when they get pushed to testing. I went ahead and switched shiboken to be python3 by default instead of python2 in Rawhide and F30. The cmake config was defaulted to python2 and it was a PITA to make it pick the python3 config. freecad-0.18.2-3.fc29, python-pivy-0.6.5-0.1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-d8deac72f7 Just tested the update and I can't get it to crash Yes, better, but I still have RuntimeError: Can't find converter for 'onStart7f07c9f5bd90()' to call Python meta method. RuntimeError: Can't find converter for 'setCurrent7f07c9f5bae8()' to call Python meta method. ... When running, and, after File->Exit Program received signal SIGSEGV, Segmentation fault. #0 /lib64/libc.so.6(+0x37f40) [0x7f07dc711f40] #1 /lib64/libc.so.6(+0x15b9ac) [0x7f07dc8359ac] #2 /lib64/libpyside.cpython-37m-x86_64-linux-gnu.so.1.2(+0x15d82) [0x7f07c9b62d82] #3 0x7f07dcc7e70a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) from /lib64/libQtCore.so.4+0x3da #4 0x7f07dcc7f0a3 in QObject::destroyed(QObject*) from /lib64/libQtCore.so.4+0x43 #5 0x7f07dcc83a65 in QObject::~QObject() from /lib64/libQtCore.so.4+0xb5 #6 0x7f07dd074267 in QAction::~QAction() from /lib64/libQtGui.so.4+0x1c7 #7 /usr/lib64/python3.7/site-packages/PySide/QtGui.so(+0x27d19d) [0x7f07c910119d] #8 0x7f07dcc82a54 in QObjectPrivate::deleteChildren() from /lib64/libQtCore.so.4+0x84 #9 0x7f07dd0d0379 in QWidget::~QWidget() from /lib64/libQtGui.so.4+0x349 #10 /usr/lib64/python3.7/site-packages/PySide/QtGui.so(+0x5537ad) [0x7f07c93d77ad] #11 0x7f07dcc82a54 in QObjectPrivate::deleteChildren() from /lib64/libQtCore.so.4+0x84 #12 0x7f07dd0d0379 in QWidget::~QWidget() from /lib64/libQtGui.so.4+0x349 #13 /usr/lib64/python3.7/site-packages/PySide/QtGui.so(+0x5537ad) [0x7f07c93d77ad] #14 0x7f07dcc82a54 in QObjectPrivate::deleteChildren() from /lib64/libQtCore.so.4+0x84 #15 0x7f07dd0d0379 in QWidget::~QWidget() from /lib64/libQtGui.so.4+0x349 #16 /usr/lib64/python3.7/site-packages/PySide/QtGui.so(+0x604a6d) [0x7f07c9488a6d] #17 0x7f07dcc82a54 in QObjectPrivate::deleteChildren() from /lib64/libQtCore.so.4+0x84 #18 0x7f07dd0d0379 in QWidget::~QWidget() from /lib64/libQtGui.so.4+0x349 #19 0x7f07dd4d5d33 in QStatusBar::~QStatusBar() from /lib64/libQtGui.so.4+0x13 #20 0x7f07dcc82a54 in QObjectPrivate::deleteChildren() from /lib64/libQtCore.so.4+0x84 #21 0x7f07dd0d0379 in QWidget::~QWidget() from /lib64/libQtGui.so.4+0x349 #22 0x7f07df9e6396 in Gui::MainWindow::~MainWindow() from /usr/lib64/freecad/lib/libFreeCADGui.so+0x8c #23 0x7f07df58fe56 in Gui::Application::runApplication() from /usr/lib64/freecad/lib/libFreeCADGui.so+0x25f2 #24 FreeCAD(main+0xa17) [0x408033] #25 /lib64/libc.so.6(__libc_start_main+0xf3) [0x7f07dc6fdf33] #26 FreeCAD(_start+0x2e) [0x4074ee] Are you on F30? My tests were on F29. Yes, sorry. F30. Did you expect it will also fix the problem for Fedora 30 ? For me under F30 it starts without errors with freecad-0.18.2-3.fc30.x86_64, but I can see seqfault when I exit FreeCAD. Program received signal SIGSEGV, Segmentation fault. #0 /lib64/libc.so.6(+0x37f40) [0x7f2dbb66ef40] #1 /lib64/libc.so.6(+0x15b9ac) [0x7f2dbb7929ac] #2 /lib64/libpyside.cpython-37m-x86_64-linux-gnu.so.1.2(+0x15d82) [0x7f2da403cd82] #3 0x7f2dbbbdd70a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) from /lib64/libQtCore.so.4+0x3da #4 0x7f2dbbbde0a3 in QObject::destroyed(QObject*) from /lib64/libQtCore.so.4+0x43 #5 0x7f2dbbbe2a65 in QObject::~QObject() from /lib64/libQtCore.so.4+0xb5 #6 0x7f2dbbfd3267 in QAction::~QAction() from /lib64/libQtGui.so.4+0x1c7 #7 /usr/lib64/python3.7/site-packages/PySide/QtGui.so(+0x27d19d) [0x7f2d6b36619d] #8 0x7f2dbbbe1a54 in QObjectPrivate::deleteChildren() from /lib64/libQtCore.so.4+0x84 #9 0x7f2dbc02f379 in QWidget::~QWidget() from /lib64/libQtGui.so.4+0x349 #10 /usr/lib64/python3.7/site-packages/PySide/QtGui.so(+0x5537ad) [0x7f2d6b63c7ad] #11 0x7f2dbbbe1a54 in QObjectPrivate::deleteChildren() from /lib64/libQtCore.so.4+0x84 #12 0x7f2dbc02f379 in QWidget::~QWidget() from /lib64/libQtGui.so.4+0x349 #13 /usr/lib64/python3.7/site-packages/PySide/QtGui.so(+0x5537ad) [0x7f2d6b63c7ad] #14 0x7f2dbbbe1a54 in QObjectPrivate::deleteChildren() from /lib64/libQtCore.so.4+0x84 #15 0x7f2dbc02f379 in QWidget::~QWidget() from /lib64/libQtGui.so.4+0x349 #16 /usr/lib64/python3.7/site-packages/PySide/QtGui.so(+0x604a6d) [0x7f2d6b6eda6d] #17 0x7f2dbbbe1a54 in QObjectPrivate::deleteChildren() from /lib64/libQtCore.so.4+0x84 #18 0x7f2dbc02f379 in QWidget::~QWidget() from /lib64/libQtGui.so.4+0x349 #19 0x7f2dbc434d33 in QStatusBar::~QStatusBar() from /lib64/libQtGui.so.4+0x13 #20 0x7f2dbbbe1a54 in QObjectPrivate::deleteChildren() from /lib64/libQtCore.so.4+0x84 #21 0x7f2dbc02f379 in QWidget::~QWidget() from /lib64/libQtGui.so.4+0x349 #22 0x7f2dbe96e396 in Gui::MainWindow::~MainWindow() from /usr/lib64/freecad/lib/libFreeCADGui.so+0x8c #23 0x7f2dbe517e56 in Gui::Application::runApplication() from /usr/lib64/freecad/lib/libFreeCADGui.so+0x25f2 #24 FreeCAD(main+0xa17) [0x408033] #25 /lib64/libc.so.6(__libc_start_main+0xf3) [0x7f2dbb65af33] #26 FreeCAD(_start+0x2e) [0x4074ee] F29 through Rawhide are all on the same version of PySide, so unless it's some obscure gcc 9 bug (or change) I'm not sure where to look. I could try doing a scratch build of PySide if you're willing to install and test it. Ok, I have completed a simple rebuild of python-pyside (at least for x86_64 and i686 at this time). If you would please download python3-pyside (hopefully it will update without forcing you to download other packages) and test FreeCAD again. https://koji.fedoraproject.org/koji/taskinfo?taskID=34996238 With python3-pyside-1.2.4-8.fc30 it looks perfect for me. Thank you. Awesome. I’ll do real builds as soon as I can. freecad-0.18.2-3.fc29, python-pivy-0.6.5-0.1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report. |