AppImage for FreeCAD 0.19 craps out on me

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
Petert
Posts: 124
Joined: Tue Dec 01, 2015 9:27 pm

AppImage for FreeCAD 0.19 craps out on me

Post by Petert »

What am I doing wrong? Trying the AppImage for FreeCAD 0.19 and it craps out on me........

Spacenavd loads and is running.

Code: Select all

Starting spacenavd daemon
Spacenav daemon already running (pid: 2296). Aborting.
signalled spacenavd, it should now start sending X events.
About

Code: Select all

OS: Debian GNU/Linux 10 (buster) (XFCE/lightdm-xsession)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18589 (Git) AppImage
Build type: Release
Branch: master
Hash: 3500451a040989d00693eab85b2a7c13ce4dad67
Python version: 3.7.3
Qt version: 5.12.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)
Log

Code: Select all

/tmp/.mount_FreeCAMuPBgo
FreeCAD 0.19, Libs: 0.19R18589 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Sheet Metal workbench loaded
Enumeration index -1 is out of range, ignore it
Program received signal SIGSEGV, Segmentation fault.
#0  /lib/x86_64-linux-gnu/libc.so.6(+0x37840) [0x7f9ac0239840]
#1  /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so(+0x59e80f) [0x7f9aba8c380f]
#2  /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so(+0x631c99) [0x7f9aba956c99]
#3  0x7f9ac2c8f4ae in Gui::View3DInventorViewer::drawAxisCross() from /tmp/.mount_FreeCAMuPBgo/usr/bin/../lib/libFreeCADGui.so+0x5ee
#4  0x7f9ac2c98999 in Gui::View3DInventorViewer::renderScene() from /tmp/.mount_FreeCAMuPBgo/usr/bin/../lib/libFreeCADGui.so+0x709
#5  0x7f9ac2c58b95 in SIM::Coin3D::Quarter::QuarterWidget::paintEvent(QPaintEvent*) from /tmp/.mount_FreeCAMuPBgo/usr/bin/../lib/libFreeCADGui.so+0x245
#6  0x7f9ac2c5f845 in SIM::Coin3D::Quarter::SoQTQuarterAdaptor::paintEvent(QPaintEvent*) from /tmp/.mount_FreeCAMuPBgo/usr/bin/../lib/libFreeCADGui.so+0x45
#7  0x7f9ac0f690f5 in QWidget::event(QEvent*) from /tmp/.mount_FreeCAMuPBgo/usr/bin/../lib/libQt5Widgets.so.5+0x585
#8  0x7f9ac0fd2875 in QFrame::event(QEvent*) from /tmp/.mount_FreeCAMuPBgo/usr/bin/../lib/libQt5Widgets.so.5+0x27
#9  0x7f9ac114d74b in QGraphicsView::viewportEvent(QEvent*) from /tmp/.mount_FreeCAMuPBgo/usr/bin/../lib/libQt5Widgets.so.5+0x481
#10  0x7f9ac2c58c59 in SIM::Coin3D::Quarter::QuarterWidget::viewportEvent(QEvent*) from /tmp/.mount_FreeCAMuPBgo/usr/bin/../lib/libFreeCADGui.so+0x99
#11  0x7f9ac0711b6d in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) from /tmp/.mount_FreeCAMuPBgo/usr/bin/../lib/libQt5Core.so.5+0xd1
#12  0x7f9ac0f3d81a in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /tmp/.mount_FreeCAMuPBgo/usr/bin/../lib/libQt5Widgets.so.5+0xce
#13  0x7f9ac0f433f1 in QApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCAMuPBgo/usr/bin/../lib/libQt5Widgets.so.5+0x1af9
#14  0x7f9ac29a1459 in Gui::GUIApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCAMuPBgo/usr/bin/../lib/libFreeCADGui.so+0x89
#15  0x7f9ac0714186 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /tmp/.mount_FreeCAMuPBgo/usr/bin/../lib/libQt5Core.so.5+0x88
#16  0x7f9ac0f63d27 in QWidgetPrivate::sendPaintEvent(QRegion const&) from /tmp/.mount_FreeCAMuPBgo/usr/bin/../lib/libQt5Widgets.so.5+0x27
#17  /tmp/.mount_FreeCAMuPBgo/usr/bin/../lib/libQt5Widgets.so.5(+0x17ecf5) [0x7f9ac0f47cf5]
#18  /tmp/.mount_FreeCAMuPBgo/usr/bin/../lib/libQt5Widgets.so.5(+0x17f3f4) [0x7f9ac0f483f4]
#19  0x7f9ac0f598f1 in QWidgetPrivate::syncBackingStore() from /tmp/.mount_FreeCAMuPBgo/usr/bin/../lib/libQt5Widgets.so.5+0x65
#20  0x7f9ac0f6947a in QWidget::event(QEvent*) from /tmp/.mount_FreeCAMuPBgo/usr/bin/../lib/libQt5Widgets.so.5+0x90a
#21  0x7f9ac1013c61 in QMainWindow::event(QEvent*) from /tmp/.mount_FreeCAMuPBgo/usr/bin/../lib/libQt5Widgets.so.5+0xdd
#22  0x7f9ac2d5e65c in Gui::MainWindow::event(QEvent*) from /tmp/.mount_FreeCAMuPBgo/usr/bin/../lib/libFreeCADGui.so+0x7c
#23  0x7f9ac0f3d82a in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /tmp/.mount_FreeCAMuPBgo/usr/bin/../lib/libQt5Widgets.so.5+0xde
#24  0x7f9ac0f433f1 in QApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCAMuPBgo/usr/bin/../lib/libQt5Widgets.so.5+0x1af9
#25  0x7f9ac29a1459 in Gui::GUIApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCAMuPBgo/usr/bin/../lib/libFreeCADGui.so+0x89
#26  0x7f9ac0714186 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /tmp/.mount_FreeCAMuPBgo/usr/bin/../lib/libQt5Core.so.5+0x88
#27  0x7f9ac07143cd in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) from /tmp/.mount_FreeCAMuPBgo/usr/bin/../lib/libQt5Core.so.5+0x1e9
#28  /tmp/.mount_FreeCAMuPBgo/usr/bin/../lib/libQt5Core.so.5(+0x1df876) [0x7f9ac0743876]
#29  /tmp/.mount_FreeCAMuPBgo/usr/bin/../lib/./libglib-2.0.so.0(g_main_context_dispatch+0x2e8) [0x7f9abd7ac9d8]
#30  /tmp/.mount_FreeCAMuPBgo/usr/bin/../lib/./libglib-2.0.so.0(+0x51c21) [0x7f9abd7acc21]
#31  /tmp/.mount_FreeCAMuPBgo/usr/bin/../lib/./libglib-2.0.so.0(g_main_context_iteration+0x2e) [0x7f9abd7accae]
#32  0x7f9ac074342b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_FreeCAMuPBgo/usr/bin/../lib/libQt5Core.so.5+0x63
#33  0x7f9ac0710bc1 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_FreeCAMuPBgo/usr/bin/../lib/libQt5Core.so.5+0x187
#34  0x7f9ac0714a39 in QCoreApplication::exec() from /tmp/.mount_FreeCAMuPBgo/usr/bin/../lib/libQt5Core.so.5+0x105
#35  0x7f9ac29224d7 in Gui::Application::runApplication() from /tmp/.mount_FreeCAMuPBgo/usr/bin/../lib/libFreeCADGui.so+0x1537
#36  /tmp/.mount_FreeCAMuPBgo/usr/bin/FreeCAD(main+0x74d) [0x55efdb6457cd]
#37  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb) [0x7f9ac022609b]
#38  /tmp/.mount_FreeCAMuPBgo/usr/bin/FreeCAD(+0x451f) [0x55efdb64651f]
I am a refugee from Fusion 360. Switched over to FreeCAD and am spreading the word. After years of very little progress I switched again to another solution. I wish you all the best!
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: AppImage for FreeCAD 0.19 craps out on me

