Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue] Program received signal SIGSEGV at startup (Debian testing, python 3.11.1, Qt 5.15.7) #170

Open
2 tasks done
marcogiusti opened this issue Dec 13, 2022 · 17 comments

Comments

@marcogiusti
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Forums discussion

No response

Version

0.20 (Release)

Full version info

FreeCAD 0.20.1, Libs: 0.20.1R (Debian testing package)

and

FreeCAD 0.20.1 Revision: 29410 (Git) (latest AppImage)

Subproject(s) affected?

None

Issue description

FreeCAD work fine until I plug/unplug an external monitor. After I do this I cannot start FreeCAD unless I reboot. I use mons to easily control xrandr.

The stacktrace using the debian package, when using the AppImage the output is similar:

$ freecad
FreeCAD 0.20.1, Libs: 0.20.1R
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2022
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.
  #####                 ####  ###   ####
  #                    #      # #   #   #
  #     ##  #### ####  #     #   #  #   #
  ####  # # #  # #  #  #     #####  #   #
  #     #   #### ####  #    #     # #   #
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Program received signal SIGSEGV, Segmentation fault.
#0  /lib/x86_64-linux-gnu/libc.so.6(+0x3bf90) [0x7f206745af90]
FreeCAD/FreeCAD#1  0x7f2067f00b00 in QBackingStore::beginPaint(QRegion const&) from /lib/x86_64-linux-gnu/libQt5Gui.so.5+0xd0
FreeCAD/FreeCAD#2  /lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x174099) [0x7f2068574099]
FreeCAD/FreeCAD#3  0x7f20685a4fa8 in QWidget::event(QEvent*) from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x468
FreeCAD/FreeCAD#4  0x7f2068562f5e in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x7e
FreeCAD/FreeCAD#5  0x7f2069c26388 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/lib/freecad-python3/lib/libFreeCADGui.so+0x88
FreeCAD/FreeCAD#6  0x7f20678b1718 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x118
FreeCAD/FreeCAD#7  /lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x175155) [0x7f2068575155]
FreeCAD/FreeCAD#8  /lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x177bc0) [0x7f2068577bc0]
FreeCAD/FreeCAD#9  0x7f206858ea80 in QWidget::repaint(QRect const&) from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x80
FreeCAD/FreeCAD#10  0x7f206858eada in QWidget::repaint() from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x3a
FreeCAD/FreeCAD#11  0x7f2068711709 in QSplashScreen::repaint() from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x9
FreeCAD/FreeCAD#12  /usr/lib/freecad-python3/lib/libFreeCADGui.so(+0x773909) [0x7f2069f73909]
FreeCAD/FreeCAD#13  0x7f206971583d in Base::ConsoleSingleton::NotifyLog(char const*) from /usr/lib/freecad-python3/lib/libFreeCADBase.so+0xbd
FreeCAD/FreeCAD#14  0x7f2069715b13 in Base::ConsoleSingleton::Log(char const*, ...) from /usr/lib/freecad-python3/lib/libFreeCADBase.so+0x213
FreeCAD/FreeCAD#15  0x7f2069bbba81 in messageHandler(QtMsgType, QMessageLogContext const&, QString const&) from /usr/lib/freecad-python3/lib/libFreeCADGui.so+0x51
FreeCAD/FreeCAD#16  /lib/x86_64-linux-gnu/libQt5Core.so.5(+0xc3ae0) [0x7f20676c3ae0]
FreeCAD/FreeCAD#17  /lib/x86_64-linux-gnu/libQt5Core.so.5(+0xc3bf8) [0x7f20676c3bf8]
FreeCAD/FreeCAD#18  0x7f206769051d in QMessageLogger::warning(char const*, ...) const from /lib/x86_64-linux-gnu/libQt5Core.so.5+0xaf
FreeCAD/FreeCAD#19  /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5(+0x615ba) [0x7f20618b55ba]
FreeCAD/FreeCAD#20  /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5(+0x62582) [0x7f20618b6582]
FreeCAD/FreeCAD#21  /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5(+0x643ab) [0x7f20618b83ab]
FreeCAD/FreeCAD#22  0x7f2067f00567 in QBackingStore::resize(QSize const&) from /lib/x86_64-linux-gnu/libQt5Gui.so.5+0xa7
FreeCAD/FreeCAD#23  /lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x17358f) [0x7f206857358f]
FreeCAD/FreeCAD#24  /lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x174a5a) [0x7f2068574a5a]
FreeCAD/FreeCAD#25  /lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x1c116c) [0x7f20685c116c]
FreeCAD/FreeCAD#26  0x7f2068562f5e in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x7e
FreeCAD/FreeCAD#27  0x7f2069c26388 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/lib/freecad-python3/lib/libFreeCADGui.so+0x88
FreeCAD/FreeCAD#28  0x7f20678b1718 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x118
FreeCAD/FreeCAD#29  0x7f2067d3e73d in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) from /lib/x86_64-linux-gnu/libQt5Gui.so.5+0x8d
FreeCAD/FreeCAD#30  0x7f2067d11e1c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /lib/x86_64-linux-gnu/libQt5Gui.so.5+0xac
FreeCAD/FreeCAD#31  /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5(+0x6dc7a) [0x7f20618c1c7a]
FreeCAD/FreeCAD#32  /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x299) [0x7f206591f7a9]
FreeCAD/FreeCAD#33  /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x54a38) [0x7f206591fa38]
FreeCAD/FreeCAD#34  /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c) [0x7f206591facc]
FreeCAD/FreeCAD#35  0x7f20679094b6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x66
FreeCAD/FreeCAD#36  /usr/lib/freecad-python3/lib/libFreeCADGui.so(+0x773909) [0x7f2069f73909]
FreeCAD/FreeCAD#37  0x7f206971583d in Base::ConsoleSingleton::NotifyLog(char const*) from /usr/lib/freecad-python3/lib/libFreeCADBase.so+0xbd
FreeCAD/FreeCAD#38  0x7f2069715b13 in Base::ConsoleSingleton::Log(char const*, ...) from /usr/lib/freecad-python3/lib/libFreeCADBase.so+0x213
FreeCAD/FreeCAD#39  0x7f206971622a in Base::ConsoleSingleton::sPyLog(_object*, _object*) from /usr/lib/freecad-python3/lib/libFreeCADBase.so+0x6a
FreeCAD/FreeCAD#40  /lib/x86_64-linux-gnu/libpython3.10.so.1.0(+0x128413) [0x7f2068d28413]
FreeCAD/FreeCAD#41  /lib/x86_64-linux-gnu/libpython3.10.so.1.0(_PyObject_MakeTpCall+0x8e) [0x7f2068cdebce]
FreeCAD/FreeCAD#42  /lib/x86_64-linux-gnu/libpython3.10.so.1.0(_PyEval_EvalFrameDefault+0x90fc) [0x7f2068c78cfc]
FreeCAD/FreeCAD#43  /lib/x86_64-linux-gnu/libpython3.10.so.1.0(+0x1c70c6) [0x7f2068dc70c6]
FreeCAD/FreeCAD#44  /lib/x86_64-linux-gnu/libpython3.10.so.1.0(PyEval_EvalCode+0xb9) [0x7f2068dc1b09]
FreeCAD/FreeCAD#45  /lib/x86_64-linux-gnu/libpython3.10.so.1.0(+0x211899) [0x7f2068e11899]
FreeCAD/FreeCAD#46  /lib/x86_64-linux-gnu/libpython3.10.so.1.0(PyRun_StringFlags+0x75) [0x7f2068e129a5]
FreeCAD/FreeCAD#47  0x7f206972b7a8 in Base::InterpreterSingleton::runString[abi:cxx11](char const*) from /usr/lib/freecad-python3/lib/libFreeCADBase.so+0x68
FreeCAD/FreeCAD#48  0x7f2069bbc0ff in Gui::Application::runInitGuiScript() from /usr/lib/freecad-python3/lib/libFreeCADGui.so+0x3f
FreeCAD/FreeCAD#49  0x7f2069bc1bd9 in Gui::Application::runApplication() from /usr/lib/freecad-python3/lib/libFreeCADGui.so+0x10c9
FreeCAD/FreeCAD#50  freecad(+0x4c01) [0x558ffef3cc01]
FreeCAD/FreeCAD#51  /lib/x86_64-linux-gnu/libc.so.6(+0x2718a) [0x7f206744618a]
FreeCAD/FreeCAD#52  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7f2067446245]
FreeCAD/FreeCAD#53  freecad(+0x5ad1) [0x558ffef3dad1]

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@chennes
Copy link
Member

