Bug#1033695: freecad-python3: FreeCAD segfaults instantly

Cev Ing ceving at gmail.com
Thu Mar 30 12:22:58 BST 2023


Package: freecad-python3
Version: 0.20.2+dfsg1-4
Severity: important
X-Debbugs-Cc: ceving at gmail.com

Dear Maintainer,

FreeCAD crashes instantly during startup. I can not even use the option -l to
produce a log file.


-- System Information:
Debian Release: 12.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-security')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-6-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages freecad-python3 depends on:
ii  freecad-common             0.20.2+dfsg1-4
ii  libc6                      2.36-8
ii  libfreecad-python3-0.20    0.20.2+dfsg1-4
ii  libgcc-s1                  12.2.0-14
ii  libpython3.11              3.11.2-6
ii  libqt5core5a               5.15.8+dfsg-3
ii  libqt5gui5                 5.15.8+dfsg-3
ii  libqt5widgets5             5.15.8+dfsg-3
ii  libstdc++6                 12.2.0-14
ii  python3-matplotlib         3.6.3-1+b1
ii  python3-pivy               0.6.8-1+b2
ii  python3-ply                3.11-5
ii  python3-pyside2.qtcore     5.15.8-2+b1
ii  python3-pyside2.qtgui      5.15.8-2+b1
ii  python3-pyside2.qtnetwork  5.15.8-2+b1
ii  python3-pyside2.qtsvg      5.15.8-2+b1
ii  python3-pyside2.qtuitools  5.15.8-2+b1
ii  python3-pyside2.qtwidgets  5.15.8-2+b1
ii  python3-pyside2.qtxml      5.15.8-2+b1
ii  python3-yaml               6.0-3+b2

Versions of packages freecad-python3 recommends:
ii  python3-pyside2.qtwebchannel        5.15.8-2+b1
ii  python3-pyside2.qtwebengine         5.15.8-2+b1
ii  python3-pyside2.qtwebenginecore     5.15.8-2+b1
ii  python3-pyside2.qtwebenginewidgets  5.15.8-2+b1

freecad-python3 suggests no packages.