Post by Kunda1 »

Anyone able to decipher the segfault ?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: AppImage for FreeCAD 0.19 craps out on me

Post by triplus »

Install proprietary GPU driver or use a workaround for Nouveau:

https://forum.freecadweb.org/viewtopic. ... 83#p342562

P.S. Looks like a Nouveau/Qt WebEngine (upstream) related issue.
openBrain
Veteran
Posts: 9041
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: AppImage for FreeCAD 0.19 craps out on me

Post by openBrain »

I second @triplus. Same problem some days ago in the french subforum. Replacing nouveau by proprietary drivers solved the problem.
As it may not be easy, here is a good tutorial. ;)
User avatar
Petert
Posts: 124
Joined: Tue Dec 01, 2015 9:27 pm

Re: AppImage for FreeCAD 0.19 craps out on me

Post by Petert »

Ok, will try that tomorrow. Freecad ran for a while after a reboot this evening.
I am a refugee from Fusion 360. Switched over to FreeCAD and am spreading the word. After years of very little progress I switched again to another solution. I wish you all the best!
User avatar
Petert
Posts: 124
Joined: Tue Dec 01, 2015 9:27 pm

Re: AppImage for FreeCAD 0.19 craps out on me

Post by Petert »

update:

Updated the AppImage through AppImageUpdate-x86_64.AppImage to:

Code: Select all

FreeCAD_0.19-18614-Linux-Conda_Py3Qt5_glibc2.12-x86_64.AppImage
And now my computer freezes, only a hard reset will wake it up again.

Will try the Nvidia drivers now.

UPDATE:

As expected the driver install wrecked my working machine. I reinstalled everything from scratch (even the display drivers through apt) and Freecad seems to work without problems now. The SpaceNavigator works and the screeen looks nicer with the Nvidia drivers.
btw: I used the upper part of this how-to, works better then the manual way that f*cked up my machine.

Code: Select all

https://linuxconfig.org/how-to-install-nvidia-driver-on-debian-10-buster-linux
I am a refugee from Fusion 360. Switched over to FreeCAD and am spreading the word. After years of very little progress I switched again to another solution. I wish you all the best!
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: AppImage for FreeCAD 0.19 craps out on me

Post by Kunda1 »

Petert wrote: Fri Oct 25, 2019 10:51 am UPDATE:

As expected the driver install wrecked my working machine. I reinstalled everything from scratch (even the display drivers through apt) and Freecad seems to work without problems now. The SpaceNavigator works and the screeen looks nicer with the Nvidia drivers.
btw: I used the upper part of this how-to, works better then the manual way that f*cked up my machine.

Code: Select all

https://linuxconfig.org/how-to-install-nvidia-driver-on-debian-10-buster-linux
Thanks for percevereing...
perhaps you want to update the wiki with your suggestions ?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
Petert
Posts: 124
Joined: Tue Dec 01, 2015 9:27 pm

Re: AppImage for FreeCAD 0.19 craps out on me

Post by Petert »

Kunda1 wrote: Fri Oct 25, 2019 3:29 pm perhaps you want to update the wiki with your suggestions ?
I sure would like to do that. I made notes so it will not be too hard to do.
Tomorrow I will have some spare time to do that, how does it work?
I am a refugee from Fusion 360. Switched over to FreeCAD and am spreading the word. After years of very little progress I switched again to another solution. I wish you all the best!
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: AppImage for FreeCAD 0.19 craps out on me

Post by Kunda1 »

Petert wrote: Fri Oct 25, 2019 3:32 pm I sure would like to do that. I made notes so it will not be too hard to do.
Tomorrow I will have some spare time to do that, how does it work?
DM me your preferred login and email and I'll make you an account on the wiki.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
Petert
Posts: 124
Joined: Tue Dec 01, 2015 9:27 pm

Re: AppImage for FreeCAD 0.19 craps out on me

Post by Petert »

Kunda1 wrote: Fri Oct 25, 2019 3:35 pm DM me your preferred login and email and I'll make you an account on the wiki.
I already tried to PM yorik and jmaustpc as per instruction on the Wiki itself. But that PM was never send, very strange.
Will PM you right now, hope that will work.

Update (2 minutes later):
Nope, pm send to you is still stuck in the 'out' folder just like the PM I tried to send out last night. Why?
I am a refugee from Fusion 360. Switched over to FreeCAD and am spreading the word. After years of very little progress I switched again to another solution. I wish you all the best!
Post Reply