chennes commented Dec 17, 2022

This is happening pretty deep inside Qt -- have you searched for issues in other packages using Qt? There's not much point in our submitting a bug report to them at this point, the version of Qt that you are compiled against is too old to receive any support from upstream.

@luzpaz
Copy link
Collaborator

luzpaz commented Dec 21, 2022

@marcogiusti can you post what freecad --verbose --version returns for you ?

Also would you consider running the latest development (Weekly) version appimage to see if you can recreate this problem ?

@luzpaz
Copy link
Collaborator

luzpaz commented Jan 8, 2023

@marcogiusti please respond to the above 2 questions from chennes and myself. TIA

@mosfet80
Copy link

mosfet80 commented Jan 9, 2023

I think I have the same problem:

This is my configuration (debian 11)

Compiler: GNU, version: 12.2.0
prefix: /usr/local
bindir: bin
datadir: share
docdir: share/doc/FreeCAD
includedir: include
libdir: lib
cmake: 3.25.1
Compiling with Qt 5
PyCXX found:
  Headers:  /home/r/software/FreeCAD/src
  Sources:  /home/r/software/FreeCAD/src/CXX
  Version:  7.1.7
-- Found OCE/OpenCASCADE version: 7.6.3
-- OCE/OpenCASCADE include directory: /usr/include/opencascade
-- OCE/OpenCASCADE shared libraries directory: /usr/lib/x86_64-linux-gnu
Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so   
CMake Deprecation Warning at /usr/lib/x86_64-linux-gnu/cmake/vtk-9.1/vtk-config.cmake:75 (message):
  The new name for the 'vtkCommonCore' component is 'CommonCore'
