I. Вывод в терминал при запуске: FreeCAD 0.19, Libs: 0.19RUnknown © Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2021 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 linux-gate.so.1(__kernel_sigreturn+0) [0xb7f3a5b4] #1 0xb5b07be8 in QBackingStore::beginPaint(QRegion const&) from /usr/lib/libQt5Gui.so.5+0xe8 #2 /usr/lib/libQt5Widgets.so.5(+0x11d423) [0xb60b6423] #3 0xb60e51c7 in QWidgetPrivate::syncBackingStore() from /usr/lib/libQt5Widgets.so.5+0xa7 #4 0xb60ec926 in QWidget::event(QEvent*) from /usr/lib/libQt5Widgets.so.5+0xa76 #5 0xb627ba27 in QSplashScreen::event(QEvent*) from /usr/lib/libQt5Widgets.so.5+0x37 #6 0xb60a4506 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/libQt5Widgets.so.5+0x86 #7 0xb60abe49 in QApplication::notify(QObject*, QEvent*) from /usr/lib/libQt5Widgets.so.5+0x1a9 #8 0xb72be74f in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/lib/freecad/lib/libFreeCADGui.so+0x9f #9 0xb551d22a in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /usr/lib/libQt5Core.so.5+0x13a #10 0xb551d4b8 in QCoreApplication::sendEvent(QObject*, QEvent*) from /usr/lib/libQt5Core.so.5+0x28 #11 /usr/lib/libQt5Widgets.so.5(+0x11e880) [0xb60b7880] #12 /usr/lib/libQt5Widgets.so.5(+0x121784) [0xb60ba784] #13 0xb60d3fda in QWidget::repaint(QRect const&) from /usr/lib/libQt5Widgets.so.5+0x9a #14 0xb60d4052 in QWidget::repaint() from /usr/lib/libQt5Widgets.so.5+0x52 #15 0xb627abf8 in QSplashScreen::repaint() from /usr/lib/libQt5Widgets.so.5+0x18 #16 0xb627ac63 in QSplashScreen::showMessage(QString const&, int, QColor const&) from /usr/lib/libQt5Widgets.so.5+0x53 #17 0xb76f2d4a in Gui::SplashObserver::Log(char const*) from /usr/lib/freecad/lib/libFreeCADGui.so+0x14a #18 0xb76f2fa2 in Gui::SplashObserver::SendLog(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Base::LogStyle) from /usr/lib/freecad/lib/libFreeCADGui.so+0x32 #19 0xb67fd876 in Base::ConsoleSingleton::NotifyLog(char const*) from /usr/lib/freecad/lib/libFreeCADBase.so+0xb6 #20 0xb67fda92 in Base::ConsoleSingleton::Log(char const*, ...) from /usr/lib/freecad/lib/libFreeCADBase.so+0x1d2 #21 0xb71fd02f in messageHandler(QtMsgType, QMessageLogContext const&, QString const&) from /usr/lib/freecad/lib/libFreeCADGui.so+0x5f #22 /usr/lib/libQt5Core.so.5(+0xc128b) [0xb532a28b] #23 /usr/lib/libQt5Core.so.5(+0xc13b6) [0xb532a3b6] #24 0xb52ebd0c in QMessageLogger::warning(char const*, ...) const from /usr/lib/libQt5Core.so.5+0x3c #25 /usr/lib/libQt5XcbQpa.so.5(+0x52017) [0xaffe4017] #26 /usr/lib/libQt5XcbQpa.so.5(+0x53143) [0xaffe5143] #27 /usr/lib/libQt5XcbQpa.so.5(+0x538fd) [0xaffe58fd] #28 /usr/lib/libQt5XcbQpa.so.5(+0x553c9) [0xaffe73c9] #29 0xb5b075bd in QBackingStore::resize(QSize const&) from /usr/lib/libQt5Gui.so.5+0xdd #30 /usr/lib/libQt5Widgets.so.5(+0x11c943) [0xb60b5943] #31 /usr/lib/libQt5Widgets.so.5(+0x11df26) [0xb60b6f26] #32 0xb60e5256 in QWidgetPrivate::syncBackingStore(QRegion const&) from /usr/lib/libQt5Widgets.so.5+0x76 #33 /usr/lib/libQt5Widgets.so.5(+0x171630) [0xb610a630] #34 /usr/lib/libQt5Widgets.so.5(+0x17224d) [0xb610b24d] #35 0xb60a4506 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/libQt5Widgets.so.5+0x86 #36 0xb60abe49 in QApplication::notify(QObject*, QEvent*) from /usr/lib/libQt5Widgets.so.5+0x1a9 #37 0xb72be74f in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/lib/freecad/lib/libFreeCADGui.so+0x9f #38 0xb551d22a in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /usr/lib/libQt5Core.so.5+0x13a #39 0xb551d4e8 in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) from /usr/lib/libQt5Core.so.5+0x28 #40 0xb591c4a6 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) from /usr/lib/libQt5Gui.so.5+0x86 #41 0xb591c8b9 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) from /usr/lib/libQt5Gui.so.5+0x339 #42 0xb58ea644 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/libQt5Gui.so.5+0xb4 #43 /usr/lib/libQt5XcbQpa.so.5(+0x5f99b) [0xafff199b] #44 /lib/libglib-2.0.so.0(g_main_context_dispatch+0x28d) [0xb2fbe36d] #45 /lib/libglib-2.0.so.0(+0x52609) [0xb2fbe609] #46 /lib/libglib-2.0.so.0(g_main_context_iteration+0x34) [0xb2fbe6d4] #47 0xb557b038 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/libQt5Core.so.5+0x108 #48 /usr/lib/libQt5XcbQpa.so.5(+0x5fe11) [0xafff1e11] #49 0xb551d330 in QCoreApplication::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/libQt5Core.so.5+0x30 #50 0xb627ac04 in QSplashScreen::repaint() from /usr/lib/libQt5Widgets.so.5+0x24 #51 0xb627ac63 in QSplashScreen::showMessage(QString const&, int, QColor const&) from /usr/lib/libQt5Widgets.so.5+0x53 #52 0xb76f2d4a in Gui::SplashObserver::Log(char const*) from /usr/lib/freecad/lib/libFreeCADGui.so+0x14a #53 0xb76f2fa2 in Gui::SplashObserver::SendLog(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Base::LogStyle) from /usr/lib/freecad/lib/libFreeCADGui.so+0x32 #54 0xb67fd876 in Base::ConsoleSingleton::NotifyLog(char const*) from /usr/lib/freecad/lib/libFreeCADBase.so+0xb6 #55 0xb67fda92 in Base::ConsoleSingleton::Log(char const*, ...) from /usr/lib/freecad/lib/libFreeCADBase.so+0x1d2 #56 0xb67fe2da in Base::ConsoleSingleton::sPyLog(_object*, _object*) from /usr/lib/freecad/lib/libFreeCADBase.so+0x7a #57 /usr/lib/libpython3.9.so.1.0(+0xf5619) [0xb4fda619] #58 /usr/lib/libpython3.9.so.1.0(_PyObject_MakeTpCall+0xa3) [0xb4fed3f3] #59 /usr/lib/libpython3.9.so.1.0(_PyEval_EvalFrameDefault+0x60c4) [0xb4f1f5b4] #60 /usr/lib/libpython3.9.so.1.0(+0x2044f8) [0xb50e94f8] #61 /usr/lib/libpython3.9.so.1.0(PyEval_EvalCodeEx+0x52) [0xb50e9a02] #62 /usr/lib/libpython3.9.so.1.0(PyEval_EvalCode+0x30) [0xb50e9a50] #63 /usr/lib/libpython3.9.so.1.0(+0x2052e7) [0xb50ea2e7] #64 /usr/lib/libpython3.9.so.1.0(+0x2053ca) [0xb50ea3ca] #65 /usr/lib/libpython3.9.so.1.0(PyRun_StringFlags+0x83) [0xb50ea4b3] #66 0xb6814754 in Base::InterpreterSingleton::runString[abi:cxx11](char const*) from /usr/lib/freecad/lib/libFreeCADBase.so+0x74 #67 0xb71ff819 in Gui::Application::runInitGuiScript() from /usr/lib/freecad/lib/libFreeCADGui.so+0x49 #68 0xb720b8e2 in Gui::Application::runApplication() from /usr/lib/freecad/lib/libFreeCADGui.so+0x1152 #69 freecad(+0x3c28) [0x4c8c28] #70 /lib/libc.so.6(__libc_start_main+0xe5) [0xb4abde75] #71 freecad(+0x3f11) [0x4c8f11] II. rpm -qi freecad: Name : freecad Epoch : 1 Version : 0.19.2 Release : alt4 DistTag : p10+282975.200.3.1 Architecture: i586 Install Date: Ср 22 июн 2022 21:13:17 Group : Graphics Size : 239378185 License : LGPL-2.0+ Signature : RSA/SHA512, Вт 24 авг 2021 18:33:14, Key ID 42f343a2c7eb80f9 Source RPM : freecad-0.19.2-alt4.src.rpm Build Date : Вт 24 авг 2021 18:27:43 Build Host : cas-p10.hasher.altlinux.org Relocations : (not relocatable) Packager : Andrey Cherepanov <cas@altlinux.org> Vendor : ALT Linux Team URL : http://free-cad.sourceforge.net/ Summary : OpenSource 3D CAD modeller III. rpm -qi freecad-debuginfo Name : freecad-debuginfo Epoch : 1 Version : 0.19.2 Release : alt4 DistTag : p10+282975.200.3.1 Architecture: i586 Install Date: Чт 30 июн 2022 23:53:46 Group : Development/Debug Size : 1421670943 License : LGPL-2.0+ Signature : RSA/SHA512, Вт 24 авг 2021 18:33:17, Key ID 42f343a2c7eb80f9 Source RPM : freecad-0.19.2-alt4.src.rpm Build Date : Вт 24 авг 2021 18:27:43 Build Host : cas-p10.hasher.altlinux.org Relocations : (not relocatable) Packager : Andrey Cherepanov <cas@altlinux.org> Vendor : ALT Linux Team URL : http://free-cad.sourceforge.net/ Summary : OpenSource 3D CAD modeller (debug files) IV. apt-repo: rpm [p10-dcby] http://mirror.datacenter.by/pub/ALTLinux/ p10/branch/i586 classic debuginfo rpm http://mirror.datacenter.by/pub/ALTLinux/ p10/branch/noarch classic
Создал изображение и поместил в файл "/home/user/.FreeCAD/Gui/images/splash_image.png". С разрешением, видимо, не угадал - при запуске FreeCAD выдаёт в терминал много повторяющихся ошибок: xcb_shm_create_segment() failed for size 4294443012 QPainter::begin: Paint device returned engine == 0, type: 3 QPainter::setCompositionMode: Painter not active QWidget::paintEngine: Should no longer be called QPainter::begin: Paint device returned engine == 0, type: 1 QPainter::setRenderHint: Painter must be active to set rendering hints QPainter::setPen: Painter not active QXcbConnection: XCB error: 4 (BadPixmap), sequence: 1021, resource id: 58720646, major code: 54 (FreePixmap), minor code: 0 Но зато он [FreeCAD] запустился.
Запустился только один раз. Скачивание родной заставки и раскладывание её по разным местам не помогает. Судя по strace FreeCAD видит изображение, но всё равно возникает ошибка.
Обновите систему целиком: apt-get update; apt-get dist-upgrade Если не помогает, то переместите куда-нибудь ~/.config/FreeCAD/FreeCAD.conf Укажите дистрибутив, используемый видеодрайвер (inxi -G).
Created attachment 11023 [details] Процедура обновления дистрибутива
Created attachment 11024 [details] Сведения о системе
Created attachment 11025 [details] Сеанс отладки
Обновление системы и удаление каталога "~/.FreeCAD" в целом не помогало. FreeCAD мог 9 раз "упасть", а на 10 запуститься. В ходе отладки (см. файл "Сеанс отладки") обнаружилось, что "device" не существует, а следовательно "чего-то там HighDPI" равно истине. Это насторожило, т. к. ноутбук используется только с VGA-монитором формата 3:4. Удалось обнаружить, что FreeCAD стабильно запускается такой командой: > QT_AUTO_SCREEN_SCALE_FACTOR=0 freecad Если предварительно выставить разрешение dpi ниже 96 - "xrandr --dpi 80" или "xrandr --dpi 72", то FreeCAD запускается и без всяких дополнительных переменных: > freecad
По указанным шагам ошибка не воспроизвелась.