Freecad 0.20.2-5 five minute to save a new file just created

Hello i just come to install
the Freecad official community 0.20.2-5 after upgrade all.
I start Freecad ok. any error report.
I just want to do a new project…so clic new and want to save it for naming it.
But the browsing was slow to come in… so i wait and arrive. I put my name click save this come to freecad ui again but any responsive come on…i see the ps -aux and freecad use 100% cpu…and i wait…the gnome ask for kill Freecad give no respone…i try wait many time…and after five minute the file was created…
I retry with another file and again…wait …wait…but here crash:

Program received signal SIGSEGV, Segmentation fault.

#0  /usr/lib/libc.so.6(+0x38f50) [0x7f1a61451f50]
#1  0x7f1a61cb446a in QObjectPrivate::~QObjectPrivate() from /usr/lib/libQt5Core.so.5+0x5a
#2  /usr/lib/libQt5Core.so.5(+0xb2ea4) [0x7f1a61ab2ea4]
#3  0x7f1a61c25572 in QSettings::QSettings(QSettings::Scope, QString const&, QString const&, QObject*) from /usr/lib/libQt5Core.so.5+0x42
#4  0x7f1a62b8811b in QFileDialogPrivate::restoreFromSettings() from /usr/lib/libQt5Widgets.so.5+0x7b
#5  0x7f1a62b88baf in QFileDialogPrivate::init(QFileDialogArgs const&) from /usr/lib/libQt5Widgets.so.5+0xbf
#6  0x7f1a62b80ca4 in QFileDialog::QFileDialog(QFileDialogArgs const&) from /usr/lib/libQt5Widgets.so.5+0x64
#7  0x7f1a62b82f38 in QFileDialog::getSaveFileUrl(QWidget*, QString const&, QUrl const&, QString const&, QString*, QFlags<QFileDialog::Option>, QStringList const&) from /usr/lib/libQt5Widgets.so.5+0x98
#8  0x7f1a62b83229 in QFileDialog::getSaveFileName(QWidget*, QString const&, QString const&, QString const&, QString*, QFlags<QFileDialog::Option>) from /usr/lib/libQt5Widgets.so.5+0xb9
#9  0x7f1a643cc866 in Gui::FileDialog::getSaveFileName(QWidget*, QString const&, QString const&, QString const&, QString*, QFlags<QFileDialog::Option>) from /usr/lib/freecad/lib/libFreeCADGui.so+0x416
#10  0x7f1a640112bd in Gui::Document::saveAs() from /usr/lib/freecad/lib/libFreeCADGui.so+0x1dd
#11  0x7f1a6431f778 in Gui::View3DInventor::onMsg(char const*, char const**) from /usr/lib/freecad/lib/libFreeCADGui.so+0x5e8
#12  0x7f1a63fb530f in Gui::Application::sendMsgToActiveView(char const*, char const**) from /usr/lib/freecad/lib/libFreeCADGui.so+0x3f
#13  0x7f1a63fddbed in Gui::Application::sSendActiveView(_object*, _object*) from /usr/lib/freecad/lib/libFreeCADGui.so+0x6d
#14  /usr/lib/libpython3.10.so.1.0(+0x156c58) [0x7f1a63156c58]
#15  /usr/lib/libpython3.10.so.1.0(_PyObject_MakeTpCall+0x2ab) [0x7f1a6315031b]
#16  /usr/lib/libpython3.10.so.1.0(_PyEval_EvalFrameDefault+0x5736) [0x7f1a6314b726]
#17  /usr/lib/libpython3.10.so.1.0(+0x144f80) [0x7f1a63144f80]
#18  /usr/lib/libpython3.10.so.1.0(PyEval_EvalCode+0x94) [0x7f1a631f39e4]
#19  /usr/lib/libpython3.10.so.1.0(+0x204383) [0x7f1a63204383]
#20  /usr/lib/libpython3.10.so.1.0(+0x1ffaea) [0x7f1a631ffaea]
#21  /usr/lib/libpython3.10.so.1.0(PyRun_StringFlags+0x81) [0x7f1a631f6e31]
#22  0x7f1a634e47a0 in Base::InterpreterSingleton::runString[abi:cxx11](char const*) from /usr/lib/freecad/lib/libFreeCADBase.so+0x70
#23  0x7f1a6407b3ab in Gui::Command::_runCommand(char const*, int, Gui::Command::DoCmd_Type, char const*) from /usr/lib/freecad/lib/libFreeCADGui.so+0x9b
#24  0x7f1a6407b547 in Gui::Command::_doCommand(char const*, int, Gui::Command::DoCmd_Type, char const*, ...) from /usr/lib/freecad/lib/libFreeCADGui.so+0xe7
#25  0x7f1a64077c8a in Gui::Command::_invoke(int, bool) from /usr/lib/freecad/lib/libFreeCADGui.so+0x2ca
#26  0x7f1a64078154 in Gui::Command::invoke(int, Gui::Command::TriggerSource) from /usr/lib/freecad/lib/libFreeCADGui.so+0x134
#27  /usr/lib/libQt5Core.so.5(+0x2bec20) [0x7f1a61cbec20]
#28  0x7f1a6296bec7 in QAction::triggered(bool) from /usr/lib/libQt5Widgets.so.5+0x47
#29  0x7f1a629718c7 in QAction::activate(QAction::ActionEvent) from /usr/lib/libQt5Widgets.so.5+0xb7
#30  /usr/lib/libQt5Widgets.so.5(+0x26049e) [0x7f1a62a6049e]
#31  0x7f1a62a606a0 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) from /usr/lib/libQt5Widgets.so.5+0xc0
#32  0x7f1a62b535cf in QToolButton::mouseReleaseEvent(QMouseEvent*) from /usr/lib/libQt5Widgets.so.5+0xf
#33  0x7f1a629af837 in QWidget::event(QEvent*) from /usr/lib/libQt5Widgets.so.5+0xac7
#34  0x7f1a62978b5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/libQt5Widgets.so.5+0x9c
#35  0x7f1a6297e379 in QApplication::notify(QObject*, QEvent*) from /usr/lib/libQt5Widgets.so.5+0x13a9
#36  0x7f1a64048891 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/lib/freecad/lib/libFreeCADGui.so+0x91
#37  0x7f1a61c8df48 in QCoreApplication::notifyInte...