Call Stack (most recent call first):
  cMake/FreeCAD_Helpers/SetupSalomeSMESH.cmake:29 (find_package)
  CMakeLists.txt:57 (SetupSalomeSMESH)


VTK components: CommonCore;CommonDataModel;FiltersVerdict;IOXML;FiltersCore;FiltersGeneral;IOLegacy;FiltersExtraction;FiltersSources;FiltersGeometry;IOMPIParallel;ParallelMPI;hdf5;RenderingCore;InteractionStyle;RenderingFreeType;RenderingOpenGL2
Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so  found components: OpenGL GLX 
Check for medfile (libmed and libmedc) ...
We guess that libmed was built using hdf5-openmpi version
Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found suitable version "1.74.0", minimum required is "1.65") found components: filesystem program_options regex system thread date_time 
Set up to compile with Qt 5.15.7
Shiboken2Config: Using default python: .cpython-311-x86_64-linux-gnu
SHIBOKEN_PYTHON_INCLUDE_DIRS computed to value: '/usr/include/python3.11'
SHIBOKEN_PYTHON_LIBRARIES computed to value: ''
libshiboken built for RelWithDebInfo
PYTHON_CONFIG_SUFFIX: .cpython-311-x86_64-linux-gnu
libshiboken built for RelWithDebInfo
PySide 5.13.2 Python module found at /home/r/.local/lib/python3.11/site-packages/PySide2.

Found Matplotlib: /usr/lib/python3/dist-packages/matplotlib (found version "3.6.2")
Platform is 64-bit, set -D_OCC64
Performing Test _flag_found
Performing Test _flag_found - Success
Performing Test _flag_found
Performing Test _flag_found - Success
Performing Test _flag_found
Performing Test _flag_found - Success
Performing Test _flag_found
Performing Test _flag_found - Success
[E57] Revison ID: E57Format-2.2.1-x86_64-linux-gcc12
[E57] Building static library
Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found version "1.74.0") found components: python311 
found Boost: 1_74
boost-incude dirs are: /usr/include
boost-python lib is: 
boost_LIBRARY_DIRS is: /usr/lib/x86_64-linux-gnu
Boost_LIBRARIES is: Boost::python
area module (for Path Workbench) will be installed to: lib
Performing Test _flag_found
Performing Test _flag_found - Success
Performing Test _flag_found
Performing Test _flag_found - Success
Coin3D doc is not installed

==============
Summary report
==============