-- no debconf information
-------------- next part --------------
$ LC_ALL=C freecad 
FreeCAD 0.20.2, Libs: 0.20.2R
? 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) [0x7f0a6245af90]
#1  0x7f0a62f00670 in QBackingStore::beginPaint(QRegion const&) from /lib/x86_64-linux-gnu/libQt5Gui.so.5+0xd0
#2  /lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x17413e) [0x7f0a6357413e]
#3  0x7f0a635a5078 in QWidget::event(QEvent*) from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x468
#4  0x7f0a63562fae in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x7e
#5  0x7f0a64e270e8 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/lib/freecad-python3/lib/libFreeCADGui.so+0x88
#6  0x7f0a628b16f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x118
#7  /lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x1751f5) [0x7f0a635751f5]
#8  /lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x177c60) [0x7f0a63577c60]
#9  0x7f0a6358eb10 in QWidget::repaint(QRect const&) from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x80
#10  0x7f0a6358eb6a in QWidget::repaint() from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x3a
#11  0x7f0a63711b89 in QSplashScreen::repaint() from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x9
#12  /usr/lib/freecad-python3/lib/libFreeCADGui.so(+0x774b89) [0x7f0a65174b89]
#13  0x7f0a649159bd in Base::ConsoleSingleton::NotifyLog(char const*) from /usr/lib/freecad-python3/lib/libFreeCADBase.so+0xbd
#14  0x7f0a64915c93 in Base::ConsoleSingleton::Log(char const*, ...) from /usr/lib/freecad-python3/lib/libFreeCADBase.so+0x213
#15  0x7f0a64dbd421 in messageHandler(QtMsgType, QMessageLogContext const&, QString const&) from /usr/lib/freecad-python3/lib/libFreeCADGui.so+0x51
#16  /lib/x86_64-linux-gnu/libQt5Core.so.5(+0xc3b50) [0x7f0a626c3b50]
#17  /lib/x86_64-linux-gnu/libQt5Core.so.5(+0xc3c68) [0x7f0a626c3c68]
#18  0x7f0a6269053d in QMessageLogger::warning(char const*, ...) const from /lib/x86_64-linux-gnu/libQt5Core.so.5+0xaf
#19  /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5(+0x6174a) [0x7f0a5ccef74a]
#20  /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5(+0x62712) [0x7f0a5ccf0712]
#21  /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5(+0x6453b) [0x7f0a5ccf253b]
#22  0x7f0a62f000d7 in QBackingStore::resize(QSize const&) from /lib/x86_64-linux-gnu/libQt5Gui.so.5+0xa7
#23  /lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x1735df) [0x7f0a635735df]
#24  /lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x174afa) [0x7f0a63574afa]
#25  /lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x1c124c) [0x7f0a635c124c]
#26  0x7f0a63562fae in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x7e
#27  0x7f0a64e270e8 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/lib/freecad-python3/lib/libFreeCADGui.so+0x88
#28  0x7f0a628b16f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x118
#29  0x7f0a62d3e5cd in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) from /lib/x86_64-linux-gnu/libQt5Gui.so.5+0x8d
#30  0x7f0a62d11cac in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /lib/x86_64-linux-gnu/libQt5Gui.so.5+0xac
#31  /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5(+0x6deba) [0x7f0a5ccfbeba]
#32  /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x299) [0x7f0a609d47a9]
#33  /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x54a38) [0x7f0a609d4a38]
#34  /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c) [0x7f0a609d4acc]
#35  0x7f0a62909836 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x66
#36  /usr/lib/freecad-python3/lib/libFreeCADGui.so(+0x774b89) [0x7f0a65174b89]
#37  0x7f0a649159bd in Base::ConsoleSingleton::NotifyLog(char const*) from /usr/lib/freecad-python3/lib/libFreeCADBase.so+0xbd
#38  0x7f0a64915c93 in Base::ConsoleSingleton::Log(char const*, ...) from /usr/lib/freecad-python3/lib/libFreeCADBase.so+0x213
#39  0x7f0a649163aa in Base::ConsoleSingleton::sPyLog(_object*, _object*) from /usr/lib/freecad-python3/lib/libFreeCADBase.so+0x6a
#40  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x1c9ba1) [0x7f0a63dc9ba1]
#41  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(_PyObject_MakeTpCall+0x7d) [0x7f0a63d7be8d]
#42  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(_PyEval_EvalFrameDefault+0x4a63) [0x7f0a63d09c63]
#43  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x3ccd3c) [0x7f0a63fccd3c]
#44  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(PyEval_EvalCode+0xc1) [0x7f0a63e68891]
#45  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(+0x2b7359) [0x7f0a63eb7359]
#46  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(PyRun_StringFlags+0x6b) [0x7f0a63eb850b]
#47  0x7f0a6492b898 in Base::InterpreterSingleton::runString[abi:cxx11](char const*) from /usr/lib/freecad-python3/lib/libFreeCADBase.so+0x68
#48  0x7f0a64dbda9f in Gui::Application::runInitGuiScript() from /usr/lib/freecad-python3/lib/libFreeCADGui.so+0x3f
#49  0x7f0a64dc2c59 in Gui::Application::runApplication() from /usr/lib/freecad-python3/lib/libFreeCADGui.so+0x10c9
#50  freecad(+0x4c01) [0x556e1fac7c01]
#51  /lib/x86_64-linux-gnu/libc.so.6(+0x2718a) [0x7f0a6244618a]
#52  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7f0a62446245]
#53  freecad(+0x5ad1) [0x556e1fac8ad1]
-------------- next part --------------
$ LC_ALL=C freecad -l
Unknown option: -l
usage: freecad [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.
Program received signal SIGSEGV, Segmentation fault.
#0  /lib/x86_64-linux-gnu/libc.so.6(+0x3bf90) [0x7f3d08a5af90]
#1  /lib/x86_64-linux-gnu/libc.so.6(+0x159139) [0x7f3d08b78139]
#2  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(_Py_EncodeUTF8Ex+0x29) [0x7f3d0a409079]
#3  /lib/x86_64-linux-gnu/libpython3.11.so.1.0(Py_EncodeLocale+0x138) [0x7f3d0a4d0fc8]
#4  freecad(+0x5034) [0x56301735c034]
#5  /lib/x86_64-linux-gnu/libc.so.6(+0x2718a) [0x7f3d08a4618a]
#6  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7f3d08a46245]
#7  freecad(+0x5ad1) [0x56301735cad1]


More information about the debian-science-maintainers mailing list