I have try with freecad-appimage 0.20.2-1 and the freecad-weekly-appimage 0.20_32637-1 i have the same problem.

Regards.

Hello,

Can’t reproduce.
Is your system fully updated?

sudo pacman-mirrors -f5 && sudo pacman -Syyu freecad

What do you use for Qt application theme engine? qt5ct or kvantum ? Do you run on wayland session or x11?

1 Like

Many thanks for the fast reply ! I think i am running on wayland…i have let the manjaro installer do the job so i think this is wayland…

I use qt5ct or Kvantum because for one software i have to put it to have the software working when i have a problem with suse studio imagewriter launch with completely broken ui…
But i think you have the good feeling this is the qt theme wich give problem with freecad…i search…

So Kvamtum is not install and qt5ct not installed.
But in system information it’s says i’m running on X11 not wayland…so curious…so i search for enable wayland again on gnome…

I found this i have kiconthemes require by ktechlab so i removed all and many dependencies link with…kio…kwallet…and so …but no change.
I have reinstall kvantum and qt5ct and remove with

sudo pacman -Rsc qt5ct

but nothing change…i must go to force to use wayland ?

Wayland will not give you better performance in freecad. You have to fix the issue you have and not by removing packages at random. Did you run the full system update as suggested?

1 Like

Yes i have do the full update…i have ever done before…

I have create a new user.
When running Freecad on the new user session all is working good.
So this is a setting in my user session wich is bad…like you said probably
about the theme windows…

So i have success to enable wayland with

activate wayland on my gnome session with edit /etc/gdm/custom.conf WaylandEnable=true like says in this post and restart

But after i have all the Freecad windows and text oversize scramble…so i have the memory i have ever add this problem and i found the post wich give me the trick :slight_smile:

QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_SCALE_FACTOR=1. freecad

So then i have Freecad gui ok on Wayland…

But always the problem of very bad save on file…
So i compare my directory of a new user account where Freecad run and mine…

And i found a in home/xxx/.config directory a qt5ct directory ? curious because i have reinstall qt5ct and remove it with the pacman -Rsc to delete config file but always a directory…

so because you have show me thats the freecad crash have says i have a qt5ct theme use and the problem is about comming from this theme manager I delete the qt5ct directory i restart Freecad and test again…and this is working…now my Freecad work like a charm for save. and This is ok on wayland or X11 mode …Many many thanks again to have show me the Qt5ct abnormalyti use .

And now all my Kde app start 3 time fast …wonderfull…this qt5ct have been add complet distorsion on my users profile…very curious.

Have a nice days. long life to Manjaro.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.