Build type:          
Compiler:            /usr/bin/c++ (12.2.0)
Flags:               -Wall -Wextra -Wno-write-strings 
Standard:            Requires C++17
Python:              3.11.1 [/usr/bin/python3] [.cpython-311-x86_64-linux-gnu]
PCL:                 not enabled
pybind11:            not enabled
Boost:               1.74.0
XercesC:             3.2.4 [/usr/lib/x86_64-linux-gnu/libxerces-c.so] [/usr/include]
ZLIB:                1.2.13
PyCXX:               7.1.7 [/home/r/software/FreeCAD/src]
OCC:                 7.6.3 [TKFillet;TKMesh;TKernel;TKG2d;TKG3d;TKMath;TKIGES;TKSTL;TKShHealing;TKXSBase;TKBool;TKBO;TKBRep;TKTopAlgo;TKGeomAlgo;TKGeomBase;TKOffset;TKPrim;TKSTEPBase;TKSTEPAttr;TKSTEP209;TKSTEP;TKHLR;TKFeat] [/usr/lib/x86_64-linux-gnu] [/usr/include/opencascade]
SMESH:               7.7.1.0 build internal
MEDFile:             4.1.0 [/usr/lib/x86_64-linux-gnu/libmedC.so] [/usr/include]
HDF5:                1.10.8
VTK:                 9.1.0
NETGEN:              not enabled
SWIG:                4.1.0
Eigen3               3.4.0
QtCore:              5.15.7
QtNetwork:           5.15.7
QtXml:               5.15.7
QtWidgets:           5.15.7
QtPrintSupport:      5.15.7
QtOpenGL:            5.15.7
QtSvg:               5.15.7
QtUiTools:           5.15.7
QtConcurrent:        5.15.7
QtWebEngineWidgets:  5.15.11
Designer plugin:     not built (BUILD_DESIGNER_PLUGIN is OFF)
Shiboken:            5.13.2 [/usr/lib/x86_64-linux-gnu/cmake/Shiboken2-5.15.8] [/usr/lib/../include/shiboken2;/usr/include/python3.11]
PySide:              5.13.2 [/usr/lib/../include/PySide2]
PySideTools:         [/usr/lib/qt5/bin/uic] [/usr/lib/qt5/bin/rcc]
Freetype:            2.12.1
OpenGL:              /usr/lib/x86_64-linux-gnu/libGL.so
OpenGLU:             [/usr/lib/x86_64-linux-gnu/libGLU.so][/usr/include]
Coin3D:              4.0.0 [/usr/lib/x86_64-linux-gnu/libCoin.so] [/usr/include]
Pivy:                0.6.8
SPNAV:               [/usr/lib/libspnav.so] [/usr/include]
Matplotlib:          3.6.2
Rift:                not enabled (BUILD_VR)
Doxygen:             1.9.4
Language:            English
Coin3D_DOC:          not found
=================================================


FreeCAD 0.21.0, Libs: 0.21.0R31533 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2022
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Program received signal SIGSEGV, Segmentation fault.
#0  /lib/x86_64-linux-gnu/libc.so.6(+0x3bf90) [0x7f937665af90]
FreeCAD/FreeCAD#1  /lib/x86_64-linux-gnu/libc.so.6(+0x15872d) [0x7f937677772d]
FreeCAD/FreeCAD#2  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(PyType_FromModuleAndSpec+0x134) [0x7f9375be8c64]
FreeCAD/FreeCAD#3  /lib/x86_64-linux-gnu/libshiboken2.cpython-311-x86_64-linux-gnu.so.5.15(SbkType_FromSpecWithBases+0x6b) [0x7f93749b6e9b]
FreeCAD/FreeCAD#4  0x7f93749c676a in Shiboken::Enum::newTypeWithName(char const*, char const*, _typeobject*) from /lib/x86_64-linux-gnu/libshiboken2.cpython-311-x86_64-linux-gnu.so.5.15+0x50a
FreeCAD/FreeCAD#5  0x7f93749c6871 in Shiboken::Enum::createScopedEnum(SbkObjectType*, char const*, char const*, char const*, _typeobject*) from /lib/x86_64-linux-gnu/libshiboken2.cpython-311-x86_64-linux-gnu.so.5.15+0x21
FreeCAD/FreeCAD#6  /home/r/.local/lib/python3.11/site-packages/PySide2/QtCore.abi3.so(+0x251078) [0x7f9312851078]
FreeCAD/FreeCAD#7  /home/r/.local/lib/python3.11/site-packages/PySide2/QtCore.abi3.so(PyInit_QtCore+0x4f) [0x7f93128cbe3f]
FreeCAD/FreeCAD#8  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x29496b) [0x7f9375c9496b]
FreeCAD/FreeCAD#9  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x1c9b66) [0x7f9375bc9b66]
FreeCAD/FreeCAD#10  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(_PyEval_EvalFrameDefault+0x55d3) [0x7f9375b0a7d3]
FreeCAD/FreeCAD#11  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x26a6da) [0x7f9375c6a6da]
FreeCAD/FreeCAD#12  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x17e1cf) [0x7f9375b7e1cf]
FreeCAD/FreeCAD#13  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(PyObject_CallMethodObjArgs+0xea) [0x7f9375b7e3ea]
FreeCAD/FreeCAD#14  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(PyImport_ImportModuleLevelObject+0x3af) [0x7f9375c9637f]
FreeCAD/FreeCAD#15  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(_PyEval_EvalFrameDefault+0xe178) [0x7f9375b13378]
FreeCAD/FreeCAD#16  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x3cc73c) [0x7f9375dcc73c]
FreeCAD/FreeCAD#17  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(PyEval_EvalCode+0xc1) [0x7f9375c68421]
FreeCAD/FreeCAD#18  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x268b40) [0x7f9375c68b40]
FreeCAD/FreeCAD#19  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x1c9c52) [0x7f9375bc9c52]
FreeCAD/FreeCAD#20  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(_PyEval_EvalFrameDefault+0x55d3) [0x7f9375b0a7d3]
FreeCAD/FreeCAD#21  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x26a6da) [0x7f9375c6a6da]
FreeCAD/FreeCAD#22  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x17e1cf) [0x7f9375b7e1cf]
FreeCAD/FreeCAD#23  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(PyObject_CallMethodObjArgs+0xea) [0x7f9375b7e3ea]
FreeCAD/FreeCAD#24  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(PyImport_ImportModuleLevelObject+0x3af) [0x7f9375c9637f]
FreeCAD/FreeCAD#25  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x26185e) [0x7f9375c6185e]
FreeCAD/FreeCAD#26  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x1c9c52) [0x7f9375bc9c52]
FreeCAD/FreeCAD#27  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(_PyEval_EvalFrameDefault+0x55d3) [0x7f9375b0a7d3]
FreeCAD/FreeCAD#28  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x26a6da) [0x7f9375c6a6da]
FreeCAD/FreeCAD#29  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x17e1cf) [0x7f9375b7e1cf]
FreeCAD/FreeCAD#30  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(PyObject_CallMethodObjArgs+0xea) [0x7f9375b7e3ea]
FreeCAD/FreeCAD#31  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(PyImport_ImportModuleLevelObject+0x154) [0x7f9375c96124]
FreeCAD/FreeCAD#32  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(_PyEval_EvalFrameDefault+0xe178) [0x7f9375b13378]
FreeCAD/FreeCAD#33  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x3cc73c) [0x7f9375dcc73c]
FreeCAD/FreeCAD#34  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(PyEval_EvalCode+0xc1) [0x7f9375c68421]
FreeCAD/FreeCAD#35  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x268b40) [0x7f9375c68b40]
FreeCAD/FreeCAD#36  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x1c9c52) [0x7f9375bc9c52]
FreeCAD/FreeCAD#37  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(_PyEval_EvalFrameDefault+0x55d3) [0x7f9375b0a7d3]
FreeCAD/FreeCAD#38  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x26a6da) [0x7f9375c6a6da]
FreeCAD/FreeCAD#39  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x17e1cf) [0x7f9375b7e1cf]
FreeCAD/FreeCAD#40  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(PyObject_CallMethodObjArgs+0xea) [0x7f9375b7e3ea]
FreeCAD/FreeCAD#41  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(PyImport_ImportModuleLevelObject+0x3af) [0x7f9375c9637f]
FreeCAD/FreeCAD#42  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x26185e) [0x7f9375c6185e]
FreeCAD/FreeCAD#43  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x1c9c52) [0x7f9375bc9c52]
FreeCAD/FreeCAD#44  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(_PyEval_EvalFrameDefault+0x55d3) [0x7f9375b0a7d3]
FreeCAD/FreeCAD#45  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x26a6da) [0x7f9375c6a6da]
FreeCAD/FreeCAD#46  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x17e1cf) [0x7f9375b7e1cf]
FreeCAD/FreeCAD#47  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(PyObject_CallMethodObjArgs+0xea) [0x7f9375b7e3ea]
FreeCAD/FreeCAD#48  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(PyImport_ImportModuleLevelObject+0x154) [0x7f9375c96124]
FreeCAD/FreeCAD#49  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(_PyEval_EvalFrameDefault+0xe178) [0x7f9375b13378]
FreeCAD/FreeCAD#50  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x26a6da) [0x7f9375c6a6da]
FreeCAD/FreeCAD#51  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x17d46b) [0x7f9375b7d46b]
FreeCAD/FreeCAD#52  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(PyObject_CallFunction+0x9e) [0x7f9375b7d68e]
FreeCAD/FreeCAD#53  /lib/x86_64-linux-gnu/libshiboken2.cpython-311-x86_64-linux-gnu.so.5.15(+0x26630) [0x7f93749cd630]
FreeCAD/FreeCAD#54  /lib/x86_64-linux-gnu/libshiboken2.cpython-311-x86_64-linux-gnu.so.5.15(+0x26b8a) [0x7f93749cdb8a]
FreeCAD/FreeCAD#55  /lib/x86_64-linux-gnu/libshiboken2.cpython-311-x86_64-linux-gnu.so.5.15(+0x26f81) [0x7f93749cdf81]
FreeCAD/FreeCAD#56  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x1eb134) [0x7f9375beb134]
FreeCAD/FreeCAD#57  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(PyObject_GetAttr+0x38) [0x7f9375bcf978]
FreeCAD/FreeCAD#58  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(_PyEval_EvalFrameDefault+0x162c) [0x7f9375b0682c]
FreeCAD/FreeCAD#59  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x3cc73c) [0x7f9375dcc73c]
FreeCAD/FreeCAD#60  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(PyEval_EvalCode+0xc1) [0x7f9375c68421]
FreeCAD/FreeCAD#61  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x268b40) [0x7f9375c68b40]
FreeCAD/FreeCAD#62  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x1c9c52) [0x7f9375bc9c52]
FreeCAD/FreeCAD#63  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(_PyEval_EvalFrameDefault+0x55d3) [0x7f9375b0a7d3]
FreeCAD/FreeCAD#64  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x26a6da) [0x7f9375c6a6da]
FreeCAD/FreeCAD#65  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x17e1cf) [0x7f9375b7e1cf]
FreeCAD/FreeCAD#66  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(PyObject_CallMethodObjArgs+0xea) [0x7f9375b7e3ea]
FreeCAD/FreeCAD#67  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(PyImport_ImportModuleLevelObject+0x3af) [0x7f9375c9637f]
FreeCAD/FreeCAD#68  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(_PyEval_EvalFrameDefault+0xe178) [0x7f9375b13378]
FreeCAD/FreeCAD#69  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x3cc73c) [0x7f9375dcc73c]
FreeCAD/FreeCAD#70  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(PyEval_EvalCode+0xc1) [0x7f9375c68421]
FreeCAD/FreeCAD#71  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x268b40) [0x7f9375c68b40]
FreeCAD/FreeCAD#72  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x1c9c52) [0x7f9375bc9c52]
FreeCAD/FreeCAD#73  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(_PyEval_EvalFrameDefault+0x55d3) [0x7f9375b0a7d3]
FreeCAD/FreeCAD#74  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x26a6da) [0x7f9375c6a6da]
FreeCAD/FreeCAD#75  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x17e1cf) [0x7f9375b7e1cf]
FreeCAD/FreeCAD#76  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(PyObject_CallMethodObjArgs+0xea) [0x7f9375b7e3ea]
FreeCAD/FreeCAD#77  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(PyImport_ImportModuleLevelObject+0x3af) [0x7f9375c9637f]
FreeCAD/FreeCAD#78  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(_PyEval_EvalFrameDefault+0xe178) [0x7f9375b13378]
FreeCAD/FreeCAD#79  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x3cc73c) [0x7f9375dcc73c]
FreeCAD/FreeCAD#80  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(PyEval_EvalCode+0xc1) [0x7f9375c68421]
FreeCAD/FreeCAD#81  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x268b40) [0x7f9375c68b40]
FreeCAD/FreeCAD#82  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x1c9c52) [0x7f9375bc9c52]
FreeCAD/FreeCAD#83  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(_PyEval_EvalFrameDefault+0x55d3) [0x7f9375b0a7d3]
FreeCAD/FreeCAD#84  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x26a6da) [0x7f9375c6a6da]
FreeCAD/FreeCAD#85  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x17e1cf) [0x7f9375b7e1cf]
FreeCAD/FreeCAD#86  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(PyObject_CallMethodObjArgs+0xea) [0x7f9375b7e3ea]
FreeCAD/FreeCAD#87  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(PyImport_ImportModuleLevelObject+0x3af) [0x7f9375c9637f]
FreeCAD/FreeCAD#88  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(_PyEval_EvalFrameDefault+0xe178) [0x7f9375b13378]
FreeCAD/FreeCAD#89  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x3cc73c) [0x7f9375dcc73c]
FreeCAD/FreeCAD#90  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(PyEval_EvalCode+0xc1) [0x7f9375c68421]
FreeCAD/FreeCAD#91  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x268b40) [0x7f9375c68b40]
FreeCAD/FreeCAD#92  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x1c9c52) [0x7f9375bc9c52]
FreeCAD/FreeCAD#93  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(_PyEval_EvalFrameDefault+0x55d3) [0x7f9375b0a7d3]
FreeCAD/FreeCAD#94  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x26a6da) [0x7f9375c6a6da]
FreeCAD/FreeCAD#95  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x17e1cf) [0x7f9375b7e1cf]
FreeCAD/FreeCAD#96  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(PyObject_CallMethodObjArgs+0xea) [0x7f9375b7e3ea]
FreeCAD/FreeCAD#97  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(PyImport_ImportModuleLevelObject+0x3af) [0x7f9375c9637f]
FreeCAD/FreeCAD#98  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(_PyEval_EvalFrameDefault+0xe178) [0x7f9375b13378]
FreeCAD/FreeCAD#99  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x3cc73c) [0x7f9375dcc73c]
FreeCAD/FreeCAD#100  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(PyEval_EvalCode+0xc1) [0x7f9375c68421]
FreeCAD/FreeCAD#101  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x2b6d89) [0x7f9375cb6d89]
FreeCAD/FreeCAD#102  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(PyRun_StringFlags+0x6b) [0x7f9375cb7f3b]
FreeCAD/FreeCAD#103  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x268938) [0x7f9375c68938]
FreeCAD/FreeCAD#104  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x1c9c52) [0x7f9375bc9c52]
FreeCAD/FreeCAD#105  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(PyObject_Vectorcall+0x33) [0x7f9375b7d293]
FreeCAD/FreeCAD#106  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(_PyEval_EvalFrameDefault+0x4a63) [0x7f9375b09c63]
FreeCAD/FreeCAD#107  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x3cc73c) [0x7f9375dcc73c]
FreeCAD/FreeCAD#108  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(PyEval_EvalCode+0xc1) [0x7f9375c68421]
FreeCAD/FreeCAD#109  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x2b6d89) [0x7f9375cb6d89]
FreeCAD/FreeCAD#110  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(PyRun_StringFlags+0x6b) [0x7f9375cb7f3b]
FreeCAD/FreeCAD#111  0x7f9376463f31 in Base::InterpreterSingleton::runString[abi:cxx11](char const*) from /home/r/software/build/Freecad/lib/libFreeCADBase.so+0xd5
FreeCAD/FreeCAD#112  0x7f9378ae5a0f in Gui::Application::runInitGuiScript() from /home/r/software/build/Freecad/lib/libFreeCADGui.so+0x3d
FreeCAD/FreeCAD#113  0x7f9378ae78ca in Gui::Application::runApplication() from /home/r/software/build/Freecad/lib/libFreeCADGui.so+0x1ea8
FreeCAD/FreeCAD#114  ./bin/FreeCAD(+0x133ff) [0x5653caa653ff]
FreeCAD/FreeCAD#115  /lib/x86_64-linux-gnu/libc.so.6(+0x2718a) [0x7f937664618a]
FreeCAD/FreeCAD#116  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7f9376646245]
FreeCAD/FreeCAD#117  ./bin/FreeCAD(+0x12621) [0x5653caa64621]

@luzpaz
Copy link
Collaborator

luzpaz commented Jan 9, 2023

@mosfet80 please remember to put code tags around output. In this case not having the output contained in tags resulted in spamming a whole host of other unrelated closed tickets. TIA

@luzpaz
Copy link
Collaborator

luzpaz commented Mar 15, 2023

@mosfet80 is this still occurring for you ?

@luzpaz luzpaz changed the title [Issue] Program received signal SIGSEGV at startup [Issue] Program received signal SIGSEGV at startup (Debian testing, python 3.11.1, Qt 5.15.7) Mar 15, 2023
@mosfet80
Copy link

mosfet80 commented Mar 15, 2023

I fixed it by removing the downloaded libraries with the pip-review command.
In particular I removed the .local/lib/pythonXX/ folder in my home directory .
I realized that in different places in the code different versions of libraries were being called.
I believe there is a problem with the python path not always being consistent across libraries

@luzpaz
Copy link
Collaborator

luzpaz commented Mar 18, 2023

@mosfet80 Can you pinpoint where the issues are specifically ?

@marcogiusti
Copy link
Author

@marcogiusti can you post what freecad --verbose --version returns for you ?

Also would you consider running the latest development (Weekly) version appimage to see if you can recreate this problem ?

Sorry to be very late with this. Just downloaded the latest weekly release and I can not reproduce the issue. Before trying the latest weekly, I tried the official Debian testing package and AppImage I had installed before (FreeCAD_0.20-1-2022-08-20-conda-Linux-x86_64-py310.AppImage). They both crashed.

This is the output:

FreeCAD 0.21.0 Revision: 32867 (Git)

Library versions:
boost    1_74
Coin3D   4.0.0
Eigen3   3.4.0
OCC      7.6.3
Qt       5.15.8
Python   3.10.10
PySide   5.15.8
shiboken 5.15.8
SMESH    9.8.0.2
VTK      9.1.0
xerces-c 3.2.4

@luzpaz
Copy link
Collaborator

luzpaz commented Apr 19, 2023

So it's fixed on FreeCAD 0.21.0 Revision: 32867 (weekly AppImage)
But broken on:

  • Debian testing build (which doesn't have a maintainer AFAIK)
  • FreeCAD_0.20-1-2022-08-20-conda-Linux-x86_64-py310.AppImage

Did I get that right?

@marcogiusti
Copy link
Author

marcogiusti commented Apr 19, 2023 via email

@luzpaz
Copy link
Collaborator

luzpaz commented Apr 19, 2023

@marcogiusti can you reproduce on v0.20.2 (which is the latest stable) ?

@marcogiusti
Copy link
Author

FreeCAD_0.20.2-2022-12-27-conda-Linux-x86_64-py310.AppImage is also broken.

@luzpaz
Copy link
Collaborator

luzpaz commented Apr 20, 2023

I assume that FreeCAD_0.20.2-2022-12-27-conda-Linux-x86_64-py310.AppImage is using a version < Qt v5.15.8 ?

Edit: I moved this to FreeCAD-Bundle because this is about AppImage generation. Probably due to Qt v5.15.7
In regard to Debian Experimental, that's a separate issue since we don't have an active Debian/Ubuntu package maintainer which leads to all sorts of 3rd party dependency problems.

@luzpaz luzpaz transferred this issue from FreeCAD/FreeCAD Apr 20, 2023
@adrianinsaval
Copy link
Member

@luzpaz if I understood correctly this has been fixed in 0.21 right? in that case should we not add the corresponding "fixed for 0.21" tag for this issue so we close it when that's released and just remove this from the 0.21 project board?

@yorikvanhavre
Copy link
Member

I understand it's the Qt version that's the problem, Qt5.15.7 crashes, Qt5.15.8 works.
On our side everything is okay then.. @kkremitzki it might be good to issue a 0.20.3 in Debian (Qt 5.15.8 is in unstable and testing already) when @donovaly is ready with his?

@adrianinsaval
Copy link
Member

adrianinsaval commented May 8, 2023

could this also be related to the multi monitor bug on windows where freecad fails to launch? do we have an issue for that bug?

edit: we do, it's FreeCAD/FreeCAD#7070